diff --git a/compiler/cocoatouch/src/main/bro-gen/accessibility.yaml b/compiler/cocoatouch/src/main/bro-gen/accessibility.yaml index 3c145d419..dea5c3737 100755 --- a/compiler/cocoatouch/src/main/bro-gen/accessibility.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/accessibility.yaml @@ -90,6 +90,12 @@ functions: AXMFiHearingDevicePairedUUIDs: class: AXHearingUtilities name: getMFiHearingDevicePairedUUIDs + AXPrefersHorizontalTextLayout: + class: AXSettings + name: prefersHorizontalTextLayout + AXAnimatedImagesEnabled: + class: AXSettings + name: isAnimatedImagesEnabled # Make sure we don't miss any functions if new ones are introduced in a later version (k?AX.*): @@ -97,14 +103,14 @@ functions: name: 'Function__#{g[0]}' values: - AXMFiHearingDeviceStreamingEarDidChangeNotification: + AX(MFiHearingDeviceStreamingEarDidChange|MFiHearingDevicePairedUUIDsDidChange)Notification: class: AXHearingUtilities static_class: Notifications - name: MFiHearingDeviceStreamingEarDidChange - AXMFiHearingDevicePairedUUIDsDidChangeNotification: - class: AXHearingUtilities + name: '#{g[0]}' + AX(PrefersHorizontalTextLayoutDidChange|AnimatedImagesEnabledDidChange)Notification: + class: AXSettings static_class: Notifications - name: MFiHearingDevicePairedUUIDsDidChange + name: '#{g[0]}' # Make sure we don't miss any values if new ones are introduced in a later version (k?AX.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/audiotoolbox.yaml b/compiler/cocoatouch/src/main/bro-gen/audiotoolbox.yaml index 6c896b7fe..701be79aa 100755 --- a/compiler/cocoatouch/src/main/bro-gen/audiotoolbox.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/audiotoolbox.yaml @@ -151,6 +151,7 @@ enums: AUVoiceIOProperty2: {first: kAUVoiceIOProperty_DuckNonVoiceAudio, prefix: kAUVoiceIOProperty_, merge_with: AUVoiceIOProperty} AUVoiceIOProperty3: {first: kAUVoiceIOProperty_VoiceProcessingQuality, prefix: kAUVoiceIOProperty_, merge_with: AUVoiceIOProperty} AUVoiceIOProperty4: {first: kAUVoiceIOProperty_MutedSpeechActivityEventListener, prefix: kAUVoiceIOProperty_, merge_with: AUVoiceIOProperty} + AUVoiceIOProperty5: {first: kAUVoiceIOProperty_OtherAudioDuckingConfiguration, prefix: kAUVoiceIOProperty_, merge_with: AUVoiceIOProperty} AUNBandEQProperty: {first: kAUNBandEQProperty_NumberOfBands} AUMIDISynthProperty: {first: kAUMIDISynthProperty_EnablePreload, prefix: kAUMIDISynthProperty_} AUSamplerProperty: {first: kAUSamplerProperty_LoadInstrument} @@ -209,6 +210,8 @@ enums: AUSpatialMixerOutputType: {prefix: kSpatialMixerOutputType_} AUSpatialMixerPointSourceInHeadMode: {prefix: kSpatialMixerPointSourceInHeadMode_} AudioUnitEventType: {} + AUVoiceIOOtherAudioDuckingLevel: {} + # excludes as either deprecated or not to be used Excluded2: {prefix: kNumberOfResponseFrequencies, first: kNumberOfResponseFrequencies, exclude: true} # Excluded3: {prefix: kAudioUnitParameterName_Full, first: kAudioUnitParameterName_Full, exclude: true} -- will convert to constant diff --git a/compiler/cocoatouch/src/main/bro-gen/authservices.yaml b/compiler/cocoatouch/src/main/bro-gen/authservices.yaml index 49cac4c25..32f80f48c 100755 --- a/compiler/cocoatouch/src/main/bro-gen/authservices.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/authservices.yaml @@ -18,6 +18,12 @@ enums: ASAuthorizationAppleIDButtonType: {} #since 13.0 ASAuthorizationAppleIDButtonStyle: {} #since 13.0 ASAuthorizationControllerRequestOptions: {prefix: ASAuthorizationControllerRequestOption} #since 16.0 + ASAuthorizationPublicKeyCredentialAttachment: {} + ASCredentialRequestType: {} #since 17.0 + ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation: {} #since 17.0 + ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement: {} #since 17.0 + ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState: {} + ASPublicKeyCredentialClientDataCrossOriginValue: {} typed_enums: ASAuthorizationOpenIDOperation: enum: ASAuthorizationOpenIDOperation @@ -67,15 +73,29 @@ classes: name: getCredentialIdentityStoreState '-removeAllCredentialIdentitiesWithCompletion:': name: removeAllCredentialIdentities + '-saveCredentialIdentityEntries:completion:': + name: saveCredentialIdentityEntries + '-removeCredentialIdentityEntries:completion:': + name: removeCredentialIdentityEntries + '-replaceCredentialIdentityEntries:completion:': + name: replaceCredentialIdentityEntries ASCredentialIdentityStoreState: {} #since 12.0 ASCredentialProviderExtensionContext: #since 12.0 methods: '-completeRequestWithSelectedCredential:completionHandler:': name: completeRequest + '-completeAssertionRequestWithSelectedPasskeyCredential:completionHandler:': + name: completeAssertionRequest + '-completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler:': + name: completeRegistrationRequest ASCredentialProviderViewController: #since 12.0 methods: '-provideCredentialWithoutUserInteractionForIdentity:': name: provideCredentialWithoutUserInteraction + '-prepareCredentialListForServiceIdentifiers:requestParameters:': + name: prepareCredentialList + '-provideCredentialWithoutUserInteractionForRequest:': + name: provideCredentialWithoutUserInteraction ASCredentialServiceIdentifier: #since 12.0 methods: '-initWithIdentifier:type:': @@ -209,6 +229,53 @@ classes: name: createCredentialAssertionRequest ASAuthorizationSecurityKeyPublicKeyCredentialRegistration: {} #since 15.0 ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest: {} #since 15.0 + ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput: #since 17.0 + methods: + '-initWithOperation:': + name: init + ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput: {} #since 17.0 + ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput: #since 17.0 + methods: + '-initWithSupportRequirement:': + name: init + ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput: {} #since 17.0 + ASPasskeyAssertionCredential: #since 17.0 + methods: + '-initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:': + name: init + '+credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:': + exclude: true # same as init + ASPasskeyCredentialIdentity: #since 17.0 + methods: + '-initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:': + name: init + '+identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:': + exclude: true # same as init + ASPasskeyCredentialRequest: #since 17.0 + methods: + '-initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:': + name: init + '+requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:': + exclude: true # same as init + ASPasskeyCredentialRequestParameters: {} #since 17.0 + ASPasskeyRegistrationCredential: #since 17.0 + methods: + '-initWithRelyingParty:clientDataHash:credentialID:attestationObject:': + name: init + '+credentialWithRelyingParty:clientDataHash:credentialID:attestationObject:': + exclude: true # same as init + ASPasswordCredentialRequest: #since 17.0 + methods: + '-initWithCredentialIdentity:': + name: init + '+requestWithCredentialIdentity:': + exclude: true # same as init + ASSettingsHelper: #since 17.0 + methods: + '+openCredentialProviderAppSettingsWithCompletionHandler:': + name: openCredentialProviderAppSettings + '+openVerificationCodeAppSettingsWithCompletionHandler:': + name: openVerificationCodeAppSettings protocols: ASAuthorizationControllerDelegate: #since 13.0 methods: @@ -246,6 +313,8 @@ protocols: ASAuthorizationPublicKeyCredentialRegistration: {} #since 15.0 ASAuthorizationPublicKeyCredentialRegistrationRequest: {} #since 15.0 ASPublicKeyCredential: {} #since 15.0 + ASCredentialIdentity: {} #since 17.0 + ASCredentialRequest: {} #since 17.0 functions: ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports: class: ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransport diff --git a/compiler/cocoatouch/src/main/bro-gen/avfoundation.yaml b/compiler/cocoatouch/src/main/bro-gen/avfoundation.yaml index 432a2e618..8dc17d394 100755 --- a/compiler/cocoatouch/src/main/bro-gen/avfoundation.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/avfoundation.yaml @@ -129,6 +129,15 @@ enums: AVMIDIControlChangeMessageType: { } AVMIDIMetaEventType: { } AVSpeechSynthesisMarkerMark: { } #since 16.0 + # ios 17 + AVPlayerLooperItemOrdering: {} #since 17.0 + AVPlayerInterstitialEventAssetListResponseStatus: {} #since 16.4 + AVAudioVoiceProcessingSpeechActivityEvent: {prefix: AVAudioVoiceProcessingSpeechActivity} #since 17.0 + AVAudioVoiceProcessingOtherAudioDuckingLevel: {} #since 17.0 + AVSpeechSynthesisPersonalVoiceAuthorizationStatus: {} #since 17.0 + AVSpeechSynthesisVoiceTraits: {prefix: AVSpeechSynthesisVoiceTrait} #since 17.0 + AVAudioApplicationRecordPermission: {} + AVCapturePhotoOutputCaptureReadiness: {} #since 17.0 typed_enums: AVAssetDownloadedAssetEvictionPriority: @@ -179,6 +188,14 @@ typed_enums: enum: AVCoordinatedPlaybackSuspensionReason type: NSString prefix: AVCoordinatedPlaybackSuspensionReason + AVVideoCompositionPerFrameHDRDisplayMetadataPolicy: + enum: AVVideoCompositionPerFrameHDRDisplayMetadataPolicy + type: NSString + prefix: AVVideoCompositionPerFrameHDRDisplayMetadataPolicy + AVCaptureReactionType: + enum: AVCaptureReactionType + type: NSString + prefix: AVCaptureReactionType categories: NSValueAVFoundationExtensions: # DONE methods: @@ -211,6 +228,7 @@ classes: AVCaptureWhiteBalanceTemperatureAndTintValues: {} AVEdgeWidths: {} AVPixelAspectRatio: {} + AVAudioVoiceProcessingOtherAudioDuckingConfiguration: {} #since 17.0 AVError: extends: NSError @@ -1142,6 +1160,9 @@ classes: '-setSupportsMultichannelContent:error:': name: setSupportsMultichannelContent throws: NSErrorException + '-setPrefersInterruptionOnRouteDisconnect:error:': + name: setPrefersInterruptionOnRouteDisconnect + throws: NSErrorException AVAudioSessionChannelDescription: {} # DONE AVAudioSessionDataSourceDescription: # DONE properties: @@ -1629,6 +1650,8 @@ classes: name: getRecommendedVideoSettings '-availableVideoCodecTypesForAssetWriterWithOutputFileType:': name: getAvailableVideoCodecTypes + '-recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:outputFileURL:': + name: getRecommendedVideoSettings AVCaptureVideoPreviewLayer: # DONE properties: 'videoGravity': @@ -2360,6 +2383,8 @@ classes: methods: '-initWithPlayer:templateItem:timeRange:': name: init + '-initWithPlayer:templateItem:timeRange:existingItemsOrdering:': + name: init '+playerLooperWithPlayer:templateItem:timeRange:': exclude: true '+playerLooperWithPlayer:templateItem:': @@ -2439,6 +2464,8 @@ classes: name: writeUtterance '-writeUtterance:toBufferCallback:toMarkerCallback:': name: writeUtterance + '+requestPersonalVoiceAuthorizationWithCompletionHandler:': + name: requestPersonalVoiceAuthorization AVSpeechUtterance: # DONE methods: '-initWithString:': @@ -2973,6 +3000,12 @@ classes: name: predicateForPresentationWidth '+predicateForPresentationHeight:operatorType:': name: predicateForPresentationHeight + '+predicateForBinauralAudio:mediaSelectionOption:': + name: predicateForBinauralAudio + '+predicateForImmersiveAudio:mediaSelectionOption:': + name: predicateForImmersiveAudio + '+predicateForDownmixAudio:mediaSelectionOption:': + name: predicateForDownmixAudio AVAssetVariantVideoAttributes: {} #since 15.0 AVCoordinatedPlaybackParticipant: {} #since 15.0 AVCoordinatedPlaybackSuspension: {} #since 15.0 @@ -3106,6 +3139,21 @@ classes: methods: '-initWithMarkerType:forTextRange:atByteSampleOffset:': name: init + '-initWithWordRange:atByteSampleOffset:': + static_constructor_name: createWithWordRange + name: initWithWordRange + '-initWithSentenceRange:atByteSampleOffset:': + static_constructor_name: createWithSentenceRange + name: initWithSentenceRange + '-initWithParagraphRange:atByteSampleOffset:': + static_constructor_name: createWithParagraphRange + name: initWithParagraphRange + '-initWithPhonemeString:atByteSampleOffset:': + static_constructor_name: createWithPhonemeString + name: initWithPhonemeString + '-initWithBookmarkName:atByteSampleOffset:': + static_constructor_name: createWithBookmarkName + name: initWithBookmarkName AVSpeechSynthesisProviderAudioUnit: {} #since 16.0 AVSpeechSynthesisProviderRequest: #since 16.0 methods: @@ -3115,6 +3163,45 @@ classes: methods: '-initWithName:identifier:primaryLanguages:supportedLanguages:': name: init + AVAssetVariantVideoLayoutAttributes: {} #since 17.0 + AVAssetWriterInputTaggedPixelBufferGroupAdaptor: #since 17.0 + methods: + '-initWithAssetWriterInput:sourcePixelBufferAttributes:': + name: init + '-appendTaggedPixelBufferGroup:withPresentationTime:': + name: appendTaggedPixelBufferGroup + '+assetWriterInputTaggedPixelBufferGroupAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:': + name: assetWriterInputTaggedPixelBufferGroupAdaptor + AVAudioApplication: #since 17.0 + methods: + '-setInputMuted:error:': + name: setInputMuted + throws: NSErrorException + '+requestRecordPermissionWithCompletionHandler:': + name: requestRecordPermission + AVCaptureDeferredPhotoProxy: {} #since 17.0 + AVCaptureDeviceRotationCoordinator: #since 17.0 + methods: + '-initWithDevice:previewLayer:': + name: init + AVCapturePhotoOutputReadinessCoordinator: #since 17.0 + methods: + '-initWithPhotoOutput:': + name: init + AVCaptureReactionEffectState: {} #since 17.0 + AVExternalStorageDevice: #since 17.0 + methods: + '-nextAvailableURLsWithPathExtensions:error:': + throws: NSErrorException + name: getNextAvailableURLs + '+requestAccessWithCompletionHandler:': + name: requestAccess + AVExternalStorageDeviceDiscoverySession: {} #since 17.0 + AVMetadataHumanFullBodyObject: {} #since 17.0 + AVSampleBufferVideoRenderer: #since 17.0 + methods: + '-flushWithRemovalOfDisplayedImage:completionHandler:': + name: flush protocols: AVCapturePhotoCaptureDelegate: methods: @@ -3136,6 +3223,8 @@ protocols: name: didFinishCaptureForResolvedSettings '-captureOutput:didFinishProcessingPhoto:error:': name: didFinishProcessingPhoto + '-captureOutput:didFinishCapturingDeferredPhotoProxy:error:': + name: didFinishCapturingDeferredPhotoProxy AVContentKeyRecipient: skip_adapter: true @@ -3332,6 +3421,8 @@ protocols: name: didCancelSpeechUtterance '-speechSynthesizer:willSpeakRangeOfSpeechString:utterance:': name: willSpeak + '-speechSynthesizer:willSpeakMarker:utterance:': + name: willSpeakMarker AVVideoCompositionValidationHandling: # DONE methods: '-videoComposition:shouldContinueValidatingAfterFindingInvalidValueForKey:': @@ -3399,6 +3490,10 @@ protocols: name: identifierForPlayerItem '-playbackCoordinator:interstitialTimeRangesForPlayerItem:': name: interstitialTimeRangesForPlayerItem + AVCapturePhotoOutputReadinessCoordinatorDelegate: #since 17.0 + methods: + '-readinessCoordinator:captureReadinessDidChange:': + name: captureReadinessDidChange functions: AVMake(RectWithAspectRatioInsideRect): class: AVFoundation @@ -3762,6 +3857,10 @@ values: class: AVSpeechSynthesisAttributes name: '#{g[0]}' type: NSString + AVSpeechSynthesis(.*)Notification: + class: AVSpeechSynthesisNotifications + name: '#{g[0]}' + type: NSString @@ -4031,6 +4130,27 @@ values: static_class: Keys name: '#{g[0]}' type: NSString + AVSampleBufferVideoRenderer(.*)Notification: + class: AVSampleBufferVideoRenderer + static_class: Notifications + name: '#{g[0]}' + type: NSString + AVSampleBufferVideoRenderer(.*)Key: + class: AVSampleBufferVideoRenderer + static_class: Keys + name: '#{g[0]}' + type: NSString + AVAudioApplication(.*)Notification: + class: AVAudioApplication + static_class: Notifications + name: '#{g[0]}' + type: NSString + AVAudioApplication(.*)Key: + class: AVAudioApplication + static_class: Keys + name: '#{g[0]}' + type: NSString + # Make sure we don't miss any values if new ones are introduced in a later version (k?AV.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/avkit.yaml b/compiler/cocoatouch/src/main/bro-gen/avkit.yaml index b6035ae2e..bc809752c 100755 --- a/compiler/cocoatouch/src/main/bro-gen/avkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/avkit.yaml @@ -10,7 +10,7 @@ typedefs: {} enums: AVKitError: {name: AVKitErrorCode} AVAudioSessionRouteSelection: {} #since 13.0 - + AVVideoFrameAnalysisType: {} #since 17.0 classes: AVKitError: # DONE annotations: ['@StronglyLinked'] diff --git a/compiler/cocoatouch/src/main/bro-gen/backgroundassets.yaml b/compiler/cocoatouch/src/main/bro-gen/backgroundassets.yaml new file mode 100755 index 000000000..310b688f0 --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/backgroundassets.yaml @@ -0,0 +1,92 @@ +package: org.robovm.apple.backgroundassets +include: [foundation] +library: BackgroundAssets +framework: BackgroundAssets +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/BackgroundAssets.framework/Headers/BackgroundAssets.h +typedefs: {} + +enums: + BAContentRequest: {} + BADownloadState: {} + BAErrorCode: { nserror: true } #since 17.0 + +classes: + BAAppExtensionInfo: {} #since 16.1 + BADownload: {} #since 16.1 + BADownloadManager: #since 16.1 + methods: + '-fetchCurrentDownloadsWithCompletionHandler:': + name: fetchCurrentDownloads + '-scheduleDownload:error:': + name: scheduleDownload + throws: NSErrorException + '-performWithExclusiveControl:': + name: performWithExclusiveControl + '-performWithExclusiveControlBeforeDate:performHandler:': + name: performWithExclusiveControl + '-startForegroundDownload:error:': + name: startForegroundDownload + throws: NSErrorException + '-cancelDownload:error:': + name: cancelDownload + throws: NSErrorException + BAURLDownload: #since 16.1 + methods: + '-initWithIdentifier:request:fileSize:applicationGroupIdentifier:': + name: init + '-initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority:': + name: init + '-initWithIdentifier:request:applicationGroupIdentifier:': + name: init + '-initWithIdentifier:request:applicationGroupIdentifier:priority:': + name: init + +protocols: + BADownloadManagerDelegate: #since 16.1 + methods: + '-download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:': + name: didWriteBytes + '-download:didReceiveChallenge:completionHandler:': + name: didReceiveChallenge + '-download:failedWithError:': + name: failed + '-download:finishedWithFileURL:': + name: finished + BADownloaderExtension: #since 16.1 + methods: + '-downloadsForRequest:manifestURL:extensionInfo:': + name: getDownloads + '-backgroundDownload:didReceiveChallenge:completionHandler:': + name: backgroundDownloadDidReceiveChallenge + '-backgroundDownload:failedWithError:': + name: backgroundDownloadFailed + '-backgroundDownload:finishedWithFileURL:': + name: backgroundDownloadFinished + +functions: + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + BAErrorDomain: + class: BAErrorCode + name: getClassDomain + BADownloaderPriority(.*): + class: BADownload + static_class: Priority + name: '#{g[0]}' + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +constants: + # Make sure we don't miss any constants if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/backgroundtasks.yaml b/compiler/cocoatouch/src/main/bro-gen/backgroundtasks.yaml index cc00102e0..07d04aebd 100755 --- a/compiler/cocoatouch/src/main/bro-gen/backgroundtasks.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/backgroundtasks.yaml @@ -36,6 +36,8 @@ classes: name: cancelTaskRequest '-getPendingTaskRequestsWithCompletionHandler:': name: getPendingTaskRequests + BGHealthResearchTask: {} #since 17.0 + BGHealthResearchTaskRequest: {} #since 17.0 protocols: {} functions: diff --git a/compiler/cocoatouch/src/main/bro-gen/cinematic.yaml b/compiler/cocoatouch/src/main/bro-gen/cinematic.yaml new file mode 100755 index 000000000..63a806fd6 --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/cinematic.yaml @@ -0,0 +1,124 @@ +package: org.robovm.apple.cinematic +include: [foundation, avfoundation, coremedia, coregraphics, corevideo, metal] +library: Cinematic +framework: Cinematic +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/Cinematic.framework/Headers/Cinematic.h + +private_typedefs: + +typedefs: + +enums: + CNCinematicErrorCode: { nserror: true } #since 17.0 + CNRenderingQuality: {} #since 17.0 + CNDetectionType: {} #since 17.0 + +typed_enums: + +classes: + CNAssetInfo: #since 17.0 + methods: + '+checkIfCinematic:completionHandler:': + name: checkIfCinematic + '+loadFromAsset:completionHandler:': + name: load + CNBoundsPrediction: {} #since 17.0 + CNCompositionInfo: #since 17.0 + methods: + '-insertTimeRange:ofCinematicAssetInfo:atTime:error:': + name: insert + CNCustomDetectionTrack: #since 17.0 + methods: + '-initWithDetections:smooth:': + name: init + CNDecision: #since 17.0 + methods: + '-initWithTime:detectionID:strong:': + name: init + '-initWithTime:detectionGroupID:strong:': + static_constructor_name: createUsingGroupID + name: initWithTimeDetectionGroupID + CNDetection: #since 17.0 + methods: + '-initWithTime:detectionType:normalizedRect:focusDisparity:': + name: init + '+disparityInNormalizedRect:sourceDisparity:detectionType:priorDisparity:': + name: disparity + CNDetectionTrack: {} #since 17.0 + CNFixedDetectionTrack: #since 17.0 + methods: + '-initWithFocusDisparity:': + name: init + '-initWithOriginalDetection:': + name: init + CNObjectTracker: #since 17.0 + methods: + '-initWithCommandQueue:': + name: init + '-findObjectAtPoint:sourceImage:': + name: findObject + '-startTrackingAt:within:sourceImage:sourceDisparity:': + name: startTracking + '-continueTrackingAt:sourceImage:sourceDisparity:': + name: continueTracking + CNRenderingSession: #since 17.0 + methods: + '-initWithCommandQueue:sessionAttributes:preferredTransform:quality:': + name: init + '-encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationImage:': + name: encodeRender + '-encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationRGBA:': + name: encodeRender + '-encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationLuma:destinationChroma:': + name: encodeRender + CNRenderingSessionAttributes: #since 17.0 + methods: + '+loadFromAsset:completionHandler:': + name: load + CNRenderingSessionFrameAttributes: #since 17.0 + methods: + '-initWithSampleBuffer:sessionAttributes:': + name: init + '-initWithTimedMetadataGroup:sessionAttributes:': + name: init + CNScript: #since 17.0 + methods: + '-reloadWithChanges:': + name: reload + '-frameAtTime:tolerance:': + name: getFrame + '-decisionAtTime:tolerance:': + name: getDecision + '+loadFromAsset:changes:progress:completionHandler:': + name: load + CNScriptChanges: #since 17.0 + methods: + '-initWithDataRepresentation:': + name: init + CNScriptFrame: {} #since 17.0 + +protocols: + +functions: + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + CNCinematicErrorDomain: + class: CNCinematicErrorCode + name: getClassDomain + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +constants: + # Make sure we don't miss any constants if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/cloudkit.yaml b/compiler/cocoatouch/src/main/bro-gen/cloudkit.yaml index 0a74153e9..d31f794aa 100755 --- a/compiler/cocoatouch/src/main/bro-gen/cloudkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/cloudkit.yaml @@ -44,6 +44,12 @@ enums: CKShareParticipantRole: {} #since 12.0 CKSharingParticipantAccessOption: {} #since 16.0 CKSharingParticipantPermissionOption: {} #since 16.0 + CKSyncEnginePendingRecordZoneChangeType: {} + CKSyncEnginePendingDatabaseChangeType: {} + CKSyncEngineSyncReason: {} + CKSyncEngineEventType: {} + CKSyncEngineAccountChangeType: {} + CKSyncEngineZoneDeletionReason: {} classes: CKError: extends: NSError @@ -476,6 +482,89 @@ classes: methods: '-initWithContainer:': name: init + CKSyncEngine: #since 17.0 + methods: + '-initWithConfiguration:': + name: init + '-fetchChangesWithCompletionHandler:': + name: fetchChanges + '-fetchChangesWithOptions:completionHandler:': + name: fetchChanges + '-sendChangesWithCompletionHandler:': + name: sendChanges + '-sendChangesWithOptions:completionHandler:': + name: sendChanges + '-cancelOperationsWithCompletionHandler:': + name: cancelOperations + CKSyncEngineAccountChangeEvent: {} #since 17.0 + CKSyncEngineConfiguration: #since 17.0 + methods: + '-initWithDatabase:stateSerialization:delegate:': + name: init + CKSyncEngineDidFetchChangesEvent: {} #since 17.0 + CKSyncEngineDidFetchRecordZoneChangesEvent: {} #since 17.0 + CKSyncEngineDidSendChangesEvent: {} #since 17.0 + CKSyncEngineEvent: {} #since 17.0 + CKSyncEngineFailedRecordSave: {} #since 17.0 + CKSyncEngineFailedZoneSave: {} #since 17.0 + CKSyncEngineFetchChangesContext: {} #since 17.0 + CKSyncEngineFetchChangesOptions: #since 17.0 + methods: + '-initWithScope:': + name: init + CKSyncEngineFetchChangesScope: #since 17.0 + methods: + '-initWithZoneIDs:': + name: init + '-initWithExcludedZoneIDs:': + static_constructor_name: createWithExcludedZoneIDs + name: initWithExcludedZoneIDs + CKSyncEngineFetchedDatabaseChangesEvent: {} #since 17.0 + CKSyncEngineFetchedRecordDeletion: {} #since 17.0 + CKSyncEngineFetchedRecordZoneChangesEvent: {} #since 17.0 + CKSyncEngineFetchedZoneDeletion: {} #since 17.0 + CKSyncEnginePendingDatabaseChange: {} #since 17.0 + CKSyncEnginePendingRecordZoneChange: #since 17.0 + methods: + '-initWithRecordID:type:': + name: init + CKSyncEnginePendingZoneDelete: #since 17.0 + methods: + '-initWithZoneID:': + name: init + CKSyncEnginePendingZoneSave: #since 17.0 + methods: + '-initWithZone:': + name: init + CKSyncEngineRecordZoneChangeBatch: #since 17.0 + methods: + '-initWithPendingChanges:recordProvider:': + name: init + '-initWithRecordsToSave:recordIDsToDelete:atomicByZone:': + name: init + CKSyncEngineSendChangesContext: {} #since 17.0 + CKSyncEngineSendChangesOptions: #since 17.0 + methods: + '-initWithScope:': + name: init + CKSyncEngineSendChangesScope: #since 17.0 + methods: + '-initWithZoneIDs:': + name: init + '-initWithExcludedZoneIDs:': + static_constructor_name: createWithExcludedZoneIDs + name: initWithExcludedZoneIDs + '-initWithRecordIDs:': + static_constructor_name: createWithRecordIDs + name: initWithRecordIDs + CKSyncEngineSentDatabaseChangesEvent: {} #since 17.0 + CKSyncEngineSentRecordZoneChangesEvent: {} #since 17.0 + CKSyncEngineState: {} #since 17.0 + CKSyncEngineStateSerialization: {} #since 17.0 + CKSyncEngineStateUpdateEvent: {} #since 17.0 + CKSyncEngineWillFetchChangesEvent: {} #since 17.0 + CKSyncEngineWillFetchRecordZoneChangesEvent: {} #since 17.0 + CKSyncEngineWillSendChangesEvent: {} #since 17.0 protocols: CKRecordValue: # DONE adapter: false @@ -501,7 +590,14 @@ protocols: property: true return_type: List return_marshaler: NSArray.AsStringListMarshaler - + CKSyncEngineDelegate: #since 17.0 + methods: + '-syncEngine:handleEvent:': + name: handleEvent + '-syncEngine:nextRecordZoneChangeBatchForContext:': + name: nextRecordZoneChangeBatch + '-syncEngine:nextFetchChangesOptionsForContext:': + name: nextFetchChangesOptions functions: # Make sure we don't miss any functions if new ones are introduced in a later version (k?CK.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/coreanimation.yaml b/compiler/cocoatouch/src/main/bro-gen/coreanimation.yaml index 7e7f78e3d..6e40474bb 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coreanimation.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coreanimation.yaml @@ -255,7 +255,10 @@ classes: type: CALineCap 'lineJoin': type: CALineJoin - CASpringAnimation: {} # DONE + CASpringAnimation: # DONE + methods: + '-initWithPerceptualDuration:bounce:': + name: init CATextLayer: # DONE properties: 'string': @@ -325,6 +328,8 @@ classes: name: createHDR10Metadata '+HDR10MetadataWithMinLuminance:maxLuminance:opticalOutputScale:': name: createHDR10Metadata + '+HLGMetadataWithAmbientViewingEnvironment:': + name: createHLGMetadata CARenderer: #since 2.0 methods: '-beginFrameAtTime:timeStamp:': @@ -332,6 +337,15 @@ classes: '+rendererWithMTLTexture:options:': name: create constructor: true + CAMetalDisplayLink: #since 17.0 + methods: + '-initWithMetalLayer:': + name: init + '-addToRunLoop:forMode:': + name: addToRunLoop + '-removeFromRunLoop:forMode:': + name: removeFromRunLoop + CAMetalDisplayLinkUpdate: {} #since 17.0 protocols: CAAction: # DONE methods: @@ -368,7 +382,10 @@ protocols: properties: 'texture': annotations: ['@WeaklyLinked'] - + CAMetalDisplayLinkDelegate: #since 17.0 + methods: + '-metalDisplayLink:needsUpdate:': + name: needsUpdate functions: # CATransform3D CATransform3DMake(.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/corebluetooth.yaml b/compiler/cocoatouch/src/main/bro-gen/corebluetooth.yaml index c91da7041..8eb047d4e 100755 --- a/compiler/cocoatouch/src/main/bro-gen/corebluetooth.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/corebluetooth.yaml @@ -271,6 +271,8 @@ protocols: name: connectionEventDidOccur '-centralManager:didUpdateANCSAuthorizationForPeripheral:': name: didUpdateANCSAuthorization + '-centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:': + name: didDisconnectPeripheral CBPeripheralDelegate: # DONE methods: '-peripheralDidUpdateName:': diff --git a/compiler/cocoatouch/src/main/bro-gen/coredata.yaml b/compiler/cocoatouch/src/main/bro-gen/coredata.yaml index 9a9bf8f07..21543f3be 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coredata.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coredata.yaml @@ -495,6 +495,10 @@ classes: type: NSArray metadata: type: NSPersistentStoreMetadata + '+checksumsForVersionedModelAtURL:error:': + name: getChecksumsForVersionedModel + throws: NSErrorException + NSMappingModel: # DONE properties: 'entityMappings': @@ -712,6 +716,11 @@ classes: parameters: options: type: NSPersistentStoreOptions + '-finishDeferredLightweightMigrationTask:': + throws: NSErrorException + '-finishDeferredLightweightMigration:': + throws: NSErrorException + NSPersistentStoreRequest: # DONE properties: 'affectedStores': @@ -849,6 +858,30 @@ classes: NSPersistentCloudKitContainerEvent: {} #since 14.0 NSPersistentCloudKitContainerEventRequest: {} #since 14.0 NSPersistentCloudKitContainerEventResult: {} #since 14.0 + NSCompositeAttributeDescription: {} #since 17.0 + NSCustomMigrationStage: #since 17.0 + methods: + '-initWithCurrentModelReference:nextModelReference:': + name: init + NSLightweightMigrationStage: #since 17.0 + methods: + '-initWithVersionChecksums:': + name: init + NSManagedObjectModelReference: #since 17.0 + methods: + '-initWithModel:versionChecksum:': + name: init + '-initWithFileURL:versionChecksum:': + name: init + '-initWithEntityVersionHashes:inBundle:versionChecksum:': + name: init + '-initWithName:inBundle:versionChecksum:': + name: init + NSMigrationStage: {} #since 17.0 + NSStagedMigrationManager: #since 17.0 + methods: + '-initWithMigrationStages:': + name: init protocols: NSFetchedResultsControllerDelegate: # DONE methods: @@ -864,6 +897,10 @@ protocols: name: getSectionIndexTitle '-controller:didChangeContentWithSnapshot:': name: didChangeContent + parameters: + snapshot: + type: NSDiffableDataSourceSnapshot # as its declared in UIKit and template parameters are not picked from cursor_obj_c_class_ref + '-controller:didChangeContentWithDifference:': name: didChangeContent NSFetchedResultsSectionInfo: # DONE diff --git a/compiler/cocoatouch/src/main/bro-gen/coreimage.yaml b/compiler/cocoatouch/src/main/bro-gen/coreimage.yaml index 3b7134988..f205a1a3a 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coreimage.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coreimage.yaml @@ -121,6 +121,10 @@ classes: name: getHEIF10Representation '-writeHEIF10RepresentationOfImage:toURL:colorSpace:options:error:': name: writeHEIF10Representation + '-OpenEXRRepresentationOfImage:options:error:': + name: getOpenEXRRepresentation + '-writeOpenEXRRepresentationOfImage:toURL:options:error:': + name: writeOpenEXRRepresentation CIDetector: # DONE methods: '+detectorOfType:context:options:': @@ -336,6 +340,8 @@ classes: trim_after_first_colon: true '+applyWithExtent:inputs:arguments:error:': name: apply + '+roiTileArrayForInput:arguments:outputRect:': + name: roiTileArrayForInput CIPDF417CodeDescriptor: #since 11.0 methods: '-initWithPayload:isCompact:rowCount:columnCount:': diff --git a/compiler/cocoatouch/src/main/bro-gen/corelocation.yaml b/compiler/cocoatouch/src/main/bro-gen/corelocation.yaml index 9ed7871e6..3892cfe3d 100755 --- a/compiler/cocoatouch/src/main/bro-gen/corelocation.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/corelocation.yaml @@ -7,6 +7,7 @@ headers: - /System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h typedefs: CLGeocodeCompletionHandler: '@Block VoidBlock2, NSError>' + OS_dispatch_queue: org.robovm.apple.dispatch.DispatchQueue enums: CLActivityType: {} CLAuthorizationStatus: {} @@ -16,6 +17,8 @@ enums: CLRegionState: {} CLAccuracyAuthorization: {} CLLocationPushServiceError: { nserror: true } #since 15.0 + CLLiveUpdateConfiguration: { } + CLMonitoringState: { } classes: CLError: extends: NSError @@ -191,6 +194,46 @@ classes: methods: '-initWithSoftwareSimulationState:andExternalAccessoryState:': name: init + CLBackgroundActivitySession: {} #since 17.0 + CLBeaconIdentityCondition: #since 17.0 + methods: + '-initWithUUID:': + name: init + '-initWithUUID:major:': + name: init + '-initWithUUID:major:minor:': + name: init + CLCircularGeographicCondition: #since 17.0 + methods: + '-initWithCenter:radius:': + name: init + CLCondition: {} #since 17.0 + CLLocationUpdater: #since 17.0 + methods: + '+liveUpdaterWithQueue:handler:': + constructor: true + name: createLiveUpdater + '+liveUpdaterWithConfiguration:queue:handler:': + constructor: true + name: createLiveUpdater + CLMonitor: #since 17.0 + methods: + '-addConditionForMonitoring:identifier:': + name: addCondition + '-addConditionForMonitoring:identifier:assumedState:': + name: addCondition + '-removeConditionFromMonitoringWithIdentifier:': + name: removeCondition + '+requestMonitorWithConfiguration:completion:': + name: requestMonitor + CLMonitorConfiguration: #since 17.0 + methods: + '+configWithMonitorName:queue:eventHandler:': + constructor: true + name: create + CLMonitoringEvent: {} #since 17.0 + CLMonitoringRecord: {} #since 17.0 + CLUpdate: {} #since 17.0 protocols: CLLocationManagerDelegate: # DONE methods: @@ -295,6 +338,8 @@ values: name: 'Value__#{g[0]}' constants: + CL_TARGET_SUPPORTS_CONDITIONS: + exclude: true # Make sure we don't miss any constants if new ones are introduced in a later version (k?CL.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/coremedia.yaml b/compiler/cocoatouch/src/main/bro-gen/coremedia.yaml index 45eee033f..1cd848b19 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coremedia.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coremedia.yaml @@ -56,6 +56,15 @@ enums: CMMetadataDataTypeRegistryErrorCode: { first: kCMMetadataDataTypeRegistryError_AllocationFailed } CMPersistentTrackID: {first: kCMPersistentTrackID_Invalid, prefix: kCMPersistentTrackID_} CMMemoryPoolError: {prefix: kCMMemoryPoolError_, first: kCMMemoryPoolError_AllocationFailed} #since 6.0 + CMTagError: { prefix: kCMTagError_ } #since 17.0 + CMTagCategory: { prefix: kCMTagCategory_ } #since 17.0 + CMTagDataType: { prefix: kCMTagDataType_ } #since 17.0 + CMStereoViewComponents: { prefix: kCMStereoView_ } #since 17.0 + CMStereoViewInterpretationOptions: { prefix: kCMStereoViewInterpretation_ } #since 17.0 + CMProjectionType: { prefix: kCMProjectionType_ } #since 17.0 + CMPackingType: { prefix: kCMPackingType_ } #since 17.0 + CMTagCollectionError: { prefix: kCMTagCollectionError_ } #since 17.0 + CMTaggedBufferGroupError: { prefix: kCMTaggedBufferGroupError_ } #since 17.0 classes: # Opaque Types CMAttachmentBearer: @@ -130,6 +139,12 @@ classes: opaqueCMSimpleQueue: name: CMSimpleQueue extends: CFType + OpaqueCMTagCollection: + name: CMTagCollection + extends: CFType + OpaqueCMTaggedBufferGroup: + name: CMTaggedBufferGroup + extends: CFType # Structs CMBlockBufferCustomBlockSource: @@ -155,6 +170,7 @@ classes: CMTimeMapping: annotations: ['@Packed(4)'] CMBufferHandlers: {} + CMTag: {} protocols: {} @@ -885,6 +901,17 @@ functions: class: CMVideoFormatDescription name: '#{g[0]}' + CMTagCollection(Create.*): + class: CMTagCollection + name: '#{g[0]}0' + visibility: private + CMTagCollection(.*): + class: CMTagCollection + name: '#{g[0].downcase_first}' + CMTag(.*): + class: CMTag + name: '#{g[0].downcase_first}' + CMSwap.*: exclude: true CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout: @@ -903,7 +930,7 @@ typed_enums: values: # CMFormatDescription - kCMFormatDescriptionExtension_(OriginalCompressionSettings|SampleDescriptionExtensionAtoms|VerbatimSampleDescription|VerbatimISOSampleEntry): + kCMFormatDescriptionExtension_(OriginalCompressionSettings|SampleDescriptionExtensionAtoms|VerbatimSampleDescription|VerbatimISOSampleEntry|HeroEye): dictionary: CMFormatDescriptionExtension name: '#{g[0]}' type: CFString @@ -1346,6 +1373,15 @@ values: class: CMVideoFormatDescription name: 'AlphaChannelMode#{g[0]}' type: CFString + kCMFormatDescriptionHeroEye_(.*): + class: CMVideoFormatDescription + name: 'HeroEye#{g[0]}' + type: CFString + + kCMTag(.*): + class: CMTag + static_class: Constants + name: '#{g[0]}' # Make sure we don't miss any values if new ones are introduced in a later version (k?CM.*): @@ -1363,6 +1399,10 @@ constants: class: CMTime name: '#{g[0]}' + kCMTaggedBufferGroupFormatType_(.*): + class: CMTaggedBufferGroup + name: 'FormatType#{g[0]}' + kCMPersistentTrackID_Invalid: exclude: true CMITEMCOUNT_MAX: diff --git a/compiler/cocoatouch/src/main/bro-gen/coremidi.yaml b/compiler/cocoatouch/src/main/bro-gen/coremidi.yaml index 5dad6cc40..375b0518a 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coremidi.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coremidi.yaml @@ -192,6 +192,7 @@ classes: name: sendProfile MIDIEventList: {} MIDIEventPacket: {} + MIDISysexSendRequestUMP: {} protocols: MIDICIProfileResponderDelegate: #since 14.0 methods: @@ -207,7 +208,7 @@ functions: class: MIDI name: "#{g[0]}" return_type: MIDIError - MIDI(SendSysex): + MIDI(SendSysex|SendUMPSysex|SendUMPSysex8): class: MIDI name: "#{g[0]}" return_type: MIDIError @@ -237,6 +238,9 @@ functions: MIDI(SendEventList|ReceivedEventList|EventListInit|EventListAdd): class: MIDI name: "#{g[0]}" + MIDIEventPacket(SysexBytesForGroup): + class: MIDIEventPacket + name: "get#{g[0]}" # MIDISetup MIDISetup(.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/coreml.yaml b/compiler/cocoatouch/src/main/bro-gen/coreml.yaml index a86ba172a..7d8dbd0b1 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coreml.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coreml.yaml @@ -122,6 +122,10 @@ classes: '-predictionsFromBatch:error:': name: getPredictionsFromBatch throws: NSErrorException + '-predictionFromFeatures:completionHandler:': + name: getPredictionFromFeatures + '-predictionFromFeatures:options:completionHandler:': + name: getPredictionFromFeatures '-parameterValueForKey:error:': name: getParameterValue throws: NSErrorException @@ -222,6 +226,9 @@ classes: constructor: true name: create throws: NSErrorException + MLCPUComputeDevice: {} #since 17.0 + MLGPUComputeDevice: {} #since 17.0 + MLNeuralEngineComputeDevice: {} #since 17.0 protocols: MLFeatureProvider: {} #since 11.0 MLBatchProvider: {} #since 12.0 @@ -249,7 +256,12 @@ protocols: methods: '-writeToURL:error:': name: writeToURL + MLComputeDeviceProtocol: {} #since 17.0 functions: + MLAllComputeDevices: + class: MLAllComputeDevices + name: getAllComputeDevices + # Make sure we don't miss any functions if new ones are introduced in a later version (ML.*): class: CoreML diff --git a/compiler/cocoatouch/src/main/bro-gen/coremotion.yaml b/compiler/cocoatouch/src/main/bro-gen/coremotion.yaml index 87c7677c0..0dcc2bef1 100755 --- a/compiler/cocoatouch/src/main/bro-gen/coremotion.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/coremotion.yaml @@ -19,6 +19,8 @@ enums: CMFallDetectionEventUserResolution: {} CMWaterSubmersionState: {} CMWaterSubmersionDepthState: {} + CMHighFrequencyHeartRateDataConfidence: {} #since 17.0 + CMOdometerOriginDevice: {} #since 15.4 classes: CMError: extends: NSError @@ -153,6 +155,14 @@ classes: CMWaterSubmersionManager: {} CMWaterSubmersionMeasurement: {} CMWaterTemperature: {} + CMBatchedSensorManager: + methods: + '-startAccelerometerUpdatesWithHandler:': + name: startAccelerometerUpdates + '-startDeviceMotionUpdatesWithHandler:': + name: startDeviceMotionUpdates + CMHighFrequencyHeartRateData: {} #since 17.0 + CMOdometerData: {} #since 8.0 protocols: CMHeadphoneMotionManagerDelegate: {} #since 14.0 CMWaterSubmersionManagerDelegate: diff --git a/compiler/cocoatouch/src/main/bro-gen/corespotlight.yaml b/compiler/cocoatouch/src/main/bro-gen/corespotlight.yaml index 14788d268..4a0f2f67a 100755 --- a/compiler/cocoatouch/src/main/bro-gen/corespotlight.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/corespotlight.yaml @@ -51,6 +51,8 @@ classes: name: endIndexBatch '-initWithName:': name: init + '-initWithName:protectionClass:bundleIdentifier:options:': + name: init '-deleteAllSearchableItemsWithCompletionHandler:': name: deleteAllSearchableItems '-fetchLastClientStateWithCompletionHandler:': diff --git a/compiler/cocoatouch/src/main/bro-gen/eventkit.yaml b/compiler/cocoatouch/src/main/bro-gen/eventkit.yaml index a81fd794f..308ef0e52 100755 --- a/compiler/cocoatouch/src/main/bro-gen/eventkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/eventkit.yaml @@ -180,6 +180,12 @@ classes: name: getAuthorizationStatusForEntityType '-initWithSources:': name: init + '-requestFullAccessToEventsWithCompletion:': + name: requestFullAccessToEvents + '-requestWriteOnlyAccessToEventsWithCompletion:': + name: requestWriteOnlyAccessToEventsWithCompletion + '-requestFullAccessToRemindersWithCompletion:': + name: requestFullAccessToReminders EKObject: # DONE skip_handle_constructor: false EKParticipant: # DONE diff --git a/compiler/cocoatouch/src/main/bro-gen/foundation.yaml b/compiler/cocoatouch/src/main/bro-gen/foundation.yaml index 9c02a40d8..1a19bae05 100755 --- a/compiler/cocoatouch/src/main/bro-gen/foundation.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/foundation.yaml @@ -94,6 +94,7 @@ structdefs: simd_float4: 'VectorFloat4' simd_quatf: 'VectorFloat4' simd_quatd: 'VectorDouble4' + simd_double2: 'VectorDouble2' matrix_float2x2: 'MatrixFloat2x4' matrix_float3x2: 'MatrixFloat3x4' matrix_float4x2: 'MatrixFloat4x4' @@ -247,6 +248,12 @@ enums: NSGrammaticalNumber: { } #since 15.0 NSURLRequestAttribution: { } #since 15.0 + NSGrammaticalCase: {} #since 17.0 + NSGrammaticalPronounType: {} #since 17.0 + NSGrammaticalPerson: {} #since 17.0 + NSGrammaticalDetermination: {} #since 17.0 + NSGrammaticalDefiniteness: {} #since 17.0 + IGNORED1: {first: NS_UnknownByteOrder, exclude: true} # ignored same as constants IGNORED2: {first: NSWrapCalendarComponents, exclude: true} # deprecated IGNORED3: {first: NSDateComponentUndefined, exclude: true} # ignored as seems to be constant only @@ -4068,6 +4075,10 @@ classes: name: newUploadTask '-uploadTaskWithRequest:fromData:completionHandler:': name: newUploadTask + '-uploadTaskWithResumeData:': + name: newUploadTask + '-uploadTaskWithResumeData:completionHandler:': + name: newUploadTask '-downloadTaskWithRequest:completionHandler:': name: newDownloadTask '-downloadTaskWithURL:completionHandler:': @@ -4370,10 +4381,14 @@ classes: name: init '-initWithString:': name: init + '-initWithString:encodingInvalidCharacters:': + name: init '+componentsWithURL:resolvingAgainstBaseURL:': exclude: true '+componentsWithString:': exclude: true + '+componentsWithString:encodingInvalidCharacters:': + exclude: true NSURLQueryItem: #since 8.0 methods: '-initWithName:value:': @@ -4472,7 +4487,15 @@ classes: methods: '-initWithStartLine:startColumn:endLine:endColumn:': name: init - + NSMorphologyPronoun: #since 17.0 + methods: + '-initWithPronoun:morphology:dependentMorphology:': + name: init + NSTermOfAddress: #since 17.0 + methods: + '+localizedForLanguageIdentifier:withPronouns:': + constructor: true + name: create protocols: NSCacheDelegate: # DONE methods: @@ -4813,12 +4836,15 @@ protocols: '-URLSession:task:didFinishCollectingMetrics:': name: didFinishCollectingMetrics '-URLSession:task:willBeginDelayedRequest:completionHandler:': - #trim_after_first_colon: true name: willBeginDelayedRequest '-URLSession:taskIsWaitingForConnectivity:': name: taskIsWaitingForConnectivity '-URLSession:didCreateTask:': name: didCreateTask + '-URLSession:task:needNewBodyStreamFromOffset:completionHandler:': + name: needNewBodyStream + '-URLSession:task:didReceiveInformationalResponse:': + name: didReceiveInformationalResponse NSUserActivityDelegate: # DONE methods: '-userActivityWillSave:': @@ -5155,7 +5181,7 @@ values: name: '#{g[0]}' type: NSString extends: NSErrorUserInfoKey - NSURLSession(DownloadTaskResumeData): + NSURLSession(DownloadTaskResumeData|UploadTaskResumeData): enum: NSURLSessionErrorUserInfoKey name: '#{g[0]}' type: NSString @@ -5855,11 +5881,21 @@ values: class: NSAttributedString static_class: KeysNSBundle name: '#{g[0]}' - NS(ReplacementIndex|Morphology|InflectionRule|InflectionAlternative|PresentationIntent|MarkdownSourcePosition)AttributeName: + NSInflection(.*)AttributeName: + class: NSAttributedString + static_class: KeysInflection + name: '#{g[0]}' + NS(ReplacementIndex|Morphology|PresentationIntent|MarkdownSourcePosition)AttributeName: class: NSAttributedString static_class: Keys name: '#{g[0]}' + # NSAttributedStringFormattingContextKey + NS(InflectionConcepts)Key: + class: NSAttributedString + static_class: FormattingContextKeys + name: '#{g[0]}' + # Foundation NSFoundationVersionNumber: class: FoundationVersionNumber diff --git a/compiler/cocoatouch/src/main/bro-gen/gamecontroller.yaml b/compiler/cocoatouch/src/main/bro-gen/gamecontroller.yaml index aeeff9378..4b4137a63 100755 --- a/compiler/cocoatouch/src/main/bro-gen/gamecontroller.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/gamecontroller.yaml @@ -5,6 +5,15 @@ framework: GameController clang_args: ['-x', 'objective-c'] headers: - /System/Library/Frameworks/GameController.framework/Headers/GameController.h + +private_typedefs: + 'NSString *': NSString + 'NSString *': NSString + 'NSString *': NSString + 'NSString *': NSString + 'NSString *': NSString + CGPoint: org.robovm.apple.coregraphics.CGPoint + typedefs: 'void (^)(GCController *)': '@Block VoidBlock1' @@ -18,6 +27,7 @@ enums: GCDualSenseAdaptiveTriggerMode: {} GCDualSenseAdaptiveTriggerStatus: {} GCDevicePhysicalInputElementChange: {prefix: GCDevicePhysicalInputElement} + GCPhysicalInputSourceDirection: {} classes: # Structs GCAcceleration: {} @@ -137,10 +147,23 @@ classes: name: updateConfiguration '+virtualControllerWithConfiguration:': name: virtualControllerWithConfiguration$ + '-setValue:forButtonElement:': + name: setValue + parameters: + element: + type: NSString + '-setPosition:forDirectionPadElement:': + name: setPosition + parameters: + element: + type: NSString GCVirtualControllerConfiguration: {} #since 15.0 GCVirtualControllerElementConfiguration: {} #since 15.0 GCGearShifterElement: {} - GCPhysicalInputElementCollection: {} #since 16.0 + GCPhysicalInputElementCollection: #since 16.0 + template_parameters: + Key: + type: NSString GCRacingWheel: methods: '-acquireDeviceWithError:': @@ -149,27 +172,76 @@ classes: GCRacingWheelInput: {} GCRacingWheelInputState: {} GCSteeringWheelElement: {} + GCControllerInputState: {} #since 17.0 + GCControllerLiveInput: {} #since 17.0 protocols: GCDevice: {} #since 14.0 GCAxisElement: {} #since 16.0 - GCAxisElementName: {} - GCAxisInput: {} #since 16.0 + GCAxisInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols GCButtonElement: {} #since 16.0 - GCButtonElementName: {} - GCDevicePhysicalInput: {} #since 16.0 - GCDevicePhysicalInputState: {} #since 16.0 - GCDevicePhysicalInputStateDiff: {} #since 16.0 + GCDevicePhysicalInput: #since 16.0 + methods: + '-nextInputState': + return_type: NSObjectProtocol # there are two default wrappers, + GCDevicePhysicalInputState: #since 16.0 + properties: + elements: + type: "GCPhysicalInputElementCollection" # FIXME: once NS collections allows id/protocols + buttons: + type: "GCPhysicalInputElementCollection" # FIXME: once NS collections allows id/protocols + axes: + type: "GCPhysicalInputElementCollection" # FIXME: once NS collections allows id/protocols + switches: + type: "GCPhysicalInputElementCollection" # FIXME: once NS collections allows id/protocols + dpads: + type: "GCPhysicalInputElementCollection" # FIXME: once NS collections allows id/protocols + methods: + '-objectForKeyedSubscript:': + parameters: + key: + type: NSString + GCDevicePhysicalInputStateDiff: #since 16.0 + methods: + '-changedElements': + return_type: NSEnumerator # FIXME: once NS collections allows id/protocols GCDirectionPadElement: {} #since 16.0 - GCDirectionPadElementName: {} - GCLinearInput: {} #since 16.0 + GCLinearInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols GCPhysicalInputElement: {} #since 16.0 - GCPhysicalInputElementName: {} - GCPressedStateInput: {} #since 16.0 - GCRelativeInput: {} #since 16.0 + GCPressedStateInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols + GCRelativeInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols GCSwitchElement: {} #since 16.0 - GCSwitchElementName: {} - GCSwitchPositionInput: {} #since 16.0 - GCTouchedStateInput: {} #since 16.0 + GCSwitchPositionInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols + GCTouchedStateInput: #since 16.0 + properties: + sources: + type: 'NSSet' # FIXME: remove once NS collections support protocols + GCPhysicalInputSource: {} #since 17.0 + + GCSwitchElementName: + exclude: true # used to simulate typed enum + GCPhysicalInputElementName: + exclude: true # used to simulate typed enum + GCDirectionPadElementName: + exclude: true # used to simulate typed enum + GCButtonElementName: + exclude: true # used to simulate typed enum + GCAxisElementName: + exclude: true # used to simulate typed enum functions: (GCExtendedGamepadSnapShotDataV100FromNSData): @@ -200,6 +272,10 @@ functions: class: GCMicroGamepadSnapshot name: getDataFromNSData + GCInputArcadeButtonName: + class: GCPhysicalInputProfile + name: getArcadeButtonName + # Make sure we don't miss any functions if new ones are introduced in a later version (k?GC.*): class: GameController @@ -255,11 +331,7 @@ values: name: '#{g[0]}' GCProductCategory(.*): class: GCProductCategory - name: '#{g[0]}' - GCRacingWheel(.*)Notification: - class: GCRacingWheel type: NSString - static_class: Notifications name: '#{g[0]}' # Make sure we don't miss any values if new ones are introduced in a later version diff --git a/compiler/cocoatouch/src/main/bro-gen/gamekit.yaml b/compiler/cocoatouch/src/main/bro-gen/gamekit.yaml index 8feb6120e..1afb886f4 100755 --- a/compiler/cocoatouch/src/main/bro-gen/gamekit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/gamekit.yaml @@ -74,6 +74,8 @@ classes: marshaler: NSArray.AsStringListMarshaler completionHandler: type: '@Block VoidBlock3>' # TODO asStringListMarshaler + '-challengeComposeControllerWithMessage:players:completion:': + name: challengeComposeControllerIos17 # conflicts with deprecated '-selectChallengeablePlayers:withCompletionHandler:': trim_after_first_colon: true parameters: @@ -459,6 +461,8 @@ classes: type: NSArray completionHandler: type: '@Block VoidBlock3>' + '-challengeComposeControllerWithMessage:players:completion:': + name: getChallengeComposeControllerIos17 # conflicts with deprecated '-challengeComposeControllerWithPlayers:message:completionHandler:': name: getChallengeComposeController parameters: @@ -674,13 +678,15 @@ classes: GKLeaderboardEntry: #since 14.0 methods: '-challengeComposeControllerWithMessage:players:completionHandler:': - name: challengeComposeController + name: challengeComposeController # deprecated now + '-challengeComposeControllerWithMessage:players:completion:': + name: getChallengeComposeController categories: GKGameSession : methods: - '+addEventListener:': + '+addEventListener:': name: addEventListener - '+removeEventListener:': + '+removeEventListener:': name: removeEventListener protocols: GKAchievementViewControllerDelegate: # DONE diff --git a/compiler/cocoatouch/src/main/bro-gen/healthkit.yaml b/compiler/cocoatouch/src/main/bro-gen/healthkit.yaml index 7179a872e..b3301ad49 100755 --- a/compiler/cocoatouch/src/main/bro-gen/healthkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/healthkit.yaml @@ -64,6 +64,11 @@ enums: HKHeartRateRecoveryTestType: {} #since 16.0 HKPrismBase: {} #since 16.0 HKVisionEye: {} #since 16.0 + HKWaterSalinity: {} #since 17.0 + HKCyclingFunctionalThresholdPowerTestType: {} #since 17.0 + HKPhysicalEffortEstimationType: {} #since 17.0 + HKWorkoutSessionState: {} #since 17.0 + HKWorkoutSessionType: {} #since 17.0 typed_enums: HKFHIRResourceType: enum: HKFHIRResourceType @@ -773,8 +778,34 @@ classes: methods: '-initWithWorkoutConfiguration:startDate:endDate:metadata:': name: init + HKWorkoutSession: #since 17.0 + methods: + '-startActivityWithDate:': + name: startActivity + '-stopActivityWithDate:': + name: stopActivity + '-beginNewActivityWithConfiguration:date:metadata:': + name: beginNewActivity + '-sendDataToRemoteWorkoutSession:completion:': + name: sendDataToRemoteWorkoutSession protocols: - HKWorkoutSessionDelegate: {} + HKWorkoutSessionDelegate: #since 17.0 + methods: + '-workoutSession:didChangeToState:fromState:date:': + name: didChangeToState + '-workoutSession:didFailWithError:': + name: didFail + '-workoutSession:didGenerateEvent:': + name: didGenerateEvent + '-workoutSession:didBeginActivityWithConfiguration:date:': + name: didBeginActivity + '-workoutSession:didEndActivityWithConfiguration:date:': + name: didEndActivity + '-workoutSession:didReceiveDataFromRemoteWorkoutSession:': + name: didReceiveDataFromRemoteWorkoutSession + '-workoutSession:didDisconnectFromRemoteDeviceWithError:': + name: didDisconnectFromRemoteDevice + functions: HKAppleWalkingSteadinessClassificationForQuantity: @@ -813,6 +844,11 @@ values: name: '#{g[0]}' type: NSString extends: HKQuantityTypeIdentifier + HKQuantityTypeIdentifier(CyclingCadence|CyclingFunctionalThresholdPower|CyclingPower|CyclingSpeed|PhysicalEffort): + enum: HKFitnessQuantityTypeIdentifier + name: '#{g[0]}' + type: NSString + extends: HKQuantityTypeIdentifier HKQuantityTypeIdentifier(HeartRate|BodyTemperature|BasalBodyTemperature|BloodPressureSystolic|BloodPressureDiastolic|RespiratoryRate|RestingHeartRate|WalkingHeartRateAverage|HeartRateVariabilitySDNN|HeartRateRecoveryOneMinute): enum: HKVitalSignsQuantityTypeIdentifier name: '#{g[0]}' @@ -823,7 +859,7 @@ values: name: '#{g[0]}' type: NSString extends: HKQuantityTypeIdentifier - HKQuantityTypeIdentifier(BloodAlcoholContent|ForcedVitalCapacity|ForcedExpiratoryVolume1|PeakExpiratoryFlowRate|EnvironmentalAudioExposure|HeadphoneAudioExposure): + HKQuantityTypeIdentifier(BloodAlcoholContent|ForcedVitalCapacity|ForcedExpiratoryVolume1|PeakExpiratoryFlowRate|EnvironmentalAudioExposure|EnvironmentalSoundReduction|HeadphoneAudioExposure): enum: HKResultsQuantityTypeIdentifier name: '#{g[0]}' type: NSString @@ -908,14 +944,14 @@ values: class: HKDevice name: 'Property#{g[0]}' - HKQuantityTypeIdentifier(AtrialFibrillationBurden): + HKQuantityTypeIdentifier(AtrialFibrillationBurden|TimeInDaylight): enum: HKOtherQuantityTypeIdentifier name: '#{g[0]}' type: NSString extends: HKQuantityTypeIdentifier HKQuantityTypeIdentifier(.*): # since ios 11 - class: !!FIXME # dkimitsa: these probably should be put in different locations + class: FIXME # dkimitsa: these probably should be put in different locations name: '#{g[0]}' HKSourceRevision(.*): # since ios 11 class: HKSourceRevision diff --git a/compiler/cocoatouch/src/main/bro-gen/homekit.yaml b/compiler/cocoatouch/src/main/bro-gen/homekit.yaml index 319e093ba..bed0a1eab 100755 --- a/compiler/cocoatouch/src/main/bro-gen/homekit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/homekit.yaml @@ -89,7 +89,10 @@ classes: properties: 'categoryType': type: HMAccessoryCategoryType - HMAction: {} # DONE + HMAction: # DONE + methods: + '+new': + exclude: true HMActionSet: # DONE skip_def_constructor: true properties: @@ -142,7 +145,12 @@ classes: type: HMCharacteristicMetadataFormat 'units': type: HMCharacteristicMetadataUnits - HMEvent: {} # DONE + HMEvent: # DONE + visibility: public abstract + methods: + '+new': + exclude: true + HMEventTrigger: # DONE skip_def_constructor: true properties: @@ -346,6 +354,8 @@ classes: methods: '-initWithName:fireDate:timeZone:recurrence:recurrenceCalendar:': name: init + '-initWithName:fireDate:recurrence:': + name: init '-updateFireDate:completionHandler:': trim_after_first_colon: true '-updateTimeZone:completionHandler:': diff --git a/compiler/cocoatouch/src/main/bro-gen/imagecapturecore.yaml b/compiler/cocoatouch/src/main/bro-gen/imagecapturecore.yaml index fb29d2a1e..8a35aa78e 100755 --- a/compiler/cocoatouch/src/main/bro-gen/imagecapturecore.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/imagecapturecore.yaml @@ -92,6 +92,8 @@ classes: name: requestDownload '-requestReadDataAtOffset:length:completion:': name: requestReadData + '-requestSecurityScopedURLWithCompletion:': + name: requestSecurityScopedURL ICCameraFolder: {} #since 13.0 ICCameraItem: {} #since 13.0 ICDevice: #since 13.0 diff --git a/compiler/cocoatouch/src/main/bro-gen/intents.yaml b/compiler/cocoatouch/src/main/bro-gen/intents.yaml index db6706cf1..d4f0bbea8 100755 --- a/compiler/cocoatouch/src/main/bro-gen/intents.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/intents.yaml @@ -156,6 +156,8 @@ enums: INFocusStatusAuthorizationStatus: {} #since 15.0 INAnswerCallIntentResponseCode: { } #since 16.2 INHangUpCallIntentResponseCode: { } #since 16.2 + INEditMessageIntentResponseCode: {} #since 17.0 + INUnsendMessagesIntentResponseCode: {} #since 17.0 typed_enums: INCarChargingConnectorType: enum: INCarChargingConnectorType @@ -1743,6 +1745,26 @@ classes: methods: '-initWithCode:userActivity:': name: init + INEditMessageIntent: #since 17.0 + methods: + '-initWithMessageIdentifier:editedContent:': + name: init + INEditMessageIntentResponse: #since 17.0 + methods: + '-initWithCode:userActivity:': + name: init + INMessageLinkMetadata: #since 17.0 + methods: + '-initWithSiteName:summary:title:openGraphType:linkURL:': + name: init + INUnsendMessagesIntent: #since 17.0 + methods: + '-initWithMessageIdentifiers:': + name: init + INUnsendMessagesIntentResponse: #since 17.0 + methods: + '-initWithCode:userActivity:': + name: init protocols: INActivateCarSignalIntentHandling: #since 10.3 methods: @@ -2473,6 +2495,20 @@ protocols: name: handleHangUpCall '-confirmHangUpCall:completion:': name: confirmHangUpCall + INEditMessageIntentHandling: #since 17.0 + methods: + '-handleEditMessage:completion:': + name: handleEditMessage + '-confirmEditMessage:completion:': + name: confirmEditMessage + '-resolveEditedContentForEditMessage:withCompletion:': + name: resolveEditedContent + INUnsendMessagesIntentHandling: #since 17.0 + methods: + '-handleUnsendMessages:completion:': + name: handleUnsendMessages + '-confirmUnsendMessages:completion:': + name: confirmUnsendMessages functions: # Make sure we don't miss any functions if new ones are introduced in a later version (IN.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/localauthentication.yaml b/compiler/cocoatouch/src/main/bro-gen/localauthentication.yaml index 4ba1d647f..3f393791e 100755 --- a/compiler/cocoatouch/src/main/bro-gen/localauthentication.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/localauthentication.yaml @@ -114,6 +114,8 @@ constants: exclude: true kLACredential.*: exclude: true + kLABiometryType.*: + exclude: true # Make sure we don't miss any constants if new ones are introduced in a later version (k?LA.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/matter.yaml b/compiler/cocoatouch/src/main/bro-gen/matter.yaml new file mode 100755 index 000000000..2e0d00305 --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/matter.yaml @@ -0,0 +1,1139 @@ +package: org.robovm.apple.matter +include: [ foundation, dispatch, security ] +library: Matter +framework: Matter +clang_args: [ '-x', 'objective-c' ] +headers: + - /System/Library/Frameworks/Matter.framework/Headers/Matter.h + +# drop anything that is deprecated in version 17.0 and below +min_usable_version: 17.0 + +private_typedefs: + NSCopying: NSObject + +enums: + MTRTransportType: { } #since 16.4 + MTREventTimeType: { } #since 16.5 + MTREventPriority: { } #since 16.5 + MTRIdentifyEffectIdentifier: { } #since 16.1 + MTRIdentifyEffectVariant: { } #since 16.1 + MTRIdentifyType: { } #since 16.1 + MTRGroupsFeature: { } #since 17.0 + MTRGroupsNameSupportBitmap: { } #since 17.0 + MTRScenesFeature: { } #since 17.0 + MTRScenesCopyMode: { } #since 16.1 + MTROnOffDelayedAllOffEffectVariant: { } #since 16.1 + MTROnOffDyingLightEffectVariant: { } #since 16.1 + MTROnOffEffectIdentifier: { } #since 16.1 + MTROnOffStartUpOnOff: { } #since 16.1 + MTROnOffFeature: { } #since 16.1 + MTROnOffControl: { } #since 16.1 + MTRLevelControlMoveMode: { } #since 16.1 + MTRLevelControlStepMode: { } #since 16.1 + MTRLevelControlFeature: { } #since 16.1 + MTRLevelControlOptions: { } #since 16.4 + MTRAccessControlEntryAuthMode: { } #since 16.4 + MTRAccessControlEntryPrivilege: { } #since 16.4 + MTRAccessControlChangeType: { } #since 16.1 + MTRActionsActionError: { } #since 16.1 + MTRActionsActionState: { } #since 16.1 + MTRActionsActionType: { } #since 16.1 + MTRActionsEndpointListType: { } #since 16.1 + MTRActionsCommandBits: { } #since 16.1 + MTRBasicInformationColor: { } #since 17.0 + MTRBasicInformationProductFinish: { } #since 17.0 + MTROTASoftwareUpdateProviderOTAApplyUpdateAction: { } #since 16.4 + MTROTASoftwareUpdateProviderOTADownloadProtocol: { } #since 16.4 + MTROTASoftwareUpdateProviderOTAQueryStatus: { } #since 16.4 + MTROTASoftwareUpdateRequestorOTAAnnouncementReason: { } #since 16.4 + MTROTASoftwareUpdateRequestorOTAChangeReason: { } #since 16.4 + MTROTASoftwareUpdateRequestorOTAUpdateState: { } #since 16.4 + MTRTimeFormatLocalizationCalendarType: { } #since 16.1 + MTRTimeFormatLocalizationHourFormat: { } #since 16.1 + MTRUnitLocalizationTempUnit: { } #since 16.1 + MTRUnitLocalizationFeature: { } #since 16.1 + MTRPowerSourceBatApprovedChemistry: { } #since 16.5 + MTRPowerSourceBatChargeFault: { } #since 16.1 + MTRPowerSourceBatChargeLevel: { } #since 16.1 + MTRPowerSourceBatChargeState: { } #since 16.1 + MTRPowerSourceBatCommonDesignation: { } #since 16.5 + MTRPowerSourceBatFault: { } #since 16.1 + MTRPowerSourceBatReplaceability: { } #since 16.1 + MTRPowerSourceStatus: { } #since 16.1 + MTRPowerSourceWiredCurrentType: { } #since 16.1 + MTRPowerSourceWiredFault: { } #since 16.1 + MTRPowerSourceFeature: { } #since 16.1 + MTRGeneralCommissioningCommissioningError: { } #since 16.1 + MTRGeneralCommissioningRegulatoryLocationType: { } #since 16.1 + MTRNetworkCommissioningStatus: { } #since 16.1 + MTRNetworkCommissioningWiFiBand: { } #since 16.1 + MTRNetworkCommissioningFeature: { } #since 16.1 + MTRNetworkCommissioningWiFiSecurityBitmap: { } #since 17.0 + MTRDiagnosticLogsIntent: { } #since 16.5 + MTRDiagnosticLogsStatus: { } #since 16.5 + MTRDiagnosticLogsTransferProtocol: { } #since 16.5 + MTRGeneralDiagnosticsBootReason: { } #since 16.4 + MTRGeneralDiagnosticsHardwareFault: { } #since 16.4 + MTRGeneralDiagnosticsInterfaceType: { } #since 16.1 + MTRGeneralDiagnosticsNetworkFault: { } #since 16.4 + MTRGeneralDiagnosticsRadioFault: { } #since 16.4 + MTRSoftwareDiagnosticsFeature: { } #since 16.1 + MTRThreadNetworkDiagnosticsConnectionStatus: { } #since 16.4 + MTRThreadNetworkDiagnosticsNetworkFault: { } #since 16.1 + MTRThreadNetworkDiagnosticsRoutingRole: { } #since 16.1 + MTRThreadNetworkDiagnosticsFeature: { } #since 16.1 + MTRWiFiNetworkDiagnosticsAssociationFailureCause: { } #since 16.1 + MTRWiFiNetworkDiagnosticsConnectionStatus: { } #since 16.5 + MTRWiFiNetworkDiagnosticsSecurityType: { } #since 16.1 + MTRWiFiNetworkDiagnosticsWiFiVersion: { } #since 16.5 + MTRWiFiNetworkDiagnosticsFeature: { } #since 16.4 + MTREthernetNetworkDiagnosticsPHYRate: { } #since 16.4 + MTREthernetNetworkDiagnosticsFeature: { } #since 16.4 + MTRTimeSynchronizationGranularity: { } #since 16.1 + MTRTimeSynchronizationTimeSource: { } #since 16.1 + MTRBridgedDeviceBasicInformationColor: { } #since 17.0 + MTRBridgedDeviceBasicInformationProductFinish: { } #since 17.0 + MTRSwitchFeature: { } #since 16.2 + MTRAdministratorCommissioningCommissioningWindowStatus: { } #since 16.1 + MTRAdministratorCommissioningStatusCode: { } #since 16.1 + MTROperationalCredentialsCertificateChainType: { } #since 16.4 + MTROperationalCredentialsNodeOperationalCertStatus: { } #since 16.4 + MTRGroupKeyManagementGroupKeySecurityPolicy: { } #since 16.1 + MTRModeSelectFeature: { } #since 16.1 + MTRDoorLockAlarmCode: { } #since 16.4 + MTRDoorLockCredentialRule: { } #since 16.4 + MTRDoorLockCredentialType: { } #since 16.4 + MTRDoorLockDataOperationType: { } #since 16.4 + MTRDoorLockDlLockState: { } #since 16.1 + MTRDoorLockDlLockType: { } #since 16.1 + MTRDoorLockDlStatus: { } #since 16.1 + MTRDoorLockDoorState: { } #since 16.4 + MTRDoorLockLockDataType: { } #since 16.4 + MTRDoorLockLockOperationType: { } #since 16.4 + MTRDoorLockOperatingMode: { } #since 16.4 + MTRDoorLockOperationError: { } #since 16.4 + MTRDoorLockOperationSource: { } #since 16.4 + MTRDoorLockUserStatus: { } #since 16.1 + MTRDoorLockUserType: { } #since 16.1 + MTRDoorLockDaysMaskMap: { } #since 16.4 + MTRDoorLockDlCredentialRuleMask: { } #since 16.1 + MTRDoorLockDlCredentialRulesSupport: { } #since 16.1 + MTRDoorLockDlDefaultConfigurationRegister: { } #since 16.1 + MTRDoorLockDlKeypadOperationEventMask: { } #since 16.1 + MTRDoorLockDlKeypadProgrammingEventMask: { } #since 16.1 + MTRDoorLockDlLocalProgrammingFeatures: { } #since 16.1 + MTRDoorLockDlManualOperationEventMask: { } #since 16.1 + MTRDoorLockDlRFIDOperationEventMask: { } #since 16.1 + MTRDoorLockDlRFIDProgrammingEventMask: { } #since 16.1 + MTRDoorLockDlRemoteOperationEventMask: { } #since 16.1 + MTRDoorLockDlRemoteProgrammingEventMask: { } #since 16.1 + MTRDoorLockDlSupportedOperatingModes: { } #since 16.1 + MTRDoorLockDayOfWeek: { } #since 16.1 + MTRDoorLockFeature: { } #since 16.1 + MTRWindowCoveringEndProductType: { } #since 16.1 + MTRWindowCoveringType: { } #since 16.1 + MTRWindowCoveringConfigStatus: { } #since 16.1 + MTRWindowCoveringFeature: { } #since 16.1 + MTRWindowCoveringMode: { } #since 16.1 + MTRWindowCoveringOperationalStatus: { } #since 16.1 + MTRWindowCoveringSafetyStatus: { } #since 16.1 + MTRPumpConfigurationAndControlControlMode: { } #since 16.5 + MTRPumpConfigurationAndControlOperationMode: { } #since 16.5 + MTRPumpConfigurationAndControlFeature: { } #since 17.0 + MTRPumpConfigurationAndControlPumpStatusBitmap: { } #since 16.5 + MTRThermostatSetpointAdjustMode: { } #since 16.1 + MTRThermostatControlSequence: { } #since 16.1 + MTRThermostatRunningMode: { } #since 16.1 + MTRThermostatSystemMode: { } #since 16.1 + MTRThermostatDayOfWeek: { } #since 16.1 + MTRThermostatFeature: { } #since 16.1 + MTRThermostatModeForSequence: { } #since 16.1 + MTRFanControlFanMode: { } #since 17.0 + MTRFanControlFanModeSequence: { } #since 17.0 + MTRFanControlFeature: { } #since 16.1 + MTRFanControlRockBitmap: { } #since 17.0 + MTRFanControlWindBitmap: { } #since 17.0 + MTRColorControlColorLoopAction: { } #since 16.1 + MTRColorControlColorLoopDirection: { } #since 16.1 + MTRColorControlColorMode: { } #since 16.1 + MTRColorControlHueDirection: { } #since 16.1 + MTRColorControlHueMoveMode: { } #since 16.1 + MTRColorControlHueStepMode: { } #since 16.1 + MTRColorControlSaturationMoveMode: { } #since 16.1 + MTRColorControlSaturationStepMode: { } #since 16.1 + MTRColorControlColorCapabilities: { } #since 16.1 + MTRColorControlColorLoopUpdateFlags: { } #since 16.1 + MTRColorControlFeature: { } #since 16.1 + MTRIlluminanceMeasurementLightSensorType: { } #since 16.1 + MTRPressureMeasurementFeature: { } #since 17.0 + MTROccupancySensingOccupancySensorType: { } #since 16.5 + MTROccupancySensingOccupancyBitmap: { } #since 16.5 + MTROccupancySensingOccupancySensorTypeBitmap: { } #since 16.5 + MTRChannelStatus: { } #since 16.1 + MTRChannelLineupInfoType: { } #since 16.1 + MTRChannelFeature: { } #since 16.1 + MTRTargetNavigatorStatus: { } #since 16.1 + MTRMediaPlaybackStatus: { } #since 16.1 + MTRMediaPlaybackPlaybackState: { } #since 16.1 + MTRMediaPlaybackFeature: { } #since 16.2 + MTRMediaInputInputType: { } #since 16.1 + MTRMediaInputFeature: { } #since 16.1 + MTRKeypadInputCecKeyCode: { } #since 16.1 + MTRKeypadInputStatus: { } #since 16.1 + MTRKeypadInputFeature: { } #since 16.1 + MTRContentLauncherContentLaunchStatus: { } #since 16.1 + MTRContentLauncherMetricType: { } #since 16.1 + MTRContentLauncherParameter: { } #since 16.1 + MTRContentLauncherFeature: { } #since 16.1 + MTRContentLauncherSupportedStreamingProtocol: { } #since 16.1 + MTRAudioOutputOutputType: { } #since 16.1 + MTRAudioOutputFeature: { } #since 16.1 + MTRApplicationLauncherStatus: { } #since 16.1 + MTRApplicationLauncherFeature: { } #since 16.1 + MTRApplicationBasicApplicationStatus: { } #since 16.1 + MTRUnitTestingSimple: { } #since 16.4 + MTRUnitTestingBitmap16MaskMap: { } #since 16.4 + MTRUnitTestingBitmap32MaskMap: { } #since 16.4 + MTRUnitTestingBitmap64MaskMap: { } #since 16.4 + MTRUnitTestingBitmap8MaskMap: { } #since 16.4 + MTRUnitTestingSimpleBitmap: { } #since 16.4 + MTRFaultInjectionFaultType: { } #since 16.1 + MTRClusterIDType: { prefix: MTRCluster } + MTRAttributeIDType: { prefix: MTR } + MTRCommandIDType: { prefix: MTRC } + MTREventIDType: { prefix: MTR } + MTRDeviceState: { } + MTRCommissioningStatus: { } #since 16.4 + MTRErrorCode: { nserror: true } + MTRInteractionErrorCode: { nserror: true } + MTRLogType: { } + MTROTAImageDigestType: { } + MTRDiscoveryCapabilities: { } + MTRCommissioningFlow: { } + MTROptionalQRCodeInfoType: { } + +# common configuration for all classes. if method config is not found in particular +# class it will be looked in here +# useful when there are tonn same methods along multiple classes +default_methods_config: + '-(.*?)WithParams:.*': + name: "#{g[0]}" + '+(.*?)WithParams:.*': + name: "{g[0]}" + '-(.*?)WithValue:.*': + name: "#{g[0]}" + '+(.*?)WithValue:.*': + name: "{g[0]}" + '-(.*?)WithClusterStateCache:.*': + name: "#{g[0]}" + '+(.*?)WithClusterStateCache:.*': + name: "#{g[0]}" + '-(.*?)WithCompletion:.*': + name: "#{g[0]}" + '+(.*?)WithCompletion:.*': + name: "#{g[0]}" + '-(.*?)WithExpectedValues:.*': + name: "#{g[0]}" + '+(.*?)WithExpectedValues:.*': + name: "#{g[0]}" + '-(.*?)WithEndpointID:.*': + name: "#{g[0]}" + + '-initWithResponseValue:error:': + name: init + throws: NSErrorException + '-initWithDevice:endpointID:queue:': + name: init + +classes: + MTRAccessControlClusterAccessControlEntryChangedEvent: { } #since 16.1 + MTRAccessControlClusterAccessControlEntryStruct: { } #since 16.4 + MTRAccessControlClusterAccessControlExtensionChangedEvent: { } #since 16.1 + MTRAccessControlClusterAccessControlExtensionStruct: { } #since 16.4 + MTRAccessControlClusterAccessControlTargetStruct: { } #since 17.0 + MTRAccountLoginClusterGetSetupPINParams: { } #since 16.1 + MTRAccountLoginClusterGetSetupPINResponseParams: #since 16.1 + methods: + '-initWithResponseValue:error:': + name: init + throws: NSErrorException + MTRAccountLoginClusterLoginParams: { } #since 16.1 + MTRAccountLoginClusterLogoutParams: { } #since 16.1 + MTRActionsClusterActionFailedEvent: { } #since 16.1 + MTRActionsClusterActionStruct: { } #since 16.1 + MTRActionsClusterDisableActionParams: { } #since 16.1 + MTRActionsClusterDisableActionWithDurationParams: { } #since 16.1 + MTRActionsClusterEnableActionParams: { } #since 16.1 + MTRActionsClusterEnableActionWithDurationParams: { } #since 16.1 + MTRActionsClusterEndpointListStruct: { } #since 16.1 + MTRActionsClusterInstantActionParams: { } #since 16.1 + MTRActionsClusterInstantActionWithTransitionParams: { } #since 16.1 + MTRActionsClusterPauseActionParams: { } #since 16.1 + MTRActionsClusterPauseActionWithDurationParams: { } #since 16.1 + MTRActionsClusterResumeActionParams: { } #since 16.1 + MTRActionsClusterStartActionParams: { } #since 16.1 + MTRActionsClusterStartActionWithDurationParams: { } #since 16.1 + MTRActionsClusterStateChangedEvent: { } #since 16.1 + MTRActionsClusterStopActionParams: { } #since 16.1 + MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams: { } #since 16.1 + MTRAdministratorCommissioningClusterOpenCommissioningWindowParams: { } #since 16.1 + MTRAdministratorCommissioningClusterRevokeCommissioningParams: { } #since 16.1 + MTRApplicationBasicClusterApplicationStruct: { } #since 16.4 + MTRApplicationLauncherClusterApplicationEPStruct: { } #since 16.4 + MTRApplicationLauncherClusterApplicationStruct: { } #since 16.4 + MTRApplicationLauncherClusterHideAppParams: { } #since 16.1 + MTRApplicationLauncherClusterLaunchAppParams: { } #since 16.1 + MTRApplicationLauncherClusterLauncherResponseParams: { } #since 16.1 + MTRApplicationLauncherClusterStopAppParams: { } #since 16.1 + MTRAsyncCallbackQueueWorkItem: + methods: + '-initWithQueue:': + name: init + MTRAsyncCallbackWorkQueue: + methods: + '-initWithContext:queue:': + name: init + MTRAttributePath: + methods: + '+attributePathWithEndpointID:clusterID:attributeID:': + name: create + constructor: true + MTRAttributeReport: { } + MTRAttributeRequestPath: #since 17.0 + methods: + '+requestPathWithEndpointID:clusterID:attributeID:': + name: create + constructor: true + MTRAudioOutputClusterOutputInfoStruct: { } #since 16.4 + MTRAudioOutputClusterRenameOutputParams: { } #since 16.1 + MTRAudioOutputClusterSelectOutputParams: { } #since 16.1 + MTRBarrierControlClusterBarrierControlGoToPercentParams: { } #since 16.1 + MTRBarrierControlClusterBarrierControlStopParams: { } #since 16.1 + MTRBaseClusterAccessControl: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + + MTRBaseClusterAccountLogin: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + '-getSetupPINWithParams:completion:': + name: getSetupPIN + '-loginWithParams:completion:': + name: login + '-logoutWithParams:completion:': + name: logout + '-logoutWithCompletion:': + name: logout + MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams: { } #since 16.4 + MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent: { } #since 16.4 + MTROTASoftwareUpdateRequestorClusterProviderLocation: { } #since 16.4 + MTROTASoftwareUpdateRequestorClusterStateTransitionEvent: { } #since 16.4 + MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent: { } #since 16.4 + MTROnOffClusterOffParams: { } #since 16.1 + MTROnOffClusterOffWithEffectParams: { } #since 16.1 + MTROnOffClusterOnParams: { } #since 16.1 + MTROnOffClusterOnWithRecallGlobalSceneParams: { } #since 16.1 + MTROnOffClusterOnWithTimedOffParams: { } #since 16.1 + MTROnOffClusterToggleParams: { } #since 16.1 + MTROperationalCSRInfo: #since 16.4 + methods: + '-initWithCSR:csrNonce:csrElementsTLV:attestationSignature:': + name: init + '-initWithCSRNonce:csrElementsTLV:attestationSignature:': + name: init + '-initWithCSRElementsTLV:attestationSignature:': + name: init + '-initWithCSRResponseParams:': + name: init + MTROperationalCertificateChain: #since 16.4 + methods: + '-initWithOperationalCertificate:intermediateCertificate:rootCertificate:adminSubject:': + name: init + MTROperationalCredentialsClusterAddNOCParams: { } #since 16.1 + MTROperationalCredentialsClusterAddTrustedRootCertificateParams: { } #since 16.1 + MTROperationalCredentialsClusterAttestationRequestParams: { } #since 16.1 + MTROperationalCredentialsClusterAttestationResponseParams: { } #since 16.1 + MTROperationalCredentialsClusterCSRRequestParams: { } #since 16.1 + MTROperationalCredentialsClusterCSRResponseParams: { } #since 16.1 + MTROperationalCredentialsClusterCertificateChainRequestParams: { } #since 16.1 + MTROperationalCredentialsClusterCertificateChainResponseParams: { } #since 16.1 + MTROperationalCredentialsClusterFabricDescriptorStruct: { } #since 16.4 + MTROperationalCredentialsClusterNOCResponseParams: { } #since 16.1 + MTROperationalCredentialsClusterNOCStruct: { } #since 16.1 + MTROperationalCredentialsClusterRemoveFabricParams: { } #since 16.1 + MTROperationalCredentialsClusterUpdateFabricLabelParams: { } #since 16.1 + MTROperationalCredentialsClusterUpdateNOCParams: { } #since 16.1 + MTROptionalQRCodeInfo: { } + MTRPowerSourceClusterBatChargeFaultChangeEvent: { } #since 16.4 + MTRPowerSourceClusterBatFaultChangeEvent: { } #since 16.4 + MTRPowerSourceClusterWiredFaultChangeEvent: { } #since 16.4 + MTRProductIdentity: #since 17.0 + methods: + '-initWithVendorID:productID:': + name: init + MTRPumpConfigurationAndControlClusterAirDetectionEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterDryRunningEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterGeneralFaultEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterLeakageEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterPumpBlockedEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterSensorFailureEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterSystemPressureHighEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterSystemPressureLowEvent: { } #since 16.1 + MTRPumpConfigurationAndControlClusterTurbineOperationEvent: { } #since 16.1 + MTRReadParams: { } + MTRScenesClusterAddSceneParams: { } #since 16.1 + MTRScenesClusterAddSceneResponseParams: { } #since 16.1 + MTRScenesClusterAttributeValuePair: { } #since 16.1 + MTRScenesClusterCopySceneParams: { } #since 16.1 + MTRScenesClusterCopySceneResponseParams: { } #since 16.1 + MTRScenesClusterEnhancedAddSceneParams: { } #since 16.1 + MTRScenesClusterEnhancedAddSceneResponseParams: { } #since 16.1 + MTRScenesClusterEnhancedViewSceneParams: { } #since 16.1 + MTRScenesClusterEnhancedViewSceneResponseParams: { } #since 16.1 + MTRScenesClusterExtensionFieldSet: { } #since 16.1 + MTRScenesClusterGetSceneMembershipParams: { } #since 16.1 + MTRScenesClusterGetSceneMembershipResponseParams: { } #since 16.1 + MTRScenesClusterRecallSceneParams: { } #since 16.1 + MTRScenesClusterRemoveAllScenesParams: { } #since 16.1 + MTRScenesClusterRemoveAllScenesResponseParams: { } #since 16.1 + MTRScenesClusterRemoveSceneParams: { } #since 16.1 + MTRScenesClusterRemoveSceneResponseParams: { } #since 16.1 + MTRScenesClusterStoreSceneParams: { } #since 16.1 + MTRScenesClusterStoreSceneResponseParams: { } #since 16.1 + MTRScenesClusterViewSceneParams: { } #since 16.1 + MTRScenesClusterViewSceneResponseParams: { } #since 16.1 + MTRSetupPayload: + methods: + '-initWithSetupPasscode:discriminator:': + name: init + '+setupPayloadWithOnboardingPayload:error:': + name: setupPayload + constructor: true + throws: NSErrorException + MTRSoftwareDiagnosticsClusterResetWatermarksParams: { } #since 16.1 + MTRSoftwareDiagnosticsClusterSoftwareFaultEvent: { } #since 16.1 + MTRSoftwareDiagnosticsClusterThreadMetricsStruct: { } #since 16.4 + MTRSubscribeParams: + methods: + '-initWithMinInterval:maxInterval:': + name: init + MTRSwitchClusterInitialPressEvent: { } #since 16.1 + MTRSwitchClusterLongPressEvent: { } #since 16.1 + MTRSwitchClusterLongReleaseEvent: { } #since 16.1 + MTRSwitchClusterMultiPressCompleteEvent: { } #since 16.1 + MTRSwitchClusterMultiPressOngoingEvent: { } #since 16.1 + MTRSwitchClusterShortReleaseEvent: { } #since 16.1 + MTRSwitchClusterSwitchLatchedEvent: { } #since 16.1 + MTRTargetNavigatorClusterNavigateTargetParams: { } #since 16.1 + MTRTargetNavigatorClusterNavigateTargetResponseParams: { } #since 16.1 + MTRTargetNavigatorClusterTargetInfoStruct: { } #since 16.4 + MTRThermostatClusterClearWeeklyScheduleParams: { } #since 16.1 + MTRThermostatClusterGetWeeklyScheduleParams: { } #since 16.1 + MTRThermostatClusterGetWeeklyScheduleResponseParams: { } #since 16.1 + MTRThermostatClusterSetWeeklyScheduleParams: { } #since 16.1 + MTRThermostatClusterSetpointRaiseLowerParams: { } #since 16.1 + MTRThermostatClusterThermostatScheduleTransition: { } #since 16.1 + MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent: { } #since 16.1 + MTRThreadNetworkDiagnosticsClusterNeighborTableStruct: { } #since 17.0 + MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent: { } #since 16.1 + MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents: { } #since 16.1 + MTRThreadNetworkDiagnosticsClusterResetCountsParams: { } #since 16.1 + MTRThreadNetworkDiagnosticsClusterRouteTableStruct: { } #since 17.0 + MTRThreadNetworkDiagnosticsClusterSecurityPolicy: { } #since 16.1 + MTRThreadOperationalDataset: + methods: + '-initWithNetworkName:extendedPANID:masterKey:PSKc:channelNumber:panID:': + name: init + '-initWithData:': + name: init + MTRTimeSynchronizationClusterDSTOffsetStruct: { } #since 16.5 + MTRTimeSynchronizationClusterSetUtcTimeParams: { } #since 16.1 + MTRTimeSynchronizationClusterTimeZoneStruct: { } #since 16.5 + MTRUnitTestingClusterBooleanResponseParams: { } #since 16.4 + MTRUnitTestingClusterDoubleNestedStructList: { } #since 16.4 + MTRUnitTestingClusterNestedStruct: { } #since 16.4 + MTRUnitTestingClusterNestedStructList: { } #since 16.4 + MTRUnitTestingClusterNullablesAndOptionalsStruct: { } #since 16.4 + MTRUnitTestingClusterSimpleStruct: { } #since 16.4 + MTRUnitTestingClusterSimpleStructEchoRequestParams: { } #since 16.4 + MTRUnitTestingClusterSimpleStructResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestAddArgumentsParams: { } #since 16.4 + MTRUnitTestingClusterTestAddArgumentsResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestComplexNullableOptionalRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestComplexNullableOptionalResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestEmitTestEventRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestEmitTestEventResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestEnumsRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestEnumsResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestEventEvent: { } #since 16.4 + MTRUnitTestingClusterTestFabricScoped: { } #since 16.4 + MTRUnitTestingClusterTestFabricScopedEventEvent: { } #since 16.4 + MTRUnitTestingClusterTestListInt8UArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestListInt8UReverseRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestListInt8UReverseResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestListStructArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestListStructOctet: { } #since 16.4 + MTRUnitTestingClusterTestNestedStructArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestNestedStructListArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestNotHandledParams: { } #since 16.4 + MTRUnitTestingClusterTestNullableOptionalRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestNullableOptionalResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestParams: { } #since 16.4 + MTRUnitTestingClusterTestSimpleArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestSimpleArgumentResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestSpecificParams: { } #since 16.4 + MTRUnitTestingClusterTestSpecificResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestStructArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestStructArrayArgumentRequestParams: { } #since 16.4 + MTRUnitTestingClusterTestStructArrayArgumentResponseParams: { } #since 16.4 + MTRUnitTestingClusterTestUnknownCommandParams: { } #since 16.4 + MTRUnitTestingClusterTimedInvokeRequestParams: { } #since 16.4 + MTRUserLabelClusterLabelStruct: { } #since 16.1 + MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent: { } #since 16.1 + MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent: { } #since 16.1 + MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent: { } #since 16.1 + MTRWiFiNetworkDiagnosticsClusterResetCountsParams: { } #since 16.1 + MTRWindowCoveringClusterDownOrCloseParams: { } #since 16.1 + MTRWindowCoveringClusterGoToLiftPercentageParams: { } #since 16.1 + MTRWindowCoveringClusterGoToLiftValueParams: { } #since 16.1 + MTRWindowCoveringClusterGoToTiltPercentageParams: { } #since 16.1 + MTRWindowCoveringClusterGoToTiltValueParams: { } #since 16.1 + MTRWindowCoveringClusterStopMotionParams: { } #since 16.1 + MTRWindowCoveringClusterUpOrOpenParams: { } #since 16.1 + MTRWriteParams: { } + MTRColorControlClusterColorLoopSetParams: { } #since 16.1 + MTRColorControlClusterEnhancedMoveHueParams: { } #since 16.1 + MTRColorControlClusterEnhancedMoveToHueAndSaturationParams: { } #since 16.1 + MTRColorControlClusterEnhancedMoveToHueParams: { } #since 16.1 + MTRColorControlClusterEnhancedStepHueParams: { } #since 16.1 + MTRColorControlClusterMoveColorParams: { } #since 16.1 + MTRColorControlClusterMoveColorTemperatureParams: { } #since 16.1 + MTRColorControlClusterMoveHueParams: { } #since 16.1 + MTRColorControlClusterMoveSaturationParams: { } #since 16.1 + MTRColorControlClusterMoveToColorParams: { } #since 16.1 + MTRColorControlClusterMoveToColorTemperatureParams: { } #since 16.1 + MTRColorControlClusterMoveToHueAndSaturationParams: { } #since 16.1 + MTRColorControlClusterMoveToHueParams: { } #since 16.1 + MTRColorControlClusterMoveToSaturationParams: { } #since 16.1 + MTRColorControlClusterStepColorParams: { } #since 16.1 + MTRColorControlClusterStepColorTemperatureParams: { } #since 16.1 + MTRColorControlClusterStepHueParams: { } #since 16.1 + MTRColorControlClusterStepSaturationParams: { } #since 16.1 + MTRColorControlClusterStopMoveStepParams: { } #since 16.1 + MTRCommandPath: + methods: + '+commandPathWithEndpointID:clusterID:commandID:': + name: create + constructor: true + MTRCommissionableBrowserResult: { } #since 17.0 + MTRCommissioningParameters: { } + MTRContentLauncherClusterAdditionalInfoStruct: { } #since 16.4 + MTRContentLauncherClusterBrandingInformationStruct: { } #since 16.4 + MTRContentLauncherClusterContentSearchStruct: { } #since 16.4 + MTRContentLauncherClusterDimensionStruct: { } #since 16.4 + MTRContentLauncherClusterLaunchContentParams: { } #since 16.1 + MTRContentLauncherClusterLaunchURLParams: { } #since 16.1 + MTRContentLauncherClusterLauncherResponseParams: { } #since 16.4 + MTRContentLauncherClusterParameterStruct: { } #since 16.4 + MTRContentLauncherClusterStyleInformationStruct: { } #since 16.4 + MTRDescriptorClusterDeviceTypeStruct: { } #since 16.2 + MTRDevice: + methods: + '-setDelegate:queue:': + name: setDelegate + '-readAttributeWithEndpointID:clusterID:attributeID:params:': + name: readAttribute + '-writeAttributeWithEndpointID:clusterID:attributeID:value:expectedValueInterval:timedWriteTimeout:': + name: writeAttribute + '-invokeCommandWithEndpointID:clusterID:commandID:commandFields:expectedValues:expectedValueInterval:timedInvokeTimeout:queue:completion:': + name: invokeCommand + '-openCommissioningWindowWithSetupPasscode:discriminator:duration:queue:completion:': + name: openCommissioningWindow + '-openCommissioningWindowWithDiscriminator:duration:queue:completion:': + name: openCommissioningWindow + '+deviceWithNodeID:controller:': + name: create + constructor: true + MTRDeviceAttestationDeviceInfo: { } + MTRDeviceAttestationInfo: #since 16.4 + methods: + '-initWithDeviceAttestationChallenge:nonce:elementsTLV:elementsSignature:deviceAttestationCertificate:productAttestationIntermediateCertificate:certificationDeclaration:firmwareInfo:': + name: init + MTRDeviceController: + methods: + '-setupCommissioningSessionWithPayload:newNodeID:error:': + name: setupCommissioningSession + throws: NSErrorException + '-setupCommissioningSessionWithDiscoveredDevice:payload:newNodeID:error:': + name: setupCommissioningSession + throws: NSErrorException + '-commissionNodeWithID:commissioningParams:error:': + name: commissionNode + throws: NSErrorException + '-continueCommissioningDevice:ignoreAttestationFailure:error:': + name: continueCommissioning + throws: NSErrorException + '-cancelCommissioningForNodeID:error:': + name: cancelCommissioning + throws: NSErrorException + '-deviceBeingCommissionedWithNodeID:error:': + name: deviceBeingCommissioned + throws: NSErrorException + '-setDeviceControllerDelegate:queue:': + name: setDeviceControllerDelegate + '-startBrowseForCommissionables:queue:': + name: startBrowse + '+computePASEVerifierForSetupPasscode:iterations:salt:error:': + name: computePASEVerifier + throws: NSErrorException + '+sharedControllerWithID:xpcConnectBlock:': + name: getSharedController + MTRDeviceControllerFactory: #since 16.4 + methods: + '-startControllerFactory:error:': + name: startControllerFactory + throws: NSErrorException + '-createControllerOnExistingFabric:error:': + name: createControllerOnExistingFabric + throws: NSErrorException + '-createControllerOnNewFabric:error:': + name: createControllerOnNewFabric + throws: NSErrorException + MTRDeviceControllerFactoryParams: #since 16.4 + methods: + '-initWithStorage:': + name: init + MTRDeviceControllerStartupParams: + methods: + '-initWithIPK:fabricID:nocSigner:': + name: init + '-initWithIPK:operationalKeypair:operationalCertificate:intermediateCertificate:rootCertificate:': + name: init + MTRDiagnosticLogsClusterRetrieveLogsRequestParams: { } #since 16.1 + MTRDiagnosticLogsClusterRetrieveLogsResponseParams: { } #since 16.1 + MTRDistinguishedNameInfo: { } #since 16.4 + MTRDoorLockClusterClearCredentialParams: { } #since 16.1 + MTRDoorLockClusterClearHolidayScheduleParams: { } #since 16.1 + MTRDoorLockClusterClearUserParams: { } #since 16.1 + MTRDoorLockClusterClearWeekDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterClearYearDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterCredentialStruct: { } #since 16.4 + MTRDoorLockClusterDoorLockAlarmEvent: { } #since 16.1 + MTRDoorLockClusterDoorStateChangeEvent: { } #since 16.1 + MTRDoorLockClusterGetCredentialStatusParams: { } #since 16.1 + MTRDoorLockClusterGetCredentialStatusResponseParams: { } #since 16.1 + MTRDoorLockClusterGetHolidayScheduleParams: { } #since 16.1 + MTRDoorLockClusterGetHolidayScheduleResponseParams: { } #since 16.1 + MTRDoorLockClusterGetUserParams: { } #since 16.1 + MTRDoorLockClusterGetUserResponseParams: { } #since 16.1 + MTRDoorLockClusterGetWeekDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterGetWeekDayScheduleResponseParams: { } #since 16.1 + MTRDoorLockClusterGetYearDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterGetYearDayScheduleResponseParams: { } #since 16.1 + MTRDoorLockClusterLockDoorParams: { } #since 16.1 + MTRDoorLockClusterLockOperationErrorEvent: { } #since 16.1 + MTRDoorLockClusterLockOperationEvent: { } #since 16.1 + MTRDoorLockClusterLockUserChangeEvent: { } #since 16.1 + MTRDoorLockClusterSetCredentialParams: { } #since 16.1 + MTRDoorLockClusterSetCredentialResponseParams: { } #since 16.1 + MTRDoorLockClusterSetHolidayScheduleParams: { } #since 16.1 + MTRDoorLockClusterSetUserParams: { } #since 16.1 + MTRDoorLockClusterSetWeekDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterSetYearDayScheduleParams: { } #since 16.1 + MTRDoorLockClusterUnlockDoorParams: { } #since 16.1 + MTRDoorLockClusterUnlockWithTimeoutParams: { } #since 16.1 + MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams: { } #since 16.1 + MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams: { } #since 16.1 + MTRElectricalMeasurementClusterGetProfileInfoCommandParams: { } #since 16.1 + MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams: { } #since 16.1 + MTREthernetNetworkDiagnosticsClusterResetCountsParams: { } #since 16.1 + MTREventPath: + methods: + '+eventPathWithEndpointID:clusterID:eventID:': + name: create + constructor: true + MTREventReport: { } + MTREventRequestPath: #since 17.0 + methods: + '+requestPathWithEndpointID:clusterID:eventID:': + name: create + constructor: true + MTRFabricInfo: { } #since 16.5 + MTRFaultInjectionClusterFailAtFaultParams: { } #since 16.1 + MTRFaultInjectionClusterFailRandomlyAtFaultParams: { } #since 16.1 + MTRFixedLabelClusterLabelStruct: { } #since 16.1 + MTRGeneralCommissioningClusterArmFailSafeParams: { } #since 16.1 + MTRGeneralCommissioningClusterArmFailSafeResponseParams: { } #since 16.1 + MTRGeneralCommissioningClusterBasicCommissioningInfo: { } #since 16.1 + MTRGeneralCommissioningClusterCommissioningCompleteParams: { } #since 16.1 + MTRGeneralCommissioningClusterCommissioningCompleteResponseParams: { } #since 16.1 + MTRGeneralCommissioningClusterSetRegulatoryConfigParams: { } #since 16.1 + MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams: { } #since 16.1 + MTRGeneralDiagnosticsClusterBootReasonEvent: { } #since 16.1 + MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent: { } #since 16.1 + MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent: { } #since 16.1 + MTRGeneralDiagnosticsClusterNetworkInterface: { } #since 16.4 + MTRGeneralDiagnosticsClusterRadioFaultChangeEvent: { } #since 16.1 + MTRGeneralDiagnosticsClusterTestEventTriggerParams: { } #since 16.1 + MTRGroupKeyManagementClusterGroupInfoMapStruct: { } #since 16.1 + MTRGroupKeyManagementClusterGroupKeyMapStruct: { } #since 16.1 + MTRGroupKeyManagementClusterGroupKeySetStruct: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetReadAllIndicesParams: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetReadParams: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetReadResponseParams: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetRemoveParams: { } #since 16.1 + MTRGroupKeyManagementClusterKeySetWriteParams: { } #since 16.1 + MTRGroupsClusterAddGroupIfIdentifyingParams: { } #since 16.1 + MTRGroupsClusterAddGroupParams: { } #since 16.1 + MTRGroupsClusterAddGroupResponseParams: { } #since 16.1 + MTRGroupsClusterGetGroupMembershipParams: { } #since 16.1 + MTRGroupsClusterGetGroupMembershipResponseParams: { } #since 16.1 + MTRGroupsClusterRemoveAllGroupsParams: { } #since 16.1 + MTRGroupsClusterRemoveGroupParams: { } #since 16.1 + MTRGroupsClusterRemoveGroupResponseParams: { } #since 16.1 + MTRGroupsClusterViewGroupParams: { } #since 16.1 + MTRGroupsClusterViewGroupResponseParams: { } #since 16.1 + MTRIdentifyClusterIdentifyParams: { } #since 16.1 + MTRIdentifyClusterTriggerEffectParams: { } #since 16.1 + MTRKeypadInputClusterSendKeyParams: { } #since 16.1 + MTRKeypadInputClusterSendKeyResponseParams: { } #since 16.1 + MTRLevelControlClusterMoveParams: { } #since 16.1 + MTRLevelControlClusterMoveToClosestFrequencyParams: { } #since 16.1 + MTRLevelControlClusterMoveToLevelParams: { } #since 16.1 + MTRLevelControlClusterMoveToLevelWithOnOffParams: { } #since 16.1 + MTRLevelControlClusterMoveWithOnOffParams: { } #since 16.1 + MTRLevelControlClusterStepParams: { } #since 16.1 + MTRLevelControlClusterStepWithOnOffParams: { } #since 16.1 + MTRLevelControlClusterStopParams: { } #since 16.1 + MTRLevelControlClusterStopWithOnOffParams: { } #since 16.1 + MTRLowPowerClusterSleepParams: { } #since 16.1 + MTRMediaInputClusterHideInputStatusParams: { } #since 16.1 + MTRMediaInputClusterInputInfoStruct: { } #since 16.4 + MTRMediaInputClusterRenameInputParams: { } #since 16.1 + MTRMediaInputClusterSelectInputParams: { } #since 16.1 + MTRMediaInputClusterShowInputStatusParams: { } #since 16.1 + MTRMediaPlaybackClusterFastForwardParams: { } #since 16.1 + MTRMediaPlaybackClusterNextParams: { } #since 16.1 + MTRMediaPlaybackClusterPauseParams: { } #since 16.1 + MTRMediaPlaybackClusterPlayParams: { } #since 16.1 + MTRMediaPlaybackClusterPlaybackPositionStruct: { } #since 16.4 + MTRMediaPlaybackClusterPlaybackResponseParams: { } #since 16.1 + MTRMediaPlaybackClusterPreviousParams: { } #since 16.1 + MTRMediaPlaybackClusterRewindParams: { } #since 16.1 + MTRMediaPlaybackClusterSeekParams: { } #since 16.1 + MTRMediaPlaybackClusterSkipBackwardParams: { } #since 16.1 + MTRMediaPlaybackClusterSkipForwardParams: { } #since 16.1 + MTRMediaPlaybackClusterStartOverParams: { } #since 16.1 + MTRMediaPlaybackClusterStopParams: { } #since 16.4 + MTRModeSelectClusterChangeToModeParams: { } #since 16.1 + MTRModeSelectClusterModeOptionStruct: { } #since 16.1 + MTRModeSelectClusterSemanticTagStruct: { } #since 16.4 + MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams: { } #since 16.1 + MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams: { } #since 16.1 + MTRNetworkCommissioningClusterConnectNetworkParams: { } #since 16.1 + MTRNetworkCommissioningClusterConnectNetworkResponseParams: { } #since 16.1 + MTRNetworkCommissioningClusterNetworkConfigResponseParams: { } #since 16.1 + MTRNetworkCommissioningClusterNetworkInfoStruct: { } #since 17.0 + MTRNetworkCommissioningClusterRemoveNetworkParams: { } #since 16.1 + MTRNetworkCommissioningClusterReorderNetworkParams: { } #since 16.1 + MTRNetworkCommissioningClusterScanNetworksParams: { } #since 16.1 + MTRNetworkCommissioningClusterScanNetworksResponseParams: { } #since 16.1 + MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct: { } #since 17.0 + MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct: { } #since 17.0 + MTROTAHeader: + methods: + '-initWithData:': + name: init + MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams: { } #since 16.4 + MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams: { } #since 16.4 + MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams: { } #since 16.4 + MTROTASoftwareUpdateProviderClusterQueryImageParams: { } #since 16.4 + MTROTASoftwareUpdateProviderClusterQueryImageResponseParams: { } #since 16.4 + MTRClusterUnitLocalization: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + MTRClusterUnitTesting: #since 16.4 + methods: + '-initWithDevice:endpointID:queue:': + name: init + MTRClusterUserLabel: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + MTRClusterWakeOnLAN: #since 16.4 + methods: + '-initWithDevice:endpointID:queue:': + name: init + MTRClusterWiFiNetworkDiagnostics: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + '-resetCountsWithParams:expectedValues:expectedValueInterval:completion:': + name: resetCounts + '-resetCountsWithExpectedValues:expectedValueInterval:completion:': + name: resetCounts + MTRClusterWindowCovering: #since 16.1 + methods: + '-initWithDevice:endpointID:queue:': + name: init + MTRBaseClusterActions: { } #since 16.1 + MTRBaseClusterAdministratorCommissioning: { } #since 16.1 + MTRBaseClusterApplicationBasic: { } #since 16.1 + MTRBaseClusterApplicationLauncher: { } #since 16.1 + MTRBaseClusterAudioOutput: { } #since 16.1 + MTRBaseClusterBallastConfiguration: { } #since 16.1 + MTRBaseClusterBarrierControl: { } #since 16.1 + MTRBaseClusterBasicInformation: { } #since 16.4 + MTRBaseClusterBinaryInputBasic: { } #since 16.1 + MTRBaseClusterBinding: { } #since 16.1 + MTRBaseClusterBooleanState: { } #since 16.1 + MTRBaseClusterBridgedDeviceBasicInformation: { } #since 16.4 + MTRBaseClusterChannel: { } #since 16.1 + MTRBaseClusterColorControl: { } #since 16.1 + MTRBaseClusterContentLauncher: { } #since 16.1 + MTRBaseClusterDescriptor: { } #since 16.1 + MTRBaseClusterDiagnosticLogs: { } #since 16.1 + MTRBaseClusterDoorLock: { } #since 16.1 + MTRBaseClusterElectricalMeasurement: { } #since 16.1 + MTRBaseClusterEthernetNetworkDiagnostics: { } #since 16.1 + MTRBaseClusterFanControl: { } #since 16.1 + MTRBaseClusterFixedLabel: { } #since 16.1 + MTRBaseClusterFlowMeasurement: { } #since 16.1 + MTRBaseClusterGeneralCommissioning: { } #since 16.1 + MTRBaseClusterGeneralDiagnostics: { } #since 16.1 + MTRBaseClusterGroupKeyManagement: { } #since 16.1 + MTRBaseClusterGroups: { } #since 16.1 + MTRBaseClusterIdentify: { } #since 16.1 + MTRBaseClusterIlluminanceMeasurement: { } #since 16.1 + MTRBaseClusterKeypadInput: { } #since 16.1 + MTRBaseClusterLevelControl: { } #since 16.1 + MTRBaseClusterLocalizationConfiguration: { } #since 16.1 + MTRBaseClusterLowPower: { } #since 16.1 + MTRBaseClusterMediaInput: { } #since 16.1 + MTRBaseClusterMediaPlayback: { } #since 16.1 + MTRBaseClusterModeSelect: { } #since 16.1 + MTRBaseClusterNetworkCommissioning: { } #since 16.1 + MTRBaseClusterOTASoftwareUpdateProvider: { } #since 16.4 + MTRBaseClusterOTASoftwareUpdateRequestor: { } #since 16.4 + MTRBaseClusterOccupancySensing: { } #since 16.1 + MTRBaseClusterOnOff: { } #since 16.1 + MTRBaseClusterOnOffSwitchConfiguration: { } #since 16.1 + MTRBaseClusterOperationalCredentials: { } #since 16.1 + MTRBaseClusterPowerSource: { } #since 16.1 + MTRBaseClusterPowerSourceConfiguration: { } #since 16.1 + MTRBaseClusterPressureMeasurement: { } #since 16.1 + MTRBaseClusterPumpConfigurationAndControl: { } #since 16.1 + MTRBaseClusterRelativeHumidityMeasurement: { } #since 16.1 + MTRBaseClusterScenes: { } #since 16.1 + MTRBaseClusterSoftwareDiagnostics: { } #since 16.1 + MTRBaseClusterSwitch: { } #since 16.1 + MTRBaseClusterTargetNavigator: { } #since 16.1 + MTRBaseClusterTemperatureMeasurement: { } #since 16.1 + MTRBaseClusterThermostat: { } #since 16.1 + MTRBaseClusterThermostatUserInterfaceConfiguration: { } #since 16.1 + MTRBaseClusterThreadNetworkDiagnostics: { } #since 16.1 + MTRBaseClusterTimeFormatLocalization: { } #since 16.1 + MTRBaseClusterUnitLocalization: { } #since 16.1 + MTRBaseClusterUnitTesting: { } #since 16.4 + MTRBaseClusterUserLabel: { } #since 16.1 + MTRBaseClusterWakeOnLAN: { } #since 16.4 + MTRBaseClusterWiFiNetworkDiagnostics: { } #since 16.1 + MTRBaseClusterWindowCovering: { } #since 16.1 + MTRBaseDevice: + methods: + '-subscribeWithQueue:params:clusterStateCacheContainer:attributeReportHandler:eventReportHandler:errorHandler:subscriptionEstablished:resubscriptionScheduled:': + name: subscribe + '-readAttributePaths:eventPaths:params:queue:completion:': + name: readAttributePaths + '-subscribeToAttributePaths:eventPaths:params:queue:reportHandler:subscriptionEstablished:resubscriptionScheduled:': + name: subscribeToAttributePaths + '-deregisterReportHandlersWithQueue:completion:': + name: deregisterReportHandlers + '-openCommissioningWindowWithSetupPasscode:discriminator:duration:queue:completion:': + name: openCommissioningWindow + '-openCommissioningWindowWithDiscriminator:duration:queue:completion:': + name: openCommissioningWindow + '+deviceWithNodeID:controller:': + name: createDevice + MTRBasicInformationClusterCapabilityMinimaStruct: { } #since 16.4 + MTRBasicInformationClusterLeaveEvent: { } #since 16.4 + MTRBasicInformationClusterProductAppearanceStruct: { } #since 17.0 + MTRBasicInformationClusterReachableChangedEvent: { } #since 16.4 + MTRBasicInformationClusterShutDownEvent: { } #since 16.4 + MTRBasicInformationClusterStartUpEvent: { } #since 16.4 + MTRBindingClusterTargetStruct: { } #since 16.1 + MTRBooleanStateClusterStateChangeEvent: { } #since 16.1 + MTRBridgedDeviceBasicInformationClusterLeaveEvent: { } #since 16.4 + MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct: { } #since 17.0 + MTRBridgedDeviceBasicInformationClusterReachableChangedEvent: { } #since 16.4 + MTRBridgedDeviceBasicInformationClusterShutDownEvent: { } #since 16.4 + MTRBridgedDeviceBasicInformationClusterStartUpEvent: { } #since 16.4 + MTRCertificateInfo: #since 16.4 + methods: + '-initWithTLVBytes:': + name: init + MTRCertificates: + methods: + '+createRootCertificate:issuerID:fabricID:validityPeriod:error:': + name: createRootCertificate + throws: NSErrorException + '+createRootCertificate:issuerID:fabricID:error:': + name: createRootCertificate + throws: NSErrorException + '+createIntermediateCertificate:rootCertificate:intermediatePublicKey:issuerID:fabricID:validityPeriod:error:': + name: createIntermediateCertificate + throws: NSErrorException + '+createIntermediateCertificate:rootCertificate:intermediatePublicKey:issuerID:fabricID:error:': + name: createIntermediateCertificate + throws: NSErrorException + '+createOperationalCertificate:signingCertificate:operationalPublicKey:fabricID:nodeID:caseAuthenticatedTags:validityPeriod:error:': + name: createOperationalCertificate + throws: NSErrorException + '+createOperationalCertificate:signingCertificate:operationalPublicKey:fabricID:nodeID:caseAuthenticatedTags:error:': + name: createOperationalCertificate + throws: NSErrorException + '+keypair:matchesCertificate:': + name: keypairMatchesCertificate + '+isCertificate:equalTo:': + name: isCertificateEquals + '+createCertificateSigningRequest:error:': + name: createCertificateSigningRequest + throws: NSErrorException + '+publicKeyFromCSR:error:': + name: publicKeyFromCSR + throws: NSErrorException + MTRChannelClusterChangeChannelByNumberParams: { } #since 16.1 + MTRChannelClusterChangeChannelParams: { } #since 16.1 + MTRChannelClusterChangeChannelResponseParams: { } #since 16.1 + MTRChannelClusterChannelInfoStruct: { } #since 16.4 + MTRChannelClusterLineupInfoStruct: { } #since 16.4 + MTRChannelClusterSkipChannelParams: { } #since 16.1 + MTRCluster: { } + MTRClusterAccessControl: { } #since 16.1 + MTRClusterAccountLogin: { } #since 16.1 + MTRClusterActions: { } #since 16.1 + MTRClusterAdministratorCommissioning: { } #since 16.1 + MTRClusterApplicationBasic: { } #since 16.1 + MTRClusterApplicationLauncher: { } #since 16.1 + MTRClusterAudioOutput: { } #since 16.1 + MTRClusterBallastConfiguration: { } #since 16.1 + MTRClusterBarrierControl: { } #since 16.1 + MTRClusterBasicInformation: { } #since 16.4 + MTRClusterBinaryInputBasic: { } #since 16.1 + MTRClusterBinding: { } #since 16.1 + MTRClusterBooleanState: { } #since 16.1 + MTRClusterBridgedDeviceBasicInformation: { } #since 16.4 + MTRClusterChannel: { } #since 16.1 + MTRClusterColorControl: { } #since 16.1 + MTRClusterContentLauncher: { } #since 16.1 + MTRClusterDescriptor: { } #since 16.1 + MTRClusterDiagnosticLogs: { } #since 16.1 + MTRClusterDoorLock: { } #since 16.1 + MTRClusterElectricalMeasurement: { } #since 16.1 + MTRClusterEthernetNetworkDiagnostics: { } #since 16.1 + MTRClusterFanControl: { } #since 16.1 + MTRClusterFixedLabel: { } #since 16.1 + MTRClusterFlowMeasurement: { } #since 16.1 + MTRClusterGeneralCommissioning: { } #since 16.1 + MTRClusterGeneralDiagnostics: { } #since 16.1 + MTRClusterGroupKeyManagement: { } #since 16.1 + MTRClusterGroups: { } #since 16.1 + MTRClusterIdentify: { } #since 16.1 + MTRClusterIlluminanceMeasurement: { } #since 16.1 + MTRClusterKeypadInput: { } #since 16.1 + MTRClusterLevelControl: { } #since 16.1 + MTRClusterLocalizationConfiguration: { } #since 16.1 + MTRClusterLowPower: { } #since 16.1 + MTRClusterMediaInput: { } #since 16.1 + MTRClusterMediaPlayback: { } #since 16.1 + MTRClusterModeSelect: { } #since 16.1 + MTRClusterNetworkCommissioning: { } #since 16.1 + MTRClusterOTASoftwareUpdateProvider: { } #since 16.4 + MTRClusterOTASoftwareUpdateRequestor: { } #since 16.4 + MTRClusterOccupancySensing: { } #since 16.1 + MTRClusterOnOff: { } #since 16.1 + MTRClusterOnOffSwitchConfiguration: { } #since 16.1 + MTRClusterOperationalCredentials: { } #since 16.1 + MTRClusterPath: #since 16.4 + methods: + '+clusterPathWithEndpointID:clusterID:': + name: createClusterPath + MTRClusterPowerSource: { } #since 16.1 + MTRClusterPowerSourceConfiguration: { } #since 16.1 + MTRClusterPressureMeasurement: { } #since 16.1 + MTRClusterPumpConfigurationAndControl: { } #since 16.1 + MTRClusterRelativeHumidityMeasurement: { } #since 16.1 + MTRClusterScenes: { } #since 16.1 + MTRClusterSoftwareDiagnostics: { } #since 16.1 + MTRClusterStateCacheContainer: { } #since 16.4 + MTRClusterSwitch: { } #since 16.1 + MTRClusterTargetNavigator: { } #since 16.1 + MTRClusterTemperatureMeasurement: { } #since 16.1 + MTRClusterThermostat: { } #since 16.1 + MTRClusterThermostatUserInterfaceConfiguration: { } #since 16.1 + MTRClusterThreadNetworkDiagnostics: { } #since 16.1 + MTRClusterTimeFormatLocalization: { } #since 16.1 + + +protocols: + MTRCommissionableBrowserDelegate: #since 17.0 + methods: + '-controller:didFindCommissionableDevice:': + name: didFindCommissionableDevice + '-controller:didRemoveCommissionableDevice:': + name: didRemoveCommissionableDevice + MTRDeviceAttestationDelegate: + methods: + '-deviceAttestationCompletedForController:opaqueDeviceHandle:attestationDeviceInfo:error:': + name: deviceAttestationCompleted + '-deviceAttestationFailedForController:opaqueDeviceHandle:error:': + name: deviceAttestationFailed + '-deviceAttestation:completedForDevice:attestationDeviceInfo:error:': + name: deviceAttestationCompleted + '-deviceAttestation:failedForDevice:error:': + name: deviceAttestationFailed + MTRDeviceControllerClientProtocol: + methods: + '-handleReportWithController:nodeId:values:error:': + name: handleReport + MTRDeviceControllerDelegate: #since 16.4 + methods: + '-controller:statusUpdate:': + name: statusUpdate + '-controller:commissioningSessionEstablishmentDone:': + name: commissioningSessionEstablishmentDone + '-controller:commissioningComplete:': + name: commissioningComplete + '-controller:commissioningComplete:nodeID:': + name: commissioningComplete + '-controller:readCommissioningInfo:': + name: readCommissioningInfo + MTRDeviceControllerServerProtocol: + methods: + '-getDeviceControllerWithFabricId:completion:': + name: getDeviceController + '-getAnyDeviceControllerWithCompletion:': + name: getAnyDeviceController + '-readAttributeWithController:nodeId:endpointId:clusterId:attributeId:params:completion:': + name: readAttribute + '-writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:timedWriteTimeout:completion:': + name: writeAttribute + '-invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:timedInvokeTimeout:completion:': + name: invokeCommand + '-subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:params:establishedHandler:': + name: subscribeAttribute + '-stopReportsWithController:nodeId:completion:': + name: stopReports + '-subscribeWithController:nodeId:minInterval:maxInterval:params:shouldCache:completion:': + name: subscribe + '-readAttributeCacheWithController:nodeId:endpointId:clusterId:attributeId:completion:': + name: readAttributeCache + MTRDeviceDelegate: + methods: + '-device:stateChanged:': + name: stateChanged + '-device:receivedAttributeReport:': + name: receivedAttributeReport + '-device:receivedEventReport:': + name: receivedEventReport + MTRKeypair: { } + MTROTAProviderDelegate: + methods: + '-handleQueryImageForNodeID:controller:params:completion:': + name: handleQueryImage + '-handleQueryImageForNodeID:controller:params:completionHandler:': + name: handleQueryImage + '-handleApplyUpdateRequestForNodeID:controller:params:completion:': + name: handleApplyUpdateRequest + '-handleApplyUpdateRequestForNodeID:controller:params:completionHandler:': + name: handleApplyUpdateRequest + '-handleNotifyUpdateAppliedForNodeID:controller:params:completion:': + name: handleNotifyUpdateApplied + '-handleNotifyUpdateAppliedForNodeID:controller:params:completionHandler:': + name: handleNotifyUpdateApplied + '-handleBDXTransferSessionBeginForNodeID:controller:fileDesignator:offset:completion:': + name: handleBDXTransferSessionBegin + '-handleBDXTransferSessionBeginForNodeID:controller:fileDesignator:offset:completionHandler:': + name: handleBDXTransferSessionBegin + '-handleBDXTransferSessionEndForNodeID:controller:error:': + name: handleBDXTransferSessionEnd + '-handleBDXQueryForNodeID:controller:blockSize:blockIndex:bytesToSkip:completion:': + name: handleBDXQuery + '-handleBDXQueryForNodeID:controller:blockSize:blockIndex:bytesToSkip:completionHandler:': + name: handleBDXQuery + MTROperationalCertificateIssuer: #since 16.4 + methods: + '-issueOperationalCertificateForRequest:attestationInfo:controller:completion:': + name: issueOperationalCertificate + MTRStorage: #since 16.4 + methods: + '-setStorageData:forKey:': + name: setStorageData +functions: + MTRSetLogCallback: + class: MTRLogging + name: setLogCallback + + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + MTRErrorDomain: + class: MTRErrorCode + name: getClassDomain + MTRInteractionErrorDomain: + class: MTRInteractionErrorCode + name: getClassDomain + + MTR(AttributePathKey|CommandPathKey|EventPathKey|DataKey|ErrorKey|TypeKey|ValueKey|ContextTagKey): + class: MTRBaseDevice + type: NSString + static_class: Values + MTR(SignedIntegerValueType|UnsignedIntegerValueType|BooleanValueType|UTF8StringValueType): + class: MTRBaseDevice + type: NSString + static_class: Values + MTR(OctetStringValueType|FloatValueType|DoubleValueType|NullValueType|StructureValueType): + class: MTRBaseDevice + type: NSString + static_class: Values + MTR(ArrayValueType|EventNumberKey|EventPriorityKey|EventTimeTypeKey|EventSystemUpTimeKey|EventTimestampDateKey): + class: MTRBaseDevice + type: NSString + static_class: Values + + MTRSize(ThreadNetworkName|ThreadExtendedPANID|ThreadMasterKey|ThreadPSKc|ThreadPANID): + class: MTRThreadOperationalDataset + static_class: SizeOf + + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +constants: + + # Make sure we don't miss any constants if new ones are introduced in a later version + (k?LA.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/mediaaccessibility.yaml b/compiler/cocoatouch/src/main/bro-gen/mediaaccessibility.yaml new file mode 100755 index 000000000..8663f9ab4 --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/mediaaccessibility.yaml @@ -0,0 +1,85 @@ +package: org.robovm.apple.mediaaccessibility +include: [foundation, corefoundation, coretext, coregraphics, iosurface, ] +library: MediaAccessibility +framework: MediaAccessibility +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h + +private_typedefs: + '__CFString *': String + '__CFData': NSData + '__CFURL': NSURL + '__CFDictionary': NSDictionary + '__CFArray': NSArray + '__CFError': NSError +enums: + MACaptionAppearanceDomain: {prefix: kMACaptionAppearanceDomain} #since 7.0 + MACaptionAppearanceDisplayType: {prefix: kMACaptionAppearanceDisplayType} #since 7.0 + MACaptionAppearanceBehavior: {prefix: kMACaptionAppearanceBehaviorUse} #since 7.0 + MACaptionAppearanceFontStyle: {prefix: kMACaptionAppearanceFontStyle} #since 7.0 + MACaptionAppearanceTextEdgeStyle: {prefix: kMACaptionAppearanceTextEdgeStyle} #since 7.0 + +classes: + MAFlashingLightsProcessor: #since 17.0 + methods: + '-processSurface:outSurface:timestamp:options:': + #trim_after_first_colon: true + name: processSurface$outSurface$timestamp$options$ + MAFlashingLightsProcessorResult: {} #since 17.0 + +protocols: + +functions: + MACaptionAppearance(.*): + class: MACaptionAppearance + name: '#{g[0].downcase_first}' + MAImageCaptioning(.*): + class: MAImageCaptioning + name: '#{g[0].downcase_first}' + MADimFlashingLightsEnabled: + class: MAVideoAccommodations + name: isDimFlashingLightsEnabled + MAAudibleMediaCopyPreferredCharacteristics: + class: MAAudibleMedia + name: copyPreferredCharacteristics + + + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + kMADimFlashingLightsChangedNotification: + class: MAVideoAccommodations + name: DimFlashingLightsChangedNotification + type: NSString + kMAAudibleMediaSettingsChangedNotification: + class: MAAudibleMedia + name: SettingsChangedNotification + type: NSString + kMACaptionAppearanceSettingsChangedNotification: + class: MACaptionAppearance + name: SettingsChangedNotification + type: NSString + MAMediaCharacteristic(DescribesVideoForAccessibility): + class: MAAudibleMedia + static_class: MediaCharacteristic + name: '#{g[0]}' + MAMediaCharacteristic(DescribesMusicAndSoundForAccessibility|TranscribesSpokenDialogForAccessibility): + class: MACaptionAppearance + static_class: MediaCharacteristic + name: '#{g[0]}' + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +constants: + + # Make sure we don't miss any constants if new ones are introduced in a later version + (k?LA.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/metal.yaml b/compiler/cocoatouch/src/main/bro-gen/metal.yaml index 74bb195dc..2caf5ebb9 100755 --- a/compiler/cocoatouch/src/main/bro-gen/metal.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/metal.yaml @@ -32,7 +32,6 @@ enums: MTLStoreAction: {} MTLDataType: {} MTLArgumentType: {} - MTLArgumentAccess: {} MTLBlendFactor: {} MTLBlendOperation: {} MTLColorWriteMask: {} @@ -108,6 +107,15 @@ enums: MTLIOError: {nserror: true} #since 16.0 MTLIOStatus: {} #since 16.0 MTLIOCompressionStatus: {} #since 16.0 + + MTLBindingAccess: { + prefix: MTLBindingAccess, + ignore: "MTLArgumentAccess(.*)" + } + MTLCompileSymbolVisibility: { } #since 16.4 + MTLCurveType: { } #since 17.0 + MTLCurveBasis: { } #since 17.0 + MTLCurveEndCaps: { } #since 17.0 classes: MTLAttribute: {} MTLFunctionConstant: {} @@ -172,6 +180,8 @@ classes: MTLResourceID: {} #since 16.0 MTLIOCompressionContext: extends: NativeObject + MTLIndirectAccelerationStructureInstanceDescriptor: {} #since 17.0 + MTLIndirectAccelerationStructureMotionInstanceDescriptor: {} #since 17.0 MTLArgument: {} # DONE MTLArrayType: # DONE @@ -409,6 +419,10 @@ classes: name: setObject MTLIOCommandQueueDescriptor: {} #since 16.0 MTLMeshRenderPipelineDescriptor: {} #since 16.0 + MTLAccelerationStructureCurveGeometryDescriptor: {} #since 17.0 + MTLAccelerationStructureMotionCurveGeometryDescriptor: {} #since 17.0 + MTLArchitecture: {} #since 17.0 + MTLIndirectInstanceAccelerationStructureDescriptor: {} #since 17.0 protocols: MTLHeap: methods: @@ -631,6 +645,15 @@ protocols: name: setAccelerationStructure '-sampleCountersInBuffer:atSampleIndex:withBarrier:': name: sampleCountersInBuffer + '-setBuffer:offset:attributeStride:atIndex:': + name: setBuffer + '-setBuffers:offsets:attributeStrides:withRange:': + name: setBuffers + '-setBufferOffset:attributeStride:atIndex:': + name: setBufferOffset + '-setBytes:length:attributeStride:atIndex:': + name: setBytes + MTLComputePipelineState: # DONE class: true annotations: ['@NativeProtocolProxy'] @@ -776,6 +799,12 @@ protocols: name: heapAccelerationStructureSizeAndAlign '-heapAccelerationStructureSizeAndAlignWithDescriptor:': name: heapAccelerationStructureSizeAndAlign + '-newIOFileHandleWithURL:error:': + name: newIOFileHandle + throws: NSErrorException + '-newIOFileHandleWithURL:compressionMethod:error:': + name: newIOFileHandle + throws: NSErrorException MTLDrawable: # DONE methods: '-presentAtTime:': @@ -1084,6 +1113,14 @@ protocols: name: memoryBarrier '-memoryBarrierWithResources:count:afterStages:beforeStages:': name: memoryBarrier + '-setVertexBuffer:offset:attributeStride:atIndex:': + name: setVertexBuffer + '-setVertexBuffers:offsets:attributeStrides:withRange:': + name: setVertexBuffers + '-setVertexBufferOffset:attributeStride:atIndex:': + name: setVertexBufferOffset + '-setVertexBytes:length:attributeStride:atIndex:': + name: setVertexBytes MTLRenderPipelineState: # DONE class: true annotations: ['@NativeProtocolProxy'] @@ -1198,6 +1235,18 @@ protocols: trim_after_first_colon: true '-drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:': trim_after_first_colon: true + '-setVertexBuffer:offset:attributeStride:atIndex:': + name: setVertexBuffer + '-setObjectThreadgroupMemoryLength:atIndex:': + name: setObjectThreadgroupMemoryLength + '-setObjectBuffer:offset:atIndex:': + name: setObjectBuffer + '-setMeshBuffer:offset:atIndex:': + name: setMeshBuffer + '-drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:': + name: drawMeshThreadgroups + '-drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:': + name: drawMeshThreads MTLSharedEvent: #since 12.0 methods: '-notifyListener:atValue:block:': @@ -1214,6 +1263,8 @@ protocols: name: setThreadgroupMemoryLength '-setImageblockWidth:height:': name: setImageblockWidth + '-setKernelBuffer:offset:attributeStride:atIndex:': + name: setKernelBuffer MTLRasterizationRateMap: #since 13.0 methods: '-copyParameterDataToBuffer:offset:': @@ -1300,6 +1351,10 @@ protocols: name: setVisibleFunctionTable '-setVisibleFunctionTables:withBufferRange:': name: setVisibleFunctionTables + '-setOpaqueCurveIntersectionFunctionWithSignature:atIndex:': + name: setOpaqueCurveIntersectionFunction + '-setOpaqueCurveIntersectionFunctionWithSignature:withRange:': + name: setOpaqueCurveIntersectionFunction MTLLogContainer: {} #since 14.0 MTLVisibleFunctionTable: #since 14.0 methods: diff --git a/compiler/cocoatouch/src/main/bro-gen/metalperformanceshaders.yaml b/compiler/cocoatouch/src/main/bro-gen/metalperformanceshaders.yaml index 7501abe1e..ac22e4afc 100755 --- a/compiler/cocoatouch/src/main/bro-gen/metalperformanceshaders.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/metalperformanceshaders.yaml @@ -77,6 +77,8 @@ enums: MPSIntersectionDataType: {} #since 12.0 MPSRayMaskOperator: {} #since 13.0 MPSDeviceCapsValues: {prefix: MPS} + MPSFloatDataTypeBit: { prefix: MPSFloatDataType } + MPSFloatDataTypeShift: { prefix: MPSFloatDataType } classes: # structs MPSOrigin: {} @@ -113,7 +115,10 @@ classes: MPSIntersectionDistancePrimitiveIndexCoordinates: {} MPSIntersectionDistancePrimitiveIndexInstanceIndex: {} MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates: {} - + MPSIntersectionDistancePrimitiveIndexBufferIndex: {} + MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates: {} + MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex: {} + MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates: {} # classes MPSBinaryImageKernel: #since 9.0 methods: @@ -2282,6 +2287,8 @@ constants: MPSNDArrayConstantIndex: {exclude: true} MPSMaxTextures: {exclude: true} MPSIsArrayOfTexturesWritable: {exclude: true} + MPSFunctionConstantNone: {exclude: true} + MPSFunctionConstantNoneArray: {exclude: true} # Make sure we don't miss any constants if new ones are introduced in a later version (k?MPS.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/metalperformanceshadersgraph.yaml b/compiler/cocoatouch/src/main/bro-gen/metalperformanceshadersgraph.yaml index 73fca0183..6bf82c31d 100755 --- a/compiler/cocoatouch/src/main/bro-gen/metalperformanceshadersgraph.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/metalperformanceshadersgraph.yaml @@ -30,6 +30,9 @@ enums: MPSGraphExecutionStage: {} MPSGraphResizeNearestRoundingMode: {} MPSGraphRNNActivation: {} + MPSGraphDeploymentPlatform: { } + MPSGraphFFTScalingMode: { } + MPSGraphNonMaximumSuppressionCoordinateMode: { } categories: @@ -464,9 +467,9 @@ classes: '-topKWithSourceTensor:kTensor:name:': name: topK '-topKWithGradientTensor:source:k:name:': - name: topK + name: topKWithGradient '-topKWithGradientTensor:source:kTensor:name:': - name: topK + name: topKWithGradient '+new': exclude: true '-gatherAlongAxis:withUpdatesTensor:indicesTensor:name:': @@ -693,6 +696,90 @@ classes: name: batchToSpace '-batchToSpaceTensor:spatialAxesTensor:batchAxisTensor:blockDimensionsTensor:usePixelShuffleOrder:name:': name: batchToSpace + '-absoluteSquareWithTensor:name:': + name: absoluteSquare + '-conjugateWithTensor:name:': + name: conjugate + '-realPartOfTensor:name:': + name: realPart + '-imaginaryPartOfTensor:name:': + name: imaginaryPart + '-complexTensorWithRealTensor:imaginaryTensor:name:': + name: complexTensorWithRealTensor + '-convolution3DWithSourceTensor:weightsTensor:descriptor:name:': + name: convolution3D + '-convolution3DDataGradientWithIncomingGradientTensor:weightsTensor:outputShape:forwardConvolutionDescriptor:name:': + name: convolution3DDataGradient + '-convolution3DDataGradientWithIncomingGradientTensor:weightsTensor:outputShapeTensor:forwardConvolutionDescriptor:name:': + name: convolution3DDataGradient + '-convolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShape:forwardConvolutionDescriptor:name:': + name: convolution3DWeightsGradient + '-convolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShapeTensor:forwardConvolutionDescriptor:name:': + name: convolution3DWeightsGradient + '-fastFourierTransformWithTensor:axes:descriptor:name:': + name: fastFourierTransformWithTensor$axes$descriptor$name$ + '-fastFourierTransformWithTensor:axesTensor:descriptor:name:': + name: fastFourierTransform + '-realToHermiteanFFTWithTensor:axes:descriptor:name:': + name: realToHermiteanFFT + '-realToHermiteanFFTWithTensor:axesTensor:descriptor:name:': + name: realToHermiteanFFT + '-HermiteanToRealFFTWithTensor:axes:descriptor:name:': + name: HermiteanToRealFFT + '-HermiteanToRealFFTWithTensor:axesTensor:descriptor:name:': + name: HermiteanToRealFFT + '-imToColWithSourceTensor:descriptor:name:': + name: imToCol + '-colToImWithSourceTensor:outputShape:descriptor:name:': + name: colToIm + '-constantWithRealPart:imaginaryPart:': + name: constant + '-constantWithRealPart:imaginaryPart:dataType:': + name: constant + '-constantWithRealPart:imaginaryPart:shape:dataType:': + name: constant + '-nonMaximumSuppressionWithBoxesTensor:scoresTensor:IOUThreshold:scoreThreshold:perClassSuppression:coordinateMode:name:': + name: nonMaximumSuppression + '-nonMaximumSuppressionWithBoxesTensor:scoresTensor:classIndicesTensor:IOUThreshold:scoreThreshold:perClassSuppression:coordinateMode:name:': + name: nonMaximumSuppression + '-nonZeroIndicesOfTensor:name:': + name: nonZeroIndices + '-resizeTensor:sizeTensor:mode:centerResult:alignCorners:name:': + name: resize + '-resizeTensor:sizeTensor:scaleTensor:offsetTensor:mode:name:': + name: resizeTensor + '-resizeWithGradientTensor:input:scaleTensor:offsetTensor:mode:name:': + name: resizeWithGradient + '-resizeNearestWithTensor:sizeTensor:nearestRoundingMode:centerResult:alignCorners:name:': + name: resizeNearest + '-resizeNearestWithTensor:sizeTensor:scaleTensor:offsetTensor:nearestRoundingMode:name:': + name: resizeNearest + '-resizeNearestWithGradientTensor:input:scaleTensor:offsetTensor:nearestRoundingMode:name:': + name: resizeNearestWithGradient + '-resizeBilinearWithTensor:sizeTensor:centerResult:alignCorners:name:': + name: resizeBilinear + '-resizeBilinearWithTensor:sizeTensor:scaleTensor:offsetTensor:name:': + name: resizeBilinear + '-resizeBilinearWithGradientTensor:input:scaleTensor:offsetTensor:name:': + name: resizeBilinearWithGradient + '-reinterpretCastTensor:toType:name:': + name: reinterpretCast + '-topKWithSourceTensor:axis:k:name:': + name: topK + '-topKWithSourceTensor:axisTensor:kTensor:name:': + name: topK + '-topKWithGradientTensor:source:axis:k:name:': + name: topKWithGradient + '-topKWithGradientTensor:source:axisTensor:kTensor:name:': + name: topKWithGradient + '-bottomKWithSourceTensor:axis:k:name:': + name: bottomK + '-bottomKWithSourceTensor:axisTensor:kTensor:name:': + name: bottomK + '-bottomKWithGradientTensor:source:axis:k:name:': + name: bottomKWithGradient + '-bottomKWithGradientTensor:source:axisTensor:kTensor:name:': + name: bottomKWithGradient MPSGraphConvolution2DOpDescriptor: methods: '-setExplicitPaddingWithPaddingLeft:paddingRight:paddingTop:paddingBottom:': @@ -785,6 +872,12 @@ classes: name: runAsync '-encodeToCommandBuffer:inputsArray:resultsArray:executionDescriptor:': name: encodeToCommandBuffer + '-getOutputTypesWithDevice:inputTypes:compilationDescriptor:': + name: getOutputTypes + '-serializeToMPSGraphPackageAtURL:descriptor:': + name: serializeToMPSGraphPackage + '-initWithMPSGraphPackageAtURL:compilationDescriptor:': + name: init MPSGraphExecutableExecutionDescriptor: #since 15.0 methods: '-waitForEvent:value:': @@ -822,6 +915,29 @@ classes: MPSGraphGRUDescriptor: {} #since 16.0 MPSGraphLSTMDescriptor: {} #since 15.4 MPSGraphSingleGateRNNDescriptor: {} #since 15.4 + MPSGraphConvolution3DOpDescriptor: #since 16.3 + methods: + '-setExplicitPaddingWithPaddingLeft:paddingRight:paddingTop:paddingBottom:paddingFront:paddingBack:': + name: setExplicitPadding + '+descriptorWithStrideInX:strideInY:strideInZ:dilationRateInX:dilationRateInY:dilationRateInZ:groups:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingFront:paddingBack:paddingStyle:dataLayout:weightsLayout:': + constructor: true + name: create + '+descriptorWithStrideInX:strideInY:strideInZ:dilationRateInX:dilationRateInY:dilationRateInZ:groups:paddingStyle:dataLayout:weightsLayout:': + constructor: true + name: create + MPSGraphExecutableSerializationDescriptor: {} #since 17.0 + MPSGraphFFTDescriptor: {} #since 17.0 + MPSGraphImToColOpDescriptor: #since 17.0 + methods: + '-setExplicitPaddingWithPaddingLeft:paddingRight:paddingTop:paddingBottom:': + name: setExplicitPadding + '+descriptorWithKernelWidth:kernelHeight:strideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:dataLayout:': + constructor: true + name: create + '+descriptorWithKernelWidth:kernelHeight:strideInX:strideInY:dilationRateInX:dilationRateInY:dataLayout:': + constructor: true + name: create + MPSGraphObject: {} #since 17.0 protocols: functions: diff --git a/compiler/cocoatouch/src/main/bro-gen/metrickit.yaml b/compiler/cocoatouch/src/main/bro-gen/metrickit.yaml index 40c460ea0..bf15d0788 100755 --- a/compiler/cocoatouch/src/main/bro-gen/metrickit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/metrickit.yaml @@ -61,6 +61,8 @@ classes: MXForegroundExitData: {} #since 14.0 MXHangDiagnostic: {} #since 14.0 MXAppLaunchDiagnostic: {} #since 16.0 + MXCrashDiagnosticObjectiveCExceptionReason: {} #since 17.0 + MXSignpostRecord: {} #since 17.0 protocols: MXMetricManagerSubscriber: {} #since 13.0 diff --git a/compiler/cocoatouch/src/main/bro-gen/naturallanguage.yaml b/compiler/cocoatouch/src/main/bro-gen/naturallanguage.yaml index 08488f65e..f722c3663 100755 --- a/compiler/cocoatouch/src/main/bro-gen/naturallanguage.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/naturallanguage.yaml @@ -14,6 +14,7 @@ enums: NLTaggerOptions: {prefix: NLTagger} NLDistanceType: {} NLTaggerAssetsResult: {} + NLContextualEmbeddingAssetsResult: {} typed_enums: NLLanguage: enum: NLLanguage @@ -27,6 +28,14 @@ typed_enums: enum: NLTag prefix: NLTag type: NSString + NLScript: + enum: NLScript + prefix: NLScript + type: NSString + NLContextualEmbeddingKey: + enum: NLContextualEmbeddingKey + prefix: NLContextualEmbeddingKey + type: NSString classes: NLLanguageRecognizer: #since 12.0 @@ -131,6 +140,31 @@ classes: exclude: true '+writeGazetteerForDictionary:language:toURL:error:': exclude: true + NLContextualEmbedding: #since 17.0 + methods: + '-loadWithError:': + name: load + throws: NSErrorException + '-embeddingResultForString:language:error:': + name: embeddingResult + throws: NSErrorException + '-requestEmbeddingAssetsWithCompletionHandler:': + name: requestEmbeddingAssets + '+contextualEmbeddingWithModelIdentifier:': + name: create + constructor: true + '+contextualEmbeddingWithLanguage:': + name: create + constructor: true + '+contextualEmbeddingWithScript:': + name: create + constructor: true + NLContextualEmbeddingResult: #since 17.0 + methods: + '-enumerateTokenVectorsInRange:usingBlock:': + name: enumerateTokenVectors + '-tokenVectorAtIndex:tokenRange:': + name: getTokenVector protocols: {} functions: diff --git a/compiler/cocoatouch/src/main/bro-gen/network.yaml b/compiler/cocoatouch/src/main/bro-gen/network.yaml index a55535684..5c9a97378 100755 --- a/compiler/cocoatouch/src/main/bro-gen/network.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/network.yaml @@ -31,7 +31,6 @@ enums: nw_browser_state_t: {prefix: nw_browser_state_, name: NWBrowseState} nw_report_resolution_source_t: {prefix: nw_report_resolution_source_, name: NWReportResolutionSource} nw_data_transfer_report_state_t: {prefix: nw_data_transfer_report_state_, name: NWDataTransferReportState} - nw_ethernet_channel_state_t: {prefix: nw_ethernet_channel_state_, name: NWEthernetChannelState} nw_framer_start_result_t: {prefix: nw_framer_start_result_, name: NWFramerStartResult} nw_ip_local_address_preference_t: {prefix: nw_ip_local_address_preference_, name: NWIpLocalAddressPreference, nw_ip_local_address_preference_default: Default} nw_ws_opcode_t: {prefix: nw_ws_opcode_, name: NWWsOpcode} @@ -281,6 +280,19 @@ protocols: name: NWResolverConfig extends: NWObject visibility: 'public final' + + OS_nw_proxy_config: + class: true + name: NWProxyConfig + extends: NWObject + visibility: 'public final' + + OS_nw_relay_hop: + class: true + name: NWRelayHop + extends: NWObject + visibility: 'public final' + NWResolverConfig: # FIXME: this is workaround as bro-gen uses javaname when merging annotations annotations: ['@NativeClass("NSObject")'] @@ -661,6 +673,35 @@ functions: class: NWProtocolMetadata name: '#{g[0]}Quic#{g[1].upcase_first_camelize}' + # NWProxyConfig + nw_proxy_config_(create_relay|create_oblivious_http|create_http_connect|create_socksv5): + class: NWProxyConfig + name: '#{g[0].downcase_first_camelize}' + parameters: + gateway_key_config: {type: "byte[]" } + nw_proxy_config_(.*): + class: NWProxyConfig + name: '#{g[0].downcase_first_camelize}' + parameters: + relay_resource_path: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + username: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + password: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + match_domain: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + excluded_domain: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + + # NWRelayHop + nw_relay_hop_(create): + class: NWRelayHop + constructor: true + name: '#{g[0].downcase_first_camelize}' + nw_relay_hop_(.*): + class: NWRelayHop + name: '#{g[0].downcase_first_camelize}' + parameters: + field_name: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + field_value: { type: String, marshaler: StringMarshalers.AsAsciiZMarshaler } + + # Make sure we don't miss any functions if new ones are introduced in a later version (k?nw_.*): class: FixMe diff --git a/compiler/cocoatouch/src/main/bro-gen/networkextension.yaml b/compiler/cocoatouch/src/main/bro-gen/networkextension.yaml index 69fdee73f..7b1616c69 100755 --- a/compiler/cocoatouch/src/main/bro-gen/networkextension.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/networkextension.yaml @@ -15,7 +15,7 @@ enums: NEVPNIKEv2EncryptionAlgorithm: {} NEVPNIKEv2IntegrityAlgorithm: {} NEVPNIKEv2DeadPeerDetectionRate: {} - NEVPNIKEv2DiffieHellmanGroup: {} + NEVPNIKEv2DiffieHellmanGroup: { prefix: NEVPNIKEv2DiffieHellman} NEOnDemandRuleAction: {} NEOnDemandRuleInterfaceType: {} NEEvaluateConnectionRuleAction: {} @@ -49,6 +49,7 @@ enums: NEHotspotNetworkSecurityType: {} #since 15.0 NEVPNConnectionError: {nserror: true} #since 16.0 + NERelayManagerError: {nserror: true} #since 17.0 classes: NEProvider: methods: @@ -396,6 +397,8 @@ classes: name: stop '-reportIncomingCallWithUserInfo:': name: reportIncomingCall + '-reportPushToTalkMessageWithUserInfo:': + name: reportPushToTalkMessage NEDNSOverHTTPSSettings: {} #since 14.0 NEDNSOverTLSSettings: {} #since 14.0 NEDNSSettingsManager: #since 14.0 @@ -407,6 +410,21 @@ classes: '-saveToPreferencesWithCompletionHandler:': name: saveToPreferences NEPrivateLTENetwork: {} #since 15.0 + NEFailureHandlerProvider: #since 17.0 + methods: + '-handleFailure:completionHandler:': + name: handleFailure + NERelay: { } #since 17.0 + NERelayManager: #since 17.0 + methods: + '-loadFromPreferencesWithCompletionHandler:': + name: loadFromPreferences + '-removeFromPreferencesWithCompletionHandler:': + name: removeFromPreferences + '-saveToPreferencesWithCompletionHandler:': + name: saveToPreferences + '+loadAllManagersFromPreferencesWithCompletionHandler:': + name: loadAllManagersFromPreferences protocols: NWTCPConnectionAuthenticationDelegate: methods: @@ -454,6 +472,14 @@ values: NEAppPushErrorDomain: class: NEAppPushManagerError name: getClassDomain + NERelayErrorDomain: + class: NERelayManagerError + name: getClassDomain + + NERelay(ConfigurationDidChange)Notification: + class: NERelay + static_class: Notifications + name: '#{g[0]}' NEDNSSettingsConfiguration(DidChangeNotification): class: NEDNSSettingsManager diff --git a/compiler/cocoatouch/src/main/bro-gen/passkit.yaml b/compiler/cocoatouch/src/main/bro-gen/passkit.yaml index 2502fa334..3e9eba61b 100755 --- a/compiler/cocoatouch/src/main/bro-gen/passkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/passkit.yaml @@ -41,6 +41,10 @@ enums: PKIdentityError: {nserror: true} #since 16.0 PKIdentityButtonStyle: {} #since 16.0 PKIdentityButtonLabel: {} #since 16.0 + PKDisbursementErrorCode: {nserror: true, prefix: PKDisbursement } #since 17.0 + PKApplePayLaterAvailability: { prefix: PKApplePayLater } #since 17.0 + PKPayLaterDisplayStyle: { } #since 17.0 + PKPayLaterAction: { } #since 17.0 typed_enums: PKStoredValuePassBalanceType: enum: PKStoredValuePassBalanceType @@ -69,6 +73,8 @@ classes: parameters: passes: type: NSArray + '-initWithIssuerData:signature:error:': + name: init PKAddPaymentPassRequest: {} # DONE PKAddPaymentPassRequestConfiguration: # DONE methods: @@ -154,6 +160,10 @@ classes: supportedNetworks: type: List marshaler: PKPaymentNetwork.AsListMarshaler + '-initWithDisbursementRequest:': + name: init + '+supportsDisbursementsUsingNetworks:capabilities:': + name: supportsDisbursementsUsingNetworks PKPaymentButton: # DONE methods: '-initWithPaymentButtonType:paymentButtonStyle:': @@ -212,6 +222,10 @@ classes: name: present '-dismissWithCompletion:': name: dismiss + '-initWithDisbursementRequest:': + name: init + '+supportsDisbursementsUsingNetworks:capabilities:': + name: supportsDisbursementsUsingNetworks PKSuicaPassProperties: {} PKPaymentAuthorizationResult: #since 11.0 methods: @@ -237,7 +251,6 @@ classes: name: init '-authorizeDisbursementWithCompletion:': name: authorizeDisbursement - PKDisbursementRequest: {} PKDisbursementVoucher: {} PKSecureElementPass: {} #since 13.4 PKAddCarKeyPassConfiguration: {} #since 13.4 @@ -373,6 +386,22 @@ classes: throws: NSErrorException '+sessionForPass:delegate:completion:': name: sessionForPass + PKDeferredPaymentRequest: #since 16.4 + methods: + '-initWithPaymentDescription:deferredBilling:managementURL:': + name: init + PKDisbursementSummaryItem: {} #since 17.0 + PKInstantFundsOutFeeSummaryItem: {} #since 17.0 + PKPayLaterView: #since 17.0 + methods: + '-initWithAmount:currencyCode:': + name: init + PKDisbursementRequest: #since 17.0 + methods: + '-initWithMerchantIdentifier:currencyCode:regionCode:supportedNetworks:merchantCapabilities:summaryItems:': + name: init + '+disbursementContactInvalidErrorWithContactField:localizedDescription:': + name: createDisbursementContactInvalidError protocols: PKPaymentAuthorizationControllerDelegate: methods: @@ -488,7 +517,12 @@ protocols: '-shareSecureElementPassViewController:didCreateShareURL:activationCode:': name: didCreateShareURL PKVehicleConnectionDelegate: {} #since 15.4 + PKPayLaterViewDelegate: {} #since 17.0 functions: + PKPayLaterValidateAmount: + class: PKPayLPKPayLaterValidator + name: validateAmount + # Make sure we don't miss any functions if new ones are introduced in a later version (PK.*): class: PassKit @@ -519,6 +553,14 @@ values: class: PKIdentityError name: getClassDomain + PKDisbursementErrorDomain: + class: PKDisbursementErrorCode + name: getClassDomain + + PKDisbursementErrorContactFieldUserInfoKey: + class: PKDisbursementErrorCode + name: getContactFieldUserInfoKey + # PKPassLibrary PKPassLibrary(.*Notification): class: PKPassLibrary diff --git a/compiler/cocoatouch/src/main/bro-gen/pencilkit.yaml b/compiler/cocoatouch/src/main/bro-gen/pencilkit.yaml index 819bc4bc1..d6e2833a5 100755 --- a/compiler/cocoatouch/src/main/bro-gen/pencilkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/pencilkit.yaml @@ -13,6 +13,7 @@ typedefs: enums: PKEraserType: {} PKCanvasViewDrawingPolicy: {} + PKContentVersion: {} typed_enums: PKInkType: enum: PKInkType @@ -35,6 +36,8 @@ classes: methods: '-initWithEraserType:': name: init + '-initWithEraserType:width:': + name: init PKInkingTool: #since 13.0 methods: '-initWithInkType:color:width:': @@ -83,6 +86,8 @@ classes: methods: '-initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:': name: init + '-initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:': + name: init protocols: PKCanvasViewDelegate: {} #since 13.0 PKToolPickerObserver: {} #since 13.0 diff --git a/compiler/cocoatouch/src/main/bro-gen/phase.yaml b/compiler/cocoatouch/src/main/bro-gen/phase.yaml new file mode 100755 index 000000000..16d223c6c --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/phase.yaml @@ -0,0 +1,325 @@ +package: org.robovm.apple.phase +include: [foundation, coreaudio, avfoundation, modelio] +library: PHASE +framework: PHASE +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/PHASE.framework/Headers/PHASE.h +typedefs: + +enums: + PHASEUpdateMode: { } + PHASERenderingState: { } + PHASESpatializationMode: { } + PHASEReverbPreset: { } + PHASEError: { nserror: true } + PHASESoundEventError: { nserror: true } + PHASEAssetError: { nserror: true } + PHASESoundEventPrepareHandlerReason: { } + PHASESoundEventStartHandlerReason: { } + PHASESoundEventSeekHandlerReason: { } + PHASESoundEventPrepareState: { } + PHASEAssetType: { } + PHASECurveType: { } + PHASECullOption: { } + PHASEPlaybackMode: { } + PHASENormalizationMode: { } + PHASECalibrationMode: { } + PHASEPushStreamBufferOptions: { prefix: PHASEPushStreamBuffer } + PHASEPushStreamCompletionCallbackCondition: { prefix: PHASEPushStreamCompletion } + PHASEMediumPreset: { } + PHASEMaterialPreset: { } + PHASESpatialPipelineFlags: { prefix: PHASESpatialPipelineFlag } + +classes: + PHASEAmbientMixerDefinition: #since 15.0 + methods: + '-initWithChannelLayout:orientation:identifier:': + name: init + '-initWithChannelLayout:orientation:': + name: init + PHASEAsset: {} #since 15.0 + PHASEAssetRegistry: #since 15.0 + methods: + '-registerGlobalMetaParameter:error:': + name: registerGlobalMetaParameter + throws: NSErrorException + '-registerSoundEventAssetWithRootNode:identifier:error:': + name: registerSoundEventAsset + throws: NSErrorException + '-registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error:': + name: registerSoundAsset + throws: NSErrorException + '-registerSoundAssetWithData:identifier:format:normalizationMode:error:': + name: registerSoundAsset + throws: NSErrorException + '-unregisterAssetWithIdentifier:completion:': + name: unregisterAsset + PHASEBlendNodeDefinition: #since 15.0 + methods: + '-initWithBlendMetaParameterDefinition:identifier:': + name: init + '-initWithBlendMetaParameterDefinition:': + name: init + '-initDistanceBlendWithSpatialMixerDefinition:identifier:': + name: init + '-initDistanceBlendWithSpatialMixerDefinition:': + name: init + '-addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree:': + name: addRangeForInputValuesBelow + '-addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree:': + name: addRangeForInputValuesBetween + '-addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree:': + name: addRangeForInputValuesAbove + '-addRangeWithEnvelope:subtree:': + name: addRangeWithEnvelope + PHASECardioidDirectivityModelParameters: #since 15.0 + methods: + '-initWithSubbandParameters:': + name: init + PHASECardioidDirectivityModelSubbandParameters: {} #since 15.0 + PHASEChannelMixerDefinition: #since 15.0 + methods: + '-initWithChannelLayout:identifier:': + name: init + '-initWithChannelLayout:': + name: init + PHASEConeDirectivityModelParameters: #since 15.0 + methods: + '-initWithSubbandParameters:': + name: init + PHASEConeDirectivityModelSubbandParameters: #since 15.0 + methods: + '-setInnerAngle:outerAngle:': + name: setAngles + PHASEContainerNodeDefinition: #since 15.0 + methods: + '-initWithIdentifier:': + name: init + '+new': + exclude: true + PHASEDefinition: {} #since 15.0 + PHASEDirectivityModelParameters: {} #since 15.0 + PHASEDistanceModelFadeOutParameters: #since 15.0 + methods: + '-initWithCullDistance:': + name: init + PHASEDistanceModelParameters: {} #since 15.0 + PHASEDucker: #since 15.0 + methods: + '-initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve:': + name: init + PHASEEngine: #since 15.0 + methods: + '-initWithUpdateMode:': + name: init + PHASEEnvelope: #since 15.0 + methods: + '-initWithStartPoint:segments:': + name: init + PHASEEnvelopeDistanceModelParameters: #since 15.0 + methods: + '-initWithEnvelope:': + name: init + PHASEEnvelopeSegment: #since 15.0 + methods: + '-initWithEndPoint:curveType:': + name: init + PHASEGeneratorNodeDefinition: #since 15.0 + methods: + '-setCalibrationMode:level:': + name: setCalibrationMode + PHASEGeometricSpreadingDistanceModelParameters: {} #since 15.0 + PHASEGlobalMetaParameterAsset: {} #since 15.0 + PHASEGroup: #since 15.0 + methods: + '-initWithIdentifier:': + name: init + '-registerWithEngine:': + name: register + '-fadeGain:duration:curveType:': + name: fadeGain + '-fadeRate:duration:curveType:': + name: fadeRate + PHASEGroupPreset: #since 15.0 + methods: + '-initWithEngine:settings:timeToTarget:timeToReset:': + name: init + '-activateWithTimeToTargetOverride:': + name: activate + '-deactivateWithTimeToResetOverride:': + name: deactivate + PHASEGroupPresetSetting: #since 15.0 + methods: + '-initWithGain:rate:gainCurveType:rateCurveType:': + name: init + PHASEListener: {} #since 15.0 + PHASEMappedMetaParameterDefinition: #since 15.0 + methods: + '-initWithInputMetaParameterDefinition:envelope:identifier:': + name: init + '-initWithInputMetaParameterDefinition:envelope:': + name: init + PHASEMaterial: #since 15.0 + methods: + '-initWithEngine:preset:': + name: init + PHASEMedium: #since 15.0 + methods: + '-initWithEngine:preset:': + name: init + PHASEMetaParameter: {} #since 15.0 + PHASEMetaParameterDefinition: {} #since 15.0 + PHASEMixer: {} #since 15.0 + PHASEMixerDefinition: {} #since 15.0 + PHASEMixerParameters: #since 15.0 + methods: + '-addSpatialMixerParametersWithIdentifier:source:listener:': + name: addSpatialMixerParameters + '-addAmbientMixerParametersWithIdentifier:listener:': + name: addAmbientMixerParameters + PHASENumberMetaParameter: #since 15.0 + methods: + '-fadeToValue:duration:': + name: fadeToValue + PHASENumberMetaParameterDefinition: #since 15.0 + methods: + '-initWithValue:identifier:': + name: init + '-initWithValue:': + name: init + '-initWithValue:minimum:maximum:identifier:': + name: init + '-initWithValue:minimum:maximum:': + name: init + PHASENumericPair: #since 15.0 + methods: + '-initWithFirstValue:secondValue:': + name: init + PHASEObject: #since 15.0 + methods: + '-initWithEngine:': + name: init + '-addChild:error:': + name: addChild + throws: NSErrorException + PHASEOccluder: #since 15.0 + methods: + '-initWithEngine:shapes:': + name: init + PHASEPushStreamNode: #since 15.0 + methods: + '-scheduleBuffer:completionCallbackType:completionHandler:': + name: scheduleBuffer + '-scheduleBuffer:atTime:options:': + name: scheduleBuffer + '-scheduleBuffer:atTime:options:completionCallbackType:completionHandler:': + name: scheduleBuffer + PHASEPushStreamNodeDefinition: #since 15.0 + methods: + '-initWithMixerDefinition:format:identifier:': + name: init + '-initWithMixerDefinition:format:': + name: init + PHASERandomNodeDefinition: #since 15.0 + methods: + '-initWithIdentifier:': + name: init + '-addSubtree:weight:': + name: addSubtree + PHASESamplerNodeDefinition: #since 15.0 + methods: + '-initWithSoundAssetIdentifier:mixerDefinition:identifier:': + name: init + '-initWithSoundAssetIdentifier:mixerDefinition:': + name: init + PHASEShape: #since 15.0 + methods: + '-initWithEngine:mesh:': + name: init + '-initWithEngine:mesh:materials:': + name: init + PHASEShapeElement: {} #since 15.0 + PHASESoundAsset: {} #since 15.0 + PHASESoundEvent: #since 15.0 + methods: + '-initWithEngine:assetIdentifier:mixerParameters:error:': + name: init + throws: NSErrorException + '-initWithEngine:assetIdentifier:error:': + name: init + throws: NSErrorException + '-prepareWithCompletion:': + name: prepare + '-startWithCompletion:': + name: start + '-seekToTime:completion:': + name: seekToTime + PHASESoundEventNodeAsset: {} #since 15.0 + PHASESoundEventNodeDefinition: {} #since 15.0 + PHASESource: #since 15.0 + methods: + '-initWithEngine:shapes:': + name: init + PHASESpatialMixerDefinition: #since 15.0 + methods: + '-initWithSpatialPipeline:': + name: init + '-initWithSpatialPipeline:identifier:': + name: init + PHASESpatialPipeline: #since 15.0 + methods: + '-initWithFlags:': + name: init + PHASESpatialPipelineEntry: {} #since 15.0 + PHASEStringMetaParameter: {} #since 15.0 + PHASEStringMetaParameterDefinition: #since 15.0 + methods: + '-initWithValue:identifier:': + name: init + '-initWithValue:': + name: init + PHASESwitchNodeDefinition: #since 15.0 + methods: + '-initWithSwitchMetaParameterDefinition:identifier:': + name: init + '-initWithSwitchMetaParameterDefinition:': + name: init + '-addSubtree:switchValue:': + name: addSubtree +protocols: + + +functions: + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + PHASEErrorDomain: + class: PHASEError + name: getClassDomain + PHASESoundEventErrorDomain: + class: PHASESoundEventError + name: getClassDomain + PHASEAssetErrorDomain: + class: PHASEAssetError + name: getClassDomain + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +typed_enums: + PHASESpatialCategory: + enum: PHASESpatialCategory + prefix: PHASESpatialCategory + type: NSString + +constants: + # Make sure we don't miss any constants if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/photos.yaml b/compiler/cocoatouch/src/main/bro-gen/photos.yaml index a5e77fcb4..42fc6d73d 100755 --- a/compiler/cocoatouch/src/main/bro-gen/photos.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/photos.yaml @@ -8,6 +8,7 @@ include: - coreimage - coremedia - imageio + - uniformtypeid library: Photos framework: Photos clang_args: ['-x', 'objective-c'] @@ -268,6 +269,9 @@ classes: methods: '-init.*': name: init + '-renderedContentURLForType:error:': + throws: NSErrorException + name: renderedContentURL PHFetchOptions: # DONE properties: 'includeHiddenAssets': diff --git a/compiler/cocoatouch/src/main/bro-gen/photosui.yaml b/compiler/cocoatouch/src/main/bro-gen/photosui.yaml index 3a4396a4a..292e9b19c 100755 --- a/compiler/cocoatouch/src/main/bro-gen/photosui.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/photosui.yaml @@ -16,6 +16,8 @@ enums: PHLivePhotoViewPlaybackStyle: {} PHPickerConfigurationAssetRepresentationMode: {} #since 14.0 PHPickerConfigurationSelection: {} #since 15.0 + PHPickerMode: { } #since 17.0 + PHPickerCapabilities: { } #since 17.0 classes: PHLivePhotoView: #since 9.1 methods: @@ -38,6 +40,7 @@ classes: name: deselectAssets '-moveAssetWithIdentifier:afterAssetWithIdentifier:': name: moveAsset + PHPickerUpdateConfiguration: {} #since 17.0 protocols: PHLivePhotoViewDelegate: methods: diff --git a/compiler/cocoatouch/src/main/bro-gen/safariservices.yaml b/compiler/cocoatouch/src/main/bro-gen/safariservices.yaml index 0c942d5ab..a7be6699b 100755 --- a/compiler/cocoatouch/src/main/bro-gen/safariservices.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/safariservices.yaml @@ -100,6 +100,9 @@ values: SFExtensionMessageKey: class: SFSafariViewController name: getExtensionMessageKey + SFExtensionProfileKey: + class: SFSafariViewController + name: getExtensionProfileKey # Make sure we don't miss any values if new ones are introduced in a later version (k?SS.*): diff --git a/compiler/cocoatouch/src/main/bro-gen/sensitivecontentanalysis.yaml b/compiler/cocoatouch/src/main/bro-gen/sensitivecontentanalysis.yaml new file mode 100755 index 000000000..3bab40e82 --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/sensitivecontentanalysis.yaml @@ -0,0 +1,42 @@ +package: org.robovm.apple.sensitivecontentanalysis +include: [foundation, coregraphics, imageio] +library: SensitiveContentAnalysis +framework: SensitiveContentAnalysis +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/SensitiveContentAnalysis.framework/Headers/SensitiveContentAnalysis.h +typedefs: {} + +enums: + SCSensitivityAnalysisPolicy: {} #since 17.0 + +classes: + SCSensitivityAnalysis: {} #since 17.0 + SCSensitivityAnalyzer: #since 17.0 + methods: + '-analyzeImageFile:completionHandler:': + name: analyzeImageFile + '-analyzeCGImage:completionHandler:': + name: analyzeCGImage + '-analyzeVideoFile:completionHandler:': + name: analyzeVideoFile + +protocols: + +functions: + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: Fixme! + name: 'Function__#{g[0]}' + +values: + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: Fixme! + name: 'Value__#{g[0]}' + +constants: + # Make sure we don't miss any constants if new ones are introduced in a later version + (.*): + class: Fixme! + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/sensorkit.yaml b/compiler/cocoatouch/src/main/bro-gen/sensorkit.yaml index c65331990..e47867c90 100755 --- a/compiler/cocoatouch/src/main/bro-gen/sensorkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/sensorkit.yaml @@ -1,5 +1,5 @@ package: org.robovm.apple.sensorkit -include: [foundation] +include: [foundation, coremedia, arkit, speech, soundanalysis] library: SensorKit framework: SensorKit clang_args: ['-x', 'objective-c'] @@ -19,6 +19,10 @@ enums: SRCrownOrientation: {} #since 14.0 SRTextInputSessionType: {} #since 15.0 SRKeyboardMetricsSentimentCategory: {} #since 15.0 + SRWristTemperatureCondition: {} #since 17.0 + SRMediaEventType: {prefix: SRMediaEvent} #since 16.4 + SRSpeechMetricsSessionFlags: {} #since 17.0 + SRFaceMetricsContext: {} #since 17.0 categories: SensorKit@NSDate: methods: @@ -58,6 +62,14 @@ classes: SRWristDetection: {} #since 14.0 SRTextInputSession: {} #since 15.0 SRSupplementalCategory: {} #since 16.0 + SRAudioLevel: {} #since 17.0 + SRFaceMetrics: {} #since 17.0 + SRFaceMetricsExpression: {} #since 17.0 + SRMediaEvent: {} #since 16.4 + SRSpeechExpression: {} #since 17.0 + SRSpeechMetrics: {} #since 17.0 + SRWristTemperature: {} #since 17.0 + SRWristTemperatureSession: {} #since 17.0 protocols: SRSensorReaderDelegate: #since 14.0 methods: @@ -110,6 +122,9 @@ values: name: 'Value__#{g[0]}' constants: + SR_ARKIT_SUPPORTED: + exclude: true + # Make sure we don't miss any constants if new ones are introduced in a later version (k?SR.*): class: FIXME diff --git a/compiler/cocoatouch/src/main/bro-gen/speech.yaml b/compiler/cocoatouch/src/main/bro-gen/speech.yaml index 50718d371..0d158dc3f 100755 --- a/compiler/cocoatouch/src/main/bro-gen/speech.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/speech.yaml @@ -14,7 +14,12 @@ enums: SFSpeechRecognitionTaskHint: {} #since 10.0 SFSpeechRecognitionTaskState: {} #since 10.0 SFSpeechRecognizerAuthorizationStatus: {} #since 10.0 - + SFSpeechErrorCode: { nserror: true } #since 17.0 + # private + _SFEARResultType: { exclude: true } #since 17.0 + _SFCommandRecognizerArgumentPresence: { exclude: true } #since 17.0 + _SFTranscriptionOptions: { exclude: true } #since 17.0 + _SFTranscriptionResultAttributeOptions: { exclude: true } #since 17.0 typed_enums: classes: @@ -39,6 +44,23 @@ classes: SFTranscriptionSegment: {} #since 10.0 SFVoiceAnalytics: {} #since 13.0 SFSpeechRecognitionMetadata: {} #since 14.0 + SFSpeechLanguageModel: #since 17.0 + methods: + '+prepareCustomLanguageModelForUrl:clientIdentifier:configuration:completion:': + name: prepareCustomLanguageModel + '+prepareCustomLanguageModelForUrl:clientIdentifier:configuration:ignoresCache:completion:': + name: prepareCustomLanguageModel + SFSpeechLanguageModelConfiguration: #since 17.0 + methods: + '-initWithLanguageModel:': + name: init + '-initWithLanguageModel:vocabulary:': + name: init + + _SF.*: + exclude: true # private + _ST.*: + exclude: true # private protocols: SFSpeechRecognitionTaskDelegate: #since 10.0 methods: @@ -52,7 +74,8 @@ protocols: methods: '-speechRecognizer:availabilityDidChange:': name: availabilityDidChange - + _SF.*: + exclude: true # private functions: # Make sure we don't miss any functions if new ones are introduced in a later version (k?SF.*): @@ -60,6 +83,13 @@ functions: name: 'Function__#{g[0]}' values: + SFSpeechErrorDomain: + class: SFSpeechErrorCode + name: getClassDomain + + SFAnalysisContextTag(.*): + exclude: true # private + # Make sure we don't miss any values if new ones are introduced in a later version (k?SF.*): class: FixMe diff --git a/compiler/cocoatouch/src/main/bro-gen/symbols.yaml b/compiler/cocoatouch/src/main/bro-gen/symbols.yaml new file mode 100755 index 000000000..28998ac0a --- /dev/null +++ b/compiler/cocoatouch/src/main/bro-gen/symbols.yaml @@ -0,0 +1,107 @@ +package: org.robovm.apple.symbols +include: [foundation] +library: Symbols +framework: Symbols +clang_args: ['-x', 'objective-c'] +headers: + - /System/Library/Frameworks/Symbols.framework/Headers/Symbols.h + +typedefs: + +enums: + +categories: + +classes: + NSSymbolAppearEffect: #since 17.0 + methods: + '-effectWithByLayer': + name: withByLayer + '-effectWithWholeSymbol': + name: withWholeSymbol + NSSymbolAutomaticContentTransition: {} #since 17.0 + NSSymbolBounceEffect: #since 17.0 + methods: + '-effectWithByLayer': + name: withByLayer + '-effectWithWholeSymbol': + name: withWholeSymbol + NSSymbolContentTransition: {} #since 17.0 + NSSymbolDisappearEffect: #since 17.0 + methods: + '-effectWithByLayer': + name: withByLayer + '-effectWithWholeSymbol': + name: withWholeSymbol + NSSymbolEffect: {} #since 17.0 + NSSymbolEffectOptions: #since 17.0 + methods: + '-optionsWithRepeating': + name: withRepeating + '-optionsWithNonRepeating': + name: withNonRepeating + '-optionsWithRepeatCount:': + name: withRepeatCount$ + '-optionsWithSpeed:': + name: withSpeed$ + '+optionsWithRepeating': + name: optionsWithRepeating + '+optionsWithNonRepeating': + name: optionsWithNonRepeating + '+optionsWithRepeatCount:': + name: optionsWithRepeatCount$ + '+optionsWithSpeed:': + name: optionsWithSpeed$ + NSSymbolPulseEffect: #since 17.0 + methods: + '-effectWithByLayer': + name: withByLayer + '-effectWithWholeSymbol': + name: withWholeSymbol + NSSymbolReplaceContentTransition: #since 17.0 + methods: + '-transitionWithByLayer': + name: withByLayer + '-transitionWithWholeSymbol': + name: withWholeSymbol + NSSymbolScaleEffect: #since 17.0 + methods: + '-effectWithByLayer': + name: withByLayer + '-effectWithWholeSymbol': + name: withWholeSymbol + NSSymbolVariableColorEffect: #since 17.0 + methods: + '-effectWithIterative': + name: withIterative + '-effectWithCumulative': + name: withCumulative + '-effectWithReversing': + name: withReversing + '-effectWithNonReversing': + name: withNonReversing + '-effectWithHideInactiveLayers': + name: withHideInactiveLayers + '-effectWithDimInactiveLayers': + name: withDimInactiveLayers +protocols: + +functions: + + # Make sure we don't miss any functions if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Function__#{g[0]}' + +values: + + # Make sure we don't miss any values if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Value__#{g[0]}' + +constants: + # Make sure we don't miss any constants if new ones are introduced in a later version + (.*): + class: FIXME + name: 'Constant__#{g[0]}' diff --git a/compiler/cocoatouch/src/main/bro-gen/threadnetwork.yaml b/compiler/cocoatouch/src/main/bro-gen/threadnetwork.yaml index 4c9c5ac05..a70ca0506 100755 --- a/compiler/cocoatouch/src/main/bro-gen/threadnetwork.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/threadnetwork.yaml @@ -25,6 +25,8 @@ classes: name: retrieveCredentialsForExtendedPANID '-checkPreferredNetworkForActiveOperationalDataset:completion:': name: checkPreferredNetworkForActiveOperationalDataset + '-isPreferredNetworkAvailableWithCompletion:': + name: isPreferredNetworkAvailable THCredentials: {} #since 15.0 protocols: diff --git a/compiler/cocoatouch/src/main/bro-gen/uikit.yaml b/compiler/cocoatouch/src/main/bro-gen/uikit.yaml index 270493a74..9b315fbd6 100644 --- a/compiler/cocoatouch/src/main/bro-gen/uikit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/uikit.yaml @@ -12,6 +12,7 @@ include: - intents - usernotifications - linkpresentation + - symbols library: UIKit framework: UIKit clang_args: ['-x', 'objective-c'] @@ -25,6 +26,7 @@ private_typedefs: UIScribbleElementIdentifier: NSObject UITextSearchDocumentIdentifier: NSObject UTType: org.robovm.apple.uniformtypeid.UTType + "AVAudioSession *": org.robovm.apple.avfoundation.AVAudioSession enums: NSControlCharacterAction: {} @@ -342,6 +344,18 @@ enums: UIEditMenuArrowDirection: {} #since 16.0 UINSToolbarItemPresentationSize: {} + UIAccessibilityDirectTouchOptions: {prefix: UIAccessibilityDirectTouchOption} #since 17.0 + UIImageDynamicRange: {} #since 17.0 + UISceneCaptureState: {} #since 17.0 + UITextInlinePredictionType: {} #since 17.0 + UILetterformAwareSizingRule: {} #since 17.0 + UICollectionLayoutSectionOrthogonalScrollingBounce: {} #since 17.0 + UILabelVibrancy: {} #since 17.0 + UICornerCurve: {} + UITextViewBorderStyle: {} #since 17.0 + UITextItemContentType: {} #since 17.0 + UIContentUnavailableAlignment: {} #since 17.0 + # EXCLUDE1: {exclude: true, first: NSAttachmentCharacter} -- don't exclude it as value will be picked up as constant EXCLUDE3_AS_DEPRECATED: {exclude: true, first: NSControlCharacterZeroAdvancementAction} @@ -368,7 +382,7 @@ categories: methods: '-initWithFileURL:options:documentAttributes:error:': name: initWithFileURL - constructor: false + owner_type: '@Pointer long' throws: NSErrorException return_type: '@Pointer long' parameters: @@ -376,6 +390,7 @@ categories: type: NSAttributedStringDocumentAttributes '-init.*': name: init + owner_type: '@Pointer long' throws: NSErrorException return_type: '@Pointer long' parameters: @@ -1025,6 +1040,8 @@ classes: name: requestSceneSessionActivation '-requestSceneSessionDestruction:options:errorHandler:': name: requestSceneSessionDestruction + '-activateSceneSessionForRequest:errorHandler:': + name: activateSceneSession UIApplicationShortcutIcon: # DONE methods: '+iconWithSystemImageName:': @@ -1133,6 +1150,22 @@ classes: name: creatingMovableGroup '-creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:': name: creatingOptionalGroup + '-addSymbolEffect:options:': + name: addSymbolEffect + '-addSymbolEffect:options:animated:': + name: addSymbolEffect + '-removeSymbolEffectOfType:options:': + name: removeSymbolEffect + '-removeSymbolEffectOfType:options:animated:': + name: removeSymbolEffect + '-removeAllSymbolEffectsWithOptions:': + name: removeAllSymbolEffect + '-removeAllSymbolEffectsWithOptions:animated:': + name: removeAllSymbolEffects + '-setSymbolImage:withContentTransition:': + name: setSymbolImage + '-setSymbolImage:withContentTransition:options:': + name: setSymbolImage UIBarButtonItemGroup: # DONE properties: 'barButtonItems': @@ -2215,6 +2248,28 @@ classes: name: init '-initWithImage:highlightedImage:': name: init + '-addSymbolEffect:options:': + name: addSymbolEffect + '-addSymbolEffect:options:animated:': + name: addSymbolEffect + '-addSymbolEffect:options:animated:completion:': + name: addSymbolEffect + '-removeSymbolEffectOfType:options:': + name: removeSymbolEffect + '-removeSymbolEffectOfType:options:animated:': + name: removeSymbolEffect + '-removeSymbolEffectOfType:options:animated:completion:': + name: removeSymbolEffect + '-removeAllSymbolEffectsWithOptions:': + name: removeAllSymbolEffects + '-removeAllSymbolEffectsWithOptions:animated:': + name: removeAllSymbolEffects + '-setSymbolImage:withContentTransition:': + name: setSymbolImage + '-setSymbolImage:withContentTransition:options:': + name: setSymbolImage + '-setSymbolImage:withContentTransition:options:completion:': + name: setSymbolImage UIImpactFeedbackGenerator: # DONE methods: '-init.*': @@ -3052,6 +3107,10 @@ classes: name: init '-initWithDampingRatio:': name: init + '-initWithDuration:bounce:initialVelocity:': + name: init + '-initWithDuration:bounce:': + name: init UIStackView: # DONE properties: 'arrangedSubviews': @@ -3426,7 +3485,14 @@ classes: '-azimuthUnitVectorInView:': name: getAzimuthUnitVectorInView UITraitCollection: # DONE + properties: + systemTraitsAffectingColorAppearance: + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray + systemTraitsAffectingImageLookup: + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray methods: + '-changedTraitsFromTraitCollection:': + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray '-containsTraitsInCollection:': name: containsTraits '+traitCollectionWithTraitsFromCollections:': @@ -3474,6 +3540,33 @@ classes: constructor: true '+traitCollectionWithToolbarItemPresentationSize:': name: createWithToolbarItemPresentationSize + '+traitCollectionWithImageDynamicRange:': + name: create + constructor: true + '+traitCollectionWithTypesettingLanguage:': + name: create + constructor: true + '+traitCollectionWithSceneCaptureState:': + name: create + constructor: true + '-traitCollectionByReplacingCGFloatValue:forTrait:': + name: traitCollectionByReplacing + '-traitCollectionByReplacingNSIntegerValue:forTrait:': + name: traitCollectionByReplacing + '-traitCollectionByReplacingObject:forTrait:': + name: traitCollectionByReplacing + '+traitCollectionWithTraits:': + name: create + constructor: true + '+traitCollectionWithCGFloatValue:forTrait:': + name: create + constructor: true + '+traitCollectionWithNSIntegerValue:forTrait:': + name: create + constructor: true + '+traitCollectionWithObject:forTrait:': + name: create + constructor: true UIMutableApplicationShortcutItem: # DONE skip_def_constructor: true UIMutableUserNotificationAction: {} # DONE @@ -3546,6 +3639,8 @@ classes: name: animate '+animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:': name: animate + '+animateWithSpringDuration:bounce:initialSpringVelocity:delay:options:animations:completion:': + name: animateWithSpring '+transitionFromView:toView:duration:options:completion:': name: transition '+transitionWithView:duration:options:animations:completion:': @@ -4049,7 +4144,10 @@ classes: '+backgroundDecorationItemWithElementKind:': constructor: true name: create - NSCollectionLayoutDimension: {} #since 13.0 + NSCollectionLayoutDimension: #since 13.0 + methods: + '+uniformAcrossSiblingsWithEstimate:': + name: uniformAcrossSiblings NSCollectionLayoutEdgeSpacing: #since 13.0 methods: '+spacingForLeading:top:trailing:bottom:': @@ -4251,6 +4349,13 @@ classes: UIImageConfiguration: #since 13.0 methods: '-configurationWithTraitCollection:': + name: applyTraitCollection + '-configurationWithLocale:': + name: applyLocale + '+configurationWithTraitCollection:': + constructor: true + name: create + '+configurationWithLocale:': constructor: true name: create UIImageSymbolConfiguration: #since 13.0 @@ -4325,6 +4430,8 @@ classes: name: init '-openURL:options:completionHandler:': name: openURL + '-getDefaultAudioSessionWithCompletionHandler:': + name: getDefaultAudioSession UISceneActivationConditions: #since 13.0 methods: '-initWithCoder:': @@ -4579,6 +4686,10 @@ classes: name: init '-drawAtPoint:inContext:': name: drawAtPoint + '-textLineFragmentForVerticalOffset:requiresExactMatch:': + name: getTextLineFragmentForVerticalOffset + '-textLineFragmentForTextLocation:isUpstreamAffinity:': + name: getTextLineFragmentForTextLocation NSTextLayoutManager: #since 15.0 methods: '-enumerateTextLayoutFragmentsFromLocation:options:usingBlock:': @@ -4848,6 +4959,136 @@ classes: methods: '-initWithSystemFrame:': name: init + + UICollectionLayoutSectionOrthogonalScrollingProperties: {} #since 17.0 + UIContentUnavailableButtonProperties: {} #since 17.0 + UIContentUnavailableConfiguration: {} #since 17.0 + UIContentUnavailableConfigurationState: #since 17.0 + methods: + '-initWithTraitCollection:': + name: init + '-initWithCoder:': + name: init + UIContentUnavailableImageProperties: {} #since 17.0 + UIContentUnavailableTextProperties: {} #since 17.0 + UIContentUnavailableView: #since 17.0 + methods: + '-initWithConfiguration:': + name: init + UIDocumentViewController: #since 17.0 + methods: + '-initWithDocument:': + name: init + '-openDocumentWithCompletionHandler:': + name: openDocument + UIHoverAutomaticEffect: {} #since 17.0 + UIHoverHighlightEffect: {} #since 17.0 + UIHoverLiftEffect: {} #since 17.0 + UIHoverStyle: #since 17.0 + methods: + '+styleWithEffect:shape:': + name: styleWithEffect + '+styleWithShape:': + name: styleWithShape + UIImageReader: #since 17.0 + methods: + '-imageWithContentsOfFileURL:': + name: readImage + '-imageWithData:': + name: readImage + '-imageWithContentsOfFileURL:completion:': + name: readImage + '-imageWithData:completion:': + name: readImage + '+readerWithConfiguration:': + constructor: true + name: create + UIImageReaderConfiguration: {} #since 17.0 + UIPageControlProgress: {} #since 17.0 + UIPageControlTimerProgress: #since 17.0 + methods: + '-initWithPreferredDuration:': + name: init + '-setDuration:forPage:': + name: setDuration + UIResolvedShape: {} #since 17.0 + UISceneSessionActivationRequest: #since 17.0 + skip_def_constructor: true # conflicts with '+request' + methods: + '+request': + constructor: true + name: create + '+requestWithRole:': + constructor: true + name: create + '+requestWithSession:': + constructor: true + name: create + UIShape: #since 17.0 + methods: + '+rectShapeWithCornerRadius:': + name: rectShapeWithCornerRadius + '+rectShapeWithCornerRadius:cornerCurve:': + name: rectShapeWithCornerRadius + '+rectShapeWithCornerRadius:cornerCurve:maskedCorners:': + name: rectShapeWithCornerRadius + '+fixedRectShapeWithRect:': + name: fixedRectShape + '+fixedRectShapeWithRect:cornerRadius:': + name: fixedRectShape + '+fixedRectShapeWithRect:cornerRadius:cornerCurve:maskedCorners:': + name: fixedRectShape + '+shapeWithBezierPath:': + name: shapeWithBezierPath + '+shapeWithProvider:': + name: shapeWithProvider + UIShapeResolutionContext: {} #since 17.0 + UISymbolEffectCompletionContext: {} #since 17.0 + UITextInputContext: {} #since 16.4 + UITextItem: {} #since 17.0 + UITextItemMenuConfiguration: #since 17.0 + methods: + '+configurationWithMenu:': + constructor: true + name: create + '+configurationWithPreview:menu:': + constructor: true + name: create + UITextItemMenuPreview: #since 17.0 + methods: + '-initWithView:': + name: init + UITextLoupeSession: #since 17.0 + methods: + '-moveToPoint:withCaretRect:trackingCaret:': + name: moveToPoint + '+beginLoupeSessionAtPoint:fromSelectionWidgetView:inView:': + name: beginLoupeSession + UITextSelectionDisplayInteraction: #since 17.0 + methods: + '-initWithTextInput:delegate:': + name: init + UITraitAccessibilityContrast: {} #since 17.0 + UITraitActiveAppearance: {} #since 17.0 + UITraitDisplayGamut: {} #since 17.0 + UITraitDisplayScale: {} #since 17.0 + UITraitForceTouchCapability: {} #since 17.0 + UITraitHorizontalSizeClass: {} #since 17.0 + UITraitImageDynamicRange: {} #since 17.0 + UITraitLayoutDirection: {} #since 17.0 + UITraitLegibilityWeight: {} #since 17.0 + UITraitPreferredContentSizeCategory: {} #since 17.0 + UITraitSceneCaptureState: {} #since 17.0 + UITraitToolbarItemPresentationSize: {} #since 17.0 + UITraitTypesettingLanguage: {} #since 17.0 + UITraitUserInterfaceIdiom: {} #since 17.0 + UITraitUserInterfaceLevel: {} #since 17.0 + UITraitUserInterfaceStyle: {} #since 17.0 + UITraitVerticalSizeClass: {} #since 17.0 + UIWindowSceneDragInteraction: {} #since 17.0 + UIWindowScenePlacement: {} #since 17.0 + UIWindowSceneProminentPlacement: {} #since 17.0 + UIWindowSceneStandardPlacement: {} #since 17.0 protocols: NSLayoutManagerDelegate: # DONE methods: @@ -6029,6 +6270,15 @@ protocols: name: willPresentEditMenu '-textView:willDismissEditMenuWithAnimator:': name: willDismissEditMenu + '-textView:primaryActionForTextItem:defaultAction:': + name: getPrimaryActionForTextItem + '-textView:menuConfigurationForTextItem:defaultMenu:': + name: getMenuConfigurationForTextItem + '-textView:textItemMenuWillDisplayForTextItem:animator:': + name: textItemMenuWillDisplayForTextItem + '-textView:textItemMenuWillEndForTextItem:animator:': + name: textItemMenuWillEndForTextItem + UITimingCurveProvider: {} # DONE UIToolbarDelegate: {} # DONE UITraitEnvironment: # DONE @@ -6810,6 +7060,57 @@ protocols: '-compareOrderFromDocument:toDocument:': name: compareOrder + UICGFloatTraitDefinition: {} #since 17.0 + UIHoverEffect: {} #since 17.0 + UILetterformAwareAdjusting: {} #since 17.0 + UILookToDictateCapable: {} + UIMutableTraits: #since 17.0 + methods: + '-setCGFloatValue:forTrait:': + name: setFloatValue + '-setNSIntegerValue:forTrait:': + name: setInteger + '-setObject:forTrait:': + name: setObject + UINSIntegerTraitDefinition: {} #since 17.0 + UIObjectTraitDefinition: {} #since 17.0 + UIPageControlProgressDelegate: #since 17.0 + methods: + '-pageControlProgress:initialProgressForPage:': + name: getInitialProgress + '-pageControlProgressVisibilityDidChange:': + name: visibilityDidChange + + UIPageControlTimerProgressDelegate: #since 17.0 + methods: + '-pageControlTimerProgress:shouldAdvanceToPage:': + name: shouldAdvanceToPage + '-pageControlTimerProgressDidChange:': + name: didChange + UIShapeProvider: {} #since 17.0 + UITextCursorView: {} #since 17.0 + UITextSelectionDisplayInteractionDelegate: #since 17.0 + methods: + '-selectionContainerViewBelowTextForSelectionDisplayInteraction:': + name: getSelectionContainerViewBelowText + + UITextSelectionHandleView: {} #since 17.0 + UITextSelectionHighlightView: {} #since 17.0 + UITraitChangeObservable: #since 17.0 + methods: + '-registerForTraitChanges:withHandler:': + # name: registerForTraitChanges + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray + '-registerForTraitChanges:withTarget:action:': + # name: registerForTraitChanges + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray + '-registerForTraitChanges:withAction:': + # name: registerForTraitChanges + exclude: true # TODO: FIXME: revert once ObjObject is allowed with NSArray + UITraitChangeRegistration: {} #since 17.0 + UITraitDefinition: {} #since 17.0 + UITraitOverrides: {} #since 17.0 + # skipped UIAppearance: {exclude: true, skip_implements: true, skip_methods: true} # as functionality is implemented in UIAppearance @@ -7701,6 +8002,15 @@ values: class: UISheetPresentationControllerDetent name: Inactive + UITextItemTagAttributeName: + class: UITextItem + name: TagAttributeName + + UICollectionLayoutSectionOrthogonalScrollingDecelerationRate(.*): + class: UICollectionLayoutSectionOrthogonalScrollingProperties + static_class: DecelerationRate + name: '#{g[0]}' + # Make sure we don't miss any values if new ones are introduced in a later UIKit (NS.*): class: FIXME diff --git a/compiler/cocoatouch/src/main/bro-gen/vision.yaml b/compiler/cocoatouch/src/main/bro-gen/vision.yaml index 81ab8b560..b37f454de 100755 --- a/compiler/cocoatouch/src/main/bro-gen/vision.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/vision.yaml @@ -5,6 +5,10 @@ framework: Vision clang_args: ['-x', 'objective-c'] headers: - /System/Library/Frameworks/Vision.framework/Headers/Vision.h + +private_typedefs: + 'AVDepthData *': org.robovm.apple.avfoundation.AVDepthData + typedefs: {} enums: @@ -18,6 +22,9 @@ enums: VNChirality: {} VNGeneratePersonSegmentationRequestQualityLevel: {} VNPointsClassification: {} + VNBarcodeCompositeType: { } + VNHumanBodyPose3DObservationHeightEstimation: { } + VNTrackOpticalFlowRequestComputationAccuracy: { } classes: VNBarcodeObservation: {} #since 11.0 VNClassificationObservation: #since 11.0 @@ -90,8 +97,10 @@ classes: VNRectangleObservation: #since 11.0 methods: '+rectangleObservationWithRequestRevision:topLeft:bottomLeft:bottomRight:topRight:': - name: create + name: createDeprecated constructor: true + '+rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft:': + name: create # conflicts with one above VNRequest: #since 11.0 properties: 'results': @@ -99,6 +108,8 @@ classes: methods: '-initWithCompletionHandler:': name: init + '-setComputeDevice:forComputeStage:': + name: setComputeDevice VNSequenceRequestHandler: #since 11.0 methods: '-performRequests:onCVPixelBuffer:error:': @@ -371,6 +382,57 @@ classes: '+new': { exclude: true } VNHumanObservation: {} #since 15.0 VNImageAlignmentObservation: {} #since 11.0 + VNAnimalBodyPoseObservation: #since 17.0 + methods: + '-recognizedPointForJointName:error:': + name: getRecognizedPoint + '-recognizedPointsForJointsGroupName:error:': + name: getRecognizedPoints + VNDetectAnimalBodyPoseRequest: {} #since 17.0 + VNDetectHumanBodyPose3DRequest: {} #since 17.0 + VNGenerateForegroundInstanceMaskRequest: {} #since 17.0 + VNGeneratePersonInstanceMaskRequest: {} #since 17.0 + VNHumanBodyPose3DObservation: #since 17.0 + methods: + '-recognizedPointsForJointsGroupName:error:': + name: getRecognizedPoints + '-recognizedPointForJointName:error:': + name: getRecognizedPoint + '-pointInImageForJointName:error:': + name: getPointInImage + throws: NSErrorException + '-getCameraRelativePosition:forJointName:error:': + name: getCameraRelativePosition + throws: NSErrorException + VNHumanBodyRecognizedPoint3D: {} #since 17.0 + VNInstanceMaskObservation: #since 17.0 + methods: + '-generateMaskForInstances:error:': + name: generateMaskForInstances + throws: NSErrorException + '-generateMaskedImageOfInstances:fromRequestHandler:croppedToInstancesExtent:error:': + name: generateMaskedImageOfInstances + throws: NSErrorException + '-generateScaledMaskForImageForInstances:fromRequestHandler:error:': + name: generateScaledMaskForImageForInstances + throws: NSErrorException + VNPoint3D: #since 17.0 + methods: + '-initWithPosition:': + name: init + VNRecognizedPoint3D: {} #since 17.0 + VNRecognizedPoints3DObservation: #since 14.0 + methods: + '-recognizedPointForKey:error:': + name: getRecognizedPoint + throws: NSErrorException + '-recognizedPointsForGroupKey:error:': + name: getRecognizedPoint + throws: NSErrorException + VNTrackHomographicImageRegistrationRequest: {} #since 17.0 + VNTrackOpticalFlowRequest: {} #since 17.0 + VNTrackTranslationalImageRegistrationRequest: {} #since 17.0 + protocols: VNFaceObservationAccepting: {} #since 11.0 VNRequestRevisionProviding: {} #since 12.0 @@ -507,43 +569,38 @@ typed_enums: prefix: VN enum: VNRecognizedPointGroupKey type: NSString + VNComputeStage: + prefix: VNComputeStage + enum: VNComputeStage + type: NSString + VNAnimalBodyPoseObservationJointName: + prefix: VNAnimalBodyPoseObservationJointName + enum: VNAnimalBodyPoseObservationJointName + type: NSString + extends: VNRecognizedPointKey + VNAnimalBodyPoseObservationJointsGroupName: + enum: VNAnimalBodyPoseObservationJointsGroupName + prefix: VNAnimalBodyPoseObservationJointsGroupName + type: NSString + extends: VNRecognizedPointGroupKey + VNHumanBodyPose3DObservationJointName: + enum: VNHumanBodyPose3DObservationJointName + prefix: VNHumanBodyPose3DObservationJointName + type: NSString + extends: VNRecognizedPointKey + VNHumanBodyPose3DObservationJointsGroupName: + enum: VNHumanBodyPose3DObservationJointsGroupName + prefix: VNHumanBodyPose3DObservationJointsGroupName + type: NSString + extends: VNRecognizedPointGroupKey constants: - VNDetectBarcodesRequest(Revision1): - class: VNDetectBarcodesRequest - name: '#{g[0]}' - VNTranslationalImageRegistrationRequest(Revision1): - class: VNTranslationalImageRegistrationRequest - name: '#{g[0]}' - VNHomographicImageRegistrationRequest(Revision1): - class: VNHomographicImageRegistrationRequest - name: '#{g[0]}' - VNRequest(RevisionUnspecified): - class: VNRequest - name: '#{g[0]}' - VNDetectContourRequestRevision(.*): class: VNDetectContoursRequest name: 'Revision#{g[0]}' - (VNClassifyImageRequest|VNDetectFaceRectanglesRequest|VNDetectFaceLandmarksRequest|VNDetectFaceCaptureQualityRequest|VNDetectHorizonRequest|VNDetectRectanglesRequest)Revision(.*): - class: '#{g[0]}' - name: 'Revision#{g[1]}' - - (VNDetectTextRectanglesRequest|VNRecognizeTextRequest|VNGenerateAttentionBasedSaliencyImageRequest|VNGenerateObjectnessBasedSaliencyImageRequest|VNGenerateImageFeaturePrintRequest)Revision(.*): - class: '#{g[0]}' - name: 'Revision#{g[1]}' - - (VNCoreMLRequest|VNTrackObjectRequest|VNTrackRectangleRequest|VNDetectHumanRectanglesRequest|VNRecognizeAnimalsRequest|VNGenerateOpticalFlowRequest|VNDetectHumanBodyPoseRequest)Revision(.*): - class: '#{g[0]}' - name: 'Revision#{g[1]}' - - (VNDetectHumanHandPoseRequest|VNDetectContourRequest|VNDetectTrajectoriesRequest)Revision(.*): - class: '#{g[0]}' - name: 'Revision#{g[1]}' - - (VNDetectBarcodesRequest|VNDetectFaceRectanglesRequest|VNDetectFaceLandmarksRequest|VNDetectHorizonRequest|VNDetectRectanglesRequest|VNDetectTextRectanglesRequest|VNCoreMLRequest|VNTrackObjectRequest|VNTrackRectangleRequest|VNGeneratePersonSegmentationRequest|VNDetectDocumentSegmentationRequest)Revision(.*): - class: '#{g[0]}' + VN(.*)RequestRevision(.*): + class: 'VN#{g[0]}Request' name: 'Revision#{g[1]}' # Make sure we don't miss any constants if new ones are introduced in a later version diff --git a/compiler/cocoatouch/src/main/bro-gen/webkit.yaml b/compiler/cocoatouch/src/main/bro-gen/webkit.yaml index f94b33df2..e8e2fd3a2 100755 --- a/compiler/cocoatouch/src/main/bro-gen/webkit.yaml +++ b/compiler/cocoatouch/src/main/bro-gen/webkit.yaml @@ -28,6 +28,8 @@ enums: WKMediaCaptureType: {} #since 15.0 WKFullscreenState: {} #since 15.0 WKDialogResult: {} #since 16.0 + WKCookiePolicy: {} #since 17.0 + WKInactiveSchedulingPolicy: {} #since 17.0 categories: NSAttributedString: methods: @@ -139,6 +141,8 @@ classes: property: true return_type: Set return_marshaler: WKWebsiteDataType.AsSetMarshaler + '+removeDataStoreForIdentifier:completionHandler:': + name: removeDataStore WKWebView: # DONE annotations: ['@WeaklyLinked'] properties: @@ -232,6 +236,8 @@ classes: trim_after_first_colon: true '-deleteCookie:completionHandler:': trim_after_first_colon: true + '-setCookiePolicy:completionHandler:': + name: setCookiePolicy WKSnapshotConfiguration: {} #since 11.0 WKContextMenuElementInfo: {} #since 13.0 WKWebpagePreferences: {} #since 13.0 @@ -311,6 +317,10 @@ protocols: name: requestDeviceOrientationAndMotionPermission '-webView:showLockdownModeFirstUseMessage:completionHandler:': name: showLockdownModeFirstUseMessage + '-webView:willPresentEditMenuWithAnimator:': + name: willPresentEditMenu + '-webView:willDismissEditMenuWithAnimator:': + name: willDismissEditMenu WKHTTPCookieStoreObserver: {} #since 11.0 WKPreviewActionItem: {} #since 10.0 WKURLSchemeHandler: #since 11.0 diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProvider.java index 8d5dfbcfe..325182371 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProvider.java @@ -50,6 +50,16 @@ NSArray getAccessibilityCustomContent(); @Property(selector = "setAccessibilityCustomContent:") void setAccessibilityCustomContent(NSArray v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityCustomContentBlock") + @Block Block0> getAccessibilityCustomContentBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityCustomContentBlock:") + void setAccessibilityCustomContentBlock(@Block Block0> v); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProviderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProviderAdapter.java index cb4170d33..1c0ced46e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProviderAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXCustomContentProviderAdapter.java @@ -49,6 +49,16 @@ public NSArray getAccessibilityCustomContent() { return null; } @NotImplemented("setAccessibilityCustomContent:") public void setAccessibilityCustomContent(NSArray v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityCustomContentBlock") + public @Block Block0> getAccessibilityCustomContentBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityCustomContentBlock:") + public void setAccessibilityCustomContentBlock(@Block Block0> v) {} /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXSettings.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXSettings.java new file mode 100644 index 000000000..5ef285e51 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/accessibility/AXSettings.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.accessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/**/ +/**/@Library("Accessibility")/**/ +/**/public/**/ class /**/AXSettings/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(AXSettings.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + @Library("Accessibility") + public static class Notifications { + static { Bro.bind(Notifications.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AXPrefersHorizontalTextLayoutDidChangeNotification", optional=true) + public static native String PrefersHorizontalTextLayoutDidChange(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AXAnimatedImagesEnabledDidChangeNotification", optional=true) + public static native String AnimatedImagesEnabledDidChange(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="AXPrefersHorizontalTextLayout", optional=true) + public static native boolean prefersHorizontalTextLayout(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="AXAnimatedImagesEnabled", optional=true) + public static native boolean isAnimatedImagesEnabled(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/addressbook/ABPersonImageFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/addressbook/ABPersonImageFormat.java index a37d69de0..92b3e7c24 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/addressbook/ABPersonImageFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/addressbook/ABPersonImageFormat.java @@ -32,9 +32,11 @@ /**/ /**/ - +/** + * @deprecated Deprecated in iOS 9.0. + */ /**/ -/**//**/ +/**/@Deprecated/**/ public enum /**/ABPersonImageFormat/**/ implements ValuedEnum { /**/ Thumbnail(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUErrorCode.java index 8b4772efb..ba4549aa7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUErrorCode.java @@ -67,7 +67,8 @@ public enum /**/AUErrorCode/**/ implements NSErrorCode { ExtensionNotFound(-66744L), InvalidParameterValue(-66743L), InvalidFilePath(-66742L), - MissingKey(-66741L); + MissingKey(-66741L), + ComponentManagerNotSupported(-66740L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOOtherAudioDuckingLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOOtherAudioDuckingLevel.java new file mode 100644 index 000000000..3be21843b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOOtherAudioDuckingLevel.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.audiotoolbox; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/AUVoiceIOOtherAudioDuckingLevel/**/ implements ValuedEnum { + /**/ + Default(0L), + Min(10L), + Mid(20L), + Max(30L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AUVoiceIOOtherAudioDuckingLevel/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AUVoiceIOOtherAudioDuckingLevel/**/ valueOf(long n) { + for (/**/AUVoiceIOOtherAudioDuckingLevel/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AUVoiceIOOtherAudioDuckingLevel/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOProperty.java index fe2c476c2..e1257370e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AUVoiceIOProperty.java @@ -45,6 +45,7 @@ public enum /**/AUVoiceIOProperty/**/ implements AUPropertyType { VoiceProcessingEnableAGC(2101L), MuteOutput(2104L), MutedSpeechActivityEventListener(2106L), + OtherAudioDuckingConfiguration(2108L), DuckNonVoiceAudio(2102L), VoiceProcessingQuality(2103L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFile.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFile.java index c52db0b6c..40a22e718 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFile.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFile.java @@ -407,8 +407,18 @@ public static > T getGlobalInfo(AudioFileProperty id, Struct protected native OSStatus countUserData0(int inUserDataID, IntPtr outNumberItems); @Bridge(symbol="AudioFileGetUserDataSize", optional=true) protected native OSStatus getUserDataSize0(int inUserDataID, int inIndex, IntPtr outUserDataSize); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="AudioFileGetUserDataSize64", optional=true) + protected native OSStatus getUserDataSize640(int inUserDataID, int inIndex, LongPtr outUserDataSize); @Bridge(symbol="AudioFileGetUserData", optional=true) protected native OSStatus getUserData0(int inUserDataID, int inIndex, IntPtr ioUserDataSize, VoidPtr outUserData); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="AudioFileGetUserDataAtOffset", optional=true) + protected native OSStatus getUserDataAtOffset0(int inUserDataID, int inIndex, long inOffset, IntPtr ioUserDataSize, VoidPtr outUserData); @Bridge(symbol="AudioFileSetUserData", optional=true) protected native OSStatus setUserData0(int inUserDataID, int inIndex, int inUserDataSize, VoidPtr inUserData); @Bridge(symbol="AudioFileRemoveUserData", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileErrorCode.java index 5d18f409f..202170027 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileErrorCode.java @@ -54,6 +54,7 @@ public enum /**/AudioFileErrorCode/**/ implements ValuedEnum { InvalidPacketDependency(1684369471L), InvalidFile(1685348671L), OperationNotSupported(1869627199L), + OpenUsingHint(1752069183L), NotOpen(-38L), EndOfFile(-39L), Position(-40L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileStreamErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileStreamErrorCode.java index 17dd67cfc..553133af4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileStreamErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/audiotoolbox/AudioFileStreamErrorCode.java @@ -52,7 +52,8 @@ public enum /**/AudioFileStreamErrorCode/**/ implements ValuedEnum DataUnavailable(1836020325L), IllegalOperation(1852797029L), UnspecifiedError(2003334207L), - DiscontinuityCantRecover(1685283617L); + DiscontinuityCantRecover(1685283617L), + OpenUsingHint(1752069183L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertion.java index cac912cb9..e6c614b82 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertion.java @@ -54,6 +54,16 @@ protected ASAuthorizationPlatformPublicKeyCredentialAssertion() {} public ASAuthorizationPlatformPublicKeyCredentialAssertion(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ + /** + * @since Available in iOS 16.6 and later. + */ + @Property(selector = "attachment") + public native ASAuthorizationPublicKeyCredentialAttachment getAttachment(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "largeBlob") + public native ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput getLargeBlob(); @Property(selector = "rawAuthenticatorData") public native NSData getRawAuthenticatorData(); @Property(selector = "userID") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.java index 5d5cddb91..c6172dca3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.java @@ -56,6 +56,16 @@ protected ASAuthorizationPlatformPublicKeyCredentialAssertionRequest() {} public native NSArray getAllowedCredentials(); @Property(selector = "setAllowedCredentials:") public native void setAllowedCredentials(NSArray v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "largeBlob") + public native ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput getLargeBlob(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLargeBlob:") + public native void setLargeBlob(ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput v); @Property(selector = "challenge") public native NSData getChallenge(); @Property(selector = "setChallenge:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistration.java index 032a9dea2..77709d9e9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistration.java @@ -54,6 +54,16 @@ protected ASAuthorizationPlatformPublicKeyCredentialRegistration() {} public ASAuthorizationPlatformPublicKeyCredentialRegistration(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ + /** + * @since Available in iOS 16.6 and later. + */ + @Property(selector = "attachment") + public native ASAuthorizationPublicKeyCredentialAttachment getAttachment(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "largeBlob") + public native ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput getLargeBlob(); @Property(selector = "rawAttestationObject") public native NSData getRawAttestationObject(); @Property(selector = "rawClientDataJSON") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.java index 025ccabdc..1b3c07ae5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.java @@ -52,6 +52,16 @@ protected ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest() {} protected ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest(SkipInit skipInit) { super(skipInit); } /**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "largeBlob") + public native ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput getLargeBlob(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLargeBlob:") + public native void setLargeBlob(ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput v); @Property(selector = "relyingPartyIdentifier") public native String getRelyingPartyIdentifier(); @Property(selector = "userID") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialAttachment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialAttachment.java new file mode 100644 index 000000000..418aaef63 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialAttachment.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASAuthorizationPublicKeyCredentialAttachment/**/ implements ValuedEnum { + /**/ + Platform(0L), + CrossPlatform(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASAuthorizationPublicKeyCredentialAttachment/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASAuthorizationPublicKeyCredentialAttachment/**/ valueOf(long n) { + for (/**/ASAuthorizationPublicKeyCredentialAttachment/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASAuthorizationPublicKeyCredentialAttachment/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.java new file mode 100644 index 000000000..e2a613915 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class ASAuthorizationPublicKeyCredentialLargeBlobAssertionInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.class); }/**/ + /**//**/ + /**/ + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput() {} + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput(Handle h, long handle) { super(h, handle); } + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithOperation:") + public ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput(ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation operation) { super((SkipInit) null); initObject(init(operation)); } + /**/ + /**/ + @Property(selector = "operation") + public native ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation getOperation(); + @Property(selector = "dataToWrite") + public native NSData getDataToWrite(); + @Property(selector = "setDataToWrite:") + public native void setDataToWrite(NSData v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithOperation:") + protected native @Pointer long init(ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation operation); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation.java new file mode 100644 index 000000000..848c3e571 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation/**/ implements ValuedEnum { + /**/ + Read(0L), + Write(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation/**/ valueOf(long n) { + for (/**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput.java new file mode 100644 index 000000000..d031ac5c9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput.class); }/**/ + /**//**/ + /**/ + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput() {} + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput(Handle h, long handle) { super(h, handle); } + protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "readData") + public native NSData getReadData(); + @Property(selector = "didWrite") + public native boolean didWrite(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput.java new file mode 100644 index 000000000..c9832d942 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput.class); }/**/ + /**//**/ + /**/ + protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput() {} + protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput(Handle h, long handle) { super(h, handle); } + protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSupportRequirement:") + public ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput(ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement requirement) { super((SkipInit) null); initObject(init(requirement)); } + /**/ + /**/ + @Property(selector = "supportRequirement") + public native ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement getSupportRequirement(); + @Property(selector = "setSupportRequirement:") + public native void setSupportRequirement(ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSupportRequirement:") + protected native @Pointer long init(ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement requirement); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput.java new file mode 100644 index 000000000..a0a6cf3a5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput.class); }/**/ + /**//**/ + /**/ + public ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput() {} + protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput(Handle h, long handle) { super(h, handle); } + protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isSupported") + public native boolean isSupported(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement.java new file mode 100644 index 000000000..51147081d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement/**/ implements ValuedEnum { + /**/ + Required(0L), + Preferred(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement/**/ valueOf(long n) { + for (/**/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState.java new file mode 100644 index 000000000..db432a038 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState/**/ implements ValuedEnum { + /**/ + Authorized(0L), + Denied(1L), + NotDetermined(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState/**/ valueOf(long n) { + for (/**/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentity.java new file mode 100644 index 000000000..55046982f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentity.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/ASCredentialIdentity/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "serviceIdentifier") + ASCredentialServiceIdentifier getServiceIdentifier(); + @Property(selector = "user") + String getUser(); + @Property(selector = "recordIdentifier") + String getRecordIdentifier(); + @Property(selector = "rank") + @MachineSizedSInt long getRank(); + @Property(selector = "setRank:") + void setRank(@MachineSizedSInt long v); + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityAdapter.java new file mode 100644 index 000000000..651d64f09 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/ASCredentialIdentityAdapter/**/ + extends /**/NSObject/**/ + /**/implements ASCredentialIdentity/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("serviceIdentifier") + public ASCredentialServiceIdentifier getServiceIdentifier() { return null; } + @NotImplemented("user") + public String getUser() { return null; } + @NotImplemented("recordIdentifier") + public String getRecordIdentifier() { return null; } + @NotImplemented("rank") + public @MachineSizedSInt long getRank() { return 0; } + @NotImplemented("setRank:") + public void setRank(@MachineSizedSInt long v) {} + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityStore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityStore.java index 2ad04e2ce..b6e630b7d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityStore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialIdentityStore.java @@ -59,13 +59,43 @@ protected ASCredentialIdentityStore() {} /**/ @Method(selector = "getCredentialIdentityStoreStateWithCompletion:") public native void getCredentialIdentityStoreState(@Block VoidBlock1 completion); + /** + * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use saveCredentialIdentityEntries:completion: + */ + @Deprecated @Method(selector = "saveCredentialIdentities:completion:") public native void saveCredentialIdentities(NSArray credentialIdentities, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "saveCredentialIdentityEntries:completion:") + public native void saveCredentialIdentityEntries(NSArray credentialIdentities, @Block VoidBlock2 completion); + /** + * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use removeCredentialIdentityEntries:completion: + */ + @Deprecated @Method(selector = "removeCredentialIdentities:completion:") public native void removeCredentialIdentities(NSArray credentialIdentities, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeCredentialIdentityEntries:completion:") + public native void removeCredentialIdentityEntries(NSArray credentialIdentities, @Block VoidBlock2 completion); @Method(selector = "removeAllCredentialIdentitiesWithCompletion:") public native void removeAllCredentialIdentities(@Block VoidBlock2 completion); + /** + * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use replaceCredentialIdentityEntries:completion: + */ + @Deprecated @Method(selector = "replaceCredentialIdentitiesWithIdentities:completion:") public native void replaceCredentialIdentities(NSArray newCredentialIdentities, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "replaceCredentialIdentityEntries:completion:") + public native void replaceCredentialIdentityEntries(NSArray newCredentialIdentities, @Block VoidBlock2 completion); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderExtensionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderExtensionContext.java index 384f59a70..2589507ea 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderExtensionContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderExtensionContext.java @@ -58,6 +58,16 @@ public ASCredentialProviderExtensionContext() {} /**/ @Method(selector = "completeRequestWithSelectedCredential:completionHandler:") public native void completeRequest(ASPasswordCredential credential, @Block VoidBooleanBlock completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "completeAssertionRequestWithSelectedPasskeyCredential:completionHandler:") + public native void completeAssertionRequest(ASPasskeyAssertionCredential credential, @Block VoidBooleanBlock completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler:") + public native void completeRegistrationRequest(ASPasskeyRegistrationCredential credential, @Block VoidBooleanBlock completionHandler); @Method(selector = "completeExtensionConfigurationRequest") public native void completeExtensionConfigurationRequest(); @Method(selector = "cancelRequestWithError:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderViewController.java index c30f18749..60293cba5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialProviderViewController.java @@ -63,11 +63,41 @@ public ASCredentialProviderViewController() {} /**/ @Method(selector = "prepareCredentialListForServiceIdentifiers:") public native void prepareCredentialListForServiceIdentifiers(NSArray serviceIdentifiers); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "prepareCredentialListForServiceIdentifiers:requestParameters:") + public native void prepareCredentialList(NSArray serviceIdentifiers, ASPasskeyCredentialRequestParameters requestParameters); + /** + * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use provideCredentialWithoutUserInteractionForRequest: + */ + @Deprecated @Method(selector = "provideCredentialWithoutUserInteractionForIdentity:") public native void provideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "provideCredentialWithoutUserInteractionForRequest:") + public native void provideCredentialWithoutUserInteraction(ASCredentialRequest credentialRequest); + /** + * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use prepareInterfaceToProvideCredentialForRequest: + */ + @Deprecated @Method(selector = "prepareInterfaceToProvideCredentialForIdentity:") public native void prepareInterfaceToProvideCredentialForIdentity(ASPasswordCredentialIdentity credentialIdentity); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "prepareInterfaceToProvideCredentialForRequest:") + public native void prepareInterfaceToProvideCredentialForRequest(ASCredentialRequest credentialRequest); @Method(selector = "prepareInterfaceForExtensionConfiguration") public native void prepareInterfaceForExtensionConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "prepareInterfaceForPasskeyRegistration:") + public native void prepareInterfaceForPasskeyRegistration(ASCredentialRequest registrationRequest); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequest.java new file mode 100644 index 000000000..72bd27b77 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequest.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/ASCredentialRequest/**/ + /**/extends NSObjectProtocol, NSSecureCoding/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "type") + ASCredentialRequestType getType(); + @Property(selector = "credentialIdentity") + ASCredentialIdentity getCredentialIdentity(); + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementNameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestAdapter.java similarity index 71% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementNameAdapter.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestAdapter.java index faa8bef54..1475df0f4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementNameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestAdapter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.authservices; /**/ import java.io.*; @@ -28,17 +28,17 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; -import org.robovm.apple.dispatch.*; import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ class /**/GCSwitchElementNameAdapter/**/ - extends /**/GCPhysicalInputElementNameAdapter/**/ - /**/implements GCSwitchElementName/**/ { +/**/public/**/ class /**/ASCredentialRequestAdapter/**/ + extends /**/NSCodingAdapter/**/ + /**/implements ASCredentialRequest/**/ { /**/ /**/ @@ -47,7 +47,10 @@ /**//**/ /**//**/ /**/ - + @NotImplemented("type") + public ASCredentialRequestType getType() { return null; } + @NotImplemented("credentialIdentity") + public ASCredentialIdentity getCredentialIdentity() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestType.java new file mode 100644 index 000000000..3b666df84 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASCredentialRequestType.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASCredentialRequestType/**/ implements ValuedEnum { + /**/ + Password(0L), + PasskeyAssertion(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASCredentialRequestType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASCredentialRequestType/**/ valueOf(long n) { + for (/**/ASCredentialRequestType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASCredentialRequestType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyAssertionCredential.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyAssertionCredential.java new file mode 100644 index 000000000..29b589f4d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyAssertionCredential.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasskeyAssertionCredential/**/ + extends /**/NSObject/**/ + /**/implements ASAuthorizationCredential/**/ { + + /**/public static class ASPasskeyAssertionCredentialPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasskeyAssertionCredential.class); }/**/ + /**//**/ + /**/ + public ASPasskeyAssertionCredential() {} + protected ASPasskeyAssertionCredential(Handle h, long handle) { super(h, handle); } + protected ASPasskeyAssertionCredential(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:") + public ASPasskeyAssertionCredential(NSData userHandle, String relyingParty, NSData signature, NSData clientDataHash, NSData authenticatorData, NSData credentialID) { super((SkipInit) null); initObject(init(userHandle, relyingParty, signature, clientDataHash, authenticatorData, credentialID)); } + @Method(selector = "initWithCoder:") + public ASPasskeyAssertionCredential(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "userHandle") + public native NSData getUserHandle(); + @Property(selector = "relyingParty") + public native String getRelyingParty(); + @Property(selector = "signature") + public native NSData getSignature(); + @Property(selector = "clientDataHash") + public native NSData getClientDataHash(); + @Property(selector = "authenticatorData") + public native NSData getAuthenticatorData(); + @Property(selector = "credentialID") + public native NSData getCredentialID(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:") + protected native @Pointer long init(NSData userHandle, String relyingParty, NSData signature, NSData clientDataHash, NSData authenticatorData, NSData credentialID); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialIdentity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialIdentity.java new file mode 100644 index 000000000..083db9e15 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialIdentity.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasskeyCredentialIdentity/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding, ASCredentialIdentity/**/ { + + /**/public static class ASPasskeyCredentialIdentityPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasskeyCredentialIdentity.class); }/**/ + /**//**/ + /**/ + protected ASPasskeyCredentialIdentity() {} + protected ASPasskeyCredentialIdentity(Handle h, long handle) { super(h, handle); } + protected ASPasskeyCredentialIdentity(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:") + public ASPasskeyCredentialIdentity(String relyingPartyIdentifier, String userName, NSData credentialID, NSData userHandle, String recordIdentifier) { super((SkipInit) null); initObject(init(relyingPartyIdentifier, userName, credentialID, userHandle, recordIdentifier)); } + @Method(selector = "initWithCoder:") + public ASPasskeyCredentialIdentity(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "relyingPartyIdentifier") + public native String getRelyingPartyIdentifier(); + @Property(selector = "userName") + public native String getUserName(); + @Property(selector = "credentialID") + public native NSData getCredentialID(); + @Property(selector = "userHandle") + public native NSData getUserHandle(); + @Property(selector = "recordIdentifier") + public native String getRecordIdentifier(); + @Property(selector = "rank") + public native @MachineSizedSInt long getRank(); + @Property(selector = "setRank:") + public native void setRank(@MachineSizedSInt long v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + @Property(selector = "serviceIdentifier") + public native ASCredentialServiceIdentifier getServiceIdentifier(); + @Property(selector = "user") + public native String getUser(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:") + protected native @Pointer long init(String relyingPartyIdentifier, String userName, NSData credentialID, NSData userHandle, String recordIdentifier); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequest.java new file mode 100644 index 000000000..3de76796e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequest.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasskeyCredentialRequest/**/ + extends /**/NSObject/**/ + /**/implements ASCredentialRequest/**/ { + + /**/public static class ASPasskeyCredentialRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasskeyCredentialRequest.class); }/**/ + /**//**/ + /**/ + protected ASPasskeyCredentialRequest() {} + protected ASPasskeyCredentialRequest(Handle h, long handle) { super(h, handle); } + protected ASPasskeyCredentialRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:") + public ASPasskeyCredentialRequest(ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, ASAuthorizationPublicKeyCredentialUserVerificationPreference userVerificationPreference, NSArray supportedAlgorithms) { super((SkipInit) null); initObject(init(credentialIdentity, clientDataHash, userVerificationPreference, supportedAlgorithms)); } + @Method(selector = "initWithCoder:") + public ASPasskeyCredentialRequest(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "clientDataHash") + public native NSData getClientDataHash(); + @Property(selector = "userVerificationPreference") + public native ASAuthorizationPublicKeyCredentialUserVerificationPreference getUserVerificationPreference(); + @Property(selector = "setUserVerificationPreference:") + public native void setUserVerificationPreference(ASAuthorizationPublicKeyCredentialUserVerificationPreference v); + @Property(selector = "supportedAlgorithms") + public native NSArray getSupportedAlgorithms(); + @Property(selector = "type") + public native ASCredentialRequestType getType(); + @Property(selector = "credentialIdentity") + public native ASCredentialIdentity getCredentialIdentity(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:") + protected native @Pointer long init(ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, ASAuthorizationPublicKeyCredentialUserVerificationPreference userVerificationPreference, NSArray supportedAlgorithms); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequestParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequestParameters.java new file mode 100644 index 000000000..18c4b115a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyCredentialRequestParameters.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasskeyCredentialRequestParameters/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class ASPasskeyCredentialRequestParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasskeyCredentialRequestParameters.class); }/**/ + /**//**/ + /**/ + protected ASPasskeyCredentialRequestParameters() {} + protected ASPasskeyCredentialRequestParameters(Handle h, long handle) { super(h, handle); } + protected ASPasskeyCredentialRequestParameters(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public ASPasskeyCredentialRequestParameters(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "relyingPartyIdentifier") + public native String getRelyingPartyIdentifier(); + @Property(selector = "clientDataHash") + public native NSData getClientDataHash(); + @Property(selector = "userVerificationPreference") + public native ASAuthorizationPublicKeyCredentialUserVerificationPreference getUserVerificationPreference(); + @Property(selector = "allowedCredentials") + public native NSArray getAllowedCredentials(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyRegistrationCredential.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyRegistrationCredential.java new file mode 100644 index 000000000..0855c8a00 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasskeyRegistrationCredential.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasskeyRegistrationCredential/**/ + extends /**/NSObject/**/ + /**/implements ASAuthorizationCredential/**/ { + + /**/public static class ASPasskeyRegistrationCredentialPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasskeyRegistrationCredential.class); }/**/ + /**//**/ + /**/ + public ASPasskeyRegistrationCredential() {} + protected ASPasskeyRegistrationCredential(Handle h, long handle) { super(h, handle); } + protected ASPasskeyRegistrationCredential(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithRelyingParty:clientDataHash:credentialID:attestationObject:") + public ASPasskeyRegistrationCredential(String relyingParty, NSData clientDataHash, NSData credentialID, NSData attestationObject) { super((SkipInit) null); initObject(init(relyingParty, clientDataHash, credentialID, attestationObject)); } + @Method(selector = "initWithCoder:") + public ASPasskeyRegistrationCredential(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "relyingParty") + public native String getRelyingParty(); + @Property(selector = "clientDataHash") + public native NSData getClientDataHash(); + @Property(selector = "credentialID") + public native NSData getCredentialID(); + @Property(selector = "attestationObject") + public native NSData getAttestationObject(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithRelyingParty:clientDataHash:credentialID:attestationObject:") + protected native @Pointer long init(String relyingParty, NSData clientDataHash, NSData credentialID, NSData attestationObject); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialIdentity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialIdentity.java index c9441454f..e36bf4c0f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialIdentity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialIdentity.java @@ -41,7 +41,7 @@ /**/@Library("AuthenticationServices") @NativeClass/**/ /**/public/**/ class /**/ASPasswordCredentialIdentity/**/ extends /**/NSObject/**/ - /**/implements NSSecureCoding/**/ { + /**/implements NSSecureCoding, ASCredentialIdentity/**/ { /**/public static class ASPasswordCredentialIdentityPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(ASPasswordCredentialIdentity.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialRequest.java new file mode 100644 index 000000000..b70b0ce77 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPasswordCredentialRequest.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASPasswordCredentialRequest/**/ + extends /**/NSObject/**/ + /**/implements ASCredentialRequest/**/ { + + /**/public static class ASPasswordCredentialRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASPasswordCredentialRequest.class); }/**/ + /**//**/ + /**/ + protected ASPasswordCredentialRequest() {} + protected ASPasswordCredentialRequest(Handle h, long handle) { super(h, handle); } + protected ASPasswordCredentialRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCredentialIdentity:") + public ASPasswordCredentialRequest(ASPasswordCredentialIdentity credentialIdentity) { super((SkipInit) null); initObject(init(credentialIdentity)); } + @Method(selector = "initWithCoder:") + public ASPasswordCredentialRequest(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "type") + public native ASCredentialRequestType getType(); + @Property(selector = "credentialIdentity") + public native ASCredentialIdentity getCredentialIdentity(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCredentialIdentity:") + protected native @Pointer long init(ASPasswordCredentialIdentity credentialIdentity); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPublicKeyCredentialClientDataCrossOriginValue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPublicKeyCredentialClientDataCrossOriginValue.java new file mode 100644 index 000000000..c6a37103e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASPublicKeyCredentialClientDataCrossOriginValue.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/ASPublicKeyCredentialClientDataCrossOriginValue/**/ implements ValuedEnum { + /**/ + NotSet(0L), + CrossOrigin(1L), + SameOriginWithAncestors(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/ASPublicKeyCredentialClientDataCrossOriginValue/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/ASPublicKeyCredentialClientDataCrossOriginValue/**/ valueOf(long n) { + for (/**/ASPublicKeyCredentialClientDataCrossOriginValue/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/ASPublicKeyCredentialClientDataCrossOriginValue/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASSettingsHelper.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASSettingsHelper.java new file mode 100644 index 000000000..2371f7414 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/authservices/ASSettingsHelper.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.authservices; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AuthenticationServices") @NativeClass/**/ +/**/public/**/ class /**/ASSettingsHelper/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class ASSettingsHelperPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(ASSettingsHelper.class); }/**/ + /**//**/ + /**/ + protected ASSettingsHelper() {} + protected ASSettingsHelper(Handle h, long handle) { super(h, handle); } + protected ASSettingsHelper(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "openCredentialProviderAppSettingsWithCompletionHandler:") + public static native void openCredentialProviderAppSettings(@Block VoidBlock1 completionHandler); + @Method(selector = "openVerificationCodeAppSettingsWithCompletionHandler:") + public static native void openVerificationCodeAppSettings(@Block VoidBlock1 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetExportPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetExportPreset.java index 0dbd85e30..2a5d7a716 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetExportPreset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetExportPreset.java @@ -134,6 +134,14 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.0 and later. */ public static final AVAssetExportPreset HEVC3840x2160WithAlpha = new AVAssetExportPreset("HEVC3840x2160WithAlpha"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVAssetExportPreset MVHEVC960x960 = new AVAssetExportPreset("MVHEVC960x960"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVAssetExportPreset MVHEVC1440x1440 = new AVAssetExportPreset("MVHEVC1440x1440"); public static final AVAssetExportPreset AppleM4A = new AVAssetExportPreset("AppleM4A"); public static final AVAssetExportPreset Passthrough = new AVAssetExportPreset("Passthrough"); /** @@ -146,7 +154,7 @@ public static long toNative(List l, long flags) { public static final AVAssetExportPreset AppleProRes4444LPCM = new AVAssetExportPreset("AppleProRes4444LPCM"); /**/ - private static /**/AVAssetExportPreset/**/[] values = new /**/AVAssetExportPreset/**/[] {/**/LowQuality, MediumQuality, HighestQuality, HEVCHighestQuality, HEVCHighestQualityWithAlpha, Size640x480, Size960x540, Size1280x720, Size1920x1080, Size3840x2160, HEVC1920x1080, HEVC1920x1080WithAlpha, HEVC3840x2160, HEVC3840x2160WithAlpha, AppleM4A, Passthrough, AppleProRes422LPCM, AppleProRes4444LPCM/**/}; + private static /**/AVAssetExportPreset/**/[] values = new /**/AVAssetExportPreset/**/[] {/**/LowQuality, MediumQuality, HighestQuality, HEVCHighestQuality, HEVCHighestQualityWithAlpha, Size640x480, Size960x540, Size1280x720, Size1920x1080, Size3840x2160, HEVC1920x1080, HEVC1920x1080WithAlpha, HEVC3840x2160, HEVC3840x2160WithAlpha, MVHEVC960x960, MVHEVC1440x1440, AppleM4A, Passthrough, AppleProRes422LPCM, AppleProRes4444LPCM/**/}; /**/AVAssetExportPreset/**/ (String getterName) { super(Values.class, getterName); @@ -218,6 +226,16 @@ public static class Values { */ @GlobalValue(symbol="AVAssetExportPresetHEVC3840x2160WithAlpha", optional=true) public static native NSString HEVC3840x2160WithAlpha(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVAssetExportPresetMVHEVC960x960", optional=true) + public static native NSString MVHEVC960x960(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVAssetExportPresetMVHEVC1440x1440", optional=true) + public static native NSString MVHEVC1440x1440(); @GlobalValue(symbol="AVAssetExportPresetAppleM4A", optional=true) public static native NSString AppleM4A(); @GlobalValue(symbol="AVAssetExportPresetPassthrough", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantAudioRenditionSpecificAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantAudioRenditionSpecificAttributes.java index fa02bbee9..b56b65b1a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantAudioRenditionSpecificAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantAudioRenditionSpecificAttributes.java @@ -63,6 +63,21 @@ public AVAssetVariantAudioRenditionSpecificAttributes() {} /**/ @Property(selector = "channelCount") public native @MachineSizedSInt long getChannelCount(); + /** + * @since Available in iOS 16.0 and later. + */ + @Property(selector = "isBinaural") + public native boolean isBinaural(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isImmersive") + public native boolean isImmersive(); + /** + * @since Available in iOS 16.0 and later. + */ + @Property(selector = "isDownmix") + public native boolean isDownmix(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantQualifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantQualifier.java index f421bf484..0dfbc02fc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantQualifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantQualifier.java @@ -73,6 +73,21 @@ protected AVAssetVariantQualifier() {} protected static native @Pointer long create(AVAssetVariant variant); @Method(selector = "predicateForChannelCount:mediaSelectionOption:operatorType:") public static native NSPredicate predicateForChannelCount(@MachineSizedSInt long channelCount, AVMediaSelectionOption mediaSelectionOption, NSPredicateOperatorType operatorType); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "predicateForBinauralAudio:mediaSelectionOption:") + public static native NSPredicate predicateForBinauralAudio(boolean isBinauralAudio, AVMediaSelectionOption mediaSelectionOption); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "predicateForImmersiveAudio:mediaSelectionOption:") + public static native NSPredicate predicateForImmersiveAudio(boolean isImmersiveAudio, AVMediaSelectionOption mediaSelectionOption); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "predicateForDownmixAudio:mediaSelectionOption:") + public static native NSPredicate predicateForDownmixAudio(boolean isDownmixAudio, AVMediaSelectionOption mediaSelectionOption); @Method(selector = "predicateForPresentationWidth:operatorType:") public static native NSPredicate predicateForPresentationWidth(@MachineSizedFloat double width, NSPredicateOperatorType operatorType); @Method(selector = "predicateForPresentationHeight:operatorType:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoAttributes.java index 246cb75fd..adebf64b9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoAttributes.java @@ -69,6 +69,11 @@ protected AVAssetVariantVideoAttributes() {} public native @ByVal CGSize getPresentationSize(); @Property(selector = "nominalFrameRate") public native double getNominalFrameRate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "videoLayoutAttributes") + public native NSArray getVideoLayoutAttributes(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoLayoutAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoLayoutAttributes.java new file mode 100644 index 000000000..0aec0b1c7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetVariantVideoLayoutAttributes.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVAssetVariantVideoLayoutAttributes/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVAssetVariantVideoLayoutAttributesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVAssetVariantVideoLayoutAttributes.class); }/**/ + /**//**/ + /**/ + protected AVAssetVariantVideoLayoutAttributes() {} + protected AVAssetVariantVideoLayoutAttributes(Handle h, long handle) { super(h, handle); } + protected AVAssetVariantVideoLayoutAttributes(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "stereoViewComponents") + public native CMStereoViewComponents getStereoViewComponents(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriter.java index 0bb931903..d249daa13 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriter.java @@ -100,6 +100,16 @@ public AVAssetWriter(NSURL outputURL, String outputFileType) throws NSErrorExcep public native @ByVal CMTime getMovieFragmentInterval(); @Property(selector = "setMovieFragmentInterval:") public native void setMovieFragmentInterval(@ByVal CMTime v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "initialMovieFragmentInterval") + public native @ByVal CMTime getInitialMovieFragmentInterval(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInitialMovieFragmentInterval:") + public native void setInitialMovieFragmentInterval(@ByVal CMTime v); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor.java new file mode 100644 index 000000000..f8c0a453b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVAssetWriterInputTaggedPixelBufferGroupAdaptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVAssetWriterInputTaggedPixelBufferGroupAdaptor.class); }/**/ + /**//**/ + /**/ + protected AVAssetWriterInputTaggedPixelBufferGroupAdaptor() {} + protected AVAssetWriterInputTaggedPixelBufferGroupAdaptor(Handle h, long handle) { super(h, handle); } + protected AVAssetWriterInputTaggedPixelBufferGroupAdaptor(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithAssetWriterInput:sourcePixelBufferAttributes:") + public AVAssetWriterInputTaggedPixelBufferGroupAdaptor(AVAssetWriterInput input, NSDictionary sourcePixelBufferAttributes) { super((SkipInit) null); initObject(init(input, sourcePixelBufferAttributes)); } + /**/ + /**/ + @Property(selector = "assetWriterInput") + public native AVAssetWriterInput getAssetWriterInput(); + @Property(selector = "sourcePixelBufferAttributes") + public native NSDictionary getSourcePixelBufferAttributes(); + @Property(selector = "pixelBufferPool") + public native CVPixelBufferPool getPixelBufferPool(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithAssetWriterInput:sourcePixelBufferAttributes:") + protected native @Pointer long init(AVAssetWriterInput input, NSDictionary sourcePixelBufferAttributes); + @Method(selector = "appendTaggedPixelBufferGroup:withPresentationTime:") + public native boolean appendTaggedPixelBufferGroup(CMTaggedBufferGroup taggedPixelBufferGroup, @ByVal CMTime presentationTime); + @Method(selector = "assetWriterInputTaggedPixelBufferGroupAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:") + public static native AVAssetWriterInputTaggedPixelBufferGroupAdaptor assetWriterInputTaggedPixelBufferGroupAdaptor(AVAssetWriterInput input, NSDictionary sourcePixelBufferAttributes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplication.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplication.java new file mode 100644 index 000000000..5837ba305 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplication.java @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVAudioApplication/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVAudioApplicationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVAudioApplication.class); }/**/ + /**//**/ + /**/ + protected AVAudioApplication() {} + protected AVAudioApplication(Handle h, long handle) { super(h, handle); } + protected AVAudioApplication(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "sharedInstance") + public static native AVAudioApplication getSharedInstance(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isInputMuted") + public native boolean isInputMuted(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "recordPermission") + public native AVAudioApplicationRecordPermission getRecordPermission(); + /**/ + /**//**/ + /**/ + @Library("AVFoundation") + public static class Keys { + static { Bro.bind(Keys.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVAudioApplicationMuteStateKey", optional=true) + public static native NSString MuteState(); + } + + @Library("AVFoundation") + public static class Notifications { + static { Bro.bind(Notifications.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVAudioApplicationInputMuteStateChangeNotification", optional=true) + public static native NSString InputMuteStateChange(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + public boolean setInputMuted(boolean muted) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = setInputMuted(muted, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setInputMuted:error:") + private native boolean setInputMuted(boolean muted, NSError.NSErrorPtr outError); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestRecordPermissionWithCompletionHandler:") + public static native void requestRecordPermission(@Block VoidBooleanBlock response); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplicationRecordPermission.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplicationRecordPermission.java new file mode 100644 index 000000000..6b36c6355 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioApplicationRecordPermission.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVAudioApplicationRecordPermission/**/ implements ValuedEnum { + /**/ + Undetermined(1970168948L), + Denied(1684369017L), + Granted(1735552628L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVAudioApplicationRecordPermission/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVAudioApplicationRecordPermission/**/ valueOf(long n) { + for (/**/AVAudioApplicationRecordPermission/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVAudioApplicationRecordPermission/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioInputNode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioInputNode.java index 73b5d5c32..f87984503 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioInputNode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioInputNode.java @@ -89,6 +89,16 @@ protected AVAudioInputNode() {} */ @Property(selector = "setVoiceProcessingInputMuted:") public native void setVoiceProcessingInputMuted(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "voiceProcessingOtherAudioDuckingConfiguration") + public native @ByVal AVAudioVoiceProcessingOtherAudioDuckingConfiguration getVoiceProcessingOtherAudioDuckingConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setVoiceProcessingOtherAudioDuckingConfiguration:") + public native void setVoiceProcessingOtherAudioDuckingConfiguration(@ByVal AVAudioVoiceProcessingOtherAudioDuckingConfiguration v); @Property(selector = "volume") public native float getVolume(); @Property(selector = "setVolume:") @@ -149,6 +159,11 @@ protected AVAudioInputNode() {} */ @Method(selector = "setManualRenderingInputPCMFormat:inputBlock:") public native boolean setManualRenderingInputPCMFormat(AVAudioFormat format, @Block Block1 block); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setMutedSpeechActivityEventListener:") + public native boolean setMutedSpeechActivityEventListener(@Block VoidBlock1 listenerBlock); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegate.java index 2cba3081c..f9d590e70 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegate.java @@ -63,13 +63,13 @@ @Method(selector = "audioRecorderEncodeErrorDidOccur:error:") void encodeErrorDidOccur(AVAudioRecorder recorder, NSError error); /** - * @deprecated Deprecated in iOS 8.0. + * @deprecated Deprecated in iOS 8.0. Deprecated - use AVAudioSession instead */ @Deprecated @Method(selector = "audioRecorderBeginInterruption:") void beginInterruption(AVAudioRecorder recorder); /** - * @deprecated Deprecated in iOS 8.0. + * @deprecated Deprecated in iOS 8.0. Deprecated - use AVAudioSession instead */ @Deprecated @Method(selector = "audioRecorderEndInterruption:withOptions:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegateAdapter.java index db0041234..0565567b0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioRecorderDelegateAdapter.java @@ -65,13 +65,13 @@ public void didFinishRecording(AVAudioRecorder recorder, boolean flag) {} @NotImplemented("audioRecorderEncodeErrorDidOccur:error:") public void encodeErrorDidOccur(AVAudioRecorder recorder, NSError error) {} /** - * @deprecated Deprecated in iOS 8.0. + * @deprecated Deprecated in iOS 8.0. Deprecated - use AVAudioSession instead */ @Deprecated @NotImplemented("audioRecorderBeginInterruption:") public void beginInterruption(AVAudioRecorder recorder) {} /** - * @deprecated Deprecated in iOS 8.0. + * @deprecated Deprecated in iOS 8.0. Deprecated - use AVAudioSession instead */ @Deprecated @NotImplemented("audioRecorderEndInterruption:withOptions:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSession.java index d219f5992..6569485a0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSession.java @@ -160,6 +160,10 @@ public AVAudioSession() {} */ @Property(selector = "allowHapticsAndSystemSoundsDuringRecording") public native boolean isAllowHapticsAndSystemSoundsDuringRecording(); + /** + * @deprecated Deprecated in iOS 17.0. Please use AVAudioApplication recordPermission + */ + @Deprecated @Property(selector = "recordPermission") public native AVAudioSessionRecordPermission getRecordPermission(); @Property(selector = "preferredInput") @@ -237,6 +241,11 @@ public AVAudioSession() {} */ @Property(selector = "supportsMultichannelContent") public native boolean supportsMultichannelContent(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "prefersInterruptionOnRouteDisconnect") + public native boolean prefersInterruptionOnRouteDisconnect(); /**/ /**//**/ /**/ @@ -334,6 +343,10 @@ public boolean setAllowHapticsAndSystemSoundsDuringRecording(boolean inValue) th */ @Method(selector = "setAllowHapticsAndSystemSoundsDuringRecording:error:") private native boolean setAllowHapticsAndSystemSoundsDuringRecording(boolean inValue, NSError.NSErrorPtr outError); + /** + * @deprecated Deprecated in iOS 17.0. Please use AVAudioApplication requestRecordPermissionWithCompletionHandler + */ + @Deprecated @Method(selector = "requestRecordPermission:") public native void requestRecordPermission(@Block VoidBooleanBlock response); public boolean overrideOutputAudioPort(AVAudioSessionPortOverride portOverride) throws NSErrorException { @@ -482,5 +495,19 @@ public boolean setSupportsMultichannelContent(boolean inValue) throws NSErrorExc */ @Method(selector = "setSupportsMultichannelContent:error:") private native boolean setSupportsMultichannelContent(boolean inValue, NSError.NSErrorPtr outError); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean setPrefersInterruptionOnRouteDisconnect(boolean inValue) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = setPrefersInterruptionOnRouteDisconnect(inValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setPrefersInterruptionOnRouteDisconnect:error:") + private native boolean setPrefersInterruptionOnRouteDisconnect(boolean inValue, NSError.NSErrorPtr outError); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionInterruptionReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionInterruptionReason.java index 379603aef..0649ebaf5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionInterruptionReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionInterruptionReason.java @@ -55,7 +55,11 @@ public enum /**/AVAudioSessionInterruptionReason/**/ implements Val */ @Deprecated AppWasSuspended(1L), - BuiltInMicMuted(2L); + BuiltInMicMuted(2L), + /** + * @since Available in iOS 17.0 and later. + */ + RouteDisconnected(4L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionPort.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionPort.java index 1d30d4528..e02413612 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionPort.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionPort.java @@ -99,6 +99,10 @@ public static long toNative(List l, long flags) { /**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVAudioSessionPort ContinuityMicrophone = new AVAudioSessionPort("ContinuityMicrophone"); public static final AVAudioSessionPort LineIn = new AVAudioSessionPort("LineIn"); public static final AVAudioSessionPort BuiltInMic = new AVAudioSessionPort("BuiltInMic"); public static final AVAudioSessionPort HeadsetMic = new AVAudioSessionPort("HeadsetMic"); @@ -139,7 +143,7 @@ public static long toNative(List l, long flags) { public static final AVAudioSessionPort Thunderbolt = new AVAudioSessionPort("Thunderbolt"); /**/ - private static /**/AVAudioSessionPort/**/[] values = new /**/AVAudioSessionPort/**/[] {/**/LineIn, BuiltInMic, HeadsetMic, LineOut, Headphones, BluetoothA2DP, BuiltInReceiver, BuiltInSpeaker, HDMI, AirPlay, BluetoothLE, BluetoothHFP, USBAudio, CarAudio, Virtual, PCI, FireWire, DisplayPort, AVB, Thunderbolt/**/}; + private static /**/AVAudioSessionPort/**/[] values = new /**/AVAudioSessionPort/**/[] {/**/ContinuityMicrophone, LineIn, BuiltInMic, HeadsetMic, LineOut, Headphones, BluetoothA2DP, BuiltInReceiver, BuiltInSpeaker, HDMI, AirPlay, BluetoothLE, BluetoothHFP, USBAudio, CarAudio, Virtual, PCI, FireWire, DisplayPort, AVB, Thunderbolt/**/}; /**/AVAudioSessionPort/**/ (String getterName) { super(Values.class, getterName); @@ -162,6 +166,11 @@ public static class Values { static { Bro.bind(Values.class); } /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVAudioSessionPortContinuityMicrophone", optional=true) + public static native NSString ContinuityMicrophone(); @GlobalValue(symbol="AVAudioSessionPortLineIn", optional=true) public static native NSString LineIn(); @GlobalValue(symbol="AVAudioSessionPortBuiltInMic", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionRecordPermission.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionRecordPermission.java index 9a821dd23..af34868ba 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionRecordPermission.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioSessionRecordPermission.java @@ -48,8 +48,20 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ public enum /**/AVAudioSessionRecordPermission/**/ implements ValuedEnum { /**/ + /** + * @deprecated Deprecated in iOS 17.0. Use AVAudioApplicationRecordPermissionUndetermined + */ + @Deprecated Undetermined(1970168948L), + /** + * @deprecated Deprecated in iOS 17.0. Use AVAudioApplicationRecordPermissionDenied + */ + @Deprecated Denied(1684369017L), + /** + * @deprecated Deprecated in iOS 17.0. Use AVAudioApplicationRecordPermissionGranted + */ + @Deprecated Granted(1735552628L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingConfiguration.java new file mode 100644 index 000000000..de85aa865 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingConfiguration.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/AVAudioVoiceProcessingOtherAudioDuckingConfiguration/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class AVAudioVoiceProcessingOtherAudioDuckingConfigurationPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public AVAudioVoiceProcessingOtherAudioDuckingConfiguration() {} + public AVAudioVoiceProcessingOtherAudioDuckingConfiguration(boolean enableAdvancedDucking, AVAudioVoiceProcessingOtherAudioDuckingLevel duckingLevel) { + this.setEnableAdvancedDucking(enableAdvancedDucking); + this.setDuckingLevel(duckingLevel); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native boolean isEnableAdvancedDucking(); + @StructMember(0) public native AVAudioVoiceProcessingOtherAudioDuckingConfiguration setEnableAdvancedDucking(boolean enableAdvancedDucking); + @StructMember(1) public native AVAudioVoiceProcessingOtherAudioDuckingLevel getDuckingLevel(); + @StructMember(1) public native AVAudioVoiceProcessingOtherAudioDuckingConfiguration setDuckingLevel(AVAudioVoiceProcessingOtherAudioDuckingLevel duckingLevel); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingLevel.java new file mode 100644 index 000000000..0d14f53e7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingOtherAudioDuckingLevel.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVAudioVoiceProcessingOtherAudioDuckingLevel/**/ implements ValuedEnum { + /**/ + Default(0L), + Min(10L), + Mid(20L), + Max(30L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVAudioVoiceProcessingOtherAudioDuckingLevel/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVAudioVoiceProcessingOtherAudioDuckingLevel/**/ valueOf(long n) { + for (/**/AVAudioVoiceProcessingOtherAudioDuckingLevel/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVAudioVoiceProcessingOtherAudioDuckingLevel/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingSpeechActivityEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingSpeechActivityEvent.java new file mode 100644 index 000000000..9df12edb4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVAudioVoiceProcessingSpeechActivityEvent.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVAudioVoiceProcessingSpeechActivityEvent/**/ implements ValuedEnum { + /**/ + Started(0L), + Ended(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVAudioVoiceProcessingSpeechActivityEvent/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVAudioVoiceProcessingSpeechActivityEvent/**/ valueOf(long n) { + for (/**/AVAudioVoiceProcessingSpeechActivityEvent/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVAudioVoiceProcessingSpeechActivityEvent/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureColorSpace.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureColorSpace.java index ff826c2d3..e345f998a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureColorSpace.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureColorSpace.java @@ -55,7 +55,11 @@ public enum /**/AVCaptureColorSpace/**/ implements ValuedEnum { /** * @since Available in iOS 14.1 and later. */ - HLG_BT2020(2L); + HLG_BT2020(2L), + /** + * @since Available in iOS 17.0 and later. + */ + AppleLog(3L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureConnection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureConnection.java index e0595af2c..c0b18e9fc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureConnection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureConnection.java @@ -87,10 +87,32 @@ protected AVCaptureConnection() {} public native boolean automaticallyAdjustsVideoMirroring(); @Property(selector = "setAutomaticallyAdjustsVideoMirroring:") public native void setAutomaticallyAdjustsVideoMirroring(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "videoRotationAngle") + public native @MachineSizedFloat double getVideoRotationAngle(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setVideoRotationAngle:") + public native void setVideoRotationAngle(@MachineSizedFloat double v); + /** + * @deprecated Deprecated in iOS 17.0. Use -isVideoRotationAngleSupported: instead + */ + @Deprecated @Property(selector = "isVideoOrientationSupported") public native boolean supportsVideoOrientation(); + /** + * @deprecated Deprecated in iOS 17.0. Use -videoRotationAngle instead + */ + @Deprecated @Property(selector = "videoOrientation") public native AVCaptureVideoOrientation getVideoOrientation(); + /** + * @deprecated Deprecated in iOS 17.0. Use -videoRotationAngle instead + */ + @Deprecated @Property(selector = "setVideoOrientation:") public native void setVideoOrientation(AVCaptureVideoOrientation v); /** @@ -183,5 +205,7 @@ protected AVCaptureConnection() {} protected native @Pointer long init(NSArray ports, AVCaptureOutput output); @Method(selector = "initWithInputPort:videoPreviewLayer:") protected native @Pointer long init(AVCaptureInputPort port, AVCaptureVideoPreviewLayer layer); + @Method(selector = "isVideoRotationAngleSupported:") + public native boolean isVideoRotationAngleSupported(@MachineSizedFloat double videoRotationAngle); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeferredPhotoProxy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeferredPhotoProxy.java new file mode 100644 index 000000000..774b18ce6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeferredPhotoProxy.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVCaptureDeferredPhotoProxy/**/ + extends /**/AVCapturePhoto/**/ + /**//**/ { + + /**/public static class AVCaptureDeferredPhotoProxyPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVCaptureDeferredPhotoProxy.class); }/**/ + /**//**/ + /**/ + protected AVCaptureDeferredPhotoProxy() {} + protected AVCaptureDeferredPhotoProxy(Handle h, long handle) { super(h, handle); } + protected AVCaptureDeferredPhotoProxy(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDevice.java index 01f920d98..95ff7e548 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDevice.java @@ -134,6 +134,21 @@ protected AVCaptureDevice() {} */ @Property(selector = "deviceType") public native String getDeviceType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "userPreferredCamera") + public static native AVCaptureDevice getUserPreferredCamera(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setUserPreferredCamera:") + public static native void setUserPreferredCamera(AVCaptureDevice v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "systemPreferredCamera") + public static native AVCaptureDevice getSystemPreferredCamera(); /** * @since Available in iOS 11.1 and later. */ @@ -480,6 +495,16 @@ protected AVCaptureDevice() {} */ @Property(selector = "isCenterStageActive") public native boolean isCenterStageActive(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "centerStageRectOfInterest") + public native @ByVal CGRect getCenterStageRectOfInterest(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCenterStageRectOfInterest:") + public native void setCenterStageRectOfInterest(@ByVal CGRect v); /** * @since Available in iOS 15.0 and later. */ @@ -490,6 +515,31 @@ protected AVCaptureDevice() {} */ @Property(selector = "isPortraitEffectActive") public native boolean isPortraitEffectActive(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "reactionEffectsEnabled") + public static native boolean isReactionEffectsEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "reactionEffectGesturesEnabled") + public static native boolean isReactionEffectGesturesEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "canPerformReactionEffects") + public native boolean canPerformReactionEffects(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "availableReactionTypes") + public native NSSet getAvailableReactionTypes(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "reactionEffectsInProgress") + public native NSArray getReactionEffectsInProgress(); /** * @since Available in iOS 16.0 and later. */ @@ -515,11 +565,6 @@ protected AVCaptureDevice() {} */ @Property(selector = "isStudioLightEnabled") public static native boolean isStudioLightEnabled(); - /** - * @since Available in iOS 16.0 and later. - */ - @Property(selector = "setStudioLightEnabled:") - public static native void setStudioLightEnabled(boolean v); /** * @since Available in iOS 16.0 and later. */ @@ -638,6 +683,11 @@ public boolean setTorchModeOn(float torchLevel) throws NSErrorException { */ @Method(selector = "extrinsicMatrixFromDevice:toDevice:") public static native NSData getExtrinsicMatrix(AVCaptureDevice fromDevice, AVCaptureDevice toDevice); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "performEffectForReaction:") + public native void performEffectForReaction(AVCaptureReactionType reactionType); /** * @since Available in iOS 15.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceFormat.java index 00f8368e2..570a0e235 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceFormat.java @@ -133,7 +133,9 @@ protected AVCaptureDeviceFormat() {} public native @MachineSizedFloat double getVideoMaxZoomFactorForDepthDataDelivery(); /** * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedVideoZoomRangesForDepthDataDelivery */ + @Deprecated @Property(selector = "supportedVideoZoomFactorsForDepthDataDelivery") public native NSArray getSupportedVideoZoomFactorsForDepthDataDelivery(); /** @@ -211,6 +213,16 @@ protected AVCaptureDeviceFormat() {} */ @Property(selector = "videoFrameRateRangeForStudioLight") public native AVFrameRateRange getVideoFrameRateRangeForStudioLight(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "reactionEffectsSupported") + public native boolean isReactionEffectsSupported(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "videoFrameRateRangeForReactionEffectsInProgress") + public native AVFrameRateRange getVideoFrameRateRangeForReactionEffectsInProgress(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceRotationCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceRotationCoordinator.java new file mode 100644 index 000000000..38bb810c2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceRotationCoordinator.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVCaptureDeviceRotationCoordinator/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVCaptureDeviceRotationCoordinatorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVCaptureDeviceRotationCoordinator.class); }/**/ + /**//**/ + /**/ + protected AVCaptureDeviceRotationCoordinator() {} + protected AVCaptureDeviceRotationCoordinator(Handle h, long handle) { super(h, handle); } + protected AVCaptureDeviceRotationCoordinator(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDevice:previewLayer:") + public AVCaptureDeviceRotationCoordinator(AVCaptureDevice device, CALayer previewLayer) { super((SkipInit) null); initObject(init(device, previewLayer)); } + /**/ + /**/ + @Property(selector = "device") + public native AVCaptureDevice getDevice(); + @Property(selector = "previewLayer") + public native CALayer getPreviewLayer(); + @Property(selector = "videoRotationAngleForHorizonLevelPreview") + public native @MachineSizedFloat double getVideoRotationAngleForHorizonLevelPreview(); + @Property(selector = "videoRotationAngleForHorizonLevelCapture") + public native @MachineSizedFloat double getVideoRotationAngleForHorizonLevelCapture(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDevice:previewLayer:") + protected native @Pointer long init(AVCaptureDevice device, CALayer previewLayer); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceType.java index 0b6acfd78..f95936ca1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureDeviceType.java @@ -58,10 +58,15 @@ /**//**/ /**/ /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 17.0 and later. */ - @GlobalValue(symbol="AVCaptureDeviceTypeBuiltInMicrophone", optional=true) - public static native String BuiltInMicrophone(); + @GlobalValue(symbol="AVCaptureDeviceTypeExternal", optional=true) + public static native String External(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureDeviceTypeMicrophone", optional=true) + public static native String Microphone(); /** * @since Available in iOS 10.0 and later. */ @@ -102,6 +107,11 @@ */ @GlobalValue(symbol="AVCaptureDeviceTypeBuiltInLiDARDepthCamera", optional=true) public static native String BuiltInLiDARDepthCamera(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureDeviceTypeContinuityCamera", optional=true) + public static native String ContinuityCamera(); /** * @since Available in iOS 10.0 and later. * @deprecated Deprecated in iOS 10.2. Use AVCaptureDeviceTypeBuiltInDualCamera instead. @@ -109,5 +119,12 @@ @Deprecated @GlobalValue(symbol="AVCaptureDeviceTypeBuiltInDuoCamera", optional=true) public static native String BuiltInDuoCamera(); + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Use AVCaptureDeviceTypeMicrophone + */ + @Deprecated + @GlobalValue(symbol="AVCaptureDeviceTypeBuiltInMicrophone", optional=true) + public static native String BuiltInMicrophone(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegate.java index 188153c0a..83e362564 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegate.java @@ -71,6 +71,11 @@ */ @Method(selector = "captureOutput:didFinishProcessingPhoto:error:") void didFinishProcessingPhoto(AVCapturePhotoOutput output, AVCapturePhoto photo, NSError error); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "captureOutput:didFinishCapturingDeferredPhotoProxy:error:") + void didFinishCapturingDeferredPhotoProxy(AVCapturePhotoOutput output, AVCaptureDeferredPhotoProxy deferredPhotoProxy, NSError error); /** * @since Available in iOS 10.0 and later. * @deprecated Deprecated in iOS 11.0. Use -captureOutput:didFinishProcessingPhoto:error: diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegateAdapter.java index 0a4e28a5f..13e0c0b54 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoCaptureDelegateAdapter.java @@ -71,6 +71,11 @@ public void didCapturePhotoForResolvedSettings(AVCapturePhotoOutput output, AVCa */ @NotImplemented("captureOutput:didFinishProcessingPhoto:error:") public void didFinishProcessingPhoto(AVCapturePhotoOutput output, AVCapturePhoto photo, NSError error) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("captureOutput:didFinishCapturingDeferredPhotoProxy:error:") + public void didFinishCapturingDeferredPhotoProxy(AVCapturePhotoOutput output, AVCaptureDeferredPhotoProxy deferredPhotoProxy, NSError error) {} /** * @since Available in iOS 10.0 and later. * @deprecated Deprecated in iOS 11.0. Use -captureOutput:didFinishProcessingPhoto:error: diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutput.java index 2b126affe..1aa0b9825 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutput.java @@ -104,6 +104,41 @@ */ @Property(selector = "setMaxPhotoQualityPrioritization:") public native void setMaxPhotoQualityPrioritization(AVCapturePhotoQualityPrioritization v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isFastCapturePrioritizationSupported") + public native boolean isFastCapturePrioritizationSupported(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFastCapturePrioritizationSupported:") + public native void setFastCapturePrioritizationSupported(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isFastCapturePrioritizationEnabled") + public native boolean isFastCapturePrioritizationEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFastCapturePrioritizationEnabled:") + public native void setFastCapturePrioritizationEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isAutoDeferredPhotoDeliverySupported") + public native boolean isAutoDeferredPhotoDeliverySupported(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isAutoDeferredPhotoDeliveryEnabled") + public native boolean isAutoDeferredPhotoDeliveryEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAutoDeferredPhotoDeliveryEnabled:") + public native void setAutoDeferredPhotoDeliveryEnabled(boolean v); /** * @since Available in iOS 10.0 and later. * @deprecated Deprecated in iOS 13.0. Use maxPhotoQualityPrioritization @@ -256,6 +291,41 @@ */ @Property(selector = "setContentAwareDistortionCorrectionEnabled:") public native void setContentAwareDistortionCorrectionEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isZeroShutterLagSupported") + public native boolean isZeroShutterLagSupported(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isZeroShutterLagEnabled") + public native boolean isZeroShutterLagEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setZeroShutterLagEnabled:") + public native void setZeroShutterLagEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isResponsiveCaptureSupported") + public native boolean isResponsiveCaptureSupported(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isResponsiveCaptureEnabled") + public native boolean isResponsiveCaptureEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setResponsiveCaptureEnabled:") + public native void setResponsiveCaptureEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "captureReadiness") + public native AVCapturePhotoOutputCaptureReadiness getCaptureReadiness(); /** * @since Available in iOS 11.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputCaptureReadiness.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputCaptureReadiness.java new file mode 100644 index 000000000..07a3e40b3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputCaptureReadiness.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVCapturePhotoOutputCaptureReadiness/**/ implements ValuedEnum { + /**/ + SessionNotRunning(0L), + Ready(1L), + NotReadyMomentarily(2L), + NotReadyWaitingForCapture(3L), + NotReadyWaitingForProcessing(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVCapturePhotoOutputCaptureReadiness/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVCapturePhotoOutputCaptureReadiness/**/ valueOf(long n) { + for (/**/AVCapturePhotoOutputCaptureReadiness/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVCapturePhotoOutputCaptureReadiness/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinator.java new file mode 100644 index 000000000..f1e5393c5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinator.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVCapturePhotoOutputReadinessCoordinator/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVCapturePhotoOutputReadinessCoordinatorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVCapturePhotoOutputReadinessCoordinator.class); }/**/ + /**//**/ + /**/ + protected AVCapturePhotoOutputReadinessCoordinator() {} + protected AVCapturePhotoOutputReadinessCoordinator(Handle h, long handle) { super(h, handle); } + protected AVCapturePhotoOutputReadinessCoordinator(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPhotoOutput:") + public AVCapturePhotoOutputReadinessCoordinator(AVCapturePhotoOutput photoOutput) { super((SkipInit) null); initObject(init(photoOutput)); } + /**/ + /**/ + @Property(selector = "delegate") + public native AVCapturePhotoOutputReadinessCoordinatorDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(AVCapturePhotoOutputReadinessCoordinatorDelegate v); + @Property(selector = "captureReadiness") + public native AVCapturePhotoOutputCaptureReadiness getCaptureReadiness(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPhotoOutput:") + protected native @Pointer long init(AVCapturePhotoOutput photoOutput); + @Method(selector = "startTrackingCaptureRequestUsingPhotoSettings:") + public native void startTrackingCaptureRequestUsingPhotoSettings(AVCapturePhotoSettings settings); + @Method(selector = "stopTrackingCaptureRequestUsingPhotoSettingsUniqueID:") + public native void stopTrackingCaptureRequestUsingPhotoSettingsUniqueID(long settingsUniqueID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegate.java new file mode 100644 index 000000000..88a4efb83 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegate.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/AVCapturePhotoOutputReadinessCoordinatorDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "readinessCoordinator:captureReadinessDidChange:") + void captureReadinessDidChange(AVCapturePhotoOutputReadinessCoordinator coordinator, AVCapturePhotoOutputCaptureReadiness captureReadiness); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegateAdapter.java new file mode 100644 index 000000000..1a0e3b452 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCapturePhotoOutputReadinessCoordinatorDelegateAdapter.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/AVCapturePhotoOutputReadinessCoordinatorDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements AVCapturePhotoOutputReadinessCoordinatorDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("readinessCoordinator:captureReadinessDidChange:") + public void captureReadinessDidChange(AVCapturePhotoOutputReadinessCoordinator coordinator, AVCapturePhotoOutputCaptureReadiness captureReadiness) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionEffectState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionEffectState.java new file mode 100644 index 000000000..3980338d7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionEffectState.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVCaptureReactionEffectState/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVCaptureReactionEffectStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVCaptureReactionEffectState.class); }/**/ + /**//**/ + /**/ + public AVCaptureReactionEffectState() {} + protected AVCaptureReactionEffectState(Handle h, long handle) { super(h, handle); } + protected AVCaptureReactionEffectState(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "reactionType") + public native AVCaptureReactionType getReactionType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "startTime") + public native @ByVal CMTime getStartTime(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "endTime") + public native @ByVal CMTime getEndTime(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionType.java new file mode 100644 index 000000000..0cdea0583 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureReactionType.java @@ -0,0 +1,201 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/**/ +/**/@Library("AVFoundation") @StronglyLinked/**/ +@Marshaler(/**/AVCaptureReactionType/**/.Marshaler.class) +/**/public/**/ class /**/AVCaptureReactionType/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/AVCaptureReactionType/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static AVCaptureReactionType toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return AVCaptureReactionType.valueOf(o); + } + @MarshalsPointer + public static long toNative(AVCaptureReactionType o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(AVCaptureReactionType.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (AVCaptureReactionType o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType ThumbsUp = new AVCaptureReactionType("ThumbsUp"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType ThumbsDown = new AVCaptureReactionType("ThumbsDown"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Balloons = new AVCaptureReactionType("Balloons"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Heart = new AVCaptureReactionType("Heart"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Fireworks = new AVCaptureReactionType("Fireworks"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Rain = new AVCaptureReactionType("Rain"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Confetti = new AVCaptureReactionType("Confetti"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureReactionType Lasers = new AVCaptureReactionType("Lasers"); + /**/ + + private static /**/AVCaptureReactionType/**/[] values = new /**/AVCaptureReactionType/**/[] {/**/ThumbsUp, ThumbsDown, Balloons, Heart, Fireworks, Rain, Confetti, Lasers/**/}; + + /**/AVCaptureReactionType/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/AVCaptureReactionType/**/ valueOf(/**/NSString/**/ value) { + for (/**/AVCaptureReactionType/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/AVCaptureReactionType/**/.class.getName()); + } + + /**//**/ + + /**/@Library("AVFoundation") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeThumbsUp", optional=true) + public static native NSString ThumbsUp(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeThumbsDown", optional=true) + public static native NSString ThumbsDown(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeBalloons", optional=true) + public static native NSString Balloons(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeHeart", optional=true) + public static native NSString Heart(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeFireworks", optional=true) + public static native NSString Fireworks(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeRain", optional=true) + public static native NSString Rain(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeConfetti", optional=true) + public static native NSString Confetti(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVCaptureReactionTypeLasers", optional=true) + public static native NSString Lasers(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureResolvedPhotoSettings.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureResolvedPhotoSettings.java index 426263473..5a1555dde 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureResolvedPhotoSettings.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureResolvedPhotoSettings.java @@ -93,6 +93,11 @@ protected AVCaptureResolvedPhotoSettings() {} */ @Property(selector = "isRedEyeReductionEnabled") public native boolean isRedEyeReductionEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deferredPhotoProxyDimensions") + public native @ByVal CMVideoDimensions getDeferredPhotoProxyDimensions(); /** * @since Available in iOS 10.0 and later. * @deprecated Deprecated in iOS 13.0. Use photoProcessingTimeRange @@ -127,6 +132,11 @@ protected AVCaptureResolvedPhotoSettings() {} */ @Property(selector = "isContentAwareDistortionCorrectionEnabled") public native boolean isContentAwareDistortionCorrectionEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isFastCapturePrioritizationEnabled") + public native boolean isFastCapturePrioritizationEnabled(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureSystemPressureFactors.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureSystemPressureFactors.java index 819ced0a7..9553e2768 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureSystemPressureFactors.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureSystemPressureFactors.java @@ -54,6 +54,10 @@ public final class /**/AVCaptureSystemPressureFactors/**/ extends B public static final AVCaptureSystemPressureFactors SystemTemperature = new AVCaptureSystemPressureFactors(1L); public static final AVCaptureSystemPressureFactors PeakPower = new AVCaptureSystemPressureFactors(2L); public static final AVCaptureSystemPressureFactors DepthModuleTemperature = new AVCaptureSystemPressureFactors(4L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVCaptureSystemPressureFactors CameraTemperature = new AVCaptureSystemPressureFactors(8L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoDataOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoDataOutput.java index 567435e0d..d789d50cf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoDataOutput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoDataOutput.java @@ -142,6 +142,11 @@ public AVPixelBufferAttributes getRecommendedPixelBufferSettings(String outputFi */ @Method(selector = "recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:") public native NSDictionary getRecommendedVideoSettings(AVVideoCodecType videoCodecType, String outputFileType); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:outputFileURL:") + public native NSDictionary getRecommendedVideoSettings(AVVideoCodecType videoCodecType, String outputFileType, NSURL outputFileURL); @Method(selector = "new") protected static native @Pointer long create(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoOrientation.java index 874512bff..2144e21bf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoOrientation.java @@ -43,9 +43,11 @@ /**/ /**/ - +/** + * @deprecated Deprecated in iOS 17.0. Use AVCaptureDeviceRotationCoordinator instead + */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Deprecated/**/ public enum /**/AVCaptureVideoOrientation/**/ implements ValuedEnum { /**/ Portrait(1L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoStabilizationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoStabilizationMode.java index f597f3407..ddbc344ab 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoStabilizationMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVCaptureVideoStabilizationMode.java @@ -55,6 +55,10 @@ public enum /**/AVCaptureVideoStabilizationMode/**/ implements Valu * @since Available in iOS 13.0 and later. */ CinematicExtended(3L), + /** + * @since Available in iOS 17.0 and later. + */ + PreviewOptimized(4L), Auto(-1L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVErrorCode.java index db98ae05d..c7ff531b7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVErrorCode.java @@ -205,7 +205,15 @@ public enum /**/AVErrorCode/**/ implements NSErrorCode { /** * @since Available in iOS 16.0 and later. */ - AirPlayReceiverTemporarilyUnavailable(-11882L); + AirPlayReceiverTemporarilyUnavailable(-11882L), + /** + * @since Available in iOS 16.0 and later. + */ + EncodeFailed(-11883L), + /** + * @since Available in iOS 16.0 and later. + */ + SandboxExtensionDenied(-11884L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDevice.java new file mode 100644 index 000000000..fce5e85fa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDevice.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVExternalStorageDevice/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVExternalStorageDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVExternalStorageDevice.class); }/**/ + /**//**/ + /**/ + protected AVExternalStorageDevice() {} + protected AVExternalStorageDevice(Handle h, long handle) { super(h, handle); } + protected AVExternalStorageDevice(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "displayName") + public native String getDisplayName(); + @Property(selector = "freeSize") + public native @MachineSizedSInt long getFreeSize(); + @Property(selector = "totalSize") + public native @MachineSizedSInt long getTotalSize(); + @Property(selector = "isConnected") + public native boolean isConnected(); + @Property(selector = "uuid") + public native NSUUID getUuid(); + @Property(selector = "isNotRecommendedForCaptureUse") + public native boolean isNotRecommendedForCaptureUse(); + @Property(selector = "authorizationStatus") + public static native AVAuthorizationStatus getAuthorizationStatus(); + /**/ + /**//**/ + /**/ + public NSArray getNextAvailableURLs(NSArray extensionArray) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSArray result = getNextAvailableURLs(extensionArray, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "nextAvailableURLsWithPathExtensions:error:") + private native NSArray getNextAvailableURLs(NSArray extensionArray, NSError.NSErrorPtr outError); + @Method(selector = "requestAccessWithCompletionHandler:") + public static native void requestAccess(@Block VoidBooleanBlock handler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDeviceDiscoverySession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDeviceDiscoverySession.java new file mode 100644 index 000000000..b8eb7cf2b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVExternalStorageDeviceDiscoverySession.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVExternalStorageDeviceDiscoverySession/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class AVExternalStorageDeviceDiscoverySessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVExternalStorageDeviceDiscoverySession.class); }/**/ + /**//**/ + /**/ + protected AVExternalStorageDeviceDiscoverySession() {} + protected AVExternalStorageDeviceDiscoverySession(Handle h, long handle) { super(h, handle); } + protected AVExternalStorageDeviceDiscoverySession(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "sharedSession") + public static native AVExternalStorageDeviceDiscoverySession getSharedSession(); + @Property(selector = "externalStorageDevices") + public native NSArray getExternalStorageDevices(); + @Property(selector = "isSupported") + public static native boolean isSupported(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFileType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFileType.java index 0e9b00e6e..c428e88cb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFileType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFileType.java @@ -141,6 +141,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 11.0 and later. */ public static final AVFileType TIFF = new AVFileType("TIFF"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVFileType AHAP = new AVFileType("AHAP"); /** * @since Available in iOS 9.0 and later. */ @@ -159,7 +163,7 @@ public static long toNative(List l, long flags) { public static final AVFileType ProfileMPEG4CMAFCompliant = new AVFileType("ProfileMPEG4CMAFCompliant"); /**/ - private static /**/AVFileType/**/[] values = new /**/AVFileType/**/[] {/**/QuickTimeMovie, MPEG4, AppleM4V, AppleM4A, _3GPP, _3GPP2, CoreAudioFormat, WAVE, AIFF, AIFC, AMR, MPEGLayer3, SunAU, AC3, EnhancedAC3, JPEG, DNG, HEIC, AVCI, HEIF, TIFF, StreamingKeyDeliveryContentKey, StreamingKeyDeliveryPersistentContentKey, ProfileMPEG4AppleHLS, ProfileMPEG4CMAFCompliant/**/}; + private static /**/AVFileType/**/[] values = new /**/AVFileType/**/[] {/**/QuickTimeMovie, MPEG4, AppleM4V, AppleM4A, _3GPP, _3GPP2, CoreAudioFormat, WAVE, AIFF, AIFC, AMR, MPEGLayer3, SunAU, AC3, EnhancedAC3, JPEG, DNG, HEIC, AVCI, HEIF, TIFF, AHAP, StreamingKeyDeliveryContentKey, StreamingKeyDeliveryPersistentContentKey, ProfileMPEG4AppleHLS, ProfileMPEG4CMAFCompliant/**/}; /**/AVFileType/**/ (String getterName) { super(Values.class, getterName); @@ -245,6 +249,11 @@ public static class Values { */ @GlobalValue(symbol="AVFileTypeTIFF", optional=true) public static native NSString TIFF(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVFileTypeAHAP", optional=true) + public static native NSString AHAP(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFoundation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFoundation.java index 8de194a33..3809becc1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFoundation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVFoundation.java @@ -62,5 +62,10 @@ @Bridge(symbol="AVMakeRectWithAspectRatioInsideRect", optional=true) public static native @ByVal CGRect createRectWithAspectRatioInsideRect(@ByVal CGSize aspectRatio, @ByVal CGRect boundingRect); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="AVCaptureReactionSystemImageNameForType", optional=true) + public static native String function__AVCaptureReactionSystemImageNameForType(AVCaptureReactionType reactionType); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaCharacteristic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaCharacteristic.java index 1459924f1..9192e0d15 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaCharacteristic.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaCharacteristic.java @@ -124,6 +124,10 @@ public static long toNative(List l, long flags) { public static final AVMediaCharacteristic ContainsOnlyForcedSubtitles = new AVMediaCharacteristic("ContainsOnlyForcedSubtitles"); public static final AVMediaCharacteristic TranscribesSpokenDialogForAccessibility = new AVMediaCharacteristic("TranscribesSpokenDialogForAccessibility"); public static final AVMediaCharacteristic DescribesMusicAndSoundForAccessibility = new AVMediaCharacteristic("DescribesMusicAndSoundForAccessibility"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMediaCharacteristic EnhancesSpeechIntelligibility = new AVMediaCharacteristic("EnhancesSpeechIntelligibility"); public static final AVMediaCharacteristic EasyToRead = new AVMediaCharacteristic("EasyToRead"); public static final AVMediaCharacteristic DescribesVideoForAccessibility = new AVMediaCharacteristic("DescribesVideoForAccessibility"); /** @@ -138,9 +142,25 @@ public static long toNative(List l, long flags) { * @since Available in iOS 9.0 and later. */ public static final AVMediaCharacteristic VoiceOverTranslation = new AVMediaCharacteristic("VoiceOverTranslation"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMediaCharacteristic TactileMinimal = new AVMediaCharacteristic("TactileMinimal"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMediaCharacteristic ContainsStereoMultiviewVideo = new AVMediaCharacteristic("ContainsStereoMultiviewVideo"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMediaCharacteristic CarriesVideoStereoMetadata = new AVMediaCharacteristic("CarriesVideoStereoMetadata"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMediaCharacteristic IndicatesHorizontalFieldOfView = new AVMediaCharacteristic("IndicatesHorizontalFieldOfView"); /**/ - private static /**/AVMediaCharacteristic/**/[] values = new /**/AVMediaCharacteristic/**/[] {/**/Visual, Audible, Legible, FrameBased, UsesWideGamutColorSpace, ContainsHDRVideo, ContainsAlphaChannel, IsMainProgramContent, IsAuxiliaryContent, IsOriginalContent, ContainsOnlyForcedSubtitles, TranscribesSpokenDialogForAccessibility, DescribesMusicAndSoundForAccessibility, EasyToRead, DescribesVideoForAccessibility, LanguageTranslation, DubbedTranslation, VoiceOverTranslation/**/}; + private static /**/AVMediaCharacteristic/**/[] values = new /**/AVMediaCharacteristic/**/[] {/**/Visual, Audible, Legible, FrameBased, UsesWideGamutColorSpace, ContainsHDRVideo, ContainsAlphaChannel, IsMainProgramContent, IsAuxiliaryContent, IsOriginalContent, ContainsOnlyForcedSubtitles, TranscribesSpokenDialogForAccessibility, DescribesMusicAndSoundForAccessibility, EnhancesSpeechIntelligibility, EasyToRead, DescribesVideoForAccessibility, LanguageTranslation, DubbedTranslation, VoiceOverTranslation, TactileMinimal, ContainsStereoMultiviewVideo, CarriesVideoStereoMetadata, IndicatesHorizontalFieldOfView/**/}; /**/AVMediaCharacteristic/**/ (String getterName) { super(Values.class, getterName); @@ -201,6 +221,11 @@ public static class Values { public static native NSString TranscribesSpokenDialogForAccessibility(); @GlobalValue(symbol="AVMediaCharacteristicDescribesMusicAndSoundForAccessibility", optional=true) public static native NSString DescribesMusicAndSoundForAccessibility(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMediaCharacteristicEnhancesSpeechIntelligibility", optional=true) + public static native NSString EnhancesSpeechIntelligibility(); @GlobalValue(symbol="AVMediaCharacteristicEasyToRead", optional=true) public static native NSString EasyToRead(); @GlobalValue(symbol="AVMediaCharacteristicDescribesVideoForAccessibility", optional=true) @@ -220,6 +245,26 @@ public static class Values { */ @GlobalValue(symbol="AVMediaCharacteristicVoiceOverTranslation", optional=true) public static native NSString VoiceOverTranslation(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMediaCharacteristicTactileMinimal", optional=true) + public static native NSString TactileMinimal(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMediaCharacteristicContainsStereoMultiviewVideo", optional=true) + public static native NSString ContainsStereoMultiviewVideo(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMediaCharacteristicCarriesVideoStereoMetadata", optional=true) + public static native NSString CarriesVideoStereoMetadata(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMediaCharacteristicIndicatesHorizontalFieldOfView", optional=true) + public static native NSString IndicatesHorizontalFieldOfView(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaType.java index 84632a15e..d5d0bd764 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMediaType.java @@ -107,6 +107,10 @@ public static long toNative(List l, long flags) { public static final AVMediaType Timecode = new AVMediaType("Timecode"); public static final AVMediaType Metadata = new AVMediaType("Metadata"); public static final AVMediaType Muxed = new AVMediaType("Muxed"); + /** + * @since Available in iOS 10.0 and later. + */ + public static final AVMediaType Haptic = new AVMediaType("Haptic"); /** * @since Available in iOS 9.0 and later. */ @@ -117,7 +121,7 @@ public static long toNative(List l, long flags) { public static final AVMediaType DepthData = new AVMediaType("DepthData"); /**/ - private static /**/AVMediaType/**/[] values = new /**/AVMediaType/**/[] {/**/Video, Audio, Text, ClosedCaption, Subtitle, Timecode, Metadata, Muxed, MetadataObject, DepthData/**/}; + private static /**/AVMediaType/**/[] values = new /**/AVMediaType/**/[] {/**/Video, Audio, Text, ClosedCaption, Subtitle, Timecode, Metadata, Muxed, Haptic, MetadataObject, DepthData/**/}; /**/AVMediaType/**/ (String getterName) { super(Values.class, getterName); @@ -156,6 +160,11 @@ public static class Values { public static native NSString Metadata(); @GlobalValue(symbol="AVMediaTypeMuxed", optional=true) public static native NSString Muxed(); + /** + * @since Available in iOS 10.0 and later. + */ + @GlobalValue(symbol="AVMediaTypeHaptic", optional=true) + public static native NSString Haptic(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataHumanFullBodyObject.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataHumanFullBodyObject.java new file mode 100644 index 000000000..1bfe118b4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataHumanFullBodyObject.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVMetadataHumanFullBodyObject/**/ + extends /**/AVMetadataBodyObject/**/ + /**//**/ { + + /**/public static class AVMetadataHumanFullBodyObjectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVMetadataHumanFullBodyObject.class); }/**/ + /**//**/ + /**/ + protected AVMetadataHumanFullBodyObject() {} + protected AVMetadataHumanFullBodyObject(Handle h, long handle) { super(h, handle); } + protected AVMetadataHumanFullBodyObject(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataObjectType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataObjectType.java index 60531273a..78811e9fe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataObjectType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMetadataObjectType.java @@ -103,6 +103,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.0 and later. */ public static final AVMetadataObjectType HumanBody = new AVMetadataObjectType("HumanBody"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVMetadataObjectType HumanFullBody = new AVMetadataObjectType("HumanFullBody"); /** * @since Available in iOS 13.0 and later. */ @@ -155,7 +159,7 @@ public static long toNative(List l, long flags) { public static final AVMetadataObjectType MicroPDF417Code = new AVMetadataObjectType("MicroPDF417Code"); /**/ - private static /**/AVMetadataObjectType/**/[] values = new /**/AVMetadataObjectType/**/[] {/**/HumanBody, CatBody, DogBody, SalientObject, Face, UPCECode, Code39Code, Code39Mod43Code, EAN13Code, EAN8Code, Code93Code, Code128Code, PDF417Code, QRCode, AztecCode, Interleaved2of5Code, ITF14Code, DataMatrixCode, CodabarCode, GS1DataBarCode, GS1DataBarExpandedCode, GS1DataBarLimitedCode, MicroQRCode, MicroPDF417Code/**/}; + private static /**/AVMetadataObjectType/**/[] values = new /**/AVMetadataObjectType/**/[] {/**/HumanBody, HumanFullBody, CatBody, DogBody, SalientObject, Face, UPCECode, Code39Code, Code39Mod43Code, EAN13Code, EAN8Code, Code93Code, Code128Code, PDF417Code, QRCode, AztecCode, Interleaved2of5Code, ITF14Code, DataMatrixCode, CodabarCode, GS1DataBarCode, GS1DataBarExpandedCode, GS1DataBarLimitedCode, MicroQRCode, MicroPDF417Code/**/}; /**/AVMetadataObjectType/**/ (String getterName) { super(Values.class, getterName); @@ -192,6 +196,11 @@ public static class Values { */ @GlobalValue(symbol="AVMetadataObjectTypeHumanBody", optional=true) public static native NSString HumanBody(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVMetadataObjectTypeHumanFullBody", optional=true) + public static native NSString HumanFullBody(); /** * @since Available in iOS 13.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMutableVideoComposition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMutableVideoComposition.java index 161130f10..0605f1f6a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMutableVideoComposition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVMutableVideoComposition.java @@ -162,6 +162,16 @@ public AVMutableVideoComposition() {} */ @Property(selector = "setColorTransferFunction:") public native void setColorTransferFunction(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "perFrameHDRDisplayMetadataPolicy") + public native AVVideoCompositionPerFrameHDRDisplayMetadataPolicy getPerFrameHDRDisplayMetadataPolicy(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPerFrameHDRDisplayMetadataPolicy:") + public native void setPerFrameHDRDisplayMetadataPolicy(AVVideoCompositionPerFrameHDRDisplayMetadataPolicy v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVOutputSettingsPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVOutputSettingsPreset.java index 97f7ac2ba..d0bddf194 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVOutputSettingsPreset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVOutputSettingsPreset.java @@ -123,9 +123,17 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.0 and later. */ public static final AVOutputSettingsPreset SizeHEVC3840x2160WithAlpha = new AVOutputSettingsPreset("SizeHEVC3840x2160WithAlpha"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVOutputSettingsPreset SizeMVHEVC960x960 = new AVOutputSettingsPreset("SizeMVHEVC960x960"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVOutputSettingsPreset SizeMVHEVC1440x1440 = new AVOutputSettingsPreset("SizeMVHEVC1440x1440"); /**/ - private static /**/AVOutputSettingsPreset/**/[] values = new /**/AVOutputSettingsPreset/**/[] {/**/Size640x480, Size960x540, Size1280x720, Size1920x1080, Size3840x2160, SizeHEVC1920x1080, SizeHEVC1920x1080WithAlpha, SizeHEVC3840x2160, SizeHEVC3840x2160WithAlpha/**/}; + private static /**/AVOutputSettingsPreset/**/[] values = new /**/AVOutputSettingsPreset/**/[] {/**/Size640x480, Size960x540, Size1280x720, Size1920x1080, Size3840x2160, SizeHEVC1920x1080, SizeHEVC1920x1080WithAlpha, SizeHEVC3840x2160, SizeHEVC3840x2160WithAlpha, SizeMVHEVC960x960, SizeMVHEVC1440x1440/**/}; /**/AVOutputSettingsPreset/**/ (String getterName) { super(Values.class, getterName); @@ -181,6 +189,16 @@ public static class Values { */ @GlobalValue(symbol="AVOutputSettingsPresetHEVC3840x2160WithAlpha", optional=true) public static native NSString SizeHEVC3840x2160WithAlpha(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVOutputSettingsPresetMVHEVC960x960", optional=true) + public static native NSString SizeMVHEVC960x960(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVOutputSettingsPresetMVHEVC1440x1440", optional=true) + public static native NSString SizeMVHEVC1440x1440(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayer.java index b11efda67..213586bcc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayer.java @@ -256,6 +256,21 @@ public static class Keys { */ @GlobalValue(symbol="AVPlayerItemTimeJumpedOriginatingParticipantKey", optional=true) public static native String ItemTimeJumpedOriginatingParticipant(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChangeEventKey", optional=true) + public static native String InterstitialEventMonitorAssetListResponseStatusDidChangeEvent(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChangeStatusKey", optional=true) + public static native String InterstitialEventMonitorAssetListResponseStatusDidChangeStatus(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChangeErrorKey", optional=true) + public static native String InterstitialEventMonitorAssetListResponseStatusDidChangeError(); } @Library("AVFoundation") @@ -282,6 +297,11 @@ public static class Notifications { */ @GlobalValue(symbol="AVPlayerInterstitialEventMonitorCurrentEventDidChangeNotification", optional=true) public static native NSString InterstitialEventMonitorCurrentEventDidChange(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="AVPlayerInterstitialEventMonitorAssetListResponseStatusDidChangeNotification", optional=true) + public static native NSString InterstitialEventMonitorAssetListResponseStatusDidChange(); } @Method(selector = "initWithURL:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEvent.java index 551fc1713..6ba36652d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEvent.java @@ -119,6 +119,11 @@ protected AVPlayerInterstitialEvent() {} public native boolean isWillPlayOnce(); @Property(selector = "userDefinedAttributes") public native NSDictionary getUserDefinedAttributes(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "assetListResponse") + public native NSDictionary getAssetListResponse(); /** * @since Available in iOS 16.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEventAssetListResponseStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEventAssetListResponseStatus.java new file mode 100644 index 000000000..5df764118 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerInterstitialEventAssetListResponseStatus.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVPlayerInterstitialEventAssetListResponseStatus/**/ implements ValuedEnum { + /**/ + Available(0L), + Cleared(1L), + Unavailable(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVPlayerInterstitialEventAssetListResponseStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVPlayerInterstitialEventAssetListResponseStatus/**/ valueOf(long n) { + for (/**/AVPlayerInterstitialEventAssetListResponseStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVPlayerInterstitialEventAssetListResponseStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooper.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooper.java index 5d43afcfb..786030fae 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooper.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooper.java @@ -61,6 +61,11 @@ protected AVPlayerLooper() {} protected AVPlayerLooper(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithPlayer:templateItem:timeRange:") public AVPlayerLooper(AVQueuePlayer player, AVPlayerItem itemToLoop, @ByVal CMTimeRange loopRange) { super((SkipInit) null); initObject(init(player, itemToLoop, loopRange)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPlayer:templateItem:timeRange:existingItemsOrdering:") + public AVPlayerLooper(AVQueuePlayer player, AVPlayerItem itemToLoop, @ByVal CMTimeRange loopRange, AVPlayerLooperItemOrdering itemOrdering) { super((SkipInit) null); initObject(init(player, itemToLoop, loopRange, itemOrdering)); } public AVPlayerLooper(AVQueuePlayer player, AVPlayerItem itemToLoop) { super((Handle) null, create(player, itemToLoop)); retain(getHandle()); } /**/ /**/ @@ -77,6 +82,11 @@ protected AVPlayerLooper() {} /**/ @Method(selector = "initWithPlayer:templateItem:timeRange:") protected native @Pointer long init(AVQueuePlayer player, AVPlayerItem itemToLoop, @ByVal CMTimeRange loopRange); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPlayer:templateItem:timeRange:existingItemsOrdering:") + protected native @Pointer long init(AVQueuePlayer player, AVPlayerItem itemToLoop, @ByVal CMTimeRange loopRange, AVPlayerLooperItemOrdering itemOrdering); @Method(selector = "disableLooping") public native void disableLooping(); @Method(selector = "playerLooperWithPlayer:templateItem:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooperItemOrdering.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooperItemOrdering.java new file mode 100644 index 000000000..7015e35f5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVPlayerLooperItemOrdering.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/AVPlayerLooperItemOrdering/**/ implements ValuedEnum { + /**/ + LoopingItemsPrecedeExistingItems(0L), + LoopingItemsFollowExistingItems(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVPlayerLooperItemOrdering/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVPlayerLooperItemOrdering/**/ valueOf(long n) { + for (/**/AVPlayerLooperItemOrdering/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVPlayerLooperItemOrdering/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferDisplayLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferDisplayLayer.java index 97462ad97..9df4c9be8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferDisplayLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferDisplayLayer.java @@ -88,17 +88,44 @@ public AVSampleBufferDisplayLayer() {} public native AVLayerVideoGravity getVideoGravity(); @Property(selector = "setVideoGravity:") public native void setVideoGravity(AVLayerVideoGravity v); + /** + * @deprecated Use sampleBufferRenderer's timebase instead + */ + @Deprecated + @Property(selector = "timebase") + public native CMTimebase getTimebase(); + /** + * @deprecated Use sampleBufferRenderer's status instead + */ + @Deprecated @Property(selector = "status") public native AVQueuedSampleBufferRenderingStatus getStatus(); + /** + * @deprecated Use sampleBufferRenderer's error instead + */ + @Deprecated @Property(selector = "error") public native NSError getError(); /** * @since Available in iOS 14.0 and later. + * @deprecated Use sampleBufferRenderer's requiresFlushToResumeDecoding instead */ + @Deprecated @Property(selector = "requiresFlushToResumeDecoding") public native boolean requiresFlushToResumeDecoding(); + /** + * @deprecated Use sampleBufferRenderer's readyForMoreMediaData instead + */ + @Deprecated @Property(selector = "isReadyForMoreMediaData") public native boolean isReadyForMoreMediaData(); + /** + * @since Available in iOS 14.5 and later. + * @deprecated Use sampleBufferRenderer's hasSufficientMediaDataForReliablePlaybackStart instead + */ + @Deprecated + @Property(selector = "hasSufficientMediaDataForReliablePlaybackStart") + public native boolean hasSufficientMediaDataForReliablePlaybackStart(); /** * @since Available in iOS 13.0 and later. */ @@ -124,13 +151,11 @@ public AVSampleBufferDisplayLayer() {} */ @Property(selector = "outputObscuredDueToInsufficientExternalProtection") public native boolean isOutputObscuredDueToInsufficientExternalProtection(); - @Property(selector = "timebase") - public native CMTimebase getTimebase(); /** - * @since Available in iOS 14.5 and later. + * @since Available in iOS 17.0 and later. */ - @Property(selector = "hasSufficientMediaDataForReliablePlaybackStart") - public native boolean hasSufficientMediaDataForReliablePlaybackStart(); + @Property(selector = "sampleBufferRenderer") + public native AVSampleBufferVideoRenderer getSampleBufferRenderer(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ @@ -162,15 +187,35 @@ public AVSampleBufferDisplayLayer() {} public static native @MachineSizedFloat double cornerCurveExpansionFactor(CALayerCornerCurve curve); @Method(selector = "defaultActionForKey:") public static native CAAction getDefaultAction(String event); + /** + * @deprecated Use sampleBufferRenderer's enqueueSampleBuffer: instead + */ + @Deprecated @Method(selector = "enqueueSampleBuffer:") public native void enqueueSampleBuffer(CMSampleBuffer sampleBuffer); + /** + * @deprecated Use sampleBufferRenderer's flush instead + */ + @Deprecated @Method(selector = "flush") public native void flush(); + /** + * @deprecated Use sampleBufferRenderer's flushWithRemovalOfDisplayedImage:completionHandler: instead + */ + @Deprecated @Method(selector = "flushAndRemoveImage") public native void flushAndRemoveImage(); + /** + * @deprecated Use sampleBufferRenderer's requestMediaDataWhenReadyOnQueue:usingBlock: instead + */ + @Deprecated @WeaklyLinked @Method(selector = "requestMediaDataWhenReadyOnQueue:usingBlock:") public native void requestMediaDataWhenReadyOnQueue(DispatchQueue queue, @Block Runnable block); + /** + * @deprecated Use sampleBufferRenderer's stopRequestingMediaData instead + */ + @Deprecated @Method(selector = "stopRequestingMediaData") public native void stopRequestingMediaData(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferVideoRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferVideoRenderer.java new file mode 100644 index 000000000..8c750149f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSampleBufferVideoRenderer.java @@ -0,0 +1,120 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("AVFoundation") @NativeClass/**/ +/**/public/**/ class /**/AVSampleBufferVideoRenderer/**/ + extends /**/NSObject/**/ + /**/implements AVQueuedSampleBufferRendering/**/ { + + /**/public static class AVSampleBufferVideoRendererPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(AVSampleBufferVideoRenderer.class); }/**/ + /**//**/ + /**/ + public AVSampleBufferVideoRenderer() {} + protected AVSampleBufferVideoRenderer(Handle h, long handle) { super(h, handle); } + protected AVSampleBufferVideoRenderer(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "status") + public native AVQueuedSampleBufferRenderingStatus getStatus(); + @Property(selector = "error") + public native NSError getError(); + @Property(selector = "requiresFlushToResumeDecoding") + public native boolean requiresFlushToResumeDecoding(); + @Property(selector = "timebase") + public native CMTimebase getTimebase(); + @Property(selector = "isReadyForMoreMediaData") + public native boolean isReadyForMoreMediaData(); + /** + * @since Available in iOS 14.5 and later. + */ + @Property(selector = "hasSufficientMediaDataForReliablePlaybackStart") + public native boolean hasSufficientMediaDataForReliablePlaybackStart(); + /**/ + /**//**/ + /**/ + @Library("AVFoundation") + public static class Keys { + static { Bro.bind(Keys.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVSampleBufferVideoRendererDidFailToDecodeNotificationErrorKey", optional=true) + public static native NSString DidFailToDecodeNotificationError(); + } + + @Library("AVFoundation") + public static class Notifications { + static { Bro.bind(Notifications.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVSampleBufferVideoRendererDidFailToDecodeNotification", optional=true) + public static native NSString DidFailToDecode(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVSampleBufferVideoRendererRequiresFlushToResumeDecodingDidChangeNotification", optional=true) + public static native NSString RequiresFlushToResumeDecodingDidChange(); + } + + @Method(selector = "flushWithRemovalOfDisplayedImage:completionHandler:") + public native void flush(boolean removeDisplayedImage, @Block Runnable handler); + @Method(selector = "enqueueSampleBuffer:") + public native void enqueueSampleBuffer(CMSampleBuffer sampleBuffer); + @Method(selector = "flush") + public native void flush(); + @Method(selector = "requestMediaDataWhenReadyOnQueue:usingBlock:") + public native void requestMediaDataWhenReadyOnQueue(DispatchQueue queue, @Block Runnable block); + @Method(selector = "stopRequestingMediaData") + public native void stopRequestingMediaData(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarker.java index aa792e74e..3a5de149f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarker.java @@ -61,6 +61,51 @@ public AVSpeechSynthesisMarker() {} protected AVSpeechSynthesisMarker(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithMarkerType:forTextRange:atByteSampleOffset:") public AVSpeechSynthesisMarker(AVSpeechSynthesisMarkerMark type, @ByVal NSRange range, @MachineSizedUInt long byteSampleOffset) { super((SkipInit) null); initObject(init(type, range, byteSampleOffset)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithWordRange:atByteSampleOffset:") + public static AVSpeechSynthesisMarker createWithWordRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset) { + AVSpeechSynthesisMarker res = new AVSpeechSynthesisMarker((SkipInit) null); + res.initObject(res.initWithWordRange(range, byteSampleOffset)); + return res; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithSentenceRange:atByteSampleOffset:") + public static AVSpeechSynthesisMarker createWithSentenceRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset) { + AVSpeechSynthesisMarker res = new AVSpeechSynthesisMarker((SkipInit) null); + res.initObject(res.initWithSentenceRange(range, byteSampleOffset)); + return res; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithParagraphRange:atByteSampleOffset:") + public static AVSpeechSynthesisMarker createWithParagraphRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset) { + AVSpeechSynthesisMarker res = new AVSpeechSynthesisMarker((SkipInit) null); + res.initObject(res.initWithParagraphRange(range, byteSampleOffset)); + return res; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPhonemeString:atByteSampleOffset:") + public static AVSpeechSynthesisMarker createWithPhonemeString(String phoneme, @MachineSizedSInt long byteSampleOffset) { + AVSpeechSynthesisMarker res = new AVSpeechSynthesisMarker((SkipInit) null); + res.initObject(res.initWithPhonemeString(phoneme, byteSampleOffset)); + return res; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithBookmarkName:atByteSampleOffset:") + public static AVSpeechSynthesisMarker createWithBookmarkName(String mark, @MachineSizedSInt long byteSampleOffset) { + AVSpeechSynthesisMarker res = new AVSpeechSynthesisMarker((SkipInit) null); + res.initObject(res.initWithBookmarkName(mark, byteSampleOffset)); + return res; + } @Method(selector = "initWithCoder:") public AVSpeechSynthesisMarker(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ @@ -77,6 +122,26 @@ public AVSpeechSynthesisMarker() {} public native @ByVal NSRange getTextRange(); @Property(selector = "setTextRange:") public native void setTextRange(@ByVal NSRange v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "bookmarkName") + public native String getBookmarkName(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setBookmarkName:") + public native void setBookmarkName(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "phoneme") + public native String getPhoneme(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPhoneme:") + public native void setPhoneme(String v); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ @@ -84,6 +149,31 @@ public AVSpeechSynthesisMarker() {} /**/ @Method(selector = "initWithMarkerType:forTextRange:atByteSampleOffset:") protected native @Pointer long init(AVSpeechSynthesisMarkerMark type, @ByVal NSRange range, @MachineSizedUInt long byteSampleOffset); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithWordRange:atByteSampleOffset:") + protected native @Pointer long initWithWordRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithSentenceRange:atByteSampleOffset:") + protected native @Pointer long initWithSentenceRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithParagraphRange:atByteSampleOffset:") + protected native @Pointer long initWithParagraphRange(@ByVal NSRange range, @MachineSizedSInt long byteSampleOffset); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPhonemeString:atByteSampleOffset:") + protected native @Pointer long initWithPhonemeString(String phoneme, @MachineSizedSInt long byteSampleOffset); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithBookmarkName:atByteSampleOffset:") + protected native @Pointer long initWithBookmarkName(String mark, @MachineSizedSInt long byteSampleOffset); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarkerMark.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarkerMark.java index 278b31873..2ea488afd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarkerMark.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisMarkerMark.java @@ -53,7 +53,8 @@ public enum /**/AVSpeechSynthesisMarkerMark/**/ implements ValuedEn Phoneme(0L), Word(1L), Sentence(2L), - Paragraph(3L); + Paragraph(3L), + Bookmark(4L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisNotifications.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisNotifications.java new file mode 100644 index 000000000..f0bf5b11f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisNotifications.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/**/ +/**/@Library("AVFoundation")/**/ +/**/public/**/ class /**/AVSpeechSynthesisNotifications/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(AVSpeechSynthesisNotifications.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVSpeechSynthesisAvailableVoicesDidChangeNotification", optional=true) + public static native NSString AvailableVoicesDidChange(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVSpeechSynthesisAvailableVoicesDidChangeNotification", optional=true) + public static native void AvailableVoicesDidChange(NSString v); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisPersonalVoiceAuthorizationStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisPersonalVoiceAuthorizationStatus.java new file mode 100644 index 000000000..1f5e92090 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisPersonalVoiceAuthorizationStatus.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/AVSpeechSynthesisPersonalVoiceAuthorizationStatus/**/ implements ValuedEnum { + /**/ + NotDetermined(0L), + Denied(1L), + Unsupported(2L), + Authorized(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/AVSpeechSynthesisPersonalVoiceAuthorizationStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/AVSpeechSynthesisPersonalVoiceAuthorizationStatus/**/ valueOf(long n) { + for (/**/AVSpeechSynthesisPersonalVoiceAuthorizationStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/AVSpeechSynthesisPersonalVoiceAuthorizationStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoice.java index 7aef0522f..8752b97ae 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoice.java @@ -93,6 +93,11 @@ public AVSpeechSynthesisVoice() {} */ @Property(selector = "audioFileSettings") public native NSDictionary getAudioFileSettings(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "voiceTraits") + public native AVSpeechSynthesisVoiceTraits getVoiceTraits(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoiceTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoiceTraits.java new file mode 100644 index 000000000..e0c44b257 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesisVoiceTraits.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/AVSpeechSynthesisVoiceTraits/**/ extends Bits*/AVSpeechSynthesisVoiceTraits/**/> { + /**/ + public static final AVSpeechSynthesisVoiceTraits None = new AVSpeechSynthesisVoiceTraits(0L); + public static final AVSpeechSynthesisVoiceTraits IsNoveltyVoice = new AVSpeechSynthesisVoiceTraits(1L); + public static final AVSpeechSynthesisVoiceTraits IsPersonalVoice = new AVSpeechSynthesisVoiceTraits(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/AVSpeechSynthesisVoiceTraits/**/[] values = _values(/**/AVSpeechSynthesisVoiceTraits/**/.class); + + public /**/AVSpeechSynthesisVoiceTraits/**/(long value) { super(value); } + private /**/AVSpeechSynthesisVoiceTraits/**/(long value, long mask) { super(value, mask); } + protected /**/AVSpeechSynthesisVoiceTraits/**/ wrap(long value, long mask) { + return new /**/AVSpeechSynthesisVoiceTraits/**/(value, mask); + } + protected /**/AVSpeechSynthesisVoiceTraits/**/[] _values() { + return values; + } + public static /**/AVSpeechSynthesisVoiceTraits/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizer.java index 87a0ff7d2..1e180c87b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizer.java @@ -97,6 +97,11 @@ public AVSpeechSynthesizer() {} */ @Property(selector = "setMixToTelephonyUplink:") public native void setMixToTelephonyUplink(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "personalVoiceAuthorizationStatus") + public static native AVSpeechSynthesisPersonalVoiceAuthorizationStatus getPersonalVoiceAuthorizationStatus(); /**/ /**//**/ /**/ @@ -118,5 +123,10 @@ public AVSpeechSynthesizer() {} public native boolean pauseSpeaking(AVSpeechBoundary boundary); @Method(selector = "continueSpeaking") public native boolean continueSpeaking(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestPersonalVoiceAuthorizationWithCompletionHandler:") + public static native void requestPersonalVoiceAuthorization(@Block VoidBlock1 handler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegate.java index 3827b1f25..f442b65b3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegate.java @@ -70,6 +70,11 @@ void didCancelSpeechUtterance(AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance); @Method(selector = "speechSynthesizer:willSpeakRangeOfSpeechString:utterance:") void willSpeak(AVSpeechSynthesizer synthesizer, @ByVal NSRange characterRange, AVSpeechUtterance utterance); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "speechSynthesizer:willSpeakMarker:utterance:") + void willSpeakMarker(AVSpeechSynthesizer synthesizer, AVSpeechSynthesisMarker marker, AVSpeechUtterance utterance); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegateAdapter.java index 000c5ce93..b7792642d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVSpeechSynthesizerDelegateAdapter.java @@ -72,5 +72,10 @@ public void didContinueSpeechUtterance(AVSpeechSynthesizer synthesizer, AVSpeech public void didCancelSpeechUtterance(AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance) {} @NotImplemented("speechSynthesizer:willSpeakRangeOfSpeechString:utterance:") public void willSpeak(AVSpeechSynthesizer synthesizer, @ByVal NSRange characterRange, AVSpeechUtterance utterance) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("speechSynthesizer:willSpeakMarker:utterance:") + public void willSpeakMarker(AVSpeechSynthesizer synthesizer, AVSpeechSynthesisMarker marker, AVSpeechUtterance utterance) {} /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVURLAssetOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVURLAssetOptions.java index 71a9f028d..326ccd559 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVURLAssetOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVURLAssetOptions.java @@ -159,6 +159,11 @@ public static class Keys { static { Bro.bind(Keys.class); } @GlobalValue(symbol="AVURLAssetPreferPreciseDurationAndTimingKey", optional=true) public static native NSString PreferPreciseDurationAndTiming(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVURLAssetOverrideMIMETypeKey", optional=true) + public static native NSString OverrideMIMEType(); @GlobalValue(symbol="AVURLAssetReferenceRestrictionsKey", optional=true) public static native NSString ReferenceRestrictions(); @GlobalValue(symbol="AVURLAssetHTTPCookiesKey", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoComposition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoComposition.java index 38c1d1e8e..7c7513b37 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoComposition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoComposition.java @@ -116,6 +116,11 @@ public AVVideoComposition() {} */ @Property(selector = "colorTransferFunction") public native String getColorTransferFunction(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "perFrameHDRDisplayMetadataPolicy") + public native AVVideoCompositionPerFrameHDRDisplayMetadataPolicy getPerFrameHDRDisplayMetadataPolicy(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.java new file mode 100644 index 000000000..b867e5894 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avfoundation/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.java @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avfoundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.mediatoolbox.*; +import org.robovm.apple.audiotoolbox.*; +import org.robovm.apple.coremidi.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/**/ +/**/@Library("AVFoundation") @StronglyLinked/**/ +@Marshaler(/**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/.Marshaler.class) +/**/public/**/ class /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static AVVideoCompositionPerFrameHDRDisplayMetadataPolicy toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.valueOf(o); + } + @MarshalsPointer + public static long toNative(AVVideoCompositionPerFrameHDRDisplayMetadataPolicy o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (AVVideoCompositionPerFrameHDRDisplayMetadataPolicy o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVVideoCompositionPerFrameHDRDisplayMetadataPolicy Propagate = new AVVideoCompositionPerFrameHDRDisplayMetadataPolicy("Propagate"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVVideoCompositionPerFrameHDRDisplayMetadataPolicy Generate = new AVVideoCompositionPerFrameHDRDisplayMetadataPolicy("Generate"); + /**/ + + private static /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/[] values = new /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/[] {/**/Propagate, Generate/**/}; + + /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/ valueOf(/**/NSString/**/ value) { + for (/**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy/**/.class.getName()); + } + + /**//**/ + + /**/@Library("AVFoundation") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVVideoCompositionPerFrameHDRDisplayMetadataPolicyPropagate", optional=true) + public static native NSString Propagate(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="AVVideoCompositionPerFrameHDRDisplayMetadataPolicyGenerate", optional=true) + public static native NSString Generate(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewController.java index b698f28c8..8af281250 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewController.java @@ -106,6 +106,21 @@ public AVPlayerViewController() {} */ @Property(selector = "setAllowsVideoFrameAnalysis:") public native void setAllowsVideoFrameAnalysis(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "videoFrameAnalysisTypes") + public native AVVideoFrameAnalysisType getVideoFrameAnalysisTypes(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setVideoFrameAnalysisTypes:") + public native void setVideoFrameAnalysisTypes(AVVideoFrameAnalysisType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "toggleLookupAction") + public native UIAction getToggleLookupAction(); /** * @since Available in iOS 14.2 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegate.java index 3feb60651..84132cfb9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegate.java @@ -38,7 +38,9 @@ /**/ /**/ - +/** + * @since Available in iOS 9.0 and later. + */ /**/ /**//**/ /**/public/**/ interface /**/AVPlayerViewControllerDelegate/**/ @@ -68,18 +70,39 @@ */ @Method(selector = "playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:") void restoreUserInterfaceForFullScreenExit(AVPlayerViewController playerViewController, @Block VoidBooleanBlock completionHandler); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewControllerWillStartPictureInPicture:") void willStartPictureInPicture(AVPlayerViewController playerViewController); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewControllerDidStartPictureInPicture:") void didStartPictureInPicture(AVPlayerViewController playerViewController); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewController:failedToStartPictureInPictureWithError:") void failedToStartPictureInPicture(AVPlayerViewController playerViewController, NSError error); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewControllerWillStopPictureInPicture:") void willStopPictureInPicture(AVPlayerViewController playerViewController); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewControllerDidStopPictureInPicture:") void didStopPictureInPicture(AVPlayerViewController playerViewController); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:") boolean shouldAutomaticallyDismissAtPictureInPictureStart(AVPlayerViewController playerViewController); + /** + * @since Available in iOS 9.0 and later. + */ @Method(selector = "playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:") void restoreUserInterfaceForPictureInPictureStop(AVPlayerViewController playerViewController, @Block VoidBooleanBlock completionHandler); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegateAdapter.java index 3c75dfbf1..761be9268 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVPlayerViewControllerDelegateAdapter.java @@ -70,18 +70,39 @@ public void willEndFullScreenPresentation(AVPlayerViewController playerViewContr */ @NotImplemented("playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:") public void restoreUserInterfaceForFullScreenExit(AVPlayerViewController playerViewController, @Block VoidBooleanBlock completionHandler) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewControllerWillStartPictureInPicture:") public void willStartPictureInPicture(AVPlayerViewController playerViewController) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewControllerDidStartPictureInPicture:") public void didStartPictureInPicture(AVPlayerViewController playerViewController) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewController:failedToStartPictureInPictureWithError:") public void failedToStartPictureInPicture(AVPlayerViewController playerViewController, NSError error) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewControllerWillStopPictureInPicture:") public void willStopPictureInPicture(AVPlayerViewController playerViewController) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewControllerDidStopPictureInPicture:") public void didStopPictureInPicture(AVPlayerViewController playerViewController) {} + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:") public boolean shouldAutomaticallyDismissAtPictureInPictureStart(AVPlayerViewController playerViewController) { return false; } + /** + * @since Available in iOS 9.0 and later. + */ @NotImplemented("playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:") public void restoreUserInterfaceForPictureInPictureStop(AVPlayerViewController playerViewController, @Block VoidBooleanBlock completionHandler) {} /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerView.java index 379a6bc15..9f1f6a91a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerView.java @@ -64,8 +64,14 @@ public AVRoutePickerView() {} public native AVRoutePickerViewDelegate getDelegate(); @Property(selector = "setDelegate:", strongRef = true) public native void setDelegate(AVRoutePickerViewDelegate v); + /** + * @since Available in iOS 11.0 and later. + */ @Property(selector = "activeTintColor") public native UIColor getActiveTintColor(); + /** + * @since Available in iOS 11.0 and later. + */ @Property(selector = "setActiveTintColor:") public native void setActiveTintColor(UIColor v); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerViewDelegate.java index f58767eb6..05fc3838a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVRoutePickerViewDelegate.java @@ -38,7 +38,9 @@ /**/ /**/ - +/** + * @since Available in iOS 11.0 and later. + */ /**/ /**//**/ /**/public/**/ interface /**/AVRoutePickerViewDelegate/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVVideoFrameAnalysisType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVVideoFrameAnalysisType.java new file mode 100644 index 000000000..f4fafac84 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/avkit/AVVideoFrameAnalysisType.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.avkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iad.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.avrouting.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/AVVideoFrameAnalysisType/**/ extends Bits*/AVVideoFrameAnalysisType/**/> { + /**/ + public static final AVVideoFrameAnalysisType None = new AVVideoFrameAnalysisType(0L); + public static final AVVideoFrameAnalysisType Default = new AVVideoFrameAnalysisType(1L); + public static final AVVideoFrameAnalysisType Text = new AVVideoFrameAnalysisType(2L); + public static final AVVideoFrameAnalysisType Subject = new AVVideoFrameAnalysisType(4L); + public static final AVVideoFrameAnalysisType VisualSearch = new AVVideoFrameAnalysisType(8L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final AVVideoFrameAnalysisType MachineReadableCode = new AVVideoFrameAnalysisType(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/AVVideoFrameAnalysisType/**/[] values = _values(/**/AVVideoFrameAnalysisType/**/.class); + + public /**/AVVideoFrameAnalysisType/**/(long value) { super(value); } + private /**/AVVideoFrameAnalysisType/**/(long value, long mask) { super(value, mask); } + protected /**/AVVideoFrameAnalysisType/**/ wrap(long value, long mask) { + return new /**/AVVideoFrameAnalysisType/**/(value, mask); + } + protected /**/AVVideoFrameAnalysisType/**/[] _values() { + return values; + } + public static /**/AVVideoFrameAnalysisType/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAAppExtensionInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAAppExtensionInfo.java new file mode 100644 index 000000000..362572a00 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAAppExtensionInfo.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("BackgroundAssets") @NativeClass/**/ +/**/public/**/ class /**/BAAppExtensionInfo/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class BAAppExtensionInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BAAppExtensionInfo.class); }/**/ + /**//**/ + /**/ + protected BAAppExtensionInfo() {} + protected BAAppExtensionInfo(Handle h, long handle) { super(h, handle); } + protected BAAppExtensionInfo(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public BAAppExtensionInfo(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "restrictedDownloadSizeRemaining") + public native NSNumber getRestrictedDownloadSizeRemaining(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "restrictedEssentialDownloadSizeRemaining") + public native NSNumber getRestrictedEssentialDownloadSizeRemaining(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAContentRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAContentRequest.java new file mode 100644 index 000000000..d5d57b576 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAContentRequest.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/BAContentRequest/**/ implements ValuedEnum { + /**/ + Install(1L), + Update(2L), + Periodic(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/BAContentRequest/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/BAContentRequest/**/ valueOf(long n) { + for (/**/BAContentRequest/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/BAContentRequest/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownload.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownload.java new file mode 100644 index 000000000..422a5fa9f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownload.java @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("BackgroundAssets") @NativeClass/**/ +/**/public/**/ class /**/BADownload/**/ + extends /**/NSObject/**/ + /**/implements NSCoding, NSSecureCoding/**/ { + + /**/public static class BADownloadPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BADownload.class); }/**/ + /**//**/ + /**/ + protected BADownload() {} + protected BADownload(Handle h, long handle) { super(h, handle); } + protected BADownload(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public BADownload(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "state") + public native BADownloadState getState(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "identifier") + public native String getIdentifier(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "uniqueIdentifier") + public native String getUniqueIdentifier(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "priority") + public native @MachineSizedSInt long getPriority(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "isEssential") + public native boolean isEssential(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Library("BackgroundAssets") + public static class Priority { + static { Bro.bind(Priority.class); } + + /** + * @since Available in iOS 16.1 and later. + */ + @GlobalValue(symbol="BADownloaderPriorityMin", optional=true) + public static native @MachineSizedSInt long Min(); + /** + * @since Available in iOS 16.1 and later. + */ + @GlobalValue(symbol="BADownloaderPriorityDefault", optional=true) + public static native @MachineSizedSInt long Default(); + /** + * @since Available in iOS 16.1 and later. + */ + @GlobalValue(symbol="BADownloaderPriorityMax", optional=true) + public static native @MachineSizedSInt long Max(); + } + + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "copyAsNonEssential") + public native BADownload copyAsNonEssential(); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManager.java new file mode 100644 index 000000000..8e454df2c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManager.java @@ -0,0 +1,133 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("BackgroundAssets") @NativeClass/**/ +/**/public/**/ class /**/BADownloadManager/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class BADownloadManagerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BADownloadManager.class); }/**/ + /**//**/ + /**/ + protected BADownloadManager() {} + protected BADownloadManager(Handle h, long handle) { super(h, handle); } + protected BADownloadManager(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sharedManager") + public static native BADownloadManager getSharedManager(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "delegate") + public native BADownloadManagerDelegate getDelegate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(BADownloadManagerDelegate v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "fetchCurrentDownloads:") + public native NSArray fetchCurrentDownloads(NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "fetchCurrentDownloadsWithCompletionHandler:") + public native void fetchCurrentDownloads(@Block VoidBlock2, NSError> completionHandler); + /** + * @since Available in iOS 16.1 and later. + */ + public boolean scheduleDownload(BADownload download) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = scheduleDownload(download, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "scheduleDownload:error:") + private native boolean scheduleDownload(BADownload download, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "performWithExclusiveControl:") + public native void performWithExclusiveControl(@Block VoidBlock2 performHandler); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "performWithExclusiveControlBeforeDate:performHandler:") + public native void performWithExclusiveControl(NSDate date, @Block VoidBlock2 performHandler); + /** + * @since Available in iOS 16.1 and later. + */ + public boolean startForegroundDownload(BADownload download) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = startForegroundDownload(download, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "startForegroundDownload:error:") + private native boolean startForegroundDownload(BADownload download, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.1 and later. + */ + public boolean cancelDownload(BADownload download) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = cancelDownload(download, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "cancelDownload:error:") + private native boolean cancelDownload(BADownload download, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegate.java new file mode 100644 index 000000000..8628a94f3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegate.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/BADownloadManagerDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "downloadDidBegin:") + void downloadDidBegin(BADownload download); + @Method(selector = "downloadDidPause:") + void downloadDidPause(BADownload download); + @Method(selector = "download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:") + void didWriteBytes(BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes); + @Method(selector = "download:didReceiveChallenge:completionHandler:") + void didReceiveChallenge(BADownload download, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler); + @Method(selector = "download:failedWithError:") + void failed(BADownload download, NSError error); + @Method(selector = "download:finishedWithFileURL:") + void finished(BADownload download, NSURL fileURL); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegateAdapter.java new file mode 100644 index 000000000..21df6db7a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadManagerDelegateAdapter.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/BADownloadManagerDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements BADownloadManagerDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("downloadDidBegin:") + public void downloadDidBegin(BADownload download) {} + @NotImplemented("downloadDidPause:") + public void downloadDidPause(BADownload download) {} + @NotImplemented("download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:") + public void didWriteBytes(BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes) {} + @NotImplemented("download:didReceiveChallenge:completionHandler:") + public void didReceiveChallenge(BADownload download, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler) {} + @NotImplemented("download:failedWithError:") + public void failed(BADownload download, NSError error) {} + @NotImplemented("download:finishedWithFileURL:") + public void finished(BADownload download, NSURL fileURL) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadState.java new file mode 100644 index 000000000..18b0afaec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloadState.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/BADownloadState/**/ implements ValuedEnum { + /**/ + Failed(-1L), + Created(0L), + Waiting(1L), + Downloading(2L), + Finished(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/BADownloadState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/BADownloadState/**/ valueOf(long n) { + for (/**/BADownloadState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/BADownloadState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtension.java new file mode 100644 index 000000000..58b30387c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtension.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/BADownloaderExtension/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "downloadsForRequest:manifestURL:extensionInfo:") + NSSet getDownloads(BAContentRequest contentRequest, NSURL manifestURL, BAAppExtensionInfo extensionInfo); + @Method(selector = "backgroundDownload:didReceiveChallenge:completionHandler:") + void backgroundDownloadDidReceiveChallenge(BADownload download, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler); + @Method(selector = "backgroundDownload:failedWithError:") + void backgroundDownloadFailed(BADownload download, NSError error); + @Method(selector = "backgroundDownload:finishedWithFileURL:") + void backgroundDownloadFinished(BADownload download, NSURL fileURL); + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. extensionWillTerminate will not be invoked in all applicable circumstances and should not be relied upon. + */ + @Deprecated + @Method(selector = "extensionWillTerminate") + void extensionWillTerminate(); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtensionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtensionAdapter.java new file mode 100644 index 000000000..07e6eb062 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BADownloaderExtensionAdapter.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/BADownloaderExtensionAdapter/**/ + extends /**/NSObject/**/ + /**/implements BADownloaderExtension/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("downloadsForRequest:manifestURL:extensionInfo:") + public NSSet getDownloads(BAContentRequest contentRequest, NSURL manifestURL, BAAppExtensionInfo extensionInfo) { return null; } + @NotImplemented("backgroundDownload:didReceiveChallenge:completionHandler:") + public void backgroundDownloadDidReceiveChallenge(BADownload download, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler) {} + @NotImplemented("backgroundDownload:failedWithError:") + public void backgroundDownloadFailed(BADownload download, NSError error) {} + @NotImplemented("backgroundDownload:finishedWithFileURL:") + public void backgroundDownloadFinished(BADownload download, NSURL fileURL) {} + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. extensionWillTerminate will not be invoked in all applicable circumstances and should not be relied upon. + */ + @Deprecated + @NotImplemented("extensionWillTerminate") + public void extensionWillTerminate() {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAErrorCode.java new file mode 100644 index 000000000..62323f70e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAErrorCode.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("BackgroundAssets")/**/ +public enum /**/BAErrorCode/**/ implements NSErrorCode { + /**/ + DownloadInvalid(0L), + CallFromExtensionNotAllowed(50L), + CallFromInactiveProcessNotAllowed(51L), + CallerConnectionNotAccepted(55L), + CallerConnectionInvalid(56L), + DownloadAlreadyScheduled(100L), + DownloadNotScheduled(101L), + DownloadFailedToStart(102L), + DownloadAlreadyFailed(103L), + DownloadEssentialDownloadNotPermitted(109L), + DownloadBackgroundActivityProhibited(111L), + DownloadWouldExceedAllowance(112L), + SessionDownloadDisallowedByDomain(202L), + SessionDownloadDisallowedByAllowance(203L), + SessionDownloadAllowanceExceeded(204L), + SessionDownloadNotPermittedBeforeAppLaunch(206L); + /**/ + + /**/static { Bro.bind(BAErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="BAErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/BAErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/BAErrorCode/**/ valueOf(long n) { + for (/**/BAErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/BAErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/BAErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/BAErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAURLDownload.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAURLDownload.java new file mode 100644 index 000000000..cf210d451 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundassets/BAURLDownload.java @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundassets; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("BackgroundAssets") @NativeClass/**/ +/**/public/**/ class /**/BAURLDownload/**/ + extends /**/BADownload/**/ + /**//**/ { + + /**/public static class BAURLDownloadPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BAURLDownload.class); }/**/ + /**//**/ + /**/ + protected BAURLDownload() {} + protected BAURLDownload(Handle h, long handle) { super(h, handle); } + protected BAURLDownload(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIdentifier:request:fileSize:applicationGroupIdentifier:") + public BAURLDownload(String identifier, NSURLRequest request, @MachineSizedUInt long fileSize, String applicationGroupIdentifier) { super((SkipInit) null); initObject(init(identifier, request, fileSize, applicationGroupIdentifier)); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority:") + public BAURLDownload(String identifier, NSURLRequest request, boolean essential, @MachineSizedUInt long fileSize, String applicationGroupIdentifier, @MachineSizedSInt long priority) { super((SkipInit) null); initObject(init(identifier, request, essential, fileSize, applicationGroupIdentifier, priority)); } + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. Use initWithIdentifier:request:fileSize:applicationGroupIdentifier: + */ + @Deprecated + @Method(selector = "initWithIdentifier:request:applicationGroupIdentifier:") + public BAURLDownload(String identifier, NSURLRequest request, String applicationGroupIdentifier) { super((SkipInit) null); initObject(init(identifier, request, applicationGroupIdentifier)); } + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. Use initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority: + */ + @Deprecated + @Method(selector = "initWithIdentifier:request:applicationGroupIdentifier:priority:") + public BAURLDownload(String identifier, NSURLRequest request, String applicationGroupIdentifier, @MachineSizedSInt long priority) { super((SkipInit) null); initObject(init(identifier, request, applicationGroupIdentifier, priority)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIdentifier:request:fileSize:applicationGroupIdentifier:") + protected native @Pointer long init(String identifier, NSURLRequest request, @MachineSizedUInt long fileSize, String applicationGroupIdentifier); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority:") + protected native @Pointer long init(String identifier, NSURLRequest request, boolean essential, @MachineSizedUInt long fileSize, String applicationGroupIdentifier, @MachineSizedSInt long priority); + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. Use initWithIdentifier:request:fileSize:applicationGroupIdentifier: + */ + @Deprecated + @Method(selector = "initWithIdentifier:request:applicationGroupIdentifier:") + protected native @Pointer long init(String identifier, NSURLRequest request, String applicationGroupIdentifier); + /** + * @since Available in iOS 16.1 and later. + * @deprecated Deprecated in iOS 16.4. Use initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority: + */ + @Deprecated + @Method(selector = "initWithIdentifier:request:applicationGroupIdentifier:priority:") + protected native @Pointer long init(String identifier, NSURLRequest request, String applicationGroupIdentifier, @MachineSizedSInt long priority); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTask.java new file mode 100644 index 000000000..26c5f0361 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTask.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundtasks; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("BackgroundTasks") @NativeClass/**/ +/**/public/**/ class /**/BGHealthResearchTask/**/ + extends /**/BGProcessingTask/**/ + /**//**/ { + + /**/public static class BGHealthResearchTaskPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BGHealthResearchTask.class); }/**/ + /**//**/ + /**/ + protected BGHealthResearchTask() {} + protected BGHealthResearchTask(Handle h, long handle) { super(h, handle); } + protected BGHealthResearchTask(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTaskRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTaskRequest.java new file mode 100644 index 000000000..5c4691765 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/backgroundtasks/BGHealthResearchTaskRequest.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.backgroundtasks; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("BackgroundTasks") @NativeClass/**/ +/**/public/**/ class /**/BGHealthResearchTaskRequest/**/ + extends /**/BGProcessingTaskRequest/**/ + /**//**/ { + + /**/public static class BGHealthResearchTaskRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(BGHealthResearchTaskRequest.class); }/**/ + /**//**/ + /**/ + protected BGHealthResearchTaskRequest() {} + protected BGHealthResearchTaskRequest(Handle h, long handle) { super(h, handle); } + protected BGHealthResearchTaskRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithIdentifier:") + public BGHealthResearchTaskRequest(String identifier) { super(identifier); } + /**/ + /**/ + @Property(selector = "protectionTypeOfRequiredData") + public native String getProtectionTypeOfRequiredData(); + @Property(selector = "setProtectionTypeOfRequiredData:", strongRef = true) + public native void setProtectionTypeOfRequiredData(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/callkit/CXErrorCodeIncomingCallError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/callkit/CXErrorCodeIncomingCallError.java index 7454bf85e..4598897c1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/callkit/CXErrorCodeIncomingCallError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/callkit/CXErrorCodeIncomingCallError.java @@ -44,7 +44,8 @@ public enum /**/CXErrorCodeIncomingCallError/**/ implements NSError Unentitled(1L), CallUUIDAlreadyExists(2L), FilteredByDoNotDisturb(3L), - FilteredByBlockList(4L); + FilteredByBlockList(4L), + FilteredDuringRestrictedSharingMode(5L); /**/ /**/static { Bro.bind(CXErrorCodeIncomingCallError.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPInformationTemplate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPInformationTemplate.java index c199061f0..af59f4a9e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPInformationTemplate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPInformationTemplate.java @@ -42,7 +42,7 @@ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPInformationTemplate/**/ extends /**/CPTemplate/**/ - /**//**/ { + /**/implements CPBarButtonProviding/**/ { /**/public static class CPInformationTemplatePtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(CPInformationTemplate.class); }/**/ @@ -69,6 +69,18 @@ protected CPInformationTemplate() {} public native NSArray getActions(); @Property(selector = "setActions:") public native void setActions(NSArray v); + @Property(selector = "leadingNavigationBarButtons") + public native NSArray getLeadingNavigationBarButtons(); + @Property(selector = "setLeadingNavigationBarButtons:") + public native void setLeadingNavigationBarButtons(NSArray v); + @Property(selector = "trailingNavigationBarButtons") + public native NSArray getTrailingNavigationBarButtons(); + @Property(selector = "setTrailingNavigationBarButtons:") + public native void setTrailingNavigationBarButtons(NSArray v); + @Property(selector = "backButton") + public native CPBarButton getBackButton(); + @Property(selector = "setBackButton:") + public native void setBackButton(CPBarButton v); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingAddToLibraryButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingAddToLibraryButton.java index 0369e759c..57a0f2991 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingAddToLibraryButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingAddToLibraryButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingAddToLibraryButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingImageButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingImageButton.java index 7d2903311..77a830b8d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingImageButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingImageButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingImageButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingMoreButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingMoreButton.java index 19e3713c8..87cba178b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingMoreButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingMoreButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingMoreButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingPlaybackRateButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingPlaybackRateButton.java index 140d8411e..a4571ddb0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingPlaybackRateButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingPlaybackRateButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingPlaybackRateButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingRepeatButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingRepeatButton.java index db19162e0..6c4f793ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingRepeatButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingRepeatButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingRepeatButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingShuffleButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingShuffleButton.java index 8a0cf0cb6..e41396123 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingShuffleButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPNowPlayingShuffleButton.java @@ -35,7 +35,9 @@ /**/ /**/ - +/** + * @since Available in iOS 14.0 and later. + */ /**/ /**/@Library("CarPlay") @NativeClass/**/ /**/public/**/ class /**/CPNowPlayingShuffleButton/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPTabBarTemplate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPTabBarTemplate.java index c6d1b8c85..40f89d430 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPTabBarTemplate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/carplay/CPTabBarTemplate.java @@ -60,7 +60,7 @@ protected CPTabBarTemplate() {} @Property(selector = "setDelegate:", strongRef = true) public native void setDelegate(CPTabBarTemplateDelegate v); @Property(selector = "maximumTabCount") - public static native @MachineSizedUInt long getMaximumTabCount(); + public static native @MachineSizedSInt long getMaximumTabCount(); @Property(selector = "templates") public native NSArray getTemplates(); @Property(selector = "selectedTemplate") @@ -74,5 +74,15 @@ protected CPTabBarTemplate() {} protected native @Pointer long init(NSArray templates); @Method(selector = "updateTemplates:") public native void updateTemplates(NSArray newTemplates); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "selectTemplate:") + public native void selectTemplate(CPTemplate newTemplate); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "selectTemplateAtIndex:") + public native void selectTemplateAtIndex(@MachineSizedSInt long index); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNAssetInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNAssetInfo.java new file mode 100644 index 000000000..ba84cd6e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNAssetInfo.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNAssetInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNAssetInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNAssetInfo.class); }/**/ + /**//**/ + /**/ + protected CNAssetInfo() {} + protected CNAssetInfo(Handle h, long handle) { super(h, handle); } + protected CNAssetInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "asset") + public native AVAsset getAsset(); + @Property(selector = "allCinematicTracks") + public native NSArray getAllCinematicTracks(); + @Property(selector = "cinematicVideoTrack") + public native AVAssetTrack getCinematicVideoTrack(); + @Property(selector = "cinematicDisparityTrack") + public native AVAssetTrack getCinematicDisparityTrack(); + @Property(selector = "cinematicMetadataTrack") + public native AVAssetTrack getCinematicMetadataTrack(); + @Property(selector = "timeRange") + public native @ByVal CMTimeRange getTimeRange(); + @Property(selector = "naturalSize") + public native @ByVal CGSize getNaturalSize(); + @Property(selector = "preferredSize") + public native @ByVal CGSize getPreferredSize(); + @Property(selector = "preferredTransform") + public native @ByVal CGAffineTransform getPreferredTransform(); + @Property(selector = "frameTimingTrack") + public native AVAssetTrack getFrameTimingTrack(); + @Property(selector = "videoCompositionTracks") + public native NSArray getVideoCompositionTracks(); + @Property(selector = "videoCompositionTrackIDs") + public native NSArray getVideoCompositionTrackIDs(); + @Property(selector = "sampleDataTrackIDs") + public native NSArray getSampleDataTrackIDs(); + /**/ + /**//**/ + /**/ + @Method(selector = "checkIfCinematic:completionHandler:") + public static native void checkIfCinematic(AVAsset asset, @Block VoidBooleanBlock completionHandler); + @Method(selector = "loadFromAsset:completionHandler:") + public static native void load(AVAsset asset, @Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNBoundsPrediction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNBoundsPrediction.java new file mode 100644 index 000000000..3ec14b3ac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNBoundsPrediction.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNBoundsPrediction/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNBoundsPredictionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNBoundsPrediction.class); }/**/ + /**//**/ + /**/ + public CNBoundsPrediction() {} + protected CNBoundsPrediction(Handle h, long handle) { super(h, handle); } + protected CNBoundsPrediction(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "normalizedBounds") + public native @ByVal CGRect getNormalizedBounds(); + @Property(selector = "setNormalizedBounds:") + public native void setNormalizedBounds(@ByVal CGRect v); + @Property(selector = "confidence") + public native float getConfidence(); + @Property(selector = "setConfidence:") + public native void setConfidence(float v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCinematicErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCinematicErrorCode.java new file mode 100644 index 000000000..4ffdb6bb2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCinematicErrorCode.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("Cinematic")/**/ +public enum /**/CNCinematicErrorCode/**/ implements NSErrorCode { + /**/ + Unknown(1L), + Unreadable(2L), + Incomplete(3L), + Malformed(4L), + Unsupported(5L), + Incompatible(6L), + Cancelled(7L); + /**/ + + /**/static { Bro.bind(CNCinematicErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="CNCinematicErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/CNCinematicErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CNCinematicErrorCode/**/ valueOf(long n) { + for (/**/CNCinematicErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CNCinematicErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/CNCinematicErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/CNCinematicErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCompositionInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCompositionInfo.java new file mode 100644 index 000000000..53f98f294 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCompositionInfo.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNCompositionInfo/**/ + extends /**/CNAssetInfo/**/ + /**//**/ { + + /**/public static class CNCompositionInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNCompositionInfo.class); }/**/ + /**//**/ + /**/ + protected CNCompositionInfo() {} + protected CNCompositionInfo(Handle h, long handle) { super(h, handle); } + protected CNCompositionInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "insertTimeRange:ofCinematicAssetInfo:atTime:error:") + public native boolean insert(@ByVal CMTimeRange timeRange, CNAssetInfo assetInfo, @ByVal CMTime startTime, NSError.NSErrorPtr outError); + @Method(selector = "checkIfCinematic:completionHandler:") + public static native void checkIfCinematic(AVAsset asset, @Block VoidBooleanBlock completionHandler); + @Method(selector = "loadFromAsset:completionHandler:") + public static native void load(AVAsset asset, @Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCustomDetectionTrack.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCustomDetectionTrack.java new file mode 100644 index 000000000..79ddefccb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNCustomDetectionTrack.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNCustomDetectionTrack/**/ + extends /**/CNDetectionTrack/**/ + /**//**/ { + + /**/public static class CNCustomDetectionTrackPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNCustomDetectionTrack.class); }/**/ + /**//**/ + /**/ + protected CNCustomDetectionTrack() {} + protected CNCustomDetectionTrack(Handle h, long handle) { super(h, handle); } + protected CNCustomDetectionTrack(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDetections:smooth:") + public CNCustomDetectionTrack(NSArray detections, boolean applySmoothing) { super((SkipInit) null); initObject(init(detections, applySmoothing)); } + /**/ + /**/ + @Property(selector = "allDetections") + public native NSArray getAllDetections(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDetections:smooth:") + protected native @Pointer long init(NSArray detections, boolean applySmoothing); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDecision.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDecision.java new file mode 100644 index 000000000..339b5b8e4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDecision.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNDecision/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNDecisionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNDecision.class); }/**/ + /**//**/ + /**/ + protected CNDecision() {} + protected CNDecision(Handle h, long handle) { super(h, handle); } + protected CNDecision(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithTime:detectionID:strong:") + public CNDecision(@ByVal CMTime time, long detectionID, boolean isStrong) { super((SkipInit) null); initObject(init(time, detectionID, isStrong)); } + @Method(selector = "initWithTime:detectionGroupID:strong:") + public static CNDecision createUsingGroupID(@ByVal CMTime time, long detectionGroupID, boolean isStrong) { + CNDecision res = new CNDecision((SkipInit) null); + res.initObject(res.initWithTimeDetectionGroupID(time, detectionGroupID, isStrong)); + return res; + } + /**/ + /**/ + @Property(selector = "time") + public native @ByVal CMTime getTime(); + @Property(selector = "detectionID") + public native long getDetectionID(); + @Property(selector = "detectionGroupID") + public native long getDetectionGroupID(); + @Property(selector = "isUserDecision") + public native boolean isUserDecision(); + @Property(selector = "isGroupDecision") + public native boolean isGroupDecision(); + @Property(selector = "isStrongDecision") + public native boolean isStrongDecision(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithTime:detectionID:strong:") + protected native @Pointer long init(@ByVal CMTime time, long detectionID, boolean isStrong); + @Method(selector = "initWithTime:detectionGroupID:strong:") + protected native @Pointer long initWithTimeDetectionGroupID(@ByVal CMTime time, long detectionGroupID, boolean isStrong); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetection.java new file mode 100644 index 000000000..21928abe1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetection.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNDetection/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNDetectionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNDetection.class); }/**/ + /**//**/ + /**/ + protected CNDetection() {} + protected CNDetection(Handle h, long handle) { super(h, handle); } + protected CNDetection(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithTime:detectionType:normalizedRect:focusDisparity:") + public CNDetection(@ByVal CMTime time, CNDetectionType detectionType, @ByVal CGRect normalizedRect, float focusDisparity) { super((SkipInit) null); initObject(init(time, detectionType, normalizedRect, focusDisparity)); } + /**/ + /**/ + @Property(selector = "time") + public native @ByVal CMTime getTime(); + @Property(selector = "detectionType") + public native CNDetectionType getDetectionType(); + @Property(selector = "normalizedRect") + public native @ByVal CGRect getNormalizedRect(); + @Property(selector = "focusDisparity") + public native float getFocusDisparity(); + @Property(selector = "detectionID") + public native long getDetectionID(); + @Property(selector = "detectionGroupID") + public native long getDetectionGroupID(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithTime:detectionType:normalizedRect:focusDisparity:") + protected native @Pointer long init(@ByVal CMTime time, CNDetectionType detectionType, @ByVal CGRect normalizedRect, float focusDisparity); + @Method(selector = "isValidDetectionID:") + public static native boolean isValidDetectionID(long detectionID); + @Method(selector = "isValidDetectionGroupID:") + public static native boolean isValidDetectionGroupID(long detectionGroupID); + @Method(selector = "accessibilityLabelForDetectionType:") + public static native String accessibilityLabelForDetectionType(CNDetectionType detectionType); + @Method(selector = "disparityInNormalizedRect:sourceDisparity:detectionType:priorDisparity:") + public static native float disparity(@ByVal CGRect normalizedRect, CVPixelBuffer sourceDisparity, CNDetectionType detectionType, float priorDisparity); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionTrack.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionTrack.java new file mode 100644 index 000000000..c415fac20 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionTrack.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNDetectionTrack/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNDetectionTrackPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNDetectionTrack.class); }/**/ + /**//**/ + /**/ + protected CNDetectionTrack() {} + protected CNDetectionTrack(Handle h, long handle) { super(h, handle); } + protected CNDetectionTrack(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "detectionType") + public native CNDetectionType getDetectionType(); + @Property(selector = "detectionID") + public native long getDetectionID(); + @Property(selector = "detectionGroupID") + public native long getDetectionGroupID(); + @Property(selector = "isUserCreated") + public native boolean isUserCreated(); + @Property(selector = "isDiscrete") + public native boolean isDiscrete(); + /**/ + /**//**/ + /**/ + @Method(selector = "detectionAtOrBeforeTime:") + public native CNDetection detectionAtOrBeforeTime(@ByVal CMTime time); + @Method(selector = "detectionNearestTime:") + public native CNDetection detectionNearestTime(@ByVal CMTime time); + @Method(selector = "detectionsInTimeRange:") + public native NSArray detectionsInTimeRange(@ByVal CMTimeRange timeRange); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionType.java new file mode 100644 index 000000000..3aef569e8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNDetectionType.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CNDetectionType/**/ implements ValuedEnum { + /**/ + Unknown(0L), + HumanFace(1L), + HumanHead(2L), + HumanTorso(3L), + CatBody(4L), + DogBody(5L), + CatHead(9L), + DogHead(10L), + SportsBall(11L), + AutoFocus(100L), + FixedFocus(101L), + Custom(102L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CNDetectionType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CNDetectionType/**/ valueOf(long n) { + for (/**/CNDetectionType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CNDetectionType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNFixedDetectionTrack.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNFixedDetectionTrack.java new file mode 100644 index 000000000..32c8aa2e6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNFixedDetectionTrack.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNFixedDetectionTrack/**/ + extends /**/CNDetectionTrack/**/ + /**//**/ { + + /**/public static class CNFixedDetectionTrackPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNFixedDetectionTrack.class); }/**/ + /**//**/ + /**/ + protected CNFixedDetectionTrack() {} + protected CNFixedDetectionTrack(Handle h, long handle) { super(h, handle); } + protected CNFixedDetectionTrack(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithFocusDisparity:") + public CNFixedDetectionTrack(float focusDisparity) { super((SkipInit) null); initObject(init(focusDisparity)); } + @Method(selector = "initWithOriginalDetection:") + public CNFixedDetectionTrack(CNDetection originalDetection) { super((SkipInit) null); initObject(init(originalDetection)); } + /**/ + /**/ + @Property(selector = "focusDisparity") + public native float getFocusDisparity(); + @Property(selector = "originalDetection") + public native CNDetection getOriginalDetection(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithFocusDisparity:") + protected native @Pointer long init(float focusDisparity); + @Method(selector = "initWithOriginalDetection:") + protected native @Pointer long init(CNDetection originalDetection); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNObjectTracker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNObjectTracker.java new file mode 100644 index 000000000..b8f1bb32d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNObjectTracker.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNObjectTracker/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNObjectTrackerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNObjectTracker.class); }/**/ + /**//**/ + /**/ + protected CNObjectTracker() {} + protected CNObjectTracker(Handle h, long handle) { super(h, handle); } + protected CNObjectTracker(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCommandQueue:") + public CNObjectTracker(MTLCommandQueue commandQueue) { super((SkipInit) null); initObject(init(commandQueue)); } + /**/ + /**/ + @Property(selector = "isSupported") + public static native boolean isSupported(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCommandQueue:") + protected native @Pointer long init(MTLCommandQueue commandQueue); + @Method(selector = "findObjectAtPoint:sourceImage:") + public native CNBoundsPrediction findObject(@ByVal CGPoint point, CVPixelBuffer sourceImage); + @Method(selector = "startTrackingAt:within:sourceImage:sourceDisparity:") + public native boolean startTracking(@ByVal CMTime time, @ByVal CGRect normalizedBounds, CVPixelBuffer sourceImage, CVPixelBuffer sourceDisparity); + @Method(selector = "continueTrackingAt:sourceImage:sourceDisparity:") + public native CNBoundsPrediction continueTracking(@ByVal CMTime time, CVPixelBuffer sourceImage, CVPixelBuffer sourceDisparity); + @Method(selector = "finishDetectionTrack") + public native CNDetectionTrack finishDetectionTrack(); + @Method(selector = "resetDetectionTrack") + public native void resetDetectionTrack(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingQuality.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingQuality.java new file mode 100644 index 000000000..3df7eea86 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingQuality.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CNRenderingQuality/**/ implements ValuedEnum { + /**/ + Thumbnail(0L), + Preview(1L), + Export(2L), + ExportHigh(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CNRenderingQuality/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CNRenderingQuality/**/ valueOf(long n) { + for (/**/CNRenderingQuality/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CNRenderingQuality/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSession.java new file mode 100644 index 000000000..ededde07c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSession.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNRenderingSession/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNRenderingSessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNRenderingSession.class); }/**/ + /**//**/ + /**/ + protected CNRenderingSession() {} + protected CNRenderingSession(Handle h, long handle) { super(h, handle); } + protected CNRenderingSession(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCommandQueue:sessionAttributes:preferredTransform:quality:") + public CNRenderingSession(MTLCommandQueue commandQueue, CNRenderingSessionAttributes sessionAttributes, @ByVal CGAffineTransform preferredTransform, CNRenderingQuality quality) { super((SkipInit) null); initObject(init(commandQueue, sessionAttributes, preferredTransform, quality)); } + /**/ + /**/ + @Property(selector = "commandQueue") + public native MTLCommandQueue getCommandQueue(); + @Property(selector = "sessionAttributes") + public native CNRenderingSessionAttributes getSessionAttributes(); + @Property(selector = "preferredTransform") + public native @ByVal CGAffineTransform getPreferredTransform(); + @Property(selector = "quality") + public native CNRenderingQuality getQuality(); + @Property(selector = "sourcePixelFormatTypes") + public static native NSArray getSourcePixelFormatTypes(); + @Property(selector = "destinationPixelFormatTypes") + public static native NSArray getDestinationPixelFormatTypes(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCommandQueue:sessionAttributes:preferredTransform:quality:") + protected native @Pointer long init(MTLCommandQueue commandQueue, CNRenderingSessionAttributes sessionAttributes, @ByVal CGAffineTransform preferredTransform, CNRenderingQuality quality); + @Method(selector = "encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationImage:") + public native boolean encodeRender(MTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CVPixelBuffer sourceImage, CVPixelBuffer sourceDisparity, CVPixelBuffer destinationImage); + @Method(selector = "encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationRGBA:") + public native boolean encodeRender(MTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CVPixelBuffer sourceImage, CVPixelBuffer sourceDisparity, MTLTexture destinationRGBA); + @Method(selector = "encodeRenderToCommandBuffer:frameAttributes:sourceImage:sourceDisparity:destinationLuma:destinationChroma:") + public native boolean encodeRender(MTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CVPixelBuffer sourceImage, CVPixelBuffer sourceDisparity, MTLTexture destinationLuma, MTLTexture destinationChroma); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionAttributes.java new file mode 100644 index 000000000..56eea632b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionAttributes.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNRenderingSessionAttributes/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNRenderingSessionAttributesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNRenderingSessionAttributes.class); }/**/ + /**//**/ + /**/ + protected CNRenderingSessionAttributes() {} + protected CNRenderingSessionAttributes(Handle h, long handle) { super(h, handle); } + protected CNRenderingSessionAttributes(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "renderingVersion") + public native @MachineSizedSInt long getRenderingVersion(); + /**/ + /**//**/ + /**/ + @Method(selector = "loadFromAsset:completionHandler:") + public static native void load(AVAsset asset, @Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionFrameAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionFrameAttributes.java new file mode 100644 index 000000000..9a057b86e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNRenderingSessionFrameAttributes.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNRenderingSessionFrameAttributes/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNRenderingSessionFrameAttributesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNRenderingSessionFrameAttributes.class); }/**/ + /**//**/ + /**/ + protected CNRenderingSessionFrameAttributes() {} + protected CNRenderingSessionFrameAttributes(Handle h, long handle) { super(h, handle); } + protected CNRenderingSessionFrameAttributes(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSampleBuffer:sessionAttributes:") + public CNRenderingSessionFrameAttributes(CMSampleBuffer sampleBuffer, CNRenderingSessionAttributes sessionAttributes) { super((SkipInit) null); initObject(init(sampleBuffer, sessionAttributes)); } + @Method(selector = "initWithTimedMetadataGroup:sessionAttributes:") + public CNRenderingSessionFrameAttributes(AVTimedMetadataGroup metadataGroup, CNRenderingSessionAttributes sessionAttributes) { super((SkipInit) null); initObject(init(metadataGroup, sessionAttributes)); } + /**/ + /**/ + @Property(selector = "focusDisparity") + public native float getFocusDisparity(); + @Property(selector = "setFocusDisparity:") + public native void setFocusDisparity(float v); + @Property(selector = "fNumber") + public native float getFNumber(); + @Property(selector = "setFNumber:") + public native void setFNumber(float v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSampleBuffer:sessionAttributes:") + protected native @Pointer long init(CMSampleBuffer sampleBuffer, CNRenderingSessionAttributes sessionAttributes); + @Method(selector = "initWithTimedMetadataGroup:sessionAttributes:") + protected native @Pointer long init(AVTimedMetadataGroup metadataGroup, CNRenderingSessionAttributes sessionAttributes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScript.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScript.java new file mode 100644 index 000000000..dcef628e8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScript.java @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNScript/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNScriptPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNScript.class); }/**/ + /**//**/ + /**/ + protected CNScript() {} + protected CNScript(Handle h, long handle) { super(h, handle); } + protected CNScript(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timeRange") + public native @ByVal CMTimeRange getTimeRange(); + @Property(selector = "fNumber") + public native float getFNumber(); + @Property(selector = "setFNumber:") + public native void setFNumber(float v); + @Property(selector = "addedDetectionTracks") + public native NSArray getAddedDetectionTracks(); + /**/ + /**//**/ + /**/ + @Method(selector = "reloadWithChanges:") + public native void reload(CNScriptChanges changes); + @Method(selector = "changes") + public native CNScriptChanges changes(); + @Method(selector = "changesTrimmedByTimeRange:") + public native CNScriptChanges changesTrimmedByTimeRange(@ByVal CMTimeRange timeRange); + @Method(selector = "frameAtTime:tolerance:") + public native CNScriptFrame getFrame(@ByVal CMTime time, @ByVal CMTime tolerance); + @Method(selector = "framesInTimeRange:") + public native NSArray framesInTimeRange(@ByVal CMTimeRange timeRange); + @Method(selector = "decisionAtTime:tolerance:") + public native CNDecision getDecision(@ByVal CMTime time, @ByVal CMTime tolerance); + @Method(selector = "decisionsInTimeRange:") + public native NSArray decisionsInTimeRange(@ByVal CMTimeRange timeRange); + @Method(selector = "decisionAfterTime:") + public native CNDecision decisionAfterTime(@ByVal CMTime time); + @Method(selector = "decisionBeforeTime:") + public native CNDecision decisionBeforeTime(@ByVal CMTime time); + @Method(selector = "primaryDecisionAtTime:") + public native CNDecision primaryDecisionAtTime(@ByVal CMTime time); + @Method(selector = "secondaryDecisionAtTime:") + public native CNDecision secondaryDecisionAtTime(@ByVal CMTime time); + @Method(selector = "timeRangeOfTransitionAfterDecision:") + public native @ByVal CMTimeRange timeRangeOfTransitionAfterDecision(CNDecision decision); + @Method(selector = "timeRangeOfTransitionBeforeDecision:") + public native @ByVal CMTimeRange timeRangeOfTransitionBeforeDecision(CNDecision decision); + @Method(selector = "userDecisionsInTimeRange:") + public native NSArray userDecisionsInTimeRange(@ByVal CMTimeRange timeRange); + @Method(selector = "baseDecisionsInTimeRange:") + public native NSArray baseDecisionsInTimeRange(@ByVal CMTimeRange timeRange); + @Method(selector = "detectionTrackForID:") + public native CNDetectionTrack detectionTrackForID(long detectionID); + @Method(selector = "detectionTrackForDecision:") + public native CNDetectionTrack detectionTrackForDecision(CNDecision decision); + @Method(selector = "addUserDecision:") + public native boolean addUserDecision(CNDecision decision); + @Method(selector = "removeUserDecision:") + public native boolean removeUserDecision(CNDecision decision); + @Method(selector = "removeAllUserDecisions") + public native void removeAllUserDecisions(); + @Method(selector = "addDetectionTrack:") + public native long addDetectionTrack(CNDetectionTrack detectionTrack); + @Method(selector = "removeDetectionTrack:") + public native boolean removeDetectionTrack(CNDetectionTrack detectionTrack); + @Method(selector = "loadFromAsset:changes:progress:completionHandler:") + public static native void load(AVAsset asset, CNScriptChanges changes, NSProgress progress, @Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptChanges.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptChanges.java new file mode 100644 index 000000000..522f07127 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptChanges.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNScriptChanges/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNScriptChangesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNScriptChanges.class); }/**/ + /**//**/ + /**/ + protected CNScriptChanges() {} + protected CNScriptChanges(Handle h, long handle) { super(h, handle); } + protected CNScriptChanges(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDataRepresentation:") + public CNScriptChanges(NSData dataRepresentation) { super((SkipInit) null); initObject(init(dataRepresentation)); } + /**/ + /**/ + @Property(selector = "dataRepresentation") + public native NSData getDataRepresentation(); + @Property(selector = "fNumber") + public native float getFNumber(); + @Property(selector = "userDecisions") + public native NSArray getUserDecisions(); + @Property(selector = "addedDetectionTracks") + public native NSArray getAddedDetectionTracks(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDataRepresentation:") + protected native @Pointer long init(NSData dataRepresentation); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptFrame.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptFrame.java new file mode 100644 index 000000000..88915d936 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cinematic/CNScriptFrame.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cinematic; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Cinematic") @NativeClass/**/ +/**/public/**/ class /**/CNScriptFrame/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CNScriptFramePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CNScriptFrame.class); }/**/ + /**//**/ + /**/ + protected CNScriptFrame() {} + protected CNScriptFrame(Handle h, long handle) { super(h, handle); } + protected CNScriptFrame(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "time") + public native @ByVal CMTime getTime(); + @Property(selector = "focusDisparity") + public native float getFocusDisparity(); + @Property(selector = "focusDetection") + public native CNDetection getFocusDetection(); + @Property(selector = "allDetections") + public native NSArray getAllDetections(); + /**/ + /**//**/ + /**/ + @Method(selector = "detectionForID:") + public native CNDetection detectionForID(long detectionID); + @Method(selector = "bestDetectionForGroupID:") + public native CNDetection bestDetectionForGroupID(long detectionGroupID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissionStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissionStatus.java index ae72f8a01..1fcb7ab6c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissionStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissionStatus.java @@ -34,9 +34,11 @@ /**/ /**/ - +/** + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. + */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Deprecated/**/ public enum /**/CKApplicationPermissionStatus/**/ implements ValuedEnum { /**/ InitialState(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissions.java index 438eae26d..6631fa131 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKApplicationPermissions.java @@ -40,6 +40,10 @@ public final class /**/CKApplicationPermissions/**/ extends Bits*/CKApplicationPermissions/**/> { /**/ public static final CKApplicationPermissions None = new CKApplicationPermissions(0L); + /** + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. + */ + @Deprecated public static final CKApplicationPermissions UserDiscoverability = new CKApplicationPermissions(1L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKContainer.java index 6535c61bf..bf64c7dcc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKContainer.java @@ -109,30 +109,46 @@ protected CKContainer() {} public native CKDatabase getDatanase(CKDatabaseScope databaseScope); @Method(selector = "accountStatusWithCompletionHandler:") public native void getAccountStatus(@Block VoidBlock2 completionHandler); + /** + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. + */ + @Deprecated @Method(selector = "statusForApplicationPermission:completionHandler:") public native void getStatusForApplicationPermission(CKApplicationPermissions applicationPermission, @Block VoidBlock2 completionHandler); + /** + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. + */ + @Deprecated @Method(selector = "requestApplicationPermission:completionHandler:") public native void requestApplicationPermission(CKApplicationPermissions applicationPermission, @Block VoidBlock2 completionHandler); @Method(selector = "fetchUserRecordIDWithCompletionHandler:") public native void fetchUserRecordID(@Block VoidBlock2 completionHandler); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ + @Deprecated @Method(selector = "discoverAllIdentitiesWithCompletionHandler:") public native void discoverAllIdentities(@Block VoidBlock2, NSError> completionHandler); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ + @Deprecated @Method(selector = "discoverUserIdentityWithEmailAddress:completionHandler:") public native void discoverUserIdentityWithEmailAddress(String email, @Block VoidBlock2 completionHandler); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ + @Deprecated @Method(selector = "discoverUserIdentityWithPhoneNumber:completionHandler:") public native void discoverUserIdentityWithPhoneNumber(String phoneNumber, @Block VoidBlock2 completionHandler); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ + @Deprecated @Method(selector = "discoverUserIdentityWithUserRecordID:completionHandler:") public native void discoverUserIdentityWithUserRecordID(CKRecordID userRecordID, @Block VoidBlock2 completionHandler); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverAllUserIdentitiesOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverAllUserIdentitiesOperation.java index 7d653074a..b3ef75000 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverAllUserIdentitiesOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverAllUserIdentitiesOperation.java @@ -36,9 +36,10 @@ /**/ /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ /**/ -/**/@Library("CloudKit") @NativeClass/**/ +/**/@Library("CloudKit") @NativeClass @Deprecated/**/ /**/public/**/ class /**/CKDiscoverAllUserIdentitiesOperation/**/ extends /**/CKOperation/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverUserIdentitiesOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverUserIdentitiesOperation.java index 4b09fd92d..304ecaa7e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverUserIdentitiesOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKDiscoverUserIdentitiesOperation.java @@ -36,9 +36,10 @@ /**/ /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported. Please see Sharing CloudKit Data with Other iCloud Users. */ /**/ -/**/@Library("CloudKit") @NativeClass/**/ +/**/@Library("CloudKit") @NativeClass @Deprecated/**/ /**/public/**/ class /**/CKDiscoverUserIdentitiesOperation/**/ extends /**/CKOperation/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKNotification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKNotification.java index deaf9b98f..4c82f08d0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKNotification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKNotification.java @@ -64,10 +64,27 @@ protected CKNotification() {} public native CKRecordID getSubscriptionOwnerUserRecordID(); @Property(selector = "isPruned") public native boolean isPruned(); + /** + * @since Available in iOS 9.0 and later. + */ + @Property(selector = "subscriptionID") + public native String getSubscriptionID(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "alertBody") public native String getAlertBody(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "alertLocalizationKey") public native String getAlertLocalizationKey(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "alertLocalizationArgs") public native @org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List getAlertLocalizationArgs(); /** @@ -100,19 +117,30 @@ protected CKNotification() {} */ @Property(selector = "subtitleLocalizationArgs") public native NSArray getSubtitleLocalizationArgs(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "alertActionLocalizationKey") public native String getAlertActionLocalizationKey(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "alertLaunchImage") public native String getAlertLaunchImage(); + /** + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework + */ + @Deprecated @Property(selector = "badge") public native NSNumber getBadge(); - @Property(selector = "soundName") - public native String getSoundName(); /** - * @since Available in iOS 9.0 and later. + * @deprecated Deprecated in iOS 17.0. Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework */ - @Property(selector = "subscriptionID") - public native String getSubscriptionID(); + @Deprecated + @Property(selector = "soundName") + public native String getSoundName(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKQuerySubscription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKQuerySubscription.java index 560b33905..6dcb0e0a2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKQuerySubscription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKQuerySubscription.java @@ -50,6 +50,11 @@ protected CKQuerySubscription() {} protected CKQuerySubscription(Handle h, long handle) { super(h, handle); } protected CKQuerySubscription(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 10.0. Use initWithRecordType:predicate:subscriptionID:options: + */ + @Deprecated @Method(selector = "initWithRecordType:predicate:options:") public CKQuerySubscription(String recordType, NSPredicate predicate, CKQuerySubscriptionOptions querySubscriptionOptions) { super((SkipInit) null); initObject(init(recordType, predicate, querySubscriptionOptions)); } @Method(selector = "initWithRecordType:predicate:subscriptionID:options:") @@ -73,6 +78,11 @@ protected CKQuerySubscription() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 10.0. Use initWithRecordType:predicate:subscriptionID:options: + */ + @Deprecated @Method(selector = "initWithRecordType:predicate:options:") protected native @Pointer long init(String recordType, NSPredicate predicate, CKQuerySubscriptionOptions querySubscriptionOptions); @Method(selector = "initWithRecordType:predicate:subscriptionID:options:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecord.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecord.java index e15a08ec7..53213ff1b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecord.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecord.java @@ -131,6 +131,16 @@ public void put(String key, List object) { put(NSArray.fromStrings(object), key); } /**/ + @GlobalValue(symbol="CKRecordRecordIDKey", optional=true) + public static native String RecordIDKey(); + @GlobalValue(symbol="CKRecordCreatorUserRecordIDKey", optional=true) + public static native String CreatorUserRecordIDKey(); + @GlobalValue(symbol="CKRecordCreationDateKey", optional=true) + public static native String CreationDateKey(); + @GlobalValue(symbol="CKRecordLastModifiedUserRecordIDKey", optional=true) + public static native String LastModifiedUserRecordIDKey(); + @GlobalValue(symbol="CKRecordModificationDateKey", optional=true) + public static native String ModificationDateKey(); /** * @since Available in iOS 10.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecordZoneSubscription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecordZoneSubscription.java index cb9b71e54..f348f9bad 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecordZoneSubscription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKRecordZoneSubscription.java @@ -50,6 +50,11 @@ protected CKRecordZoneSubscription() {} protected CKRecordZoneSubscription(Handle h, long handle) { super(h, handle); } protected CKRecordZoneSubscription(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 10.0. Use initWithZoneID:subscriptionID: + */ + @Deprecated @Method(selector = "initWithZoneID:") public CKRecordZoneSubscription(CKRecordZoneID zoneID) { super((SkipInit) null); initObject(init(zoneID)); } @Method(selector = "initWithZoneID:subscriptionID:") @@ -69,6 +74,11 @@ protected CKRecordZoneSubscription() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 10.0. Use initWithZoneID:subscriptionID: + */ + @Deprecated @Method(selector = "initWithZoneID:") protected native @Pointer long init(CKRecordZoneID zoneID); @Method(selector = "initWithZoneID:subscriptionID:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKShareMetadata.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKShareMetadata.java index bd2c022c9..60cf82b43 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKShareMetadata.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKShareMetadata.java @@ -47,7 +47,7 @@ /**/static { ObjCRuntime.bind(CKShareMetadata.class); }/**/ /**//**/ /**/ - public CKShareMetadata() {} + protected CKShareMetadata() {} protected CKShareMetadata(Handle h, long handle) { super(h, handle); } protected CKShareMetadata(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngine.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngine.java new file mode 100644 index 000000000..7e1830093 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngine.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngine/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEnginePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngine.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngine() {} + protected CKSyncEngine(Handle h, long handle) { super(h, handle); } + protected CKSyncEngine(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithConfiguration:") + public CKSyncEngine(CKSyncEngineConfiguration configuration) { super((SkipInit) null); initObject(init(configuration)); } + /**/ + /**/ + @Property(selector = "database") + public native CKDatabase getDatabase(); + @Property(selector = "state") + public native CKSyncEngineState getState(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithConfiguration:") + protected native @Pointer long init(CKSyncEngineConfiguration configuration); + @Method(selector = "fetchChangesWithCompletionHandler:") + public native void fetchChanges(@Block VoidBlock1 completionHandler); + @Method(selector = "fetchChangesWithOptions:completionHandler:") + public native void fetchChanges(CKSyncEngineFetchChangesOptions options, @Block VoidBlock1 completionHandler); + @Method(selector = "sendChangesWithCompletionHandler:") + public native void sendChanges(@Block VoidBlock1 completionHandler); + @Method(selector = "sendChangesWithOptions:completionHandler:") + public native void sendChanges(CKSyncEngineSendChangesOptions options, @Block VoidBlock1 completionHandler); + @Method(selector = "cancelOperationsWithCompletionHandler:") + public native void cancelOperations(@Block Runnable completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeEvent.java new file mode 100644 index 000000000..f45aa0b4a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeEvent.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineAccountChangeEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineAccountChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineAccountChangeEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineAccountChangeEvent() {} + protected CKSyncEngineAccountChangeEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineAccountChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "changeType") + public native CKSyncEngineAccountChangeType getChangeType(); + @Property(selector = "previousUser") + public native CKRecordID getPreviousUser(); + @Property(selector = "currentUser") + public native CKRecordID getCurrentUser(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeType.java new file mode 100644 index 000000000..6fbd89ee8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineAccountChangeType.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEngineAccountChangeType/**/ implements ValuedEnum { + /**/ + SignIn(0L), + SignOut(1L), + SwitchAccounts(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEngineAccountChangeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEngineAccountChangeType/**/ valueOf(long n) { + for (/**/CKSyncEngineAccountChangeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEngineAccountChangeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineConfiguration.java new file mode 100644 index 000000000..212dc8d4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineConfiguration.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineConfiguration.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineConfiguration() {} + protected CKSyncEngineConfiguration(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineConfiguration(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDatabase:stateSerialization:delegate:") + public CKSyncEngineConfiguration(CKDatabase database, CKSyncEngineStateSerialization stateSerialization, CKSyncEngineDelegate delegate) { super((SkipInit) null); initObject(init(database, stateSerialization, delegate)); } + /**/ + /**/ + @Property(selector = "database") + public native CKDatabase getDatabase(); + @Property(selector = "setDatabase:") + public native void setDatabase(CKDatabase v); + @Property(selector = "stateSerialization") + public native CKSyncEngineStateSerialization getStateSerialization(); + @Property(selector = "setStateSerialization:") + public native void setStateSerialization(CKSyncEngineStateSerialization v); + @Property(selector = "delegate") + public native CKSyncEngineDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(CKSyncEngineDelegate v); + @Property(selector = "automaticallySync") + public native boolean automaticallySync(); + @Property(selector = "setAutomaticallySync:") + public native void setAutomaticallySync(boolean v); + @Property(selector = "subscriptionID") + public native String getSubscriptionID(); + @Property(selector = "setSubscriptionID:") + public native void setSubscriptionID(String v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDatabase:stateSerialization:delegate:") + protected native @Pointer long init(CKDatabase database, CKSyncEngineStateSerialization stateSerialization, CKSyncEngineDelegate delegate); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegate.java new file mode 100644 index 000000000..0ff248ea8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegate.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/CKSyncEngineDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "syncEngine:handleEvent:") + void handleEvent(CKSyncEngine syncEngine, CKSyncEngineEvent event); + @Method(selector = "syncEngine:nextRecordZoneChangeBatchForContext:") + CKSyncEngineRecordZoneChangeBatch nextRecordZoneChangeBatch(CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context); + @Method(selector = "syncEngine:nextFetchChangesOptionsForContext:") + CKSyncEngineFetchChangesOptions nextFetchChangesOptions(CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegateAdapter.java new file mode 100644 index 000000000..7af88b69c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDelegateAdapter.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/CKSyncEngineDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements CKSyncEngineDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("syncEngine:handleEvent:") + public void handleEvent(CKSyncEngine syncEngine, CKSyncEngineEvent event) {} + @NotImplemented("syncEngine:nextRecordZoneChangeBatchForContext:") + public CKSyncEngineRecordZoneChangeBatch nextRecordZoneChangeBatch(CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context) { return null; } + @NotImplemented("syncEngine:nextFetchChangesOptionsForContext:") + public CKSyncEngineFetchChangesOptions nextFetchChangesOptions(CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchChangesEvent.java new file mode 100644 index 000000000..a73cf4ce1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchChangesEvent.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineDidFetchChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineDidFetchChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineDidFetchChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineDidFetchChangesEvent() {} + protected CKSyncEngineDidFetchChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineDidFetchChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchRecordZoneChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchRecordZoneChangesEvent.java new file mode 100644 index 000000000..0756672c0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidFetchRecordZoneChangesEvent.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineDidFetchRecordZoneChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineDidFetchRecordZoneChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineDidFetchRecordZoneChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineDidFetchRecordZoneChangesEvent() {} + protected CKSyncEngineDidFetchRecordZoneChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineDidFetchRecordZoneChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "zoneID") + public native CKRecordZoneID getZoneID(); + @Property(selector = "error") + public native NSError getError(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidSendChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidSendChangesEvent.java new file mode 100644 index 000000000..b2c0e4541 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineDidSendChangesEvent.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineDidSendChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineDidSendChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineDidSendChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineDidSendChangesEvent() {} + protected CKSyncEngineDidSendChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineDidSendChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "context") + public native CKSyncEngineSendChangesContext getContext(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEvent.java new file mode 100644 index 000000000..93cc3350f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEvent.java @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineEvent() {} + protected CKSyncEngineEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "type") + public native CKSyncEngineEventType getType(); + @Property(selector = "stateUpdateEvent") + public native CKSyncEngineStateUpdateEvent getStateUpdateEvent(); + @Property(selector = "accountChangeEvent") + public native CKSyncEngineAccountChangeEvent getAccountChangeEvent(); + @Property(selector = "fetchedDatabaseChangesEvent") + public native CKSyncEngineFetchedDatabaseChangesEvent getFetchedDatabaseChangesEvent(); + @Property(selector = "fetchedRecordZoneChangesEvent") + public native CKSyncEngineFetchedRecordZoneChangesEvent getFetchedRecordZoneChangesEvent(); + @Property(selector = "sentDatabaseChangesEvent") + public native CKSyncEngineSentDatabaseChangesEvent getSentDatabaseChangesEvent(); + @Property(selector = "sentRecordZoneChangesEvent") + public native CKSyncEngineSentRecordZoneChangesEvent getSentRecordZoneChangesEvent(); + @Property(selector = "willFetchChangesEvent") + public native CKSyncEngineWillFetchChangesEvent getWillFetchChangesEvent(); + @Property(selector = "willFetchRecordZoneChangesEvent") + public native CKSyncEngineWillFetchRecordZoneChangesEvent getWillFetchRecordZoneChangesEvent(); + @Property(selector = "didFetchRecordZoneChangesEvent") + public native CKSyncEngineDidFetchRecordZoneChangesEvent getDidFetchRecordZoneChangesEvent(); + @Property(selector = "didFetchChangesEvent") + public native CKSyncEngineDidFetchChangesEvent getDidFetchChangesEvent(); + @Property(selector = "willSendChangesEvent") + public native CKSyncEngineWillSendChangesEvent getWillSendChangesEvent(); + @Property(selector = "didSendChangesEvent") + public native CKSyncEngineDidSendChangesEvent getDidSendChangesEvent(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEventType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEventType.java new file mode 100644 index 000000000..f2c47c171 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineEventType.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEngineEventType/**/ implements ValuedEnum { + /**/ + StateUpdate(0L), + AccountChange(1L), + FetchedDatabaseChanges(2L), + FetchedRecordZoneChanges(3L), + SentDatabaseChanges(4L), + SentRecordZoneChanges(5L), + WillFetchChanges(6L), + WillFetchRecordZoneChanges(7L), + DidFetchRecordZoneChanges(8L), + DidFetchChanges(9L), + WillSendChanges(10L), + DidSendChanges(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEngineEventType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEngineEventType/**/ valueOf(long n) { + for (/**/CKSyncEngineEventType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEngineEventType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedRecordSave.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedRecordSave.java new file mode 100644 index 000000000..67611ba48 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedRecordSave.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFailedRecordSave/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFailedRecordSavePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFailedRecordSave.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFailedRecordSave() {} + protected CKSyncEngineFailedRecordSave(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFailedRecordSave(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "record") + public native CKRecord getRecord(); + @Property(selector = "error") + public native NSError getError(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedZoneSave.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedZoneSave.java new file mode 100644 index 000000000..b51ec50e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFailedZoneSave.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFailedZoneSave/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFailedZoneSavePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFailedZoneSave.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFailedZoneSave() {} + protected CKSyncEngineFailedZoneSave(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFailedZoneSave(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "recordZone") + public native CKRecordZone getRecordZone(); + @Property(selector = "error") + public native NSError getError(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesContext.java new file mode 100644 index 000000000..f9df05284 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesContext.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchChangesContext/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchChangesContextPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchChangesContext.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFetchChangesContext() {} + protected CKSyncEngineFetchChangesContext(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchChangesContext(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "reason") + public native CKSyncEngineSyncReason getReason(); + @Property(selector = "options") + public native CKSyncEngineFetchChangesOptions getOptions(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesOptions.java new file mode 100644 index 000000000..7ce7ed297 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesOptions.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchChangesOptions/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchChangesOptionsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchChangesOptions.class); }/**/ + /**//**/ + /**/ + public CKSyncEngineFetchChangesOptions() {} + protected CKSyncEngineFetchChangesOptions(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchChangesOptions(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithScope:") + public CKSyncEngineFetchChangesOptions(CKSyncEngineFetchChangesScope scope) { super((SkipInit) null); initObject(init(scope)); } + /**/ + /**/ + @Property(selector = "scope") + public native CKSyncEngineFetchChangesScope getScope(); + @Property(selector = "setScope:") + public native void setScope(CKSyncEngineFetchChangesScope v); + @Property(selector = "operationGroup") + public native CKOperationGroup getOperationGroup(); + @Property(selector = "setOperationGroup:") + public native void setOperationGroup(CKOperationGroup v); + @Property(selector = "prioritizedZoneIDs") + public native NSArray getPrioritizedZoneIDs(); + @Property(selector = "setPrioritizedZoneIDs:") + public native void setPrioritizedZoneIDs(NSArray v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithScope:") + protected native @Pointer long init(CKSyncEngineFetchChangesScope scope); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesScope.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesScope.java new file mode 100644 index 000000000..b6dc336ac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchChangesScope.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchChangesScope/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchChangesScopePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchChangesScope.class); }/**/ + /**//**/ + /**/ + public CKSyncEngineFetchChangesScope() {} + protected CKSyncEngineFetchChangesScope(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchChangesScope(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithZoneIDs:") + public CKSyncEngineFetchChangesScope(NSSet zoneIDs) { super((SkipInit) null); initObject(init(zoneIDs)); } + @Method(selector = "initWithExcludedZoneIDs:") + public static CKSyncEngineFetchChangesScope createWithExcludedZoneIDs(NSSet zoneIDs) { + CKSyncEngineFetchChangesScope res = new CKSyncEngineFetchChangesScope((SkipInit) null); + res.initObject(res.initWithExcludedZoneIDs(zoneIDs)); + return res; + } + /**/ + /**/ + @Property(selector = "zoneIDs") + public native NSSet getZoneIDs(); + @Property(selector = "excludedZoneIDs") + public native NSSet getExcludedZoneIDs(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithZoneIDs:") + protected native @Pointer long init(NSSet zoneIDs); + @Method(selector = "initWithExcludedZoneIDs:") + protected native @Pointer long initWithExcludedZoneIDs(NSSet zoneIDs); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedDatabaseChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedDatabaseChangesEvent.java new file mode 100644 index 000000000..a8ccd08fe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedDatabaseChangesEvent.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchedDatabaseChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchedDatabaseChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchedDatabaseChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFetchedDatabaseChangesEvent() {} + protected CKSyncEngineFetchedDatabaseChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchedDatabaseChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "modifications") + public native NSArray getModifications(); + @Property(selector = "deletions") + public native NSArray getDeletions(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordDeletion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordDeletion.java new file mode 100644 index 000000000..92b483c1f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordDeletion.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchedRecordDeletion/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchedRecordDeletionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchedRecordDeletion.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFetchedRecordDeletion() {} + protected CKSyncEngineFetchedRecordDeletion(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchedRecordDeletion(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "recordID") + public native CKRecordID getRecordID(); + @Property(selector = "recordType") + public native String getRecordType(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordZoneChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordZoneChangesEvent.java new file mode 100644 index 000000000..6bfac9033 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedRecordZoneChangesEvent.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchedRecordZoneChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchedRecordZoneChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchedRecordZoneChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFetchedRecordZoneChangesEvent() {} + protected CKSyncEngineFetchedRecordZoneChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchedRecordZoneChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "modifications") + public native NSArray getModifications(); + @Property(selector = "deletions") + public native NSArray getDeletions(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedZoneDeletion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedZoneDeletion.java new file mode 100644 index 000000000..a5678f5a0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineFetchedZoneDeletion.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineFetchedZoneDeletion/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineFetchedZoneDeletionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineFetchedZoneDeletion.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineFetchedZoneDeletion() {} + protected CKSyncEngineFetchedZoneDeletion(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineFetchedZoneDeletion(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "zoneID") + public native CKRecordZoneID getZoneID(); + @Property(selector = "reason") + public native CKSyncEngineZoneDeletionReason getReason(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChange.java new file mode 100644 index 000000000..5b91af158 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChange.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEnginePendingDatabaseChange/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEnginePendingDatabaseChangePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEnginePendingDatabaseChange.class); }/**/ + /**//**/ + /**/ + protected CKSyncEnginePendingDatabaseChange() {} + protected CKSyncEnginePendingDatabaseChange(Handle h, long handle) { super(h, handle); } + protected CKSyncEnginePendingDatabaseChange(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "zoneID") + public native CKRecordZoneID getZoneID(); + @Property(selector = "type") + public native CKSyncEnginePendingDatabaseChangeType getType(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChangeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChangeType.java new file mode 100644 index 000000000..f2f36f46b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingDatabaseChangeType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEnginePendingDatabaseChangeType/**/ implements ValuedEnum { + /**/ + SaveZone(0L), + DeleteZone(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEnginePendingDatabaseChangeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEnginePendingDatabaseChangeType/**/ valueOf(long n) { + for (/**/CKSyncEnginePendingDatabaseChangeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEnginePendingDatabaseChangeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChange.java new file mode 100644 index 000000000..c9feb543e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChange.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEnginePendingRecordZoneChange/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEnginePendingRecordZoneChangePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEnginePendingRecordZoneChange.class); }/**/ + /**//**/ + /**/ + protected CKSyncEnginePendingRecordZoneChange() {} + protected CKSyncEnginePendingRecordZoneChange(Handle h, long handle) { super(h, handle); } + protected CKSyncEnginePendingRecordZoneChange(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithRecordID:type:") + public CKSyncEnginePendingRecordZoneChange(CKRecordID recordID, CKSyncEnginePendingRecordZoneChangeType type) { super((SkipInit) null); initObject(init(recordID, type)); } + /**/ + /**/ + @Property(selector = "recordID") + public native CKRecordID getRecordID(); + @Property(selector = "type") + public native CKSyncEnginePendingRecordZoneChangeType getType(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithRecordID:type:") + protected native @Pointer long init(CKRecordID recordID, CKSyncEnginePendingRecordZoneChangeType type); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChangeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChangeType.java new file mode 100644 index 000000000..23b92b2e7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingRecordZoneChangeType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEnginePendingRecordZoneChangeType/**/ implements ValuedEnum { + /**/ + SaveRecord(0L), + DeleteRecord(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEnginePendingRecordZoneChangeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEnginePendingRecordZoneChangeType/**/ valueOf(long n) { + for (/**/CKSyncEnginePendingRecordZoneChangeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEnginePendingRecordZoneChangeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneDelete.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneDelete.java new file mode 100644 index 000000000..a1b6ae61e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneDelete.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEnginePendingZoneDelete/**/ + extends /**/CKSyncEnginePendingDatabaseChange/**/ + /**//**/ { + + /**/public static class CKSyncEnginePendingZoneDeletePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEnginePendingZoneDelete.class); }/**/ + /**//**/ + /**/ + protected CKSyncEnginePendingZoneDelete() {} + protected CKSyncEnginePendingZoneDelete(Handle h, long handle) { super(h, handle); } + protected CKSyncEnginePendingZoneDelete(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithZoneID:") + public CKSyncEnginePendingZoneDelete(CKRecordZoneID zoneID) { super((SkipInit) null); initObject(init(zoneID)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithZoneID:") + protected native @Pointer long init(CKRecordZoneID zoneID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneSave.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneSave.java new file mode 100644 index 000000000..7f1f84bf0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEnginePendingZoneSave.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEnginePendingZoneSave/**/ + extends /**/CKSyncEnginePendingDatabaseChange/**/ + /**//**/ { + + /**/public static class CKSyncEnginePendingZoneSavePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEnginePendingZoneSave.class); }/**/ + /**//**/ + /**/ + protected CKSyncEnginePendingZoneSave() {} + protected CKSyncEnginePendingZoneSave(Handle h, long handle) { super(h, handle); } + protected CKSyncEnginePendingZoneSave(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithZone:") + public CKSyncEnginePendingZoneSave(CKRecordZone zone) { super((SkipInit) null); initObject(init(zone)); } + /**/ + /**/ + @Property(selector = "zone") + public native CKRecordZone getZone(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithZone:") + protected native @Pointer long init(CKRecordZone zone); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineRecordZoneChangeBatch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineRecordZoneChangeBatch.java new file mode 100644 index 000000000..117897334 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineRecordZoneChangeBatch.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineRecordZoneChangeBatch/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineRecordZoneChangeBatchPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineRecordZoneChangeBatch.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineRecordZoneChangeBatch() {} + protected CKSyncEngineRecordZoneChangeBatch(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineRecordZoneChangeBatch(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPendingChanges:recordProvider:") + public CKSyncEngineRecordZoneChangeBatch(NSArray pendingChanges, @Block Block1 recordProvider) { super((SkipInit) null); initObject(init(pendingChanges, recordProvider)); } + @Method(selector = "initWithRecordsToSave:recordIDsToDelete:atomicByZone:") + public CKSyncEngineRecordZoneChangeBatch(NSArray recordsToSave, NSArray recordIDsToDelete, boolean atomicByZone) { super((SkipInit) null); initObject(init(recordsToSave, recordIDsToDelete, atomicByZone)); } + /**/ + /**/ + @Property(selector = "recordsToSave") + public native NSArray getRecordsToSave(); + @Property(selector = "recordIDsToDelete") + public native NSArray getRecordIDsToDelete(); + @Property(selector = "atomicByZone") + public native boolean isAtomicByZone(); + @Property(selector = "setAtomicByZone:") + public native void setAtomicByZone(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPendingChanges:recordProvider:") + protected native @Pointer long init(NSArray pendingChanges, @Block Block1 recordProvider); + @Method(selector = "initWithRecordsToSave:recordIDsToDelete:atomicByZone:") + protected native @Pointer long init(NSArray recordsToSave, NSArray recordIDsToDelete, boolean atomicByZone); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesContext.java new file mode 100644 index 000000000..3c7f6d665 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesContext.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineSendChangesContext/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineSendChangesContextPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineSendChangesContext.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineSendChangesContext() {} + protected CKSyncEngineSendChangesContext(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineSendChangesContext(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "reason") + public native CKSyncEngineSyncReason getReason(); + @Property(selector = "options") + public native CKSyncEngineSendChangesOptions getOptions(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesOptions.java new file mode 100644 index 000000000..89471ac68 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesOptions.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineSendChangesOptions/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineSendChangesOptionsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineSendChangesOptions.class); }/**/ + /**//**/ + /**/ + public CKSyncEngineSendChangesOptions() {} + protected CKSyncEngineSendChangesOptions(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineSendChangesOptions(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithScope:") + public CKSyncEngineSendChangesOptions(CKSyncEngineSendChangesScope scope) { super((SkipInit) null); initObject(init(scope)); } + /**/ + /**/ + @Property(selector = "scope") + public native CKSyncEngineSendChangesScope getScope(); + @Property(selector = "setScope:") + public native void setScope(CKSyncEngineSendChangesScope v); + @Property(selector = "operationGroup") + public native CKOperationGroup getOperationGroup(); + @Property(selector = "setOperationGroup:") + public native void setOperationGroup(CKOperationGroup v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithScope:") + protected native @Pointer long init(CKSyncEngineSendChangesScope scope); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesScope.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesScope.java new file mode 100644 index 000000000..c8c367cf4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSendChangesScope.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineSendChangesScope/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineSendChangesScopePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineSendChangesScope.class); }/**/ + /**//**/ + /**/ + public CKSyncEngineSendChangesScope() {} + protected CKSyncEngineSendChangesScope(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineSendChangesScope(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithZoneIDs:") + public CKSyncEngineSendChangesScope(NSSet zoneIDs) { super((SkipInit) null); initObject(init(zoneIDs)); } + @Method(selector = "initWithExcludedZoneIDs:") + public static CKSyncEngineSendChangesScope createWithExcludedZoneIDs(NSSet excludedZoneIDs) { + CKSyncEngineSendChangesScope res = new CKSyncEngineSendChangesScope((SkipInit) null); + res.initObject(res.initWithExcludedZoneIDs(excludedZoneIDs)); + return res; + } + @Method(selector = "initWithRecordIDs:") + public static CKSyncEngineSendChangesScope createWithRecordIDs(NSSet recordIDs) { + CKSyncEngineSendChangesScope res = new CKSyncEngineSendChangesScope((SkipInit) null); + res.initObject(res.initWithRecordIDs(recordIDs)); + return res; + } + /**/ + /**/ + @Property(selector = "zoneIDs") + public native NSSet getZoneIDs(); + @Property(selector = "excludedZoneIDs") + public native NSSet getExcludedZoneIDs(); + @Property(selector = "recordIDs") + public native NSSet getRecordIDs(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithZoneIDs:") + protected native @Pointer long init(NSSet zoneIDs); + @Method(selector = "initWithExcludedZoneIDs:") + protected native @Pointer long initWithExcludedZoneIDs(NSSet excludedZoneIDs); + @Method(selector = "initWithRecordIDs:") + protected native @Pointer long initWithRecordIDs(NSSet recordIDs); + @Method(selector = "containsRecordID:") + public native boolean containsRecordID(CKRecordID recordID); + @Method(selector = "containsPendingRecordZoneChange:") + public native boolean containsPendingRecordZoneChange(CKSyncEnginePendingRecordZoneChange pendingRecordZoneChange); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentDatabaseChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentDatabaseChangesEvent.java new file mode 100644 index 000000000..1da1e6597 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentDatabaseChangesEvent.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineSentDatabaseChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineSentDatabaseChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineSentDatabaseChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineSentDatabaseChangesEvent() {} + protected CKSyncEngineSentDatabaseChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineSentDatabaseChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "savedZones") + public native NSArray getSavedZones(); + @Property(selector = "failedZoneSaves") + public native NSArray getFailedZoneSaves(); + @Property(selector = "deletedZoneIDs") + public native NSArray getDeletedZoneIDs(); + @Property(selector = "failedZoneDeletes") + public native NSDictionary getFailedZoneDeletes(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentRecordZoneChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentRecordZoneChangesEvent.java new file mode 100644 index 000000000..2fc817b1d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSentRecordZoneChangesEvent.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineSentRecordZoneChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineSentRecordZoneChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineSentRecordZoneChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineSentRecordZoneChangesEvent() {} + protected CKSyncEngineSentRecordZoneChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineSentRecordZoneChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "savedRecords") + public native NSArray getSavedRecords(); + @Property(selector = "failedRecordSaves") + public native NSArray getFailedRecordSaves(); + @Property(selector = "deletedRecordIDs") + public native NSArray getDeletedRecordIDs(); + @Property(selector = "failedRecordDeletes") + public native NSDictionary getFailedRecordDeletes(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineState.java new file mode 100644 index 000000000..f8860cabe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineState.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineState/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CKSyncEngineStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineState.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineState() {} + protected CKSyncEngineState(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineState(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "pendingRecordZoneChanges") + public native NSArray getPendingRecordZoneChanges(); + @Property(selector = "pendingDatabaseChanges") + public native NSArray getPendingDatabaseChanges(); + @Property(selector = "hasPendingUntrackedChanges") + public native boolean hasPendingUntrackedChanges(); + @Property(selector = "setHasPendingUntrackedChanges:") + public native void setHasPendingUntrackedChanges(boolean v); + @Property(selector = "zoneIDsWithUnfetchedServerChanges") + public native NSArray getZoneIDsWithUnfetchedServerChanges(); + /**/ + /**//**/ + /**/ + @Method(selector = "addPendingRecordZoneChanges:") + public native void addPendingRecordZoneChanges(NSArray changes); + @Method(selector = "removePendingRecordZoneChanges:") + public native void removePendingRecordZoneChanges(NSArray changes); + @Method(selector = "addPendingDatabaseChanges:") + public native void addPendingDatabaseChanges(NSArray changes); + @Method(selector = "removePendingDatabaseChanges:") + public native void removePendingDatabaseChanges(NSArray changes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateSerialization.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateSerialization.java new file mode 100644 index 000000000..c1d35a757 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateSerialization.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineStateSerialization/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CKSyncEngineStateSerializationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineStateSerialization.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineStateSerialization() {} + protected CKSyncEngineStateSerialization(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineStateSerialization(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CKSyncEngineStateSerialization(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateUpdateEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateUpdateEvent.java new file mode 100644 index 000000000..19cdeab73 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineStateUpdateEvent.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineStateUpdateEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineStateUpdateEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineStateUpdateEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineStateUpdateEvent() {} + protected CKSyncEngineStateUpdateEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineStateUpdateEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "stateSerialization") + public native CKSyncEngineStateSerialization getStateSerialization(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSyncReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSyncReason.java new file mode 100644 index 000000000..41c7e536e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineSyncReason.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEngineSyncReason/**/ implements ValuedEnum { + /**/ + Scheduled(0L), + Manual(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEngineSyncReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEngineSyncReason/**/ valueOf(long n) { + for (/**/CKSyncEngineSyncReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEngineSyncReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchChangesEvent.java new file mode 100644 index 000000000..bddcbf76b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchChangesEvent.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineWillFetchChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineWillFetchChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineWillFetchChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineWillFetchChangesEvent() {} + protected CKSyncEngineWillFetchChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineWillFetchChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchRecordZoneChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchRecordZoneChangesEvent.java new file mode 100644 index 000000000..d8b2463d4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillFetchRecordZoneChangesEvent.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineWillFetchRecordZoneChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineWillFetchRecordZoneChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineWillFetchRecordZoneChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineWillFetchRecordZoneChangesEvent() {} + protected CKSyncEngineWillFetchRecordZoneChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineWillFetchRecordZoneChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "zoneID") + public native CKRecordZoneID getZoneID(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillSendChangesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillSendChangesEvent.java new file mode 100644 index 000000000..9ee2fd874 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineWillSendChangesEvent.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CloudKit") @NativeClass/**/ +/**/public/**/ class /**/CKSyncEngineWillSendChangesEvent/**/ + extends /**/CKSyncEngineEvent/**/ + /**//**/ { + + /**/public static class CKSyncEngineWillSendChangesEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CKSyncEngineWillSendChangesEvent.class); }/**/ + /**//**/ + /**/ + protected CKSyncEngineWillSendChangesEvent() {} + protected CKSyncEngineWillSendChangesEvent(Handle h, long handle) { super(h, handle); } + protected CKSyncEngineWillSendChangesEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "context") + public native CKSyncEngineSendChangesContext getContext(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineZoneDeletionReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineZoneDeletionReason.java new file mode 100644 index 000000000..4df073973 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/cloudkit/CKSyncEngineZoneDeletionReason.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.cloudkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.fileprovider.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CKSyncEngineZoneDeletionReason/**/ implements ValuedEnum { + /**/ + Deleted(0L), + Purged(1L), + EncryptedDataReset(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CKSyncEngineZoneDeletionReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CKSyncEngineZoneDeletionReason/**/ valueOf(long n) { + for (/**/CKSyncEngineZoneDeletionReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CKSyncEngineZoneDeletionReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/contacts/CNErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/contacts/CNErrorCode.java index 413cc2e9c..fb9757ea8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/contacts/CNErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/contacts/CNErrorCode.java @@ -54,6 +54,10 @@ public enum /**/CNErrorCode/**/ implements NSErrorCode { * @since Available in iOS 13.0 and later. */ FeatureDisabledByUser(103L), + /** + * @since Available in iOS 17.0 and later. + */ + FeatureNotAvailable(104L), RecordDoesNotExist(200L), InsertedRecordAlreadyExists(201L), ContainmentCycle(202L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAEDRMetadata.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAEDRMetadata.java index c90de921a..9a7195dd3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAEDRMetadata.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAEDRMetadata.java @@ -44,7 +44,7 @@ /**/@Library("QuartzCore") @NativeClass/**/ /**/public/**/ class /**/CAEDRMetadata/**/ extends /**/NSObject/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class CAEDRMetadataPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(CAEDRMetadata.class); }/**/ @@ -53,6 +53,8 @@ protected CAEDRMetadata() {} protected CAEDRMetadata(Handle h, long handle) { super(h, handle); } protected CAEDRMetadata(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CAEDRMetadata(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ @Property(selector = "HLGMetadata") @@ -62,6 +64,8 @@ protected CAEDRMetadata() {} */ @Property(selector = "isAvailable") public static native boolean isAvailable(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ @@ -69,5 +73,14 @@ protected CAEDRMetadata() {} public static native CAEDRMetadata createHDR10Metadata(NSData displayData, NSData contentData, float scale); @Method(selector = "HDR10MetadataWithMinLuminance:maxLuminance:opticalOutputScale:") public static native CAEDRMetadata createHDR10Metadata(float minNits, float maxNits, float scale); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "HLGMetadataWithAmbientViewingEnvironment:") + public static native CAEDRMetadata createHLGMetadata(NSData data); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CALayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CALayer.java index cf1a8f0f6..dcc076d76 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CALayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CALayer.java @@ -146,6 +146,16 @@ public CALayer() {} */ @Property(selector = "setContentsFormat:") public native void setContentsFormat(CALayerContentsFormat v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "wantsExtendedDynamicRangeContent") + public native boolean wantsExtendedDynamicRangeContent(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setWantsExtendedDynamicRangeContent:") + public native void setWantsExtendedDynamicRangeContent(boolean v); @Property(selector = "minificationFilter") public native CAFilter getMinificationFilter(); @Property(selector = "setMinificationFilter:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLink.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLink.java new file mode 100644 index 000000000..123a1bda4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLink.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreanimation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.opengles.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.corevideo.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("QuartzCore") @NativeClass/**/ +/**/public/**/ class /**/CAMetalDisplayLink/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CAMetalDisplayLinkPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CAMetalDisplayLink.class); }/**/ + /**//**/ + /**/ + public CAMetalDisplayLink() {} + protected CAMetalDisplayLink(Handle h, long handle) { super(h, handle); } + protected CAMetalDisplayLink(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMetalLayer:") + public CAMetalDisplayLink(CAMetalLayer layer) { super((SkipInit) null); initObject(init(layer)); } + /**/ + /**/ + @Property(selector = "delegate") + public native CAMetalDisplayLinkDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(CAMetalDisplayLinkDelegate v); + @Property(selector = "preferredFrameLatency") + public native float getPreferredFrameLatency(); + @Property(selector = "setPreferredFrameLatency:") + public native void setPreferredFrameLatency(float v); + @Property(selector = "preferredFrameRateRange") + public native @ByVal CAFrameRateRange getPreferredFrameRateRange(); + @Property(selector = "setPreferredFrameRateRange:") + public native void setPreferredFrameRateRange(@ByVal CAFrameRateRange v); + @Property(selector = "isPaused") + public native boolean isPaused(); + @Property(selector = "setPaused:") + public native void setPaused(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMetalLayer:") + protected native @Pointer long init(CAMetalLayer layer); + @Method(selector = "addToRunLoop:forMode:") + public native void addToRunLoop(NSRunLoop runloop, String mode); + @Method(selector = "removeFromRunLoop:forMode:") + public native void removeFromRunLoop(NSRunLoop runloop, String mode); + @Method(selector = "invalidate") + public native void invalidate(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegate.java new file mode 100644 index 000000000..6416ddf31 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegate.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreanimation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.opengles.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.corevideo.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/CAMetalDisplayLinkDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "metalDisplayLink:needsUpdate:") + void needsUpdate(CAMetalDisplayLink link, CAMetalDisplayLinkUpdate update); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegateAdapter.java new file mode 100644 index 000000000..8feb20626 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkDelegateAdapter.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreanimation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.opengles.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.corevideo.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/CAMetalDisplayLinkDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements CAMetalDisplayLinkDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("metalDisplayLink:needsUpdate:") + public void needsUpdate(CAMetalDisplayLink link, CAMetalDisplayLinkUpdate update) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkUpdate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkUpdate.java new file mode 100644 index 000000000..ef322efa5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CAMetalDisplayLinkUpdate.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreanimation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.opengles.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.corevideo.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("QuartzCore") @NativeClass/**/ +/**/public/**/ class /**/CAMetalDisplayLinkUpdate/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CAMetalDisplayLinkUpdatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CAMetalDisplayLinkUpdate.class); }/**/ + /**//**/ + /**/ + public CAMetalDisplayLinkUpdate() {} + protected CAMetalDisplayLinkUpdate(Handle h, long handle) { super(h, handle); } + protected CAMetalDisplayLinkUpdate(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "drawable") + public native CAMetalDrawable getDrawable(); + @Property(selector = "targetTimestamp") + public native double getTargetTimestamp(); + @Property(selector = "targetPresentationTimestamp") + public native double getTargetPresentationTimestamp(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CASpringAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CASpringAnimation.java index 507eea4dc..28b5c40a9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CASpringAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CASpringAnimation.java @@ -53,6 +53,11 @@ public CASpringAnimation() {} protected CASpringAnimation(Handle h, long handle) { super(h, handle); } protected CASpringAnimation(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPerceptualDuration:bounce:") + public CASpringAnimation(double perceptualDuration, @MachineSizedFloat double bounce) { super((SkipInit) null); initObject(init(perceptualDuration, bounce)); } /**/ /**/ @Property(selector = "mass") @@ -71,13 +76,38 @@ public CASpringAnimation() {} public native @MachineSizedFloat double getInitialVelocity(); @Property(selector = "setInitialVelocity:") public native void setInitialVelocity(@MachineSizedFloat double v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allowsOverdamping") + public native boolean allowsOverdamping(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllowsOverdamping:") + public native void setAllowsOverdamping(boolean v); @Property(selector = "settlingDuration") public native double getSettlingDuration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "perceptualDuration") + public native double getPerceptualDuration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "bounce") + public native @MachineSizedFloat double getBounce(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithPerceptualDuration:bounce:") + protected native @Pointer long init(double perceptualDuration, @MachineSizedFloat double bounce); @Method(selector = "defaultValueForKey:") public static native NSObject getDefaultValue(String key); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CATransaction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CATransaction.java index 0819bb7f7..18af24ca6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CATransaction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreanimation/CATransaction.java @@ -90,5 +90,7 @@ public static void set(CATransactionProperty key, NSObject value) { public static native NSObject get(CATransactionProperty key); @Method(selector = "setValue:forKey:") protected static native void set(NSObject anObject, CATransactionProperty key); + @Method(selector = "batch") + public static native void batch(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreaudio/AudioChannelLayoutTag.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreaudio/AudioChannelLayoutTag.java index e3a433c61..e34f4a89a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreaudio/AudioChannelLayoutTag.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreaudio/AudioChannelLayoutTag.java @@ -232,6 +232,12 @@ public final class /**/AudioChannelLayoutTag/**/ extends Bits*/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSAttributeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSAttributeType.java index 0bc661066..444221b7f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSAttributeType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSAttributeType.java @@ -59,7 +59,11 @@ public enum /**/NSAttributeType/**/ implements ValuedEnum { */ URI(1200L), Transformable(1800L), - ObjectID(2000L); + ObjectID(2000L), + /** + * @since Available in iOS 17.0 and later. + */ + Composite(2100L); /**/ private final long n; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCompositeAttributeDescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCompositeAttributeDescription.java new file mode 100644 index 000000000..b954b4eeb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCompositeAttributeDescription.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSCompositeAttributeDescription/**/ + extends /**/NSAttributeDescription/**/ + /**//**/ { + + /**/public static class NSCompositeAttributeDescriptionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSCompositeAttributeDescription.class); }/**/ + /**//**/ + /**/ + public NSCompositeAttributeDescription() {} + protected NSCompositeAttributeDescription(Handle h, long handle) { super(h, handle); } + protected NSCompositeAttributeDescription(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "elements") + public native NSArray getElements(); + @Property(selector = "setElements:") + public native void setElements(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCoreDataErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCoreDataErrorCode.java index 8e5319859..12d171d2e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCoreDataErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCoreDataErrorCode.java @@ -85,7 +85,10 @@ public enum /**/NSCoreDataErrorCode/**/ implements NSErrorCode { SQLite(134180L), InferredMappingModel(134190L), ExternalRecordImport(134200L), - PersistentHistoryTokenExpired(134301L); + PersistentHistoryTokenExpired(134301L), + ManagedObjectModelReferenceNotFound(134504L), + StagedMigrationFrameworkVersionMismatch(134505L), + StagedMigrationBackwardMigration(134506L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCustomMigrationStage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCustomMigrationStage.java new file mode 100644 index 000000000..216f0f30b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSCustomMigrationStage.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSCustomMigrationStage/**/ + extends /**/NSMigrationStage/**/ + /**//**/ { + + /**/public static class NSCustomMigrationStagePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSCustomMigrationStage.class); }/**/ + /**//**/ + /**/ + protected NSCustomMigrationStage() {} + protected NSCustomMigrationStage(Handle h, long handle) { super(h, handle); } + protected NSCustomMigrationStage(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCurrentModelReference:nextModelReference:") + public NSCustomMigrationStage(NSManagedObjectModelReference currentModel, NSManagedObjectModelReference nextModel) { super((SkipInit) null); initObject(init(currentModel, nextModel)); } + /**/ + /**/ + @Property(selector = "currentModel") + public native NSManagedObjectModelReference getCurrentModel(); + @Property(selector = "nextModel") + public native NSManagedObjectModelReference getNextModel(); + @Property(selector = "willMigrateHandler") + public native @Block Block3 getWillMigrateHandler(); + @Property(selector = "setWillMigrateHandler:") + public native void setWillMigrateHandler(@Block Block3 v); + @Property(selector = "didMigrateHandler") + public native @Block Block3 getDidMigrateHandler(); + @Property(selector = "setDidMigrateHandler:") + public native void setDidMigrateHandler(@Block Block3 v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCurrentModelReference:nextModelReference:") + protected native @Pointer long init(NSManagedObjectModelReference currentModel, NSManagedObjectModelReference nextModel); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSLightweightMigrationStage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSLightweightMigrationStage.java new file mode 100644 index 000000000..586b12c15 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSLightweightMigrationStage.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSLightweightMigrationStage/**/ + extends /**/NSMigrationStage/**/ + /**//**/ { + + /**/public static class NSLightweightMigrationStagePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSLightweightMigrationStage.class); }/**/ + /**//**/ + /**/ + protected NSLightweightMigrationStage() {} + protected NSLightweightMigrationStage(Handle h, long handle) { super(h, handle); } + protected NSLightweightMigrationStage(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithVersionChecksums:") + public NSLightweightMigrationStage(NSArray versionChecksums) { super((SkipInit) null); initObject(init(versionChecksums)); } + /**/ + /**/ + @Property(selector = "versionChecksums") + public native NSArray getVersionChecksums(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithVersionChecksums:") + protected native @Pointer long init(NSArray versionChecksums); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModel.java index a57963811..14e386ddd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModel.java @@ -74,6 +74,11 @@ public NSManagedObjectModel() {} public native void setVersionIdentifiers(NSSet v); @Property(selector = "entityVersionHashesByName") public native NSDictionary getEntityVersionHashesByName(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "versionChecksum") + public native String getVersionChecksum(); /**/ /**//**/ /**/ @@ -99,6 +104,20 @@ public NSManagedObjectModel() {} public static native NSManagedObjectModel createFromBundles(NSArray bundles, NSPersistentStoreMetadata metadata); @Method(selector = "modelByMergingModels:forStoreMetadata:") public static native NSManagedObjectModel createByMergingModels(NSArray models, NSPersistentStoreMetadata metadata); + /** + * @since Available in iOS 17.0 and later. + */ + public static NSDictionary getChecksumsForVersionedModel(NSURL modelURL) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSDictionary result = getChecksumsForVersionedModel(modelURL, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "checksumsForVersionedModelAtURL:error:") + private static native NSDictionary getChecksumsForVersionedModel(NSURL modelURL, NSError.NSErrorPtr error); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModelReference.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModelReference.java new file mode 100644 index 000000000..02aa7864e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSManagedObjectModelReference.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSManagedObjectModelReference/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NSManagedObjectModelReferencePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSManagedObjectModelReference.class); }/**/ + /**//**/ + /**/ + protected NSManagedObjectModelReference() {} + protected NSManagedObjectModelReference(Handle h, long handle) { super(h, handle); } + protected NSManagedObjectModelReference(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithModel:versionChecksum:") + public NSManagedObjectModelReference(NSManagedObjectModel model, String versionChecksum) { super((SkipInit) null); initObject(init(model, versionChecksum)); } + @Method(selector = "initWithFileURL:versionChecksum:") + public NSManagedObjectModelReference(NSURL fileURL, String versionChecksum) { super((SkipInit) null); initObject(init(fileURL, versionChecksum)); } + @Method(selector = "initWithEntityVersionHashes:inBundle:versionChecksum:") + public NSManagedObjectModelReference(NSDictionary versionHash, NSBundle bundle, String versionChecksum) { super((SkipInit) null); initObject(init(versionHash, bundle, versionChecksum)); } + @Method(selector = "initWithName:inBundle:versionChecksum:") + public NSManagedObjectModelReference(String modelName, NSBundle bundle, String versionChecksum) { super((SkipInit) null); initObject(init(modelName, bundle, versionChecksum)); } + /**/ + /**/ + @Property(selector = "resolvedModel") + public native NSManagedObjectModel getResolvedModel(); + @Property(selector = "versionChecksum") + public native String getVersionChecksum(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithModel:versionChecksum:") + protected native @Pointer long init(NSManagedObjectModel model, String versionChecksum); + @Method(selector = "initWithFileURL:versionChecksum:") + protected native @Pointer long init(NSURL fileURL, String versionChecksum); + @Method(selector = "initWithEntityVersionHashes:inBundle:versionChecksum:") + protected native @Pointer long init(NSDictionary versionHash, NSBundle bundle, String versionChecksum); + @Method(selector = "initWithName:inBundle:versionChecksum:") + protected native @Pointer long init(String modelName, NSBundle bundle, String versionChecksum); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSMigrationStage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSMigrationStage.java new file mode 100644 index 000000000..e5e1fc2e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSMigrationStage.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSMigrationStage/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NSMigrationStagePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSMigrationStage.class); }/**/ + /**//**/ + /**/ + public NSMigrationStage() {} + protected NSMigrationStage(Handle h, long handle) { super(h, handle); } + protected NSMigrationStage(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "label") + public native String getLabel(); + @Property(selector = "setLabel:") + public native void setLabel(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreCoordinator.java index c4a453597..8047c1159 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreCoordinator.java @@ -294,6 +294,34 @@ public boolean replacePersistentStore(NSURL destinationURL, NSPersistentStoreOpt */ @Method(selector = "currentPersistentHistoryTokenFromStores:") public native NSPersistentHistoryToken currentPersistentHistoryTokenFromStores(NSArray stores); + /** + * @since Available in iOS 14.0 and later. + */ + public boolean finishDeferredLightweightMigration() throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = finishDeferredLightweightMigration(ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 14.0 and later. + */ + @Method(selector = "finishDeferredLightweightMigration:") + private native boolean finishDeferredLightweightMigration(NSError.NSErrorPtr error); + /** + * @since Available in iOS 14.0 and later. + */ + public boolean finishDeferredLightweightMigrationTask() throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = finishDeferredLightweightMigrationTask(ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 14.0 and later. + */ + @Method(selector = "finishDeferredLightweightMigrationTask:") + private native boolean finishDeferredLightweightMigrationTask(NSError.NSErrorPtr error); /** * @deprecated Deprecated in iOS 8.0. Use -performBlockAndWait: instead */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreOptions.java index 35e224671..c0eee14ee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSPersistentStoreOptions.java @@ -360,6 +360,11 @@ public static class Keys { */ @GlobalValue(symbol="NSPersistentStoreConnectionPoolMaxSizeKey", optional=true) public static native NSString ConnectionPoolMaxSize(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSPersistentStoreStagedMigrationManagerOptionKey", optional=true) + public static native NSString StagedMigrationManagerOption(); @GlobalValue(symbol="NSPersistentStoreForceDestroyOption", optional=true) public static native NSString ForceDestroy(); @GlobalValue(symbol="NSPersistentStoreFileProtectionKey", optional=true) @@ -394,6 +399,11 @@ public static class Keys { */ @GlobalValue(symbol="NSPersistentHistoryTokenKey", optional=true) public static native NSString HistoryTokenKey(); + /** + * @since Available in iOS 14.0 and later. + */ + @GlobalValue(symbol="NSPersistentStoreDeferredLightweightMigrationOptionKey", optional=true) + public static native NSString DeferredLightweightMigrationOption(); /** * @deprecated Deprecated in iOS 10.0. Please see the release notes and Core Data documentation. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSStagedMigrationManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSStagedMigrationManager.java new file mode 100644 index 000000000..f24146175 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coredata/NSStagedMigrationManager.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coredata; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corespotlight.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.uikit.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreData") @NativeClass/**/ +/**/public/**/ class /**/NSStagedMigrationManager/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NSStagedMigrationManagerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSStagedMigrationManager.class); }/**/ + /**//**/ + /**/ + protected NSStagedMigrationManager() {} + protected NSStagedMigrationManager(Handle h, long handle) { super(h, handle); } + protected NSStagedMigrationManager(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMigrationStages:") + public NSStagedMigrationManager(NSArray stages) { super((SkipInit) null); initObject(init(stages)); } + /**/ + /**/ + @Property(selector = "stages") + public native NSArray getStages(); + @Property(selector = "container") + public native NSPersistentContainer getContainer(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMigrationStages:") + protected native @Pointer long init(NSArray stages); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLFileSystemProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLFileSystemProperty.java index e8b44edd2..bde156fdb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLFileSystemProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLFileSystemProperty.java @@ -110,6 +110,10 @@ public static long toNative(List l, long flags) { public static final CFURLFileSystemProperty ContentAccessDate = new CFURLFileSystemProperty("ContentAccessDate"); public static final CFURLFileSystemProperty ContentModificationDate = new CFURLFileSystemProperty("ContentModificationDate"); public static final CFURLFileSystemProperty AttributeModificationDate = new CFURLFileSystemProperty("AttributeModificationDate"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final CFURLFileSystemProperty FileIdentifier = new CFURLFileSystemProperty("FileIdentifier"); /** * @since Available in iOS 14.0 and later. */ @@ -174,9 +178,13 @@ public static long toNative(List l, long flags) { * @since Available in iOS 9.0 and later. */ public static final CFURLFileSystemProperty FileProtection = new CFURLFileSystemProperty("FileProtection"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final CFURLFileSystemProperty DirectoryEntryCount = new CFURLFileSystemProperty("DirectoryEntryCount"); /**/ - private static /**/CFURLFileSystemProperty/**/[] values = new /**/CFURLFileSystemProperty/**/[] {/**/Name, LocalizedName, IsRegularFile, IsDirectory, IsSymbolicLink, IsVolume, IsPackage, IsApplication, IsSystemImmutable, IsUserImmutable, IsHidden, HasHiddenExtension, CreationDate, ContentAccessDate, ContentModificationDate, AttributeModificationDate, FileContentIdentifier, MayShareFileContent, MayHaveExtendedAttributes, IsPurgeable, IsSparse, LinkCount, ParentDirectoryURL, TypeIdentifier, LocalizedTypeDescription, LabelNumber, LabelColor, LocalizedLabel, EffectiveIcon, CustomIcon, FileResourceIdentifier, PreferredIOBlockSize, IsReadable, IsWritable, IsExecutable, FileSecurity, IsExcludedFromBackup, Path, CanonicalPath, GenerationIdentifier, DocumentIdentifier, AddedToDirectoryDate, FileProtection/**/}; + private static /**/CFURLFileSystemProperty/**/[] values = new /**/CFURLFileSystemProperty/**/[] {/**/Name, LocalizedName, IsRegularFile, IsDirectory, IsSymbolicLink, IsVolume, IsPackage, IsApplication, IsSystemImmutable, IsUserImmutable, IsHidden, HasHiddenExtension, CreationDate, ContentAccessDate, ContentModificationDate, AttributeModificationDate, FileIdentifier, FileContentIdentifier, MayShareFileContent, MayHaveExtendedAttributes, IsPurgeable, IsSparse, LinkCount, ParentDirectoryURL, TypeIdentifier, LocalizedTypeDescription, LabelNumber, LabelColor, LocalizedLabel, EffectiveIcon, CustomIcon, FileResourceIdentifier, PreferredIOBlockSize, IsReadable, IsWritable, IsExecutable, FileSecurity, IsExcludedFromBackup, Path, CanonicalPath, GenerationIdentifier, DocumentIdentifier, AddedToDirectoryDate, FileProtection, DirectoryEntryCount/**/}; /**/CFURLFileSystemProperty/**/ (String getterName) { super(Values.class, getterName); @@ -234,6 +242,11 @@ public static class Values { public static native CFString ContentModificationDate(); @GlobalValue(symbol="kCFURLAttributeModificationDateKey", optional=true) public static native CFString AttributeModificationDate(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="kCFURLFileIdentifierKey", optional=true) + public static native CFString FileIdentifier(); /** * @since Available in iOS 14.0 and later. */ @@ -325,6 +338,11 @@ public static class Values { */ @GlobalValue(symbol="kCFURLFileProtectionKey", optional=true) public static native CFString FileProtection(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCFURLDirectoryEntryCountKey", optional=true) + public static native CFString DirectoryEntryCount(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLVolumeProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLVolumeProperty.java index 24c14bf27..37a3c0c80 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLVolumeProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corefoundation/CFURLVolumeProperty.java @@ -168,9 +168,21 @@ public static long toNative(List l, long flags) { * @since Available in iOS 14.0 and later. */ public static final CFURLVolumeProperty SupportsFileProtection = new CFURLVolumeProperty("SupportsFileProtection"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final CFURLVolumeProperty TypeName = new CFURLVolumeProperty("TypeName"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final CFURLVolumeProperty Subtype = new CFURLVolumeProperty("Subtype"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final CFURLVolumeProperty MountFromLocation = new CFURLVolumeProperty("MountFromLocation"); /**/ - private static /**/CFURLVolumeProperty/**/[] values = new /**/CFURLVolumeProperty/**/[] {/**/URL, Identifier, LocalizedFormatDescription, TotalCapacity, AvailableCapacity, AvailableCapacityForImportantUsage, AvailableCapacityForOpportunisticUsage, ResourceCount, SupportsPersistentIDs, SupportsSymbolicLinks, SupportsHardLinks, SupportsJournaling, IsJournaling, SupportsSparseFiles, SupportsZeroRuns, SupportsCaseSensitiveNames, SupportsCasePreservedNames, SupportsRootDirectoryDates, SupportsVolumeSizes, SupportsRenaming, SupportsAdvisoryFileLocking, SupportsExtendedSecurity, IsBrowsable, MaximumFileSize, IsEjectable, IsRemovable, IsInternal, IsAutomounted, IsLocal, IsReadOnly, CreationDate, URLForRemounting, UUIDString, Name, LocalizedName, IsEncrypted, IsRootFileSystem, SupportsCompression, SupportsFileCloning, SupportsSwapRenaming, SupportsExclusiveRenaming, SupportsImmutableFiles, SupportsAccessPermissions, SupportsFileProtection/**/}; + private static /**/CFURLVolumeProperty/**/[] values = new /**/CFURLVolumeProperty/**/[] {/**/URL, Identifier, LocalizedFormatDescription, TotalCapacity, AvailableCapacity, AvailableCapacityForImportantUsage, AvailableCapacityForOpportunisticUsage, ResourceCount, SupportsPersistentIDs, SupportsSymbolicLinks, SupportsHardLinks, SupportsJournaling, IsJournaling, SupportsSparseFiles, SupportsZeroRuns, SupportsCaseSensitiveNames, SupportsCasePreservedNames, SupportsRootDirectoryDates, SupportsVolumeSizes, SupportsRenaming, SupportsAdvisoryFileLocking, SupportsExtendedSecurity, IsBrowsable, MaximumFileSize, IsEjectable, IsRemovable, IsInternal, IsAutomounted, IsLocal, IsReadOnly, CreationDate, URLForRemounting, UUIDString, Name, LocalizedName, IsEncrypted, IsRootFileSystem, SupportsCompression, SupportsFileCloning, SupportsSwapRenaming, SupportsExclusiveRenaming, SupportsImmutableFiles, SupportsAccessPermissions, SupportsFileProtection, TypeName, Subtype, MountFromLocation/**/}; /**/CFURLVolumeProperty/**/ (String getterName) { super(Values.class, getterName); @@ -314,6 +326,21 @@ public static class Values { */ @GlobalValue(symbol="kCFURLVolumeSupportsFileProtectionKey", optional=true) public static native CFString SupportsFileProtection(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="kCFURLVolumeTypeNameKey", optional=true) + public static native CFString TypeName(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="kCFURLVolumeSubtypeKey", optional=true) + public static native CFString Subtype(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="kCFURLVolumeMountFromLocationKey", optional=true) + public static native CFString MountFromLocation(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coregraphics/CGContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coregraphics/CGContext.java index 7b0f47ad7..6d51d330d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coregraphics/CGContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coregraphics/CGContext.java @@ -346,6 +346,11 @@ public void showGlyphsWithAdvances(char[] glyphs, CGSize[] advances) { public native void drawLinearGradient(CGGradient gradient, @ByVal CGPoint startPoint, @ByVal CGPoint endPoint, CGGradientDrawingOptions options); @Bridge(symbol="CGContextDrawRadialGradient", optional=true) public native void drawRadialGradient(CGGradient gradient, @ByVal CGPoint startCenter, @MachineSizedFloat double startRadius, @ByVal CGPoint endCenter, @MachineSizedFloat double endRadius, CGGradientDrawingOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CGContextDrawConicGradient", optional=true) + public native void drawConicGradient(CGGradient gradient, @ByVal CGPoint center, @MachineSizedFloat double angle); @Bridge(symbol="CGContextDrawShading", optional=true) public native void drawShading(CGShading shading); @Bridge(symbol="CGContextSetCharacterSpacing", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContext.java index ee89d39c1..80a281034 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContext.java @@ -208,6 +208,11 @@ */ @Method(selector = "PNGRepresentationOfImage:format:colorSpace:options:") public native NSData PNGRepresentationOfImage(CIImage image, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "OpenEXRRepresentationOfImage:options:error:") + public native NSData getOpenEXRRepresentation(CIImage image, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr); /** * @since Available in iOS 10.0 and later. */ @@ -233,6 +238,11 @@ */ @Method(selector = "writeHEIF10RepresentationOfImage:toURL:colorSpace:options:error:") public native boolean writeHEIF10Representation(CIImage image, NSURL url, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "writeOpenEXRRepresentationOfImage:toURL:options:error:") + public native boolean writeOpenEXRRepresentation(CIImage image, NSURL url, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContextOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContextOptions.java index 6a29ea4ec..a2db8b3ef 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContextOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIContextOptions.java @@ -208,6 +208,11 @@ public static class Keys { */ @GlobalValue(symbol="kCIContextName", optional=true) public static native NSString Name(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCIContextMemoryLimit", optional=true) + public static native NSString MemoryLimit(); } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFilter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFilter.java index 4fa59306c..b8d2b0e08 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFilter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFilter.java @@ -203,14 +203,26 @@ protected static long create(String name, Object...inputParameters) { */ @Method(selector = "localizedReferenceDocumentationForFilterName:") public static native NSURL localizedReferenceDocumentationForFilterName(String filterName); + /** + * @deprecated Deprecated in iOS 17.0. + */ + @Deprecated @Method(selector = "serializedXMPFromFilters:inputImageExtent:") public static native NSData serializeToXMP(NSArray filters, @ByVal CGRect extent); + /** + * @deprecated Deprecated in iOS 17.0. + */ + @Deprecated public static NSArray deserializeFromXMP(NSData xmpData, @ByVal CGRect extent) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSArray result = deserializeFromXMP(xmpData, extent, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } + /** + * @deprecated Deprecated in iOS 17.0. + */ + @Deprecated @Method(selector = "filterArrayFromSerializedXMP:inputImageExtent:error:") private static native NSArray deserializeFromXMP(NSData xmpData, @ByVal CGRect extent, NSError.NSErrorPtr outError); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFormat.java index 1f6ae265a..bcd01de08 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIFormat.java @@ -109,6 +109,22 @@ public static long toNative(List l, long flags) { */ public static final CIFormat RGBA16 = new CIFormat("RGBA16"); public static final CIFormat RGBAf = new CIFormat("RGBAf"); + /** + * @since Available in iOS 14.2 and later. + */ + public static final CIFormat RGBX16 = new CIFormat("RGBX16"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final CIFormat RGBXh = new CIFormat("RGBXh"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final CIFormat RGBXf = new CIFormat("RGBXf"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final CIFormat RGB10 = new CIFormat("RGB10"); /** * @since Available in iOS 9.0 and later. */ @@ -191,7 +207,7 @@ public static long toNative(List l, long flags) { public static final CIFormat LAf = new CIFormat("LAf"); /**/ - private static /**/CIFormat/**/[] values = new /**/CIFormat/**/[] {/**/ARGB8, BGRA8, RGBA8, ABGR8, RGBAh, RGBA16, RGBAf, A8, A16, Ah, Af, R8, R16, Rh, Rf, RG8, RG16, RGh, RGf, L8, L16, Lh, Lf, LA8, LA16, LAh, LAf/**/}; + private static /**/CIFormat/**/[] values = new /**/CIFormat/**/[] {/**/ARGB8, BGRA8, RGBA8, ABGR8, RGBAh, RGBA16, RGBAf, RGBX16, RGBXh, RGBXf, RGB10, A8, A16, Ah, Af, R8, R16, Rh, Rf, RG8, RG16, RGh, RGf, L8, L16, Lh, Lf, LA8, LA16, LAh, LAf/**/}; /**/CIFormat/**/ (String getterName) { super(Values.class, getterName); @@ -234,6 +250,26 @@ public static class Values { public static native int RGBA16(); @GlobalValue(symbol="kCIFormatRGBAf", optional=true) public static native int RGBAf(); + /** + * @since Available in iOS 14.2 and later. + */ + @GlobalValue(symbol="kCIFormatRGBX16", optional=true) + public static native int RGBX16(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCIFormatRGBXh", optional=true) + public static native int RGBXh(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCIFormatRGBXf", optional=true) + public static native int RGBXf(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCIFormatRGB10", optional=true) + public static native int RGB10(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageOptions.java index 289a57f9e..e5f8a081e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageOptions.java @@ -152,11 +152,18 @@ public static class Keys { */ @GlobalValue(symbol="kCIImageToneMapHDRtoSDR", optional=true) public static native CFString ToneMapHDRtoSDR(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCIImageExpandToHDR", optional=true) + public static native CFString ExpandToHDR(); /** * @since Available in iOS 11.0 and later. */ @GlobalValue(symbol="kCIImageNearestSampling", optional=true) public static native CFString NearestSampling(); + @GlobalValue(symbol="kCIImageCacheImmediately", optional=true) + public static native CFString CacheImmediately(); @GlobalValue(symbol="kCIImageProperties", optional=true) public static native CFString Properties(); /** @@ -204,6 +211,11 @@ public static class Keys { */ @GlobalValue(symbol="kCIImageAuxiliarySemanticSegmentationSkyMatte", optional=true) public static native CFString AuxiliarySemanticSegmentationSkyMatte(); + /** + * @since Available in iOS 14.1 and later. + */ + @GlobalValue(symbol="kCIImageAuxiliaryHDRGainMap", optional=true) + public static native CFString AuxiliaryHDRGainMap(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInput.java index 4d99569ae..5c8e30f4b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInput.java @@ -73,6 +73,16 @@ */ @Property(selector = "digest") long getDigest(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "roiTileIndex") + @MachineSizedUInt long getRoiTileIndex(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "roiTileCount") + @MachineSizedUInt long getRoiTileCount(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInputAdapter.java index e1c13c598..58d92063a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorInputAdapter.java @@ -72,6 +72,16 @@ */ @NotImplemented("digest") public long getDigest() { return 0; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("roiTileIndex") + public @MachineSizedUInt long getRoiTileIndex() { return 0; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("roiTileCount") + public @MachineSizedUInt long getRoiTileCount() { return 0; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorKernel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorKernel.java index 674c53c2b..03b4f24f8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorKernel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIImageProcessorKernel.java @@ -74,6 +74,11 @@ public CIImageProcessorKernel() {} public static native boolean process(NSArray inputs, NSDictionary arguments, CIImageProcessorOutput output, NSError.NSErrorPtr error); @Method(selector = "roiForInput:arguments:outputRect:") public static native @ByVal CGRect roiForInput(int input, NSDictionary arguments, @ByVal CGRect outputRect); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "roiTileArrayForInput:arguments:outputRect:") + public static native NSArray roiTileArrayForInput(int input, NSDictionary arguments, @ByVal CGRect outputRect); @Method(selector = "formatForInputAtIndex:") public static native int formatForInputAtIndex(int input); @Method(selector = "applyWithExtent:inputs:arguments:error:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIRenderInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIRenderInfo.java index 40c985b20..9496ff6a6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIRenderInfo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreimage/CIRenderInfo.java @@ -60,6 +60,11 @@ public CIRenderInfo() {} /**/ @Property(selector = "kernelExecutionTime") public native double getKernelExecutionTime(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "kernelCompileTime") + public native double getKernelCompileTime(); @Property(selector = "passCount") public native @MachineSizedSInt long getPassCount(); @Property(selector = "pixelsProcessed") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBackgroundActivitySession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBackgroundActivitySession.java new file mode 100644 index 000000000..413ff2cc9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBackgroundActivitySession.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLBackgroundActivitySession/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CLBackgroundActivitySessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLBackgroundActivitySession.class); }/**/ + /**//**/ + /**/ + protected CLBackgroundActivitySession() {} + protected CLBackgroundActivitySession(Handle h, long handle) { super(h, handle); } + protected CLBackgroundActivitySession(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "invalidate") + public native void invalidate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "backgroundActivitySession") + public static native CLBackgroundActivitySession backgroundActivitySession(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityCondition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityCondition.java new file mode 100644 index 000000000..450cf6a6a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityCondition.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLBeaconIdentityCondition/**/ + extends /**/CLCondition/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CLBeaconIdentityConditionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLBeaconIdentityCondition.class); }/**/ + /**//**/ + /**/ + protected CLBeaconIdentityCondition() {} + protected CLBeaconIdentityCondition(Handle h, long handle) { super(h, handle); } + protected CLBeaconIdentityCondition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithUUID:") + public CLBeaconIdentityCondition(NSUUID uuid) { super((SkipInit) null); initObject(init(uuid)); } + @Method(selector = "initWithUUID:major:") + public CLBeaconIdentityCondition(NSUUID uuid, short major) { super((SkipInit) null); initObject(init(uuid, major)); } + @Method(selector = "initWithUUID:major:minor:") + public CLBeaconIdentityCondition(NSUUID uuid, short major, short minor) { super((SkipInit) null); initObject(init(uuid, major, minor)); } + /**/ + /**/ + @Property(selector = "UUID") + public native NSUUID getUUID(); + @Property(selector = "major") + public native NSNumber getMajor(); + @Property(selector = "minor") + public native NSNumber getMinor(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithUUID:") + protected native @Pointer long init(NSUUID uuid); + @Method(selector = "initWithUUID:major:") + protected native @Pointer long init(NSUUID uuid, short major); + @Method(selector = "initWithUUID:major:minor:") + protected native @Pointer long init(NSUUID uuid, short major, short minor); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityConstraint.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityConstraint.java index 3025c211f..342859689 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityConstraint.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconIdentityConstraint.java @@ -36,50 +36,34 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Use CLBeaconIdentityCondition */ /**/ -/**/@Library("CoreLocation") @NativeClass/**/ +/**/@Library("CoreLocation") @NativeClass @Deprecated/**/ /**/public/**/ class /**/CLBeaconIdentityConstraint/**/ - extends /**/NSObject/**/ + extends /**/CLBeaconIdentityCondition/**/ /**/implements NSSecureCoding/**/ { /**/public static class CLBeaconIdentityConstraintPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(CLBeaconIdentityConstraint.class); }/**/ /**//**/ /**/ - public CLBeaconIdentityConstraint() {} + protected CLBeaconIdentityConstraint() {} protected CLBeaconIdentityConstraint(Handle h, long handle) { super(h, handle); } protected CLBeaconIdentityConstraint(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithUUID:") - public CLBeaconIdentityConstraint(NSUUID uuid) { super((SkipInit) null); initObject(init(uuid)); } + public CLBeaconIdentityConstraint(NSUUID uuid) { super(uuid); } @Method(selector = "initWithUUID:major:") - public CLBeaconIdentityConstraint(NSUUID uuid, short major) { super((SkipInit) null); initObject(init(uuid, major)); } + public CLBeaconIdentityConstraint(NSUUID uuid, short major) { super(uuid, major); } @Method(selector = "initWithUUID:major:minor:") - public CLBeaconIdentityConstraint(NSUUID uuid, short major, short minor) { super((SkipInit) null); initObject(init(uuid, major, minor)); } - @Method(selector = "initWithCoder:") - public CLBeaconIdentityConstraint(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + public CLBeaconIdentityConstraint(NSUUID uuid, short major, short minor) { super(uuid, major, minor); } /**/ /**/ - @Property(selector = "UUID") - public native NSUUID getUUID(); - @Property(selector = "major") - public native NSNumber getMajor(); - @Property(selector = "minor") - public native NSNumber getMinor(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ - @Method(selector = "initWithUUID:") - protected native @Pointer long init(NSUUID uuid); - @Method(selector = "initWithUUID:major:") - protected native @Pointer long init(NSUUID uuid, short major); - @Method(selector = "initWithUUID:major:minor:") - protected native @Pointer long init(NSUUID uuid, short major, short minor); - @Method(selector = "encodeWithCoder:") - public native void encode(NSCoder coder); - @Method(selector = "initWithCoder:") - protected native @Pointer long init(NSCoder coder); + /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconRegion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconRegion.java index 6300d672b..9002695c8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconRegion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLBeaconRegion.java @@ -34,9 +34,11 @@ /**/ /**/ - +/** + * @deprecated Use CLBeaconIdentityCondition + */ /**/ -/**/@Library("CoreLocation") @NativeClass/**/ +/**/@Library("CoreLocation") @NativeClass @Deprecated/**/ /**/public/**/ class /**/CLBeaconRegion/**/ extends /**/CLRegion/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularGeographicCondition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularGeographicCondition.java new file mode 100644 index 000000000..c6e6ee924 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularGeographicCondition.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLCircularGeographicCondition/**/ + extends /**/CLCondition/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CLCircularGeographicConditionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLCircularGeographicCondition.class); }/**/ + /**//**/ + /**/ + protected CLCircularGeographicCondition() {} + protected CLCircularGeographicCondition(Handle h, long handle) { super(h, handle); } + protected CLCircularGeographicCondition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCenter:radius:") + public CLCircularGeographicCondition(@ByVal CLLocationCoordinate2D center, double radius) { super((SkipInit) null); initObject(init(center, radius)); } + /**/ + /**/ + @Property(selector = "center") + public native @ByVal CLLocationCoordinate2D getCenter(); + @Property(selector = "radius") + public native double getRadius(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCenter:radius:") + protected native @Pointer long init(@ByVal CLLocationCoordinate2D center, double radius); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularRegion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularRegion.java index 8ba0d51f8..3fb8c1bda 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularRegion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCircularRegion.java @@ -34,9 +34,11 @@ /**/ /**/ - +/** + * @deprecated Use CLCircularGeographicCondition + */ /**/ -/**/@Library("CoreLocation") @NativeClass/**/ +/**/@Library("CoreLocation") @NativeClass @Deprecated/**/ /**/public/**/ class /**/CLCircularRegion/**/ extends /**/CLRegion/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCondition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCondition.java new file mode 100644 index 000000000..c83f3efae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLCondition.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLCondition/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CLConditionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLCondition.class); }/**/ + /**//**/ + /**/ + protected CLCondition() {} + protected CLCondition(Handle h, long handle) { super(h, handle); } + protected CLCondition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CLCondition(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLGeocoder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLGeocoder.java index 967771b7c..1af394af6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLGeocoder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLGeocoder.java @@ -69,8 +69,6 @@ public CLGeocoder() {} @WeaklyLinked @Method(selector = "geocodeAddressDictionary:completionHandler:") public native void geocodeAddress(ABPersonAddress addressDictionary, @Block VoidBlock2, NSError> completionHandler); - @Method(selector = "geocodeAddressString:completionHandler:") - public native void geocodeAddress(String addressString, @Block VoidBlock2, NSError> completionHandler); @Method(selector = "geocodeAddressString:inRegion:completionHandler:") public native void geocodeAddress(String addressString, CLRegion region, @Block VoidBlock2, NSError> completionHandler); /** @@ -78,6 +76,8 @@ public CLGeocoder() {} */ @Method(selector = "geocodeAddressString:inRegion:preferredLocale:completionHandler:") public native void geocodeAddress(String addressString, CLRegion region, NSLocale locale, @Block VoidBlock2, NSError> completionHandler); + @Method(selector = "geocodeAddressString:completionHandler:") + public native void geocodeAddress(String addressString, @Block VoidBlock2, NSError> completionHandler); @Method(selector = "cancelGeocode") public native void cancelGeocode(); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLiveUpdateConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLiveUpdateConfiguration.java new file mode 100644 index 000000000..bad503ce3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLiveUpdateConfiguration.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CLLiveUpdateConfiguration/**/ implements ValuedEnum { + /**/ + Default(0L), + AutomotiveNavigation(1L), + OtherNavigation(2L), + Fitness(3L), + Airborne(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CLLiveUpdateConfiguration/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CLLiveUpdateConfiguration/**/ valueOf(long n) { + for (/**/CLLiveUpdateConfiguration/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CLLiveUpdateConfiguration/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationManager.java index 251c84d43..5bf7a028a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationManager.java @@ -185,10 +185,22 @@ public CLLocationManager() {} */ @Method(selector = "stopMonitoringLocationPushes") public native void stopMonitoringLocationPushes(); + /** + * @deprecated Use CLMonitor to start or stop monitoring constraint + */ + @Deprecated @Method(selector = "stopMonitoringForRegion:") public native void stopMonitoring(CLRegion region); + /** + * @deprecated Use CLMonitor to start or stop monitoring constraint + */ + @Deprecated @Method(selector = "startMonitoringForRegion:") public native void startMonitoring(CLRegion region); + /** + * @deprecated Use CLMonitor to track and query the state for monitored constraints + */ + @Deprecated @Method(selector = "requestStateForRegion:") public native void requestState(CLRegion region); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationPushServiceError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationPushServiceError.java index f75ea94d3..0a702b82d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationPushServiceError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationPushServiceError.java @@ -44,7 +44,8 @@ public enum /**/CLLocationPushServiceError/**/ implements NSErrorCo Unknown(0L), MissingPushExtension(1L), MissingPushServerEnvironment(2L), - MissingEntitlement(3L); + MissingEntitlement(3L), + UnsupportedPlatform(4L); /**/ /**/static { Bro.bind(CLLocationPushServiceError.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationUpdater.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationUpdater.java new file mode 100644 index 000000000..0c7baf140 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLLocationUpdater.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLLocationUpdater/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CLLocationUpdaterPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLLocationUpdater.class); }/**/ + /**//**/ + /**/ + protected CLLocationUpdater() {} + protected CLLocationUpdater(Handle h, long handle) { super(h, handle); } + protected CLLocationUpdater(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + public CLLocationUpdater(org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock1 handler) { super((Handle) null, createLiveUpdater(queue, handler)); retain(getHandle()); } + /** + * @since Available in iOS 17.0 and later. + */ + public CLLocationUpdater(CLLiveUpdateConfiguration configuration, org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock1 handler) { super((Handle) null, createLiveUpdater(configuration, queue, handler)); retain(getHandle()); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resume") + public native void resume(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "pause") + public native void pause(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "invalidate") + public native void invalidate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "liveUpdaterWithQueue:handler:") + protected static native @Pointer long createLiveUpdater(org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock1 handler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "liveUpdaterWithConfiguration:queue:handler:") + protected static native @Pointer long createLiveUpdater(CLLiveUpdateConfiguration configuration, org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock1 handler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitor.java new file mode 100644 index 000000000..bdcd9184a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitor.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLMonitor/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CLMonitorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLMonitor.class); }/**/ + /**//**/ + /**/ + protected CLMonitor() {} + protected CLMonitor(Handle h, long handle) { super(h, handle); } + protected CLMonitor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "name") + public native String getName(); + @Property(selector = "monitoredIdentifiers") + public native NSArray getMonitoredIdentifiers(); + /**/ + /**//**/ + /**/ + @Method(selector = "addConditionForMonitoring:identifier:") + public native void addCondition(CLCondition condition, String identifier); + @Method(selector = "addConditionForMonitoring:identifier:assumedState:") + public native void addCondition(CLCondition condition, String identifier, CLMonitoringState state); + @Method(selector = "removeConditionFromMonitoringWithIdentifier:") + public native void removeCondition(String identifier); + @Method(selector = "monitoringRecordForIdentifier:") + public native CLMonitoringRecord monitoringRecordForIdentifier(String identifier); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestMonitorWithConfiguration:completion:") + public static native void requestMonitor(CLMonitorConfiguration config, @Block VoidBlock1 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitorConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitorConfiguration.java new file mode 100644 index 000000000..359789522 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitorConfiguration.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLMonitorConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CLMonitorConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLMonitorConfiguration.class); }/**/ + /**//**/ + /**/ + public CLMonitorConfiguration() {} + protected CLMonitorConfiguration(Handle h, long handle) { super(h, handle); } + protected CLMonitorConfiguration(SkipInit skipInit) { super(skipInit); } + public CLMonitorConfiguration(String name, org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock2 eventHandler) { super((Handle) null, create(name, queue, eventHandler)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "name") + public native String getName(); + @Property(selector = "queue") + public native org.robovm.apple.dispatch.DispatchQueue getQueue(); + @Property(selector = "eventHandler") + public native @Block VoidBlock2 getEventHandler(); + /**/ + /**//**/ + /**/ + @Method(selector = "configWithMonitorName:queue:eventHandler:") + protected static native @Pointer long create(String name, org.robovm.apple.dispatch.DispatchQueue queue, @Block VoidBlock2 eventHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringEvent.java new file mode 100644 index 000000000..fb40fe2f8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringEvent.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLMonitoringEvent/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CLMonitoringEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLMonitoringEvent.class); }/**/ + /**//**/ + /**/ + protected CLMonitoringEvent() {} + protected CLMonitoringEvent(Handle h, long handle) { super(h, handle); } + protected CLMonitoringEvent(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CLMonitoringEvent(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + @Property(selector = "refinement") + public native CLCondition getRefinement(); + @Property(selector = "state") + public native CLMonitoringState getState(); + @Property(selector = "date") + public native NSDate getDate(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringRecord.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringRecord.java new file mode 100644 index 000000000..3eec25664 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringRecord.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLMonitoringRecord/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CLMonitoringRecordPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLMonitoringRecord.class); }/**/ + /**//**/ + /**/ + protected CLMonitoringRecord() {} + protected CLMonitoringRecord(Handle h, long handle) { super(h, handle); } + protected CLMonitoringRecord(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CLMonitoringRecord(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "condition") + public native CLCondition getCondition(); + @Property(selector = "lastEvent") + public native CLMonitoringEvent getLastEvent(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringState.java new file mode 100644 index 000000000..1fdeb5f31 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLMonitoringState.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/CLMonitoringState/**/ implements ValuedEnum { + /**/ + Unknown(0L), + Satisfied(1L), + Unsatisfied(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CLMonitoringState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CLMonitoringState/**/ valueOf(long n) { + for (/**/CLMonitoringState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CLMonitoringState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLUpdate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLUpdate.java new file mode 100644 index 000000000..e747fbcbf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corelocation/CLUpdate.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.corelocation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.corebluetooth.*; +import org.robovm.apple.contacts.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreLocation") @NativeClass/**/ +/**/public/**/ class /**/CLUpdate/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CLUpdatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CLUpdate.class); }/**/ + /**//**/ + /**/ + public CLUpdate() {} + protected CLUpdate(Handle h, long handle) { super(h, handle); } + protected CLUpdate(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isStationary") + public native boolean isStationary(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "location") + public native CLLocation getLocation(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMBufferQueue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMBufferQueue.java index 1e81f3626..5ce109813 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMBufferQueue.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMBufferQueue.java @@ -313,8 +313,17 @@ public void setValidationCallback(ValidationCallback callback) throws OSStatusEx public native CFType dequeueAndRetain(); @Bridge(symbol="CMBufferQueueDequeueIfDataReadyAndRetain", optional=true) public native CFType dequeueIfDataReadyAndRetain(); + /** + * @deprecated Use CMBufferQueueCopyHead + */ + @Deprecated @Bridge(symbol="CMBufferQueueGetHead", optional=true) public native CFType getHead(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMBufferQueueCopyHead", optional=true) + public native CFType copyHead(); @Bridge(symbol="CMBufferQueueIsEmpty", optional=true) public native boolean isEmpty(); @Bridge(symbol="CMBufferQueueMarkEndOfData", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMFormatDescriptionExtension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMFormatDescriptionExtension.java index cc22eb9a3..69796c919 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMFormatDescriptionExtension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMFormatDescriptionExtension.java @@ -170,6 +170,11 @@ public static class Keys { public static native CFString VerbatimSampleDescription(); @GlobalValue(symbol="kCMFormatDescriptionExtension_VerbatimISOSampleEntry", optional=true) public static native CFString VerbatimISOSampleEntry(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionExtension_HeroEye", optional=true) + public static native CFString HeroEye(); } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMediaType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMediaType.java index 22ccaa3dd..dedfc15b0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMediaType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMediaType.java @@ -49,7 +49,8 @@ public enum /**/CMMediaType/**/ implements ValuedEnum { ClosedCaption(1668047728L), Subtitle(1935832172L), TimeCode(1953325924L), - Metadata(1835365473L); + Metadata(1835365473L), + TaggedBufferGroup(1952606066L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMuxedStreamType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMuxedStreamType.java index 3d832fbe6..5ccc9382f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMuxedStreamType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMMuxedStreamType.java @@ -45,7 +45,11 @@ public enum /**/CMMuxedStreamType/**/ implements ValuedEnum { MPEG1System(1836069235L), MPEG2Transport(1836069492L), MPEG2Program(1836069488L), - DV(1685463072L); + DV(1685463072L), + /** + * @since Available in iOS 17.0 and later. + */ + EmbeddedDeviceScreenRecording(1769173536L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMPackingType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMPackingType.java new file mode 100644 index 000000000..9674ea490 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMPackingType.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsLongMarshaler.class)/**/ +public enum /**/CMPackingType/**/ implements ValuedEnum { + /**/ + None(1852796517L), + SideBySide(1936286821L), + OverUnder(1870030194L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMPackingType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMPackingType/**/ valueOf(long n) { + for (/**/CMPackingType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMPackingType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMProjectionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMProjectionType.java new file mode 100644 index 000000000..b95711515 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMProjectionType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsLongMarshaler.class)/**/ +public enum /**/CMProjectionType/**/ implements ValuedEnum { + /**/ + Rectangular(1919247220L), + Equirectangular(1701934441L), + HalfEquirectangular(1751478645L), + Fisheye(1718186856L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMProjectionType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMProjectionType/**/ valueOf(long n) { + for (/**/CMProjectionType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMProjectionType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMSampleBuffer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMSampleBuffer.java index b3b29b13b..090c364a6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMSampleBuffer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMSampleBuffer.java @@ -729,5 +729,16 @@ public CMSampleBufferAttachment getSampleBufferAttachments(CMAttachmentMode atta protected native OSStatus callForEachSample0(FunctionPtr callback, @Pointer long refcon); @Bridge(symbol="CMSampleBufferCallBlockForEachSample", optional=true) protected native OSStatus callForEachSample0(@Block Block2 handler); + /** + * @since Available in iOS 17.0 and later. + */ + @WeaklyLinked + @Bridge(symbol="CMSampleBufferCreateForTaggedBufferGroup", optional=true) + protected static native OSStatus createForTaggedBufferGroup0(CFAllocator allocator, CMTaggedBufferGroup taggedBufferGroup, @ByVal CMTime sbufPTS, @ByVal CMTime sbufDuration, CMFormatDescription formatDescription, CMSampleBuffer.CMSampleBufferPtr sBufOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMSampleBufferGetTaggedBufferGroup", optional=true) + public native CMTaggedBufferGroup getTaggedBufferGroup(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewComponents.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewComponents.java new file mode 100644 index 000000000..9deb09568 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewComponents.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsLongMarshaler.class)/**/ +public final class /**/CMStereoViewComponents/**/ extends Bits*/CMStereoViewComponents/**/> { + /**/ + public static final CMStereoViewComponents None = new CMStereoViewComponents(0L); + public static final CMStereoViewComponents LeftEye = new CMStereoViewComponents(1L); + public static final CMStereoViewComponents RightEye = new CMStereoViewComponents(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/CMStereoViewComponents/**/[] values = _values(/**/CMStereoViewComponents/**/.class); + + public /**/CMStereoViewComponents/**/(long value) { super(value); } + private /**/CMStereoViewComponents/**/(long value, long mask) { super(value, mask); } + protected /**/CMStereoViewComponents/**/ wrap(long value, long mask) { + return new /**/CMStereoViewComponents/**/(value, mask); + } + protected /**/CMStereoViewComponents/**/[] _values() { + return values; + } + public static /**/CMStereoViewComponents/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewInterpretationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewInterpretationOptions.java new file mode 100644 index 000000000..beac9431a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMStereoViewInterpretationOptions.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsLongMarshaler.class)/**/ +public final class /**/CMStereoViewInterpretationOptions/**/ extends Bits*/CMStereoViewInterpretationOptions/**/> { + /**/ + public static final CMStereoViewInterpretationOptions None = new CMStereoViewInterpretationOptions(0L); + public static final CMStereoViewInterpretationOptions Default = new CMStereoViewInterpretationOptions(0L); + public static final CMStereoViewInterpretationOptions StereoOrderReversed = new CMStereoViewInterpretationOptions(1L); + public static final CMStereoViewInterpretationOptions AdditionalViews = new CMStereoViewInterpretationOptions(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/CMStereoViewInterpretationOptions/**/[] values = _values(/**/CMStereoViewInterpretationOptions/**/.class); + + public /**/CMStereoViewInterpretationOptions/**/(long value) { super(value); } + private /**/CMStereoViewInterpretationOptions/**/(long value, long mask) { super(value, mask); } + protected /**/CMStereoViewInterpretationOptions/**/ wrap(long value, long mask) { + return new /**/CMStereoViewInterpretationOptions/**/(value, mask); + } + protected /**/CMStereoViewInterpretationOptions/**/[] _values() { + return values; + } + public static /**/CMStereoViewInterpretationOptions/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTag.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTag.java new file mode 100644 index 000000000..df887537b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTag.java @@ -0,0 +1,387 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ + +/**/ +/**/@Library("CoreMedia")/**/ +/**/public/**/ class /**/CMTag/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class CMTagPtr extends Ptr {}/**/ + /**/static { Bro.bind(CMTag.class); }/**/ + /**//**/ + /**/ + public CMTag() {} + public CMTag(CMTagCategory category, CMTagDataType dataType, long value) { + this.setCategory(category); + this.setDataType(dataType); + this.setValue(value); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native CMTagCategory getCategory(); + @StructMember(0) public native CMTag setCategory(CMTagCategory category); + @StructMember(1) public native CMTagDataType getDataType(); + @StructMember(1) public native CMTag setDataType(CMTagDataType dataType); + @StructMember(2) public native long getValue(); + @StructMember(2) public native CMTag setValue(long value); + /**/ + /**/ + @Library("CoreMedia") + public static class Constants { + static { Bro.bind(Constants.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagInvalid", optional=true) + public static native @ByVal CMTag Invalid(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagMediaTypeVideo", optional=true) + public static native @ByVal CMTag MediaTypeVideo(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagMediaSubTypeMebx", optional=true) + public static native @ByVal CMTag MediaSubTypeMebx(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagMediaTypeAudio", optional=true) + public static native @ByVal CMTag MediaTypeAudio(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagMediaTypeMetadata", optional=true) + public static native @ByVal CMTag MediaTypeMetadata(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagStereoLeftEye", optional=true) + public static native @ByVal CMTag StereoLeftEye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagStereoRightEye", optional=true) + public static native @ByVal CMTag StereoRightEye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagStereoLeftAndRightEye", optional=true) + public static native @ByVal CMTag StereoLeftAndRightEye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagStereoNone", optional=true) + public static native @ByVal CMTag StereoNone(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagStereoInterpretationOrderReversed", optional=true) + public static native @ByVal CMTag StereoInterpretationOrderReversed(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagProjectionTypeRectangular", optional=true) + public static native @ByVal CMTag ProjectionTypeRectangular(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagProjectionTypeEquirectangular", optional=true) + public static native @ByVal CMTag ProjectionTypeEquirectangular(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagProjectionTypeFisheye", optional=true) + public static native @ByVal CMTag ProjectionTypeFisheye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagPackingTypeNone", optional=true) + public static native @ByVal CMTag PackingTypeNone(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagPackingTypeSideBySide", optional=true) + public static native @ByVal CMTag PackingTypeSideBySide(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagPackingTypeOverUnder", optional=true) + public static native @ByVal CMTag PackingTypeOverUnder(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagValueKey", optional=true) + public static native String ValueKey(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagCategoryKey", optional=true) + public static native String CategoryKey(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagDataTypeKey", optional=true) + public static native String DataTypeKey(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMTagCollectionTagsArrayKey", optional=true) + public static native String CollectionTagsArrayKey(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + public CMTagDataType getValueDataType() { return getValueDataType(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagGetValueDataType", optional=true) + private static native CMTagDataType getValueDataType(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean hasSInt64Value() { return hasSInt64Value(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagHasSInt64Value", optional=true) + private static native boolean hasSInt64Value(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public long getSInt64Value() { return getSInt64Value(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagGetSInt64Value", optional=true) + private static native long getSInt64Value(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean hasFloat64Value() { return hasFloat64Value(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagHasFloat64Value", optional=true) + private static native boolean hasFloat64Value(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public double getFloat64Value() { return getFloat64Value(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagGetFloat64Value", optional=true) + private static native double getFloat64Value(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean hasOSTypeValue() { return hasOSTypeValue(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagHasOSTypeValue", optional=true) + private static native boolean hasOSTypeValue(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public int getOSTypeValue() { return getOSTypeValue(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagGetOSTypeValue", optional=true) + private static native int getOSTypeValue(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean hasFlagsValue() { return hasFlagsValue(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagHasFlagsValue", optional=true) + private static native boolean hasFlagsValue(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public long getFlagsValue() { return getFlagsValue(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagGetFlagsValue", optional=true) + private static native long getFlagsValue(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagMakeWithSInt64Value", optional=true) + public static native @ByVal CMTag makeWithSInt64Value(CMTagCategory category, long value); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagMakeWithFloat64Value", optional=true) + public static native @ByVal CMTag makeWithFloat64Value(CMTagCategory category, double value); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagMakeWithOSTypeValue", optional=true) + public static native @ByVal CMTag makeWithOSTypeValue(CMTagCategory category, int value); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagMakeWithFlagsValue", optional=true) + public static native @ByVal CMTag makeWithFlagsValue(CMTagCategory category, long flagsForTag); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean equalToTag(CMTag tag2) { return equalToTag(this, tag2); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagEqualToTag", optional=true) + private static native boolean equalToTag(@ByVal CMTag tag1, @ByVal CMTag tag2); + /** + * @since Available in iOS 17.0 and later. + */ + public CFComparisonResult compare(CMTag tag2) { return compare(this, tag2); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCompare", optional=true) + private static native CFComparisonResult compare(@ByVal CMTag tag1, @ByVal CMTag tag2); + /** + * @since Available in iOS 17.0 and later. + */ + public @MachineSizedUInt long hash() { return hash(this); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagHash", optional=true) + private static native @MachineSizedUInt long hash(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCopyDescription", optional=true) + public static native String copyDescription(CFAllocator allocator, @ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + public NSDictionary copyAsDictionary(CFAllocator allocator) { return copyAsDictionary(this, allocator); } + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCopyAsDictionary", optional=true) + private static native NSDictionary copyAsDictionary(@ByVal CMTag tag, CFAllocator allocator); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagMakeFromDictionary", optional=true) + public static native @ByVal CMTag makeFromDictionary(NSDictionary dict); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupCreate", optional=true) + public static native OSStatus gedBufferGroupCreate(CFAllocator allocator, NSArray tagCollections, NSArray buffers, CMTaggedBufferGroup.CMTaggedBufferGroupPtr groupOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupCreateCombined", optional=true) + public static native OSStatus gedBufferGroupCreateCombined(CFAllocator allocator, NSArray taggedBufferGroups, CMTaggedBufferGroup.CMTaggedBufferGroupPtr groupOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCount", optional=true) + public static native @MachineSizedSInt long gedBufferGroupGetCount(CMTaggedBufferGroup group); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetTagCollectionAtIndex", optional=true) + public static native CMTagCollection gedBufferGroupGetTagCollectionAtIndex(CMTaggedBufferGroup group, @MachineSizedSInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCVPixelBufferAtIndex", optional=true) + public static native CVPixelBuffer gedBufferGroupGetCVPixelBufferAtIndex(CMTaggedBufferGroup group, @MachineSizedSInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCVPixelBufferForTag", optional=true) + public static native CVPixelBuffer gedBufferGroupGetCVPixelBufferForTag(CMTaggedBufferGroup group, @ByVal CMTag tag, MachineSizedSIntPtr indexOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCVPixelBufferForTagCollection", optional=true) + public static native CVPixelBuffer gedBufferGroupGetCVPixelBufferForTagCollection(CMTaggedBufferGroup group, CMTagCollection tagCollection, MachineSizedSIntPtr indexOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCMSampleBufferAtIndex", optional=true) + public static native CMSampleBuffer gedBufferGroupGetCMSampleBufferAtIndex(CMTaggedBufferGroup group, @MachineSizedSInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCMSampleBufferForTag", optional=true) + public static native CMSampleBuffer gedBufferGroupGetCMSampleBufferForTag(CMTaggedBufferGroup group, @ByVal CMTag tag, MachineSizedSIntPtr indexOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetCMSampleBufferForTagCollection", optional=true) + public static native CMSampleBuffer gedBufferGroupGetCMSampleBufferForTagCollection(CMTaggedBufferGroup group, CMTagCollection tagCollection, MachineSizedSIntPtr indexOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetNumberOfMatchesForTagCollection", optional=true) + public static native @MachineSizedSInt long gedBufferGroupGetNumberOfMatchesForTagCollection(CMTaggedBufferGroup group, CMTagCollection tagCollection); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup", optional=true) + public static native OSStatus gedBufferGroupFormatDescriptionCreateForTaggedBufferGroup(CFAllocator allocator, CMTaggedBufferGroup taggedBufferGroup, CMFormatDescription.CMFormatDescriptionPtr formatDescriptionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup", optional=true) + public static native boolean gedBufferGroupFormatDescriptionMatchesTaggedBufferGroup(CMFormatDescription desc, CMTaggedBufferGroup taggedBufferGroup); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCategory.java new file mode 100644 index 000000000..f28131fcf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCategory.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public enum /**/CMTagCategory/**/ implements ValuedEnum { + /**/ + Undefined(0L), + MediaType(1835297121L), + MediaSubType(1836283234L), + TrackID(1953653099L), + ChannelID(1986226286L), + VideoLayerID(1986814329L), + PixelFormat(1885960294L), + PackingType(1885430635L), + ProjectionType(1886547818L), + StereoView(1702454643L), + StereoViewInterpretation(1702455664L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMTagCategory/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMTagCategory/**/ valueOf(long n) { + for (/**/CMTagCategory/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMTagCategory/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollection.java new file mode 100644 index 000000000..fa257636d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollection.java @@ -0,0 +1,267 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/**/ +/**/@Library("CoreMedia")/**/ +/**/public/**/ class /**/CMTagCollection/**/ + extends /**/CFType/**/ + /**//**/ { + + /**/public static class CMTagCollectionPtr extends Ptr {}/**/ + /**/static { Bro.bind(CMTagCollection.class); }/**/ + /**//**/ + /**/ + protected CMTagCollection() {} + /**/ + /**//**/ + /**//**/ + + /** + * @since Available in iOS 17.0 and later. + */ + public static CMTagCollection create(CMTag tags, long tagCount) throws OSStatusException { + CMTagCollection.CMTagCollectionPtr ptr = new CMTagCollection.CMTagCollectionPtr(); + OSStatus status = create0(null, tags, tagCount, ptr); + OSStatusException.throwIfNecessary(status); + return ptr.get(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + public static CMTagCollection createMutable(long capacity) throws OSStatusException { + CMTagCollection.CMTagCollectionPtr ptr = new CMTagCollection.CMTagCollectionPtr(); + OSStatus status = createMutable0(null, capacity, ptr); + OSStatusException.throwIfNecessary(status); + return ptr.get(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + public CMTagCollection createCopy() throws OSStatusException { + CMTagCollection.CMTagCollectionPtr ptr = new CMTagCollection.CMTagCollectionPtr(); + OSStatus status = createCopy0(null, ptr); + OSStatusException.throwIfNecessary(status); + return ptr.get(); + } + + /** + * @since Available in iOS 17.0 and later. + */ + public CMTagCollection createMutableCopy() throws OSStatusException { + CMTagCollection.CMTagCollectionPtr ptr = new CMTagCollection.CMTagCollectionPtr(); + OSStatus status = createMutableCopy0(null, ptr); + OSStatusException.throwIfNecessary(status); + return ptr.get(); + } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetTypeID", optional=true) + public static native @MachineSizedUInt long getClassTypeID(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreate", optional=true) + private static native OSStatus create0(CFAllocator allocator, CMTag tags, @MachineSizedSInt long tagCount, CMTagCollection.CMTagCollectionPtr newCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateMutable", optional=true) + private static native OSStatus createMutable0(CFAllocator allocator, @MachineSizedSInt long capacity, CMTagCollection.CMTagCollectionPtr newMutableCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateCopy", optional=true) + private native OSStatus createCopy0(CFAllocator allocator, CMTagCollection.CMTagCollectionPtr newCollectionCopyOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateMutableCopy", optional=true) + private native OSStatus createMutableCopy0(CFAllocator allocator, CMTagCollection.CMTagCollectionPtr newMutableCollectionCopyOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCopyDescription", optional=true) + public static native String copyDescription(CFAllocator allocator, CMTagCollection tagCollection); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetCount", optional=true) + public native @MachineSizedSInt long getCount(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionContainsTag", optional=true) + public native boolean containsTag(@ByVal CMTag tag); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionContainsTagsOfCollection", optional=true) + public native boolean containsTagsOfCollection(CMTagCollection containedTagCollection); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionContainsSpecifiedTags", optional=true) + public native boolean containsSpecifiedTags(CMTag containedTags, @MachineSizedSInt long containedTagCount); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionContainsCategory", optional=true) + public native boolean containsCategory(CMTagCategory category); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetCountOfCategory", optional=true) + public native @MachineSizedSInt long getCountOfCategory(CMTagCategory category); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetTags", optional=true) + public native OSStatus getTags(CMTag tagBuffer, @MachineSizedSInt long tagBufferCount, MachineSizedSIntPtr numberOfTagsCopied); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetTagsWithCategory", optional=true) + public native OSStatus getTagsWithCategory(CMTagCategory category, CMTag tagBuffer, @MachineSizedSInt long tagBufferCount, MachineSizedSIntPtr numberOfTagsCopied); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCountTagsWithFilterFunction", optional=true) + public native @MachineSizedSInt long countTagsWithFilterFunction(FunctionPtr filterApplier, VoidPtr context); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionGetTagsWithFilterFunction", optional=true) + public native OSStatus getTagsWithFilterFunction(CMTag tagBuffer, @MachineSizedSInt long tagBufferCount, MachineSizedSIntPtr numberOfTagsCopied, FunctionPtr filter, VoidPtr context); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCopyTagsOfCategories", optional=true) + public static native OSStatus copyTagsOfCategories(CFAllocator allocator, CMTagCollection tagCollection, IntPtr categories, @MachineSizedSInt long categoriesCount, CMTagCollection.CMTagCollectionPtr collectionWithTagsOfCategories); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionApply", optional=true) + public native void apply(FunctionPtr applier, VoidPtr context); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionApplyUntil", optional=true) + public native @ByVal CMTag applyUntil(FunctionPtr applier, VoidPtr context); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionIsEmpty", optional=true) + public native boolean isEmpty(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateIntersection", optional=true) + private native OSStatus createIntersection0(CMTagCollection tagCollection2, CMTagCollection.CMTagCollectionPtr tagCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateUnion", optional=true) + private native OSStatus createUnion0(CMTagCollection tagCollection2, CMTagCollection.CMTagCollectionPtr tagCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateDifference", optional=true) + private native OSStatus createDifference0(CMTagCollection tagCollectionSubtrahend, CMTagCollection.CMTagCollectionPtr tagCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateExclusiveOr", optional=true) + private native OSStatus createExclusiveOr0(CMTagCollection tagCollection2, CMTagCollection.CMTagCollectionPtr tagCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionAddTag", optional=true) + public native OSStatus addTag(@ByVal CMTag tagToAdd); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionRemoveTag", optional=true) + public native OSStatus removeTag(@ByVal CMTag tagToRemove); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionRemoveAllTags", optional=true) + public native OSStatus removeAllTags(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionRemoveAllTagsOfCategory", optional=true) + public native OSStatus removeAllTagsOfCategory(CMTagCategory category); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionAddTagsFromCollection", optional=true) + public native OSStatus addTagsFromCollection(CMTagCollection collectionWithTagsToAdd); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionAddTagsFromArray", optional=true) + public native OSStatus addTagsFromArray(CMTag tags, @MachineSizedSInt long tagCount); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCopyAsDictionary", optional=true) + public native NSDictionary copyAsDictionary(CFAllocator allocator); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateFromDictionary", optional=true) + private static native OSStatus createFromDictionary0(NSDictionary dict, CFAllocator allocator, CMTagCollection.CMTagCollectionPtr newCollectionOut); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCopyAsData", optional=true) + public native NSData copyAsData(CFAllocator allocator); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTagCollectionCreateFromData", optional=true) + private static native OSStatus createFromData0(NSData data, CFAllocator allocator, CMTagCollection.CMTagCollectionPtr newCollectionOut); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollectionError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollectionError.java new file mode 100644 index 000000000..fc9c1edcc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagCollectionError.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public enum /**/CMTagCollectionError/**/ implements ValuedEnum { + /**/ + ParamErr(-15740L), + AllocationFailed(-15741L), + InternalError(-15742L), + InvalidTag(-15743L), + InvalidTagCollectionDictionary(-15744L), + InvalidTagCollectionData(-15745L), + TagNotFound(-15746L), + InvalidTagCollectionDataVersion(-15747L), + ExhaustedBufferSize(-15748L), + NotYetImplemented(-15749L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMTagCollectionError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMTagCollectionError/**/ valueOf(long n) { + for (/**/CMTagCollectionError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMTagCollectionError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagDataType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagDataType.java new file mode 100644 index 000000000..3c91d8deb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagDataType.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public enum /**/CMTagDataType/**/ implements ValuedEnum { + /**/ + Invalid(0L), + SInt64(2L), + Float64(3L), + OSType(5L), + Flags(7L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMTagDataType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMTagDataType/**/ valueOf(long n) { + for (/**/CMTagDataType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMTagDataType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagError.java new file mode 100644 index 000000000..6014de342 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTagError.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public enum /**/CMTagError/**/ implements ValuedEnum { + /**/ + ParamErr(-15730L), + AllocationFailed(-15731L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMTagError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMTagError/**/ valueOf(long n) { + for (/**/CMTagError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMTagError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroup.java new file mode 100644 index 000000000..1b993e387 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroup.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/**/ +/**/@Library("CoreMedia")/**/ +/**/public/**/ class /**/CMTaggedBufferGroup/**/ + extends /**/CFType/**/ + /**//**/ { + + /**/public static class CMTaggedBufferGroupPtr extends Ptr {}/**/ + /**/static { Bro.bind(CMTaggedBufferGroup.class); }/**/ + /**/ + public static final int FormatTypeTaggedBufferGroup = 1952606066; + /**/ + /**/ + protected CMTaggedBufferGroup() {} + /**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMTaggedBufferGroupGetTypeID", optional=true) + public static native @MachineSizedUInt long getClassTypeID(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroupError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroupError.java new file mode 100644 index 000000000..aef63abf8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTaggedBufferGroupError.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremedia; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.audiotoolbox.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public enum /**/CMTaggedBufferGroupError/**/ implements ValuedEnum { + /**/ + ParamErr(-15780L), + AllocationFailed(-15781L), + InternalError(-15782L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMTaggedBufferGroupError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMTaggedBufferGroupError/**/ valueOf(long n) { + for (/**/CMTaggedBufferGroupError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMTaggedBufferGroupError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescription.java index 06202ad86..e9053f900 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescription.java @@ -264,6 +264,16 @@ public static CMBlockBuffer copyAsBigEndianImageDescriptionBlockBuffer(CFAllocat */ @GlobalValue(symbol="kCMFormatDescriptionAlphaChannelMode_PremultipliedAlpha", optional=true) public static native CFString AlphaChannelModePremultipliedAlpha(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionHeroEye_Left", optional=true) + public static native CFString HeroEyeLeft(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionHeroEye_Right", optional=true) + public static native CFString HeroEyeRight(); /** * @since Available in iOS 9.0 and later. */ @@ -311,6 +321,11 @@ public static CMBlockBuffer copyAsBigEndianImageDescriptionBlockBuffer(CFAllocat public static native @org.robovm.rt.bro.annotation.Marshaler(CFArray.AsStringListMarshaler.class) List getExtensionKeysCommonWithImageBuffers(); @Bridge(symbol="CMVideoFormatDescriptionMatchesImageBuffer", optional=true) public native boolean matchesImageBuffer(CVImageBuffer imageBuffer); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="CMVideoFormatDescriptionCopyTagCollectionArray", optional=true) + public native OSStatus copyTagCollectionArray(NSArray.NSArrayPtr tagCollectionsOut); @Bridge(symbol="CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData", optional=true) private static native OSStatus createFromBigEndianImageDescriptionData0(CFAllocator allocator, BytePtr imageDescriptionData, @MachineSizedUInt long size, int stringEncoding, String flavor, CMVideoFormatDescription.CMVideoFormatDescriptionPtr formatDescriptionOut); @Bridge(symbol="CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescriptionExtension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescriptionExtension.java index a6b81bbde..4327ef0a6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescriptionExtension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremedia/CMVideoFormatDescriptionExtension.java @@ -413,6 +413,11 @@ public static class Keys { */ @GlobalValue(symbol="kCMFormatDescriptionExtension_ContentLightLevelInfo", optional=true) public static native CFString ContentLightLevelInfo(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionExtension_ContentColorVolume", optional=true) + public static native CFString ContentColorVolume(); /** * @since Available in iOS 12.0 and later. */ @@ -443,6 +448,16 @@ public static class Keys { */ @GlobalValue(symbol="kCMFormatDescriptionExtension_HorizontalFieldOfView", optional=true) public static native CFString HorizontalFieldOfView(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionExtension_StereoCameraBaseline", optional=true) + public static native CFString StereoCameraBaseline(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCMFormatDescriptionExtension_HorizontalDisparityAdjustment", optional=true) + public static native CFString HorizontalDisparityAdjustment(); /** * @since Available in iOS 15.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDI.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDI.java index c685fae75..70f24c3ee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDI.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDI.java @@ -75,6 +75,16 @@ public static native MIDIError send(MIDIPort port, MIDIEndpoint dest, MIDIPacketList pktlist); @Bridge(symbol="MIDISendSysex", optional=true) public static native MIDIError sendSysex(MIDISysexSendRequest request); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="MIDISendUMPSysex", optional=true) + public static native MIDIError sendUMPSysex(MIDISysexSendRequestUMP umpRequest); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="MIDISendUMPSysex8", optional=true) + public static native MIDIError sendUMPSysex8(MIDISysexSendRequestUMP umpRequest); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDIEventPacket.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDIEventPacket.java index 8112b9d57..c4a5eee7d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDIEventPacket.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDIEventPacket.java @@ -34,14 +34,13 @@ /**/ /**/ -/**//**/ +/**/@Library("CoreMIDI")/**/ /**/public/**/ class /**/MIDIEventPacket/**/ extends /**/Struct/**/ /**//**/ { /**/public static class MIDIEventPacketPtr extends Ptr {}/**/ - /**/ - /**/ + /**/static { Bro.bind(MIDIEventPacket.class); }/**/ /**//**/ /**/ public MIDIEventPacket() {} @@ -60,5 +59,11 @@ public MIDIEventPacket(long timeStamp, int wordCount, IntBuffer words) { @StructMember(2) public native @Array({64}) IntBuffer getWords(); @StructMember(2) public native MIDIEventPacket setWords(@Array({64}) IntBuffer words); /**/ - /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="MIDIEventPacketSysexBytesForGroup", optional=true) + public native OSStatus getSysexBytesForGroup(byte groupIndex, NSData.NSDataPtr outData); + /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDISysexSendRequestUMP.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDISysexSendRequestUMP.java new file mode 100644 index 000000000..746375531 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremidi/MIDISysexSendRequestUMP.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremidi; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MIDISysexSendRequestUMP/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MIDISysexSendRequestUMPPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MIDISysexSendRequestUMP() {} + public MIDISysexSendRequestUMP(MIDIEndpoint destination, IntPtr words, int wordsToSend, boolean complete, FunctionPtr completionProc, VoidPtr completionRefCon) { + this.setDestination(destination); + this.setWords(words); + this.setWordsToSend(wordsToSend); + this.setComplete(complete); + this.setCompletionProc(completionProc); + this.setCompletionRefCon(completionRefCon); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native MIDIEndpoint getDestination(); + @StructMember(0) public native MIDISysexSendRequestUMP setDestination(MIDIEndpoint destination); + @StructMember(1) public native IntPtr getWords(); + @StructMember(1) public native MIDISysexSendRequestUMP setWords(IntPtr words); + @StructMember(2) public native int getWordsToSend(); + @StructMember(2) public native MIDISysexSendRequestUMP setWordsToSend(int wordsToSend); + @StructMember(3) public native boolean isComplete(); + @StructMember(3) public native MIDISysexSendRequestUMP setComplete(boolean complete); + @StructMember(4) public native FunctionPtr getCompletionProc(); + @StructMember(4) public native MIDISysexSendRequestUMP setCompletionProc(FunctionPtr completionProc); + @StructMember(5) public native VoidPtr getCompletionRefCon(); + @StructMember(5) public native MIDISysexSendRequestUMP setCompletionRefCon(VoidPtr completionRefCon); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLAllComputeDevices.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLAllComputeDevices.java new file mode 100644 index 000000000..e3dc4e7da --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLAllComputeDevices.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreml; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/**/ +/**/@Library("CoreML")/**/ +/**/public/**/ class /**/MLAllComputeDevices/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MLAllComputeDevices.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="MLAllComputeDevices", optional=true) + public static native NSArray getAllComputeDevices(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCPUComputeDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCPUComputeDevice.java new file mode 100644 index 000000000..89f1a00f2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCPUComputeDevice.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreml; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreML") @NativeClass/**/ +/**/public/**/ class /**/MLCPUComputeDevice/**/ + extends /**/NSObject/**/ + /**/implements MLComputeDeviceProtocol/**/ { + + /**/public static class MLCPUComputeDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MLCPUComputeDevice.class); }/**/ + /**//**/ + /**/ + protected MLCPUComputeDevice() {} + protected MLCPUComputeDevice(Handle h, long handle) { super(h, handle); } + protected MLCPUComputeDevice(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocol.java similarity index 75% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementName.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocol.java index 176626005..200277bda 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementName.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocol.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.coreml; /**/ import java.io.*; @@ -28,17 +28,21 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; -import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; /**/ /**/ - +/** + * @since Available in iOS 17.0 and later. + */ /**/ /**//**/ -/**/public/**/ interface /**/GCAxisElementName/**/ - /**/extends GCPhysicalInputElementName/**/ { +/**/public/**/ interface /**/MLComputeDeviceProtocol/**/ + /**/extends NSObjectProtocol/**/ { /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementNameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocolAdapter.java similarity index 77% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementNameAdapter.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocolAdapter.java index 2442b09c3..f6fc94dd1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementNameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLComputeDeviceProtocolAdapter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.coreml; /**/ import java.io.*; @@ -28,17 +28,19 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; -import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ class /**/GCPhysicalInputElementNameAdapter/**/ +/**/public/**/ class /**/MLComputeDeviceProtocolAdapter/**/ extends /**/NSObject/**/ - /**/implements GCPhysicalInputElementName/**/ { + /**/implements MLComputeDeviceProtocol/**/ { /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayer.java index f042d2a35..44ceb57d8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayer.java @@ -60,7 +60,7 @@ @Method(selector = "evaluateOnCPUWithInputs:outputs:error:") boolean evaluateOnCPU(NSArray inputs, NSArray outputs, NSError.NSErrorPtr error); @Method(selector = "encodeToCommandBuffer:inputs:outputs:error:") - boolean encodeToCommandBuffer(org.robovm.apple.metal.MTLCommandBuffer commandBuffer, NSArray inputs, NSArray outputs, NSError.NSErrorPtr error); + boolean encodeToCommandBuffer(org.robovm.apple.metal.MTLCommandBuffer commandBuffer, NSArray inputs, NSArray outputs, NSError.NSErrorPtr error); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayerAdapter.java index 4fe664200..21d27790e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLCustomLayerAdapter.java @@ -60,6 +60,6 @@ @NotImplemented("evaluateOnCPUWithInputs:outputs:error:") public boolean evaluateOnCPU(NSArray inputs, NSArray outputs, NSError.NSErrorPtr error) { return false; } @NotImplemented("encodeToCommandBuffer:inputs:outputs:error:") - public boolean encodeToCommandBuffer(org.robovm.apple.metal.MTLCommandBuffer commandBuffer, NSArray inputs, NSArray outputs, NSError.NSErrorPtr error) { return false; } + public boolean encodeToCommandBuffer(org.robovm.apple.metal.MTLCommandBuffer commandBuffer, NSArray inputs, NSArray outputs, NSError.NSErrorPtr error) { return false; } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLGPUComputeDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLGPUComputeDevice.java new file mode 100644 index 000000000..b08b0e7d4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLGPUComputeDevice.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreml; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreML") @NativeClass/**/ +/**/public/**/ class /**/MLGPUComputeDevice/**/ + extends /**/NSObject/**/ + /**/implements MLComputeDeviceProtocol/**/ { + + /**/public static class MLGPUComputeDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MLGPUComputeDevice.class); }/**/ + /**//**/ + /**/ + protected MLGPUComputeDevice() {} + protected MLGPUComputeDevice(Handle h, long handle) { super(h, handle); } + protected MLGPUComputeDevice(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "metalDevice") + public native MTLDevice getMetalDevice(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModel.java index e518cbb60..464e21625 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModel.java @@ -80,6 +80,11 @@ private MLModel(NSURL url, MLModelConfiguration configuration, NSError.NSErrorPt */ @Property(selector = "configuration") public native MLModelConfiguration getConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "availableComputeDevices") + public static native NSArray getAvailableComputeDevices(); /**/ /**//**/ /**/ @@ -93,6 +98,16 @@ public MLFeatureProvider predictionFromFeatures(MLFeatureProvider input) throws private native MLFeatureProvider predictionFromFeatures(MLFeatureProvider input, NSError.NSErrorPtr error); @Method(selector = "predictionFromFeatures:options:error:") public native MLFeatureProvider predictionFromFeatures(MLFeatureProvider input, MLPredictionOptions options, NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "predictionFromFeatures:completionHandler:") + public native void getPredictionFromFeatures(MLFeatureProvider input, @Block VoidBlock2 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "predictionFromFeatures:options:completionHandler:") + public native void getPredictionFromFeatures(MLFeatureProvider input, MLPredictionOptions options, @Block VoidBlock2 completionHandler); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollection.java index 0f997b44a..05c2d1eb0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollection.java @@ -38,9 +38,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. */ /**/ -/**/@Library("CoreML") @NativeClass/**/ +/**/@Library("CoreML") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLModelCollection/**/ extends /**/NSObject/**/ /**//**/ { @@ -54,10 +55,25 @@ protected MLModelCollection() {} protected MLModelCollection(SkipInit skipInit) { super(skipInit); } /**/ /**/ + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Property(selector = "identifier") public native String getIdentifier(); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Property(selector = "entries") public native NSDictionary getEntries(); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Property(selector = "deploymentID") public native String getDeploymentID(); /**/ @@ -65,12 +81,24 @@ protected MLModelCollection() {} /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. */ + @Deprecated @GlobalValue(symbol="MLModelCollectionDidChangeNotification", optional=true) public static native NSString DidChangeNotification(); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Method(selector = "beginAccessingModelCollectionWithIdentifier:completionHandler:") public static native NSProgress beginAccessingModelCollection(String identifier, @Block VoidBlock2 completionHandler); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Method(selector = "endAccessingModelCollectionWithIdentifier:completionHandler:") public static native void endAccessingModelCollection(String identifier, @Block VoidBlock2 completionHandler); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollectionEntry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollectionEntry.java index d5d76b4d4..6ec095092 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollectionEntry.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelCollectionEntry.java @@ -38,9 +38,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. */ /**/ -/**/@Library("CoreML") @NativeClass/**/ +/**/@Library("CoreML") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLModelCollectionEntry/**/ extends /**/NSObject/**/ /**//**/ { @@ -54,13 +55,28 @@ protected MLModelCollectionEntry() {} protected MLModelCollectionEntry(SkipInit skipInit) { super(skipInit); } /**/ /**/ + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Property(selector = "modelIdentifier") public native String getModelIdentifier(); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Property(selector = "modelURL") public native NSURL getModelURL(); /**/ /**//**/ /**/ + /** + * @since Available in iOS 14.0 and later. + * @deprecated Use Background Assets or NSURLSession instead. + */ + @Deprecated @Method(selector = "isEqualToModelCollectionEntry:") public native boolean isEqualToModelCollectionEntry(MLModelCollectionEntry entry); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelError.java index 6d9aa4f21..5b1c28268 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLModelError.java @@ -73,7 +73,11 @@ public enum /**/MLModelError/**/ implements NSErrorCode { /** * @since Available in iOS 14.0 and later. */ - ModelCollection(10L); + ModelCollection(10L), + /** + * @since Available in iOS 17.0 and later. + */ + PredictionCancelled(11L); /**/ /**/static { Bro.bind(MLModelError.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLNeuralEngineComputeDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLNeuralEngineComputeDevice.java new file mode 100644 index 000000000..3505768b7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coreml/MLNeuralEngineComputeDevice.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coreml; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +import org.robovm.apple.vision.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreML") @NativeClass/**/ +/**/public/**/ class /**/MLNeuralEngineComputeDevice/**/ + extends /**/NSObject/**/ + /**/implements MLComputeDeviceProtocol/**/ { + + /**/public static class MLNeuralEngineComputeDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MLNeuralEngineComputeDevice.class); }/**/ + /**//**/ + /**/ + protected MLNeuralEngineComputeDevice() {} + protected MLNeuralEngineComputeDevice(Handle h, long handle) { super(h, handle); } + protected MLNeuralEngineComputeDevice(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "totalCoreCount") + public native @MachineSizedSInt long getTotalCoreCount(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMBatchedSensorManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMBatchedSensorManager.java new file mode 100644 index 000000000..af15d87bd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMBatchedSensorManager.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremotion; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ + +/**/ +/**/@Library("CoreMotion") @NativeClass/**/ +/**/public/**/ class /**/CMBatchedSensorManager/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class CMBatchedSensorManagerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CMBatchedSensorManager.class); }/**/ + /**//**/ + /**/ + public CMBatchedSensorManager() {} + protected CMBatchedSensorManager(Handle h, long handle) { super(h, handle); } + protected CMBatchedSensorManager(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "authorizationStatus") + public static native CMAuthorizationStatus getAuthorizationStatus(); + @Property(selector = "isAccelerometerSupported") + public static native boolean isAccelerometerSupported(); + @Property(selector = "isAccelerometerActive") + public native boolean isAccelerometerActive(); + @Property(selector = "accelerometerDataFrequency") + public native @MachineSizedSInt long getAccelerometerDataFrequency(); + @Property(selector = "accelerometerBatch") + public native NSArray getAccelerometerBatch(); + @Property(selector = "isDeviceMotionSupported") + public static native boolean isDeviceMotionSupported(); + @Property(selector = "deviceMotionDataFrequency") + public native @MachineSizedSInt long getDeviceMotionDataFrequency(); + @Property(selector = "isDeviceMotionActive") + public native boolean isDeviceMotionActive(); + @Property(selector = "deviceMotionBatch") + public native NSArray getDeviceMotionBatch(); + /**/ + /**//**/ + /**/ + @Method(selector = "startAccelerometerUpdates") + public native void startAccelerometerUpdates(); + @Method(selector = "startAccelerometerUpdatesWithHandler:") + public native void startAccelerometerUpdates(@Block VoidBlock2, NSError> handler); + @Method(selector = "stopAccelerometerUpdates") + public native void stopAccelerometerUpdates(); + @Method(selector = "startDeviceMotionUpdates") + public native void startDeviceMotionUpdates(); + @Method(selector = "startDeviceMotionUpdatesWithHandler:") + public native void startDeviceMotionUpdates(@Block VoidBlock2, NSError> handler); + @Method(selector = "stopDeviceMotionUpdates") + public native void stopDeviceMotionUpdates(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateData.java new file mode 100644 index 000000000..2c1e70713 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateData.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremotion; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("CoreMotion") @NativeClass/**/ +/**/public/**/ class /**/CMHighFrequencyHeartRateData/**/ + extends /**/CMLogItem/**/ + /**//**/ { + + /**/public static class CMHighFrequencyHeartRateDataPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CMHighFrequencyHeartRateData.class); }/**/ + /**//**/ + /**/ + public CMHighFrequencyHeartRateData() {} + protected CMHighFrequencyHeartRateData(Handle h, long handle) { super(h, handle); } + protected CMHighFrequencyHeartRateData(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "heartRate") + public native double getHeartRate(); + @Property(selector = "confidence") + public native CMHighFrequencyHeartRateDataConfidence getConfidence(); + @Property(selector = "date") + public native NSDate getDate(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateDataConfidence.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateDataConfidence.java new file mode 100644 index 000000000..6ab603811 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMHighFrequencyHeartRateDataConfidence.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremotion; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CMHighFrequencyHeartRateDataConfidence/**/ implements ValuedEnum { + /**/ + Low(0L), + Medium(1L), + High(2L), + Highest(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMHighFrequencyHeartRateDataConfidence/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMHighFrequencyHeartRateDataConfidence/**/ valueOf(long n) { + for (/**/CMHighFrequencyHeartRateDataConfidence/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMHighFrequencyHeartRateDataConfidence/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerData.java new file mode 100644 index 000000000..aa7967174 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerData.java @@ -0,0 +1,116 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremotion; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ + +/**/ +/**/@Library("CoreMotion") @NativeClass/**/ +/**/public/**/ class /**/CMOdometerData/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class CMOdometerDataPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(CMOdometerData.class); }/**/ + /**//**/ + /**/ + public CMOdometerData() {} + protected CMOdometerData(Handle h, long handle) { super(h, handle); } + protected CMOdometerData(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public CMOdometerData(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "startDate") + public native NSDate getStartDate(); + @Property(selector = "endDate") + public native NSDate getEndDate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deltaDistance") + public native double getDeltaDistance(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deltaDistanceAccuracy") + public native double getDeltaDistanceAccuracy(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "speed") + public native double getSpeed(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "speedAccuracy") + public native double getSpeedAccuracy(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "gpsDate") + public native NSDate getGpsDate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deltaAltitude") + public native double getDeltaAltitude(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "verticalAccuracy") + public native double getVerticalAccuracy(); + /** + * @since Available in iOS 15.4 and later. + */ + @Property(selector = "originDevice") + public native CMOdometerOriginDevice getOriginDevice(); + /** + * @since Available in iOS 15.4 and later. + */ + @Property(selector = "slope") + public native NSNumber getSlope(); + /** + * @since Available in iOS 15.4 and later. + */ + @Property(selector = "maxAbsSlope") + public native NSNumber getMaxAbsSlope(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerOriginDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerOriginDevice.java new file mode 100644 index 000000000..86674654b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMOdometerOriginDevice.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.coremotion; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/CMOdometerOriginDevice/**/ implements ValuedEnum { + /**/ + Unknown(0L), + Local(1L), + Remote(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/CMOdometerOriginDevice/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/CMOdometerOriginDevice/**/ valueOf(long n) { + for (/**/CMOdometerOriginDevice/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/CMOdometerOriginDevice/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionEvent.java index 25d6cc8b6..de5374e06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionEvent.java @@ -31,7 +31,9 @@ /**/ /**/ - +/** + * @since Available in iOS 16.0 and later. + */ /**/ /**/@Library("CoreMotion") @NativeClass/**/ /**/public/**/ class /**/CMWaterSubmersionEvent/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManager.java index 5fb2390fe..a97d4ac07 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManager.java @@ -31,7 +31,9 @@ /**/ /**/ - +/** + * @since Available in iOS 16.0 and later. + */ /**/ /**/@Library("CoreMotion") @NativeClass/**/ /**/public/**/ class /**/CMWaterSubmersionManager/**/ @@ -55,6 +57,8 @@ public CMWaterSubmersionManager() {} public static native boolean isWaterSubmersionAvailable(); @Property(selector = "authorizationStatus") public static native CMAuthorizationStatus getAuthorizationStatus(); + @Property(selector = "maximumDepth") + public native NSMeasurement getMaximumDepth(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManagerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManagerDelegate.java index 540239592..2b701fd4e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManagerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionManagerDelegate.java @@ -31,7 +31,9 @@ /**/ /**/ - +/** + * @since Available in iOS 16.0 and later. + */ /**/ /**//**/ /**/public/**/ interface /**/CMWaterSubmersionManagerDelegate/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionMeasurement.java index 012548a55..2c3963f6a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionMeasurement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterSubmersionMeasurement.java @@ -31,7 +31,9 @@ /**/ /**/ - +/** + * @since Available in iOS 16.0 and later. + */ /**/ /**/@Library("CoreMotion") @NativeClass/**/ /**/public/**/ class /**/CMWaterSubmersionMeasurement/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterTemperature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterTemperature.java index 70c13e94b..3692ef311 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterTemperature.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coremotion/CMWaterTemperature.java @@ -31,7 +31,9 @@ /**/ /**/ - +/** + * @since Available in iOS 16.0 and later. + */ /**/ /**/@Library("CoreMotion") @NativeClass/**/ /**/public/**/ class /**/CMWaterTemperature/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corenfc/NFCISO15693ReaderSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corenfc/NFCISO15693ReaderSession.java index 425bb70ff..294787cef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corenfc/NFCISO15693ReaderSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corenfc/NFCISO15693ReaderSession.java @@ -34,9 +34,10 @@ /**/ /** * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. Use NFCTagReaderSession */ /**/ -/**/@Library("CoreNFC") @NativeClass/**/ +/**/@Library("CoreNFC") @NativeClass @Deprecated/**/ /**/public/**/ class /**/NFCISO15693ReaderSession/**/ extends /**/NFCReaderSession/**/ /**//**/ { @@ -48,6 +49,11 @@ protected NFCISO15693ReaderSession() {} protected NFCISO15693ReaderSession(Handle h, long handle) { super(h, handle); } protected NFCISO15693ReaderSession(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported + */ + @Deprecated @Method(selector = "initWithDelegate:queue:") public NFCISO15693ReaderSession(NFCReaderSessionDelegate delegate, DispatchQueue queue) { super((SkipInit) null); initObject(init(delegate, queue)); } /**/ @@ -60,8 +66,18 @@ protected NFCISO15693ReaderSession() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported + */ + @Deprecated @Method(selector = "initWithDelegate:queue:") protected native @Pointer long init(NFCReaderSessionDelegate delegate, DispatchQueue queue); + /** + * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. No longer supported + */ + @Deprecated @Method(selector = "restartPolling") public native void restartPolling(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSearchableIndex.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSearchableIndex.java index c66fbb829..01b013fd9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSearchableIndex.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSearchableIndex.java @@ -52,6 +52,8 @@ public CSSearchableIndex() {} public CSSearchableIndex(String name) { super((SkipInit) null); initObject(init(name)); } @Method(selector = "initWithName:protectionClass:") public CSSearchableIndex(String name, NSString protectionClass) { super((SkipInit) null); initObject(init(name, protectionClass)); } + @Method(selector = "initWithName:protectionClass:bundleIdentifier:options:") + public CSSearchableIndex(String name, NSString protectionClass, String bundleIdentifier, @MachineSizedSInt long options) { super((SkipInit) null); initObject(init(name, protectionClass, bundleIdentifier, options)); } /**/ /**/ @Property(selector = "indexDelegate") @@ -65,6 +67,8 @@ public CSSearchableIndex() {} protected native @Pointer long init(String name); @Method(selector = "initWithName:protectionClass:") protected native @Pointer long init(String name, NSString protectionClass); + @Method(selector = "initWithName:protectionClass:bundleIdentifier:options:") + protected native @Pointer long init(String name, NSString protectionClass, String bundleIdentifier, @MachineSizedSInt long options); @Method(selector = "indexSearchableItems:completionHandler:") public native void indexSearchableItems(NSArray items, @Block VoidBlock1 completionHandler); @Method(selector = "deleteSearchableItemsWithIdentifiers:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSuggestion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSuggestion.java index 9e7273417..cf046dca2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSuggestion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corespotlight/CSSuggestion.java @@ -71,6 +71,10 @@ public CSSuggestion() {} public native NSComparisonResult compareByRank(CSSuggestion other); @Method(selector = "compare:") public native NSComparisonResult compare(CSSuggestion other); + @Method(selector = "score") + public native NSNumber score(); + @Method(selector = "suggestionDataSources") + public native NSArray suggestionDataSources(); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTCellularPlanProvisioningAddPlanResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTCellularPlanProvisioningAddPlanResult.java index 7245753ab..d25672c05 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTCellularPlanProvisioningAddPlanResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTCellularPlanProvisioningAddPlanResult.java @@ -50,7 +50,11 @@ public enum /**/CTCellularPlanProvisioningAddPlanResult/**/ impleme /** * @since Available in iOS 12.0 and later. */ - Success(2L); + Success(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Cancel(3L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTTelephonyNetworkInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTTelephonyNetworkInfo.java index c750a9d38..88be45a3c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTTelephonyNetworkInfo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/coretelephony/CTTelephonyNetworkInfo.java @@ -75,7 +75,9 @@ public CTTelephonyNetworkInfo() {} public native void setDelegate(CTTelephonyNetworkInfoDelegate v); /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 16.0. Deprecated with no replacement */ + @Deprecated @Property(selector = "serviceSubscriberCellularProviders") public native NSDictionary getServiceSubscriberCellularProviders(); /** @@ -86,12 +88,16 @@ public CTTelephonyNetworkInfo() {} public native CTCarrier getSubscriberCellularProvider(); /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 16.0. Deprecated with no replacement */ + @Deprecated @Property(selector = "serviceSubscriberCellularProvidersDidUpdateNotifier") public native @Block VoidBlock1 getServiceSubscriberCellularProvidersDidUpdateNotifier(); /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 16.0. Deprecated with no replacement */ + @Deprecated @Property(selector = "setServiceSubscriberCellularProvidersDidUpdateNotifier:") public native void setServiceSubscriberCellularProvidersDidUpdateNotifier(@Block VoidBlock1 v); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/corevideo/CVPixelFormatType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/corevideo/CVPixelFormatType.java index 753d22d04..a27e38c3c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/corevideo/CVPixelFormatType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/corevideo/CVPixelFormatType.java @@ -71,6 +71,7 @@ public enum /**/CVPixelFormatType/**/ implements ValuedEnum { _4444YpCbCrA8R(1916022840L), _4444AYpCbCr8(2033463352L), _4444AYpCbCr16(2033463606L), + _4444AYpCbCrFloat(1916036716L), _444YpCbCr8(1983066168L), _422YpCbCr16(1983000886L), _422YpCbCr10(1983000880L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKAuthorizationStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKAuthorizationStatus.java index e5dc21799..33702cdb4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKAuthorizationStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKAuthorizationStatus.java @@ -43,6 +43,18 @@ public enum /**/EKAuthorizationStatus/**/ implements ValuedEnum { NotDetermined(0L), Restricted(1L), Denied(2L), + /** + * @since Available in iOS 17.0 and later. + */ + FullAccess(3L), + /** + * @since Available in iOS 17.0 and later. + */ + WriteOnly(4L), + /** + * @deprecated Deprecated in iOS 17.0. Check for full access or write only access + */ + @Deprecated Authorized(3L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKEventStore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKEventStore.java index 139176bff..f9f7ce4b9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKEventStore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/eventkit/EKEventStore.java @@ -91,6 +91,25 @@ public EKEventStore() {} */ @Method(selector = "initWithSources:") protected native @Pointer long init(NSArray sources); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestFullAccessToEventsWithCompletion:") + public native void requestFullAccessToEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestWriteOnlyAccessToEventsWithCompletion:") + public native void requestWriteOnlyAccessToEventsWithCompletion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestFullAccessToRemindersWithCompletion:") + public native void requestFullAccessToReminders(@Block VoidBlock2 completion); + /** + * @deprecated Deprecated in iOS 17.0. Use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion: + */ + @Deprecated @Method(selector = "requestAccessToEntityType:completion:") public native void requestAccess(EKEntityType entityType, @Block VoidBlock2 completion); @Method(selector = "sourceWithIdentifier:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/fileprovider/NSFileProviderManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/fileprovider/NSFileProviderManager.java index 6c6603834..e729a3f71 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/fileprovider/NSFileProviderManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/fileprovider/NSFileProviderManager.java @@ -250,9 +250,9 @@ public NSArray listAvailableTestingOperations() throws NSErrorException { /** * @since Available in iOS 16.0 and later. */ - public NSDictionary runTestingOperations(NSArray operations) throws NSErrorException { + public NSDictionary runTestingOperations(NSArray operations) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); - NSDictionary result = runTestingOperations(operations, ptr); + NSDictionary result = runTestingOperations(operations, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @@ -260,6 +260,6 @@ public NSArray listAvailableTestingOperations() throws NSErrorException { * @since Available in iOS 16.0 and later. */ @Method(selector = "runTestingOperations:error:") - private native NSDictionary runTestingOperations(NSArray operations, NSError.NSErrorPtr error); + private native NSDictionary runTestingOperations(NSArray operations, NSError.NSErrorPtr error); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSAttributedString.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSAttributedString.java index dd0319eaa..649430418 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSAttributedString.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSAttributedString.java @@ -399,6 +399,17 @@ public void endEditing() { throw new UnsupportedOperationException("NSAttributedString is immutable"); } /**/ + @Library("Foundation") + public static class FormattingContextKeys { + static { Bro.bind(FormattingContextKeys.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSInflectionConceptsKey", optional=true) + public static native String InflectionConcepts(); + } + @Library("Foundation") public static class Keys { static { Bro.bind(Keys.class); } @@ -421,18 +432,39 @@ public static class Keys { /** * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="NSInflectionRuleAttributeName", optional=true) - public static native NSString InflectionRule(); + @GlobalValue(symbol="NSPresentationIntentAttributeName", optional=true) + public static native NSString PresentationIntent(); + } + + @Library("Foundation") + public static class KeysInflection { + static { Bro.bind(KeysInflection.class); } + /** * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="NSInflectionAlternativeAttributeName", optional=true) - public static native NSString InflectionAlternative(); + @GlobalValue(symbol="NSInflectionRuleAttributeName", optional=true) + public static native NSString Rule(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSInflectionAgreementArgumentAttributeName", optional=true) + public static native NSString AgreementArgument(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSInflectionAgreementConceptAttributeName", optional=true) + public static native NSString AgreementConcept(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSInflectionReferentConceptAttributeName", optional=true) + public static native NSString ReferentConcept(); /** * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="NSPresentationIntentAttributeName", optional=true) - public static native NSString PresentationIntent(); + @GlobalValue(symbol="NSInflectionAlternativeAttributeName", optional=true) + public static native NSString Alternative(); } @Library("Foundation") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSDataWritingOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSDataWritingOptions.java index bbfba6ebb..2be0c31a8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSDataWritingOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSDataWritingOptions.java @@ -51,6 +51,10 @@ public final class /**/NSDataWritingOptions/**/ extends Bits*/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSFileProtection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSFileProtection.java index 82a8b49aa..6c10f78af 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSFileProtection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSFileProtection.java @@ -99,9 +99,13 @@ public static long toNative(List l, long flags) { public static final NSFileProtection Complete = new NSFileProtection("Complete"); public static final NSFileProtection CompleteUnlessOpen = new NSFileProtection("CompleteUnlessOpen"); public static final NSFileProtection CompleteUntilFirstUserAuthentication = new NSFileProtection("CompleteUntilFirstUserAuthentication"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSFileProtection CompleteWhenUserInactive = new NSFileProtection("CompleteWhenUserInactive"); /**/ - private static /**/NSFileProtection/**/[] values = new /**/NSFileProtection/**/[] {/**/None, Complete, CompleteUnlessOpen, CompleteUntilFirstUserAuthentication/**/}; + private static /**/NSFileProtection/**/[] values = new /**/NSFileProtection/**/[] {/**/None, Complete, CompleteUnlessOpen, CompleteUntilFirstUserAuthentication, CompleteWhenUserInactive/**/}; /**/NSFileProtection/**/ (String getterName) { super(Values.class, getterName); @@ -132,6 +136,11 @@ public static class Values { public static native NSString CompleteUnlessOpen(); @GlobalValue(symbol="NSFileProtectionCompleteUntilFirstUserAuthentication", optional=true) public static native NSString CompleteUntilFirstUserAuthentication(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSFileProtectionCompleteWhenUserInactive", optional=true) + public static native NSString CompleteWhenUserInactive(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalCase.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalCase.java new file mode 100644 index 000000000..2390f97c6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalCase.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NSGrammaticalCase/**/ implements ValuedEnum { + /**/ + NotSet(0L), + Nominative(1L), + Accusative(2L), + Dative(3L), + Genitive(4L), + Prepositional(5L), + Ablative(6L), + Adessive(7L), + Allative(8L), + Elative(9L), + Illative(10L), + Essive(11L), + Inessive(12L), + Locative(13L), + Translative(14L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NSGrammaticalCase/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NSGrammaticalCase/**/ valueOf(long n) { + for (/**/NSGrammaticalCase/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NSGrammaticalCase/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDefiniteness.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDefiniteness.java new file mode 100644 index 000000000..3ddf06034 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDefiniteness.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NSGrammaticalDefiniteness/**/ implements ValuedEnum { + /**/ + NotSet(0L), + Indefinite(1L), + Definite(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NSGrammaticalDefiniteness/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NSGrammaticalDefiniteness/**/ valueOf(long n) { + for (/**/NSGrammaticalDefiniteness/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NSGrammaticalDefiniteness/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDetermination.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDetermination.java new file mode 100644 index 000000000..ce0fa3e76 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalDetermination.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NSGrammaticalDetermination/**/ implements ValuedEnum { + /**/ + NotSet(0L), + Independent(1L), + Dependent(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NSGrammaticalDetermination/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NSGrammaticalDetermination/**/ valueOf(long n) { + for (/**/NSGrammaticalDetermination/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NSGrammaticalDetermination/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPerson.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPerson.java new file mode 100644 index 000000000..f9cb67a8c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPerson.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NSGrammaticalPerson/**/ implements ValuedEnum { + /**/ + NotSet(0L), + First(1L), + Second(2L), + Third(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NSGrammaticalPerson/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NSGrammaticalPerson/**/ valueOf(long n) { + for (/**/NSGrammaticalPerson/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NSGrammaticalPerson/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPronounType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPronounType.java new file mode 100644 index 000000000..51068898a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSGrammaticalPronounType.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NSGrammaticalPronounType/**/ implements ValuedEnum { + /**/ + NotSet(0L), + Personal(1L), + Reflexive(2L), + Possessive(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NSGrammaticalPronounType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NSGrammaticalPronounType/**/ valueOf(long n) { + for (/**/NSGrammaticalPronounType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NSGrammaticalPronounType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSLocale.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSLocale.java index d130e4bf9..59450d9e3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSLocale.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSLocale.java @@ -85,11 +85,23 @@ public NSLocale(Locale locale) { */ @Property(selector = "languageCode") private native String getLanguageCode0(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "languageIdentifier") + public native String getLanguageIdentifier(); /** * @since Available in iOS 10.0 and later. + * @deprecated Use regionCode */ + @Deprecated @Property(selector = "countryCode") private native String getCountryCode0(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "regionCode") + public native String getRegionCode(); /** * @since Available in iOS 10.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphology.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphology.java index 8ded34367..163dd67dd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphology.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphology.java @@ -71,6 +71,56 @@ public NSMorphology() {} public native NSGrammaticalNumber getNumber(); @Property(selector = "setNumber:") public native void setNumber(NSGrammaticalNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "grammaticalCase") + public native NSGrammaticalCase getGrammaticalCase(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setGrammaticalCase:") + public native void setGrammaticalCase(NSGrammaticalCase v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "determination") + public native NSGrammaticalDetermination getDetermination(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setDetermination:") + public native void setDetermination(NSGrammaticalDetermination v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "grammaticalPerson") + public native NSGrammaticalPerson getGrammaticalPerson(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setGrammaticalPerson:") + public native void setGrammaticalPerson(NSGrammaticalPerson v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "pronounType") + public native NSGrammaticalPronounType getPronounType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPronounType:") + public native void setPronounType(NSGrammaticalPronounType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "definiteness") + public native NSGrammaticalDefiniteness getDefiniteness(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setDefiniteness:") + public native void setDefiniteness(NSGrammaticalDefiniteness v); /** * @since Available in iOS 15.0 and later. */ @@ -86,8 +136,18 @@ public NSMorphology() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 15.0 and later. + * @deprecated Deprecated in iOS 17.0. Use NSTermOfAddress instead + */ + @Deprecated @Method(selector = "customPronounForLanguage:") public native NSMorphologyCustomPronoun customPronounForLanguage(String language); + /** + * @since Available in iOS 15.0 and later. + * @deprecated Deprecated in iOS 17.0. Use NSTermOfAddress instead + */ + @Deprecated @Method(selector = "setCustomPronoun:forLanguage:error:") public native boolean setCustomPronoun(NSMorphologyCustomPronoun features, String language, NSError.NSErrorPtr error); @Method(selector = "encodeWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyCustomPronoun.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyCustomPronoun.java index ca8e82468..79f7fdded 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyCustomPronoun.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyCustomPronoun.java @@ -41,9 +41,10 @@ /**/ /** * @since Available in iOS 15.0 and later. + * @deprecated Deprecated in iOS 17.0. Use NSTermOfAddress instead */ /**/ -/**/@Library("Foundation") @NativeClass/**/ +/**/@Library("Foundation") @NativeClass @Deprecated/**/ /**/public/**/ class /**/NSMorphologyCustomPronoun/**/ extends /**/NSObject/**/ /**/implements NSSecureCoding/**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyPronoun.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyPronoun.java new file mode 100644 index 000000000..5436f6826 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSMorphologyPronoun.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Foundation") @NativeClass/**/ +/**/public/**/ class /**/NSMorphologyPronoun/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NSMorphologyPronounPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSMorphologyPronoun.class); }/**/ + /**//**/ + /**/ + protected NSMorphologyPronoun() {} + protected NSMorphologyPronoun(Handle h, long handle) { super(h, handle); } + protected NSMorphologyPronoun(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPronoun:morphology:dependentMorphology:") + public NSMorphologyPronoun(String pronoun, NSMorphology morphology, NSMorphology dependentMorphology) { super((SkipInit) null); initObject(init(pronoun, morphology, dependentMorphology)); } + @Method(selector = "initWithCoder:") + public NSMorphologyPronoun(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "pronoun") + public native String getPronoun(); + @Property(selector = "morphology") + public native NSMorphology getMorphology(); + @Property(selector = "dependentMorphology") + public native NSMorphology getDependentMorphology(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPronoun:morphology:dependentMorphology:") + protected native @Pointer long init(String pronoun, NSMorphology morphology, NSMorphology dependentMorphology); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSTermOfAddress.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSTermOfAddress.java new file mode 100644 index 000000000..c1801a57e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSTermOfAddress.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.foundation; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.security.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Foundation") @NativeClass/**/ +/**/public/**/ class /**/NSTermOfAddress/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NSTermOfAddressPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSTermOfAddress.class); }/**/ + /**//**/ + /**/ + protected NSTermOfAddress() {} + protected NSTermOfAddress(Handle h, long handle) { super(h, handle); } + protected NSTermOfAddress(SkipInit skipInit) { super(skipInit); } + public NSTermOfAddress(String language, NSArray pronouns) { super((Handle) null, create(language, pronouns)); retain(getHandle()); } + @Method(selector = "initWithCoder:") + public NSTermOfAddress(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "languageIdentifier") + public native String getLanguageIdentifier(); + @Property(selector = "pronouns") + public native NSArray getPronouns(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "neutral") + public static native NSTermOfAddress neutral(); + @Method(selector = "feminine") + public static native NSTermOfAddress feminine(); + @Method(selector = "masculine") + public static native NSTermOfAddress masculine(); + @Method(selector = "localizedForLanguageIdentifier:withPronouns:") + protected static native @Pointer long create(String language, NSArray pronouns); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURL.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURL.java index c578806ce..51ae4a9f4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURL.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURL.java @@ -68,6 +68,11 @@ public NSURL() {} public NSURL(String URLString) { super((SkipInit) null); initObject(init(URLString)); } @Method(selector = "initWithString:relativeToURL:") public NSURL(String URLString, NSURL baseURL) { super((SkipInit) null); initObject(init(URLString, baseURL)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithString:encodingInvalidCharacters:") + public NSURL(String URLString, boolean encodingInvalidCharacters) { super((SkipInit) null); initObject(init(URLString, encodingInvalidCharacters)); } /** * @since Available in iOS 9.0 and later. */ @@ -373,6 +378,11 @@ public NSObject getPromisedItemResourceValue(NSURLProperty key) throws NSErrorEx protected native @Pointer long init(String URLString); @Method(selector = "initWithString:relativeToURL:") protected native @Pointer long init(String URLString, NSURL baseURL); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithString:encodingInvalidCharacters:") + protected native @Pointer long init(String URLString, boolean encodingInvalidCharacters); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLComponents.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLComponents.java index b445415e1..a8dcdada7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLComponents.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLComponents.java @@ -57,6 +57,11 @@ public NSURLComponents() {} public NSURLComponents(NSURL url, boolean resolve) { super((SkipInit) null); initObject(init(url, resolve)); } @Method(selector = "initWithString:") public NSURLComponents(String URLString) { super((SkipInit) null); initObject(init(URLString)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithString:encodingInvalidCharacters:") + public NSURLComponents(String URLString, boolean encodingInvalidCharacters) { super((SkipInit) null); initObject(init(URLString, encodingInvalidCharacters)); } /**/ /**/ @Property(selector = "URL") @@ -198,6 +203,11 @@ public NSURLComponents() {} protected native @Pointer long init(NSURL url, boolean resolve); @Method(selector = "initWithString:") protected native @Pointer long init(String URLString); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithString:encodingInvalidCharacters:") + protected native @Pointer long init(String URLString, boolean encodingInvalidCharacters); @Method(selector = "URLRelativeToURL:") public native NSURL URLRelativeToURL(NSURL baseURL); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileProtection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileProtection.java index 60785a2d7..3679d9b79 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileProtection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileProtection.java @@ -111,9 +111,13 @@ public static long toNative(List l, long flags) { * @since Available in iOS 9.0 and later. */ public static final NSURLFileProtection CompleteUntilFirstUserAuthentication = new NSURLFileProtection("CompleteUntilFirstUserAuthentication"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSURLFileProtection CompleteWhenUserInactive = new NSURLFileProtection("CompleteWhenUserInactive"); /**/ - private static /**/NSURLFileProtection/**/[] values = new /**/NSURLFileProtection/**/[] {/**/None, Complete, CompleteUnlessOpen, CompleteUntilFirstUserAuthentication/**/}; + private static /**/NSURLFileProtection/**/[] values = new /**/NSURLFileProtection/**/[] {/**/None, Complete, CompleteUnlessOpen, CompleteUntilFirstUserAuthentication, CompleteWhenUserInactive/**/}; /**/NSURLFileProtection/**/ (String getterName) { super(Values.class, getterName); @@ -156,6 +160,11 @@ public static class Values { */ @GlobalValue(symbol="NSURLFileProtectionCompleteUntilFirstUserAuthentication", optional=true) public static native NSString CompleteUntilFirstUserAuthentication(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSURLFileProtectionCompleteWhenUserInactive", optional=true) + public static native NSString CompleteWhenUserInactive(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileSystemProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileSystemProperty.java index fb38ce0d3..49e038980 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileSystemProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLFileSystemProperty.java @@ -150,6 +150,10 @@ public static long toNative(List l, long flags) { public static final NSURLFileSystemProperty DocumentIdentifier = new NSURLFileSystemProperty("DocumentIdentifier"); public static final NSURLFileSystemProperty AddedToDirectoryDate = new NSURLFileSystemProperty("AddedToDirectoryDate"); public static final NSURLFileSystemProperty FileResourceType = new NSURLFileSystemProperty("FileResourceType"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final NSURLFileSystemProperty FileIdentifier = new NSURLFileSystemProperty("FileIdentifier"); /** * @since Available in iOS 14.0 and later. */ @@ -179,9 +183,13 @@ public static long toNative(List l, long flags) { * @since Available in iOS 9.0 and later. */ public static final NSURLFileSystemProperty FileProtection = new NSURLFileSystemProperty("FileProtection"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSURLFileSystemProperty DirectoryEntryCount = new NSURLFileSystemProperty("DirectoryEntryCount"); /**/ - private static /**/NSURLFileSystemProperty/**/[] values = new /**/NSURLFileSystemProperty/**/[] {/**/Name, LocalizedName, IsRegularFile, IsDirectory, IsSymbolicLink, IsVolume, IsPackage, IsApplication, IsSystemImmutable, IsUserImmutable, IsHidden, HasHiddenExtension, CreationDate, ContentAccessDate, ContentModificationDate, AttributeModificationDate, LinkCount, ParentDirectoryURL, VolumeURL, TypeIdentifier, ContentType, LocalizedTypeDescription, LabelNumber, LabelColor, LocalizedLabel, EffectiveIcon, CustomIcon, FileResourceIdentifier, VolumeIdentifier, PreferredIOBlockSize, IsReadable, IsWritable, IsExecutable, FileSecurity, IsExcludedFromBackup, Path, CanonicalPath, IsMountTrigger, GenerationIdentifier, DocumentIdentifier, AddedToDirectoryDate, FileResourceType, FileContentIdentifier, MayShareFileContent, MayHaveExtendedAttributes, IsPurgeable, IsSparse, ThumbnailDictionary, FileProtection/**/}; + private static /**/NSURLFileSystemProperty/**/[] values = new /**/NSURLFileSystemProperty/**/[] {/**/Name, LocalizedName, IsRegularFile, IsDirectory, IsSymbolicLink, IsVolume, IsPackage, IsApplication, IsSystemImmutable, IsUserImmutable, IsHidden, HasHiddenExtension, CreationDate, ContentAccessDate, ContentModificationDate, AttributeModificationDate, LinkCount, ParentDirectoryURL, VolumeURL, TypeIdentifier, ContentType, LocalizedTypeDescription, LabelNumber, LabelColor, LocalizedLabel, EffectiveIcon, CustomIcon, FileResourceIdentifier, VolumeIdentifier, PreferredIOBlockSize, IsReadable, IsWritable, IsExecutable, FileSecurity, IsExcludedFromBackup, Path, CanonicalPath, IsMountTrigger, GenerationIdentifier, DocumentIdentifier, AddedToDirectoryDate, FileResourceType, FileIdentifier, FileContentIdentifier, MayShareFileContent, MayHaveExtendedAttributes, IsPurgeable, IsSparse, ThumbnailDictionary, FileProtection, DirectoryEntryCount/**/}; /**/NSURLFileSystemProperty/**/ (String getterName) { super(Values.class, getterName); @@ -301,6 +309,11 @@ public static class Values { public static native NSString AddedToDirectoryDate(); @GlobalValue(symbol="NSURLFileResourceTypeKey", optional=true) public static native NSString FileResourceType(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="NSURLFileIdentifierKey", optional=true) + public static native NSString FileIdentifier(); /** * @since Available in iOS 14.0 and later. */ @@ -337,6 +350,11 @@ public static class Values { */ @GlobalValue(symbol="NSURLFileProtectionKey", optional=true) public static native NSString FileProtection(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSURLDirectoryEntryCountKey", optional=true) + public static native NSString DirectoryEntryCount(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSession.java index 196f70220..3c7fdfdf7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSession.java @@ -99,6 +99,11 @@ public NSURLSession() {} public native NSURLSessionUploadTask newUploadTask(NSURLRequest request, NSURL fileURL); @Method(selector = "uploadTaskWithRequest:fromData:") public native NSURLSessionUploadTask newUploadTask(NSURLRequest request, NSData bodyData); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "uploadTaskWithResumeData:") + public native NSURLSessionUploadTask newUploadTask(NSData resumeData); @Method(selector = "uploadTaskWithStreamedRequest:") public native NSURLSessionUploadTask newStreamedUploadTask(NSURLRequest request); @Method(selector = "downloadTaskWithRequest:") @@ -146,6 +151,11 @@ public NSURLSession() {} public native NSURLSessionUploadTask newUploadTask(NSURLRequest request, NSURL fileURL, @Block VoidBlock3 completionHandler); @Method(selector = "uploadTaskWithRequest:fromData:completionHandler:") public native NSURLSessionUploadTask newUploadTask(NSURLRequest request, NSData bodyData, @Block VoidBlock3 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "uploadTaskWithResumeData:completionHandler:") + public native NSURLSessionUploadTask newUploadTask(NSData resumeData, @Block VoidBlock3 completionHandler); @Method(selector = "downloadTaskWithRequest:completionHandler:") public native NSURLSessionDownloadTask newDownloadTask(NSURLRequest request, @Block VoidBlock3 completionHandler); @Method(selector = "downloadTaskWithURL:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionErrorUserInfoKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionErrorUserInfoKey.java index d0facd6e1..2c61e7ec2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionErrorUserInfoKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionErrorUserInfoKey.java @@ -101,9 +101,13 @@ public static long toNative(List l, long flags) { */ public static final NSURLSessionErrorUserInfoKey NetworkUnavailableReason = new NSURLSessionErrorUserInfoKey("NetworkUnavailableReason"); public static final NSURLSessionErrorUserInfoKey DownloadTaskResumeData = new NSURLSessionErrorUserInfoKey("DownloadTaskResumeData"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSURLSessionErrorUserInfoKey UploadTaskResumeData = new NSURLSessionErrorUserInfoKey("UploadTaskResumeData"); /**/ - private static /**/NSURLSessionErrorUserInfoKey/**/[] values = new /**/NSURLSessionErrorUserInfoKey/**/[] {/**/BackgroundTaskCancelledReason, NetworkUnavailableReason, DownloadTaskResumeData/**/}; + private static /**/NSURLSessionErrorUserInfoKey/**/[] values = new /**/NSURLSessionErrorUserInfoKey/**/[] {/**/BackgroundTaskCancelledReason, NetworkUnavailableReason, DownloadTaskResumeData, UploadTaskResumeData/**/}; /**/NSURLSessionErrorUserInfoKey/**/ (String getterName) { super(Values.class, getterName); @@ -135,6 +139,11 @@ public static class Values { public static native NSString NetworkUnavailableReason(); @GlobalValue(symbol="NSURLSessionDownloadTaskResumeData", optional=true) public static native NSString DownloadTaskResumeData(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSURLSessionUploadTaskResumeData", optional=true) + public static native NSString UploadTaskResumeData(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegate.java index 7db8690ac..b30b6400e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegate.java @@ -75,8 +75,18 @@ void didReceiveChallenge(NSURLSession session, NSURLSessionTask task, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler); @Method(selector = "URLSession:task:needNewBodyStream:") void needNewBodyStream(NSURLSession session, NSURLSessionTask task, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "URLSession:task:needNewBodyStreamFromOffset:completionHandler:") + void needNewBodyStream(NSURLSession session, NSURLSessionTask task, long offset, @Block VoidBlock1 completionHandler); @Method(selector = "URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:") void didSendBodyData(NSURLSession session, NSURLSessionTask task, long bytesSent, long totalBytesSent, long totalBytesExpectedToSend); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "URLSession:task:didReceiveInformationalResponse:") + void didReceiveInformationalResponse(NSURLSession session, NSURLSessionTask task, NSHTTPURLResponse response); /** * @since Available in iOS 10.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegateAdapter.java index 8235c73e6..4053054ea 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionTaskDelegateAdapter.java @@ -77,8 +77,18 @@ public void willPerformHTTPRedirection(NSURLSession session, NSURLSessionTask ta public void didReceiveChallenge(NSURLSession session, NSURLSessionTask task, NSURLAuthenticationChallenge challenge, @Block VoidBlock2 completionHandler) {} @NotImplemented("URLSession:task:needNewBodyStream:") public void needNewBodyStream(NSURLSession session, NSURLSessionTask task, @Block VoidBlock1 completionHandler) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("URLSession:task:needNewBodyStreamFromOffset:completionHandler:") + public void needNewBodyStream(NSURLSession session, NSURLSessionTask task, long offset, @Block VoidBlock1 completionHandler) {} @NotImplemented("URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:") public void didSendBodyData(NSURLSession session, NSURLSessionTask task, long bytesSent, long totalBytesSent, long totalBytesExpectedToSend) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("URLSession:task:didReceiveInformationalResponse:") + public void didReceiveInformationalResponse(NSURLSession session, NSURLSessionTask task, NSHTTPURLResponse response) {} /** * @since Available in iOS 10.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionUploadTask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionUploadTask.java index 60cacd229..d25910b1c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionUploadTask.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLSessionUploadTask.java @@ -59,6 +59,10 @@ public NSURLSessionUploadTask() {} /**/ /**//**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "cancelByProducingResumeData:") + public native void cancelByProducingResumeData(@Block VoidBlock1 completionHandler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLVolumeProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLVolumeProperty.java index cb79f2171..91c02a7b8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLVolumeProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/foundation/NSURLVolumeProperty.java @@ -170,9 +170,21 @@ public static long toNative(List l, long flags) { * @since Available in iOS 11.0 and later. */ public static final NSURLVolumeProperty AvailableCapacityForOpportunisticUsage = new NSURLVolumeProperty("AvailableCapacityForOpportunisticUsage"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final NSURLVolumeProperty TypeName = new NSURLVolumeProperty("TypeName"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final NSURLVolumeProperty Subtype = new NSURLVolumeProperty("Subtype"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final NSURLVolumeProperty MountFromLocation = new NSURLVolumeProperty("MountFromLocation"); /**/ - private static /**/NSURLVolumeProperty/**/[] values = new /**/NSURLVolumeProperty/**/[] {/**/LocalizedFormatDescription, TotalCapacity, AvailableCapacity, ResourceCount, SupportsPersistentIDs, SupportsSymbolicLinks, SupportsHardLinks, SupportsJournaling, IsJournaling, SupportsSparseFiles, SupportsZeroRuns, SupportsCaseSensitiveNames, SupportsCasePreservedNames, SupportsRootDirectoryDates, SupportsVolumeSizes, SupportsRenaming, SupportsAdvisoryFileLocking, SupportsExtendedSecurity, IsBrowsable, MaximumFileSize, IsEjectable, IsRemovable, IsInternal, IsAutomounted, IsLocal, IsReadOnly, CreationDate, URLForRemounting, UUIDString, Name, LocalizedName, IsEncrypted, IsRootFileSystem, SupportsCompression, SupportsFileCloning, SupportsSwapRenaming, SupportsExclusiveRenaming, SupportsImmutableFiles, SupportsAccessPermissions, SupportsFileProtection, AvailableCapacityForImportantUsage, AvailableCapacityForOpportunisticUsage/**/}; + private static /**/NSURLVolumeProperty/**/[] values = new /**/NSURLVolumeProperty/**/[] {/**/LocalizedFormatDescription, TotalCapacity, AvailableCapacity, ResourceCount, SupportsPersistentIDs, SupportsSymbolicLinks, SupportsHardLinks, SupportsJournaling, IsJournaling, SupportsSparseFiles, SupportsZeroRuns, SupportsCaseSensitiveNames, SupportsCasePreservedNames, SupportsRootDirectoryDates, SupportsVolumeSizes, SupportsRenaming, SupportsAdvisoryFileLocking, SupportsExtendedSecurity, IsBrowsable, MaximumFileSize, IsEjectable, IsRemovable, IsInternal, IsAutomounted, IsLocal, IsReadOnly, CreationDate, URLForRemounting, UUIDString, Name, LocalizedName, IsEncrypted, IsRootFileSystem, SupportsCompression, SupportsFileCloning, SupportsSwapRenaming, SupportsExclusiveRenaming, SupportsImmutableFiles, SupportsAccessPermissions, SupportsFileProtection, AvailableCapacityForImportantUsage, AvailableCapacityForOpportunisticUsage, TypeName, Subtype, MountFromLocation/**/}; /**/NSURLVolumeProperty/**/ (String getterName) { super(Values.class, getterName); @@ -312,6 +324,21 @@ public static class Values { */ @GlobalValue(symbol="NSURLVolumeAvailableCapacityForOpportunisticUsageKey", optional=true) public static native NSString AvailableCapacityForOpportunisticUsage(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="NSURLVolumeTypeNameKey", optional=true) + public static native NSString TypeName(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="NSURLVolumeSubtypeKey", optional=true) + public static native NSString Subtype(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="NSURLVolumeMountFromLocationKey", optional=true) + public static native NSString MountFromLocation(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInput.java index d17f4b8c9..22bcc5cea 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInput.java @@ -62,6 +62,11 @@ double getLastValueTimestamp(); @Property(selector = "lastValueLatency") double getLastValueLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInputAdapter.java index ee96f8f15..e7c78a029 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisInputAdapter.java @@ -61,6 +61,11 @@ public void setValueDidChangeHandler(@Block VoidBlock3 getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCController.java index 201c16acf..227ddcac4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCController.java @@ -106,6 +106,11 @@ public GCController() {} public native GCControllerPlayerIndex getPlayerIndex(); @Property(selector = "setPlayerIndex:") public native void setPlayerIndex(GCControllerPlayerIndex v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "input") + public native GCControllerLiveInput getInput(); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerElement.java index 5c0dc3747..4140c9c43 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerElement.java @@ -54,26 +54,59 @@ public GCControllerElement() {} public native GCControllerElement getCollection(); @Property(selector = "isAnalog") public native boolean isAnalog(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "isBoundToSystemGesture") public native boolean isBoundToSystemGesture(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "preferredSystemGestureState") public native GCSystemGestureState getPreferredSystemGestureState(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "setPreferredSystemGestureState:") public native void setPreferredSystemGestureState(GCSystemGestureState v); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "sfSymbolsName") public native String getSfSymbolsName(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "setSfSymbolsName:") public native void setSfSymbolsName(String v); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "localizedName") public native String getLocalizedName(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "setLocalizedName:") public native void setLocalizedName(String v); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "unmappedSfSymbolsName") public native String getUnmappedSfSymbolsName(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "setUnmappedSfSymbolsName:") public native void setUnmappedSfSymbolsName(String v); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "unmappedLocalizedName") public native String getUnmappedLocalizedName(); + /** + * @since Available in iOS 14.0 and later. + */ @Property(selector = "setUnmappedLocalizedName:") public native void setUnmappedLocalizedName(String v); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRacingWheelInputState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerInputState.java similarity index 61% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRacingWheelInputState.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerInputState.java index 09b0b0476..f85661d74 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRacingWheelInputState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerInputState.java @@ -34,32 +34,24 @@ /**/ /**/ - +/** + * @since Available in iOS 17.0 and later. + */ /**/ /**/@Library("GameController") @NativeClass/**/ -/**/public/**/ class /**/GCRacingWheelInputState/**/ +/**/public/**/ class /**/GCControllerInputState/**/ extends /**/NSObject/**/ /**/implements GCDevicePhysicalInputState/**/ { - /**/public static class GCRacingWheelInputStatePtr extends Ptr {}/**/ - /**/static { ObjCRuntime.bind(GCRacingWheelInputState.class); }/**/ + /**/public static class GCControllerInputStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(GCControllerInputState.class); }/**/ /**//**/ /**/ - public GCRacingWheelInputState() {} - protected GCRacingWheelInputState(Handle h, long handle) { super(h, handle); } - protected GCRacingWheelInputState(SkipInit skipInit) { super(skipInit); } + public GCControllerInputState() {} + protected GCControllerInputState(Handle h, long handle) { super(h, handle); } + protected GCControllerInputState(SkipInit skipInit) { super(skipInit); } /**/ /**/ - @Property(selector = "wheel") - public native GCSteeringWheelElement getWheel(); - @Property(selector = "acceleratorPedal") - public native GCButtonElement getAcceleratorPedal(); - @Property(selector = "brakePedal") - public native GCButtonElement getBrakePedal(); - @Property(selector = "clutchPedal") - public native GCButtonElement getClutchPedal(); - @Property(selector = "shifter") - public native GCGearShifterElement getShifter(); @Property(selector = "device") public native GCDevice getDevice(); @Property(selector = "lastEventTimestamp") @@ -67,19 +59,19 @@ public GCRacingWheelInputState() {} @Property(selector = "lastEventLatency") public native double getLastEventLatency(); @Property(selector = "elements") - public native GCPhysicalInputElementCollection getElements(); + public native GCPhysicalInputElementCollection getElements(); @Property(selector = "buttons") - public native GCPhysicalInputElementCollection getButtons(); + public native GCPhysicalInputElementCollection getButtons(); @Property(selector = "axes") - public native GCPhysicalInputElementCollection getAxes(); + public native GCPhysicalInputElementCollection getAxes(); @Property(selector = "switches") - public native GCPhysicalInputElementCollection getSwitches(); + public native GCPhysicalInputElementCollection getSwitches(); @Property(selector = "dpads") - public native GCPhysicalInputElementCollection getDpads(); + public native GCPhysicalInputElementCollection getDpads(); /**/ /**//**/ /**/ @Method(selector = "objectForKeyedSubscript:") - public native GCPhysicalInputElement objectForKeyedSubscript(String key); + public native GCPhysicalInputElement objectForKeyedSubscript(NSString key); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerLiveInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerLiveInput.java new file mode 100644 index 000000000..9b9cc2595 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCControllerLiveInput.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.gamecontroller; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.corehaptic.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("GameController") @NativeClass/**/ +/**/public/**/ class /**/GCControllerLiveInput/**/ + extends /**/GCControllerInputState/**/ + /**/implements GCDevicePhysicalInput/**/ { + + /**/public static class GCControllerLiveInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(GCControllerLiveInput.class); }/**/ + /**//**/ + /**/ + public GCControllerLiveInput() {} + protected GCControllerLiveInput(Handle h, long handle) { super(h, handle); } + protected GCControllerLiveInput(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "unmappedInput") + public native GCControllerLiveInput getUnmappedInput(); + @Property(selector = "device") + public native GCDevice getDevice(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "queue") + public native DispatchQueue getQueue(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setQueue:") + public native void setQueue(DispatchQueue v); + @Property(selector = "elementValueDidChangeHandler") + public native @Block VoidBlock2 getElementValueDidChangeHandler(); + @Property(selector = "setElementValueDidChangeHandler:") + public native void setElementValueDidChangeHandler(@Block VoidBlock2 v); + @Property(selector = "inputStateAvailableHandler") + public native @Block VoidBlock1 getInputStateAvailableHandler(); + @Property(selector = "setInputStateAvailableHandler:") + public native void setInputStateAvailableHandler(@Block VoidBlock1 v); + @Property(selector = "inputStateQueueDepth") + public native @MachineSizedSInt long getInputStateQueueDepth(); + @Property(selector = "setInputStateQueueDepth:") + public native void setInputStateQueueDepth(@MachineSizedSInt long v); + /**/ + /**//**/ + /**/ + @Method(selector = "capture") + public native GCControllerInputState capture(); + @Method(selector = "nextInputState") + public native NSObjectProtocol nextInputState(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInput.java index 0b7410318..225eaf169 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInput.java @@ -50,6 +50,16 @@ /**/ @Property(selector = "device") GCDevice getDevice(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "queue") + DispatchQueue getQueue(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setQueue:") + void setQueue(DispatchQueue v); @Property(selector = "elementValueDidChangeHandler") @Block VoidBlock2 getElementValueDidChangeHandler(); @Property(selector = "setElementValueDidChangeHandler:") @@ -67,8 +77,17 @@ @Method(selector = "capture") GCDevicePhysicalInputState capture(); @Method(selector = "nextInputState") - T0 nextInputState(); + NSObjectProtocol nextInputState(); /**/ + + // dkimitsa: manually added wrappers + default GCDevicePhysicalInputState nextPhysicalInputState() { + return (GCDevicePhysicalInputState) nextInputState(); + } + default GCDevicePhysicalInputStateDiff nextPhysicalInputStateDiff() { + return (GCDevicePhysicalInputStateDiff) nextInputState(); + } + /**/ /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputAdapter.java index d77ea6bcb..cb8ff3d05 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputAdapter.java @@ -49,6 +49,16 @@ /**/ @NotImplemented("device") public GCDevice getDevice() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("queue") + public DispatchQueue getQueue() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setQueue:") + public void setQueue(DispatchQueue v) {} @NotImplemented("elementValueDidChangeHandler") public @Block VoidBlock2 getElementValueDidChangeHandler() { return null; } @NotImplemented("setElementValueDidChangeHandler:") @@ -67,6 +77,6 @@ public void setInputStateQueueDepth(@MachineSizedSInt long v) {} @NotImplemented("capture") public GCDevicePhysicalInputState capture() { return null; } @NotImplemented("nextInputState") - public T0 nextInputState() { return null; } + public NSObjectProtocol nextInputState() { return null; } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputState.java index a241cf9b7..280c4edad 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputState.java @@ -55,19 +55,19 @@ @Property(selector = "lastEventLatency") double getLastEventLatency(); @Property(selector = "elements") - GCPhysicalInputElementCollection getElements(); + GCPhysicalInputElementCollection getElements(); @Property(selector = "buttons") - GCPhysicalInputElementCollection getButtons(); + GCPhysicalInputElementCollection getButtons(); @Property(selector = "axes") - GCPhysicalInputElementCollection getAxes(); + GCPhysicalInputElementCollection getAxes(); @Property(selector = "switches") - GCPhysicalInputElementCollection getSwitches(); + GCPhysicalInputElementCollection getSwitches(); @Property(selector = "dpads") - GCPhysicalInputElementCollection getDpads(); + GCPhysicalInputElementCollection getDpads(); /**/ /**/ @Method(selector = "objectForKeyedSubscript:") - GCPhysicalInputElement objectForKeyedSubscript(String key); + GCPhysicalInputElement objectForKeyedSubscript(NSString key); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputStateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputStateAdapter.java index dc9ab9983..6b49de3db 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputStateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDevicePhysicalInputStateAdapter.java @@ -54,19 +54,19 @@ @NotImplemented("lastEventLatency") public double getLastEventLatency() { return 0; } @NotImplemented("elements") - public GCPhysicalInputElementCollection getElements() { return null; } + public GCPhysicalInputElementCollection getElements() { return null; } @NotImplemented("buttons") - public GCPhysicalInputElementCollection getButtons() { return null; } + public GCPhysicalInputElementCollection getButtons() { return null; } @NotImplemented("axes") - public GCPhysicalInputElementCollection getAxes() { return null; } + public GCPhysicalInputElementCollection getAxes() { return null; } @NotImplemented("switches") - public GCPhysicalInputElementCollection getSwitches() { return null; } + public GCPhysicalInputElementCollection getSwitches() { return null; } @NotImplemented("dpads") - public GCPhysicalInputElementCollection getDpads() { return null; } + public GCPhysicalInputElementCollection getDpads() { return null; } /**/ /**//**/ /**/ @NotImplemented("objectForKeyedSubscript:") - public GCPhysicalInputElement objectForKeyedSubscript(String key) { return null; } + public GCPhysicalInputElement objectForKeyedSubscript(NSString key) { return null; } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInput.java index e3c500314..1166d42c3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInput.java @@ -62,6 +62,11 @@ double getLastValueTimestamp(); @Property(selector = "lastValueLatency") double getLastValueLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInputAdapter.java index 2b79050a4..b352ebed5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCLinearInputAdapter.java @@ -61,6 +61,11 @@ public void setValueDidChangeHandler(@Block VoidBlock3 getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElement.java index 689f5abfc..30f573c56 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElement.java @@ -48,12 +48,12 @@ /**/ /**//**/ /**/ - @Property(selector = "sfSymbolsName") - String getSfSymbolsName(); - @Property(selector = "localizedName") - String getLocalizedName(); @Property(selector = "aliases") NSSet getAliases(); + @Property(selector = "localizedName") + String getLocalizedName(); + @Property(selector = "sfSymbolsName") + String getSfSymbolsName(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementAdapter.java index 415882af1..bce590313 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementAdapter.java @@ -47,12 +47,12 @@ /**//**/ /**//**/ /**/ - @NotImplemented("sfSymbolsName") - public String getSfSymbolsName() { return null; } - @NotImplemented("localizedName") - public String getLocalizedName() { return null; } @NotImplemented("aliases") public NSSet getAliases() { return null; } + @NotImplemented("localizedName") + public String getLocalizedName() { return null; } + @NotImplemented("sfSymbolsName") + public String getSfSymbolsName() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementCollection.java index 51fb61ab1..32839417e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementCollection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementCollection.java @@ -39,11 +39,11 @@ */ /**/ /**/@Library("GameController") @NativeClass/**/ -/**/public/**/ class /**/GCPhysicalInputElementCollection/**/ +/**/public/**/ class /**/GCPhysicalInputElementCollection/**/ extends /**/NSObject/**/ /**/implements NSFastEnumeration/**/ { - /**/public static class GCPhysicalInputElementCollectionPtr extends Ptr, GCPhysicalInputElementCollectionPtr> {}/**/ + /**/public static class GCPhysicalInputElementCollectionPtr extends Ptr, GCPhysicalInputElementCollectionPtr> {}/**/ /**/static { ObjCRuntime.bind(GCPhysicalInputElementCollection.class); }/**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputProfile.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputProfile.java index fcdb7e0e1..62cb7fd37 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputProfile.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputProfile.java @@ -138,87 +138,87 @@ public static class Common { * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonA", optional=true) - public static native String ButtonA(); + public static native NSString ButtonA(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonB", optional=true) - public static native String ButtonB(); + public static native NSString ButtonB(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonX", optional=true) - public static native String ButtonX(); + public static native NSString ButtonX(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonY", optional=true) - public static native String ButtonY(); + public static native NSString ButtonY(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputDirectionPad", optional=true) - public static native String DirectionPad(); + public static native NSString DirectionPad(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputLeftThumbstick", optional=true) - public static native String LeftThumbstick(); + public static native NSString LeftThumbstick(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputRightThumbstick", optional=true) - public static native String RightThumbstick(); + public static native NSString RightThumbstick(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputLeftShoulder", optional=true) - public static native String LeftShoulder(); + public static native NSString LeftShoulder(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputRightShoulder", optional=true) - public static native String RightShoulder(); + public static native NSString RightShoulder(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputLeftTrigger", optional=true) - public static native String LeftTrigger(); + public static native NSString LeftTrigger(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputRightTrigger", optional=true) - public static native String RightTrigger(); + public static native NSString RightTrigger(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputLeftThumbstickButton", optional=true) - public static native String LeftThumbstickButton(); + public static native NSString LeftThumbstickButton(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputRightThumbstickButton", optional=true) - public static native String RightThumbstickButton(); + public static native NSString RightThumbstickButton(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonHome", optional=true) - public static native String ButtonHome(); + public static native NSString ButtonHome(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonMenu", optional=true) - public static native String ButtonMenu(); + public static native NSString ButtonMenu(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputButtonOptions", optional=true) - public static native String ButtonOptions(); + public static native NSString ButtonOptions(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCInputButtonShare", optional=true) - public static native String ButtonShare(); + public static native NSString ButtonShare(); /** * @since Available in iOS 15.0 and later. */ @@ -269,17 +269,17 @@ public static class DualShock { * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputDualShockTouchpadOne", optional=true) - public static native String TouchpadOne(); + public static native NSString TouchpadOne(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputDualShockTouchpadTwo", optional=true) - public static native String TouchpadTwo(); + public static native NSString TouchpadTwo(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputDualShockTouchpadButton", optional=true) - public static native String TouchpadButton(); + public static native NSString TouchpadButton(); } @Library("GameController") @@ -290,24 +290,30 @@ public static class Xbox { * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputXboxPaddleOne", optional=true) - public static native String PaddleOne(); + public static native NSString PaddleOne(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputXboxPaddleTwo", optional=true) - public static native String PaddleTwo(); + public static native NSString PaddleTwo(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputXboxPaddleThree", optional=true) - public static native String PaddleThree(); + public static native NSString PaddleThree(); /** * @since Available in iOS 14.0 and later. */ @GlobalValue(symbol="GCInputXboxPaddleFour", optional=true) - public static native String PaddleFour(); + public static native NSString PaddleFour(); } + /** + * @since Available in iOS 16.0 and later. + */ + @Bridge(symbol="GCInputArcadeButtonName", optional=true) + public static native NSString getArcadeButtonName(@MachineSizedSInt long row, @MachineSizedSInt long column); + /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSource.java similarity index 72% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementName.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSource.java index 97418d25a..0bd4e9a30 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementName.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSource.java @@ -34,11 +34,13 @@ /**/ /**/ - +/** + * @since Available in iOS 17.0 and later. + */ /**/ /**//**/ -/**/public/**/ interface /**/GCButtonElementName/**/ - /**/extends GCPhysicalInputElementName/**/ { +/**/public/**/ interface /**/GCPhysicalInputSource/**/ + /**/extends NSObjectProtocol/**/ { /**/ /**/ @@ -46,7 +48,14 @@ /**/ /**//**/ /**/ - + @Property(selector = "elementAliases") + NSSet getElementAliases(); + @Property(selector = "elementLocalizedName") + String getElementLocalizedName(); + @Property(selector = "sfSymbolsName") + String getSfSymbolsName(); + @Property(selector = "direction") + GCPhysicalInputSourceDirection getDirection(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementNameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceAdapter.java similarity index 70% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementNameAdapter.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceAdapter.java index b9fd92135..0ee91dcd7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCButtonElementNameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceAdapter.java @@ -36,9 +36,9 @@ /**/ /**/ /**//**/ -/**/public/**/ class /**/GCButtonElementNameAdapter/**/ - extends /**/GCPhysicalInputElementNameAdapter/**/ - /**/implements GCButtonElementName/**/ { +/**/public/**/ class /**/GCPhysicalInputSourceAdapter/**/ + extends /**/NSObject/**/ + /**/implements GCPhysicalInputSource/**/ { /**/ /**/ @@ -47,7 +47,14 @@ /**//**/ /**//**/ /**/ - + @NotImplemented("elementAliases") + public NSSet getElementAliases() { return null; } + @NotImplemented("elementLocalizedName") + public String getElementLocalizedName() { return null; } + @NotImplemented("sfSymbolsName") + public String getSfSymbolsName() { return null; } + @NotImplemented("direction") + public GCPhysicalInputSourceDirection getDirection() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceDirection.java new file mode 100644 index 000000000..e46ef646b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputSourceDirection.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.gamecontroller; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.corehaptic.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/GCPhysicalInputSourceDirection/**/ extends Bits*/GCPhysicalInputSourceDirection/**/> { + /**/ + public static final GCPhysicalInputSourceDirection None = new GCPhysicalInputSourceDirection(0L); + public static final GCPhysicalInputSourceDirection NotApplicable = new GCPhysicalInputSourceDirection(0L); + public static final GCPhysicalInputSourceDirection Up = new GCPhysicalInputSourceDirection(1L); + public static final GCPhysicalInputSourceDirection Right = new GCPhysicalInputSourceDirection(2L); + public static final GCPhysicalInputSourceDirection Down = new GCPhysicalInputSourceDirection(4L); + public static final GCPhysicalInputSourceDirection Left = new GCPhysicalInputSourceDirection(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/GCPhysicalInputSourceDirection/**/[] values = _values(/**/GCPhysicalInputSourceDirection/**/.class); + + public /**/GCPhysicalInputSourceDirection/**/(long value) { super(value); } + private /**/GCPhysicalInputSourceDirection/**/(long value, long mask) { super(value, mask); } + protected /**/GCPhysicalInputSourceDirection/**/ wrap(long value, long mask) { + return new /**/GCPhysicalInputSourceDirection/**/(value, mask); + } + protected /**/GCPhysicalInputSourceDirection/**/[] _values() { + return values; + } + public static /**/GCPhysicalInputSourceDirection/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInput.java index 2c9af0f16..a8d3f239f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInput.java @@ -58,6 +58,11 @@ double getLastPressedStateTimestamp(); @Property(selector = "lastPressedStateLatency") double getLastPressedStateLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInputAdapter.java index d0757653b..958c83cd6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPressedStateInputAdapter.java @@ -57,6 +57,11 @@ public void setPressedDidChangeHandler(@Block VoidBlock3 getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCProductCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCProductCategory.java index 537b1d4df..366eb3800 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCProductCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCProductCategory.java @@ -52,61 +52,66 @@ * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryDualSense", optional=true) - public static native String DualSense(); + public static native NSString DualSense(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryDualShock4", optional=true) - public static native String DualShock4(); + public static native NSString DualShock4(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryMFi", optional=true) - public static native String MFi(); + public static native NSString MFi(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryXboxOne", optional=true) - public static native String XboxOne(); + public static native NSString XboxOne(); /** * @since Available in iOS 16.0 and later. */ @GlobalValue(symbol="GCProductCategoryHID", optional=true) - public static native String HID(); + public static native NSString HID(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="GCProductCategoryArcadeStick", optional=true) + public static native NSString ArcadeStick(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategorySiriRemote1stGen", optional=true) - public static native String SiriRemote1stGen(); + public static native NSString SiriRemote1stGen(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategorySiriRemote2ndGen", optional=true) - public static native String SiriRemote2ndGen(); + public static native NSString SiriRemote2ndGen(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryControlCenterRemote", optional=true) - public static native String ControlCenterRemote(); + public static native NSString ControlCenterRemote(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryUniversalElectronicsRemote", optional=true) - public static native String UniversalElectronicsRemote(); + public static native NSString UniversalElectronicsRemote(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryCoalescedRemote", optional=true) - public static native String CoalescedRemote(); + public static native NSString CoalescedRemote(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryMouse", optional=true) - public static native String Mouse(); + public static native NSString Mouse(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="GCProductCategoryKeyboard", optional=true) - public static native String Keyboard(); + public static native NSString Keyboard(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInput.java index 93b7e9f48..9b29c9845 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInput.java @@ -60,6 +60,11 @@ double getLastDeltaTimestamp(); @Property(selector = "lastDeltaLatency") double getLastDeltaLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInputAdapter.java index 33b0dcaf3..86d70c1dc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCRelativeInputAdapter.java @@ -59,6 +59,11 @@ public void setDeltaDidChangeHandler(@Block VoidBlock3 getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementName.java deleted file mode 100644 index f3b53c4fb..000000000 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchElementName.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2013-2015 RoboVM AB - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.robovm.apple.gamecontroller; - -/**/ -import java.io.*; -import java.nio.*; -import java.util.*; -import org.robovm.objc.*; -import org.robovm.objc.annotation.*; -import org.robovm.objc.block.*; -import org.robovm.rt.*; -import org.robovm.rt.annotation.*; -import org.robovm.rt.bro.*; -import org.robovm.rt.bro.annotation.*; -import org.robovm.rt.bro.ptr.*; -import org.robovm.apple.foundation.*; -import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; -/**/ - -/**/ - -/**/ -/**//**/ -/**/public/**/ interface /**/GCSwitchElementName/**/ - /**/extends GCPhysicalInputElementName/**/ { - - /**/ - /**/ - /**/ - /**/ - /**//**/ - /**/ - - /**/ - /**/ - - /**/ - /**/ - /**/ -} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInput.java index b61d243df..5ed5cf01e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInput.java @@ -64,6 +64,11 @@ double getLastPositionTimestamp(); @Property(selector = "lastPositionLatency") double getLastPositionLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInputAdapter.java index aa1c13d08..3d299f3b4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCSwitchPositionInputAdapter.java @@ -63,6 +63,11 @@ public void setPositionDidChangeHandler(@Block("(,,@MachineSizedSInt)") VoidBloc public double getLastPositionTimestamp() { return 0; } @NotImplemented("lastPositionLatency") public double getLastPositionLatency() { return 0; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("sources") + public NSSet getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInput.java index 738ea9252..2c85a57d6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInput.java @@ -58,6 +58,11 @@ double getLastTouchedStateTimestamp(); @Property(selector = "lastTouchedStateLatency") double getLastTouchedStateLatency(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sources") + NSSet getSources(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInputAdapter.java index 899d066db..159b40939 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCTouchedStateInputAdapter.java @@ -57,6 +57,11 @@ public void setTouchedDidChangeHandler(@Block VoidBlock3 getSources() { return null; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualController.java index 7d8d313ba..61c283dda 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualController.java @@ -67,6 +67,16 @@ protected GCVirtualController() {} public native void disconnect(); @Method(selector = "updateConfigurationForElement:configuration:") public native void updateConfiguration(String element, @Block Block1 config); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setValue:forButtonElement:") + public native void setValue(double value, NSString element); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setPosition:forDirectionPadElement:") + public native void setPosition(org.robovm.apple.coregraphics.CGPoint position, NSString element); @Method(selector = "virtualControllerWithConfiguration:") public static native GCVirtualController virtualControllerWithConfiguration$(GCVirtualControllerConfiguration configuration); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualControllerConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualControllerConfiguration.java index 5220a5e8f..a9ea81e40 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualControllerConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCVirtualControllerConfiguration.java @@ -56,6 +56,16 @@ public GCVirtualControllerConfiguration() {} public native NSSet getElements(); @Property(selector = "setElements:") public native void setElements(NSSet v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isHidden") + public native boolean isHidden(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setHidden:") + public native void setHidden(boolean v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievement.java index 28d3af040..41f79f2b1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievement.java @@ -52,7 +52,7 @@ public GKAchievement() {} @Method(selector = "initWithIdentifier:player:") public GKAchievement(String identifier, GKPlayer player) { super((SkipInit) null); initObject(init(identifier, player)); } /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use initWithIdentifier:player: + * @deprecated Deprecated in iOS 8.0. Use -initWithIdentifier:player: */ @Deprecated @Method(selector = "initWithIdentifier:forPlayer:") @@ -80,7 +80,7 @@ public GKAchievement() {} @Property(selector = "player") public native GKPlayer getPlayer(); /** - * @deprecated Deprecated in iOS 8.0. This will return a null string, use player instead + * @deprecated Deprecated in iOS 8.0. Use -player: */ @Deprecated @Property(selector = "playerID") @@ -107,7 +107,7 @@ public GKAchievement() {} @Method(selector = "reportAchievementWithCompletionHandler:") public native void reportAchievement(@Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use initWithIdentifier:player: + * @deprecated Deprecated in iOS 8.0. Use -initWithIdentifier:player: */ @Deprecated @Method(selector = "initWithIdentifier:forPlayer:") @@ -117,21 +117,30 @@ public GKAchievement() {} @Method(selector = "reportAchievements:withEligibleChallenges:withCompletionHandler:") public static native void reportAchievements(NSArray achievements, NSArray challenges, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 7.0. This is never invoked and its implementation does nothing, pass GKPlayers to challengeComposeControllerWithMessage:players:completionHandler: and present the view controller instead + * @deprecated Deprecated in iOS 7.0. Use -challengeComposeControllerWithMessage:players:completionHandler: */ @Deprecated @Method(selector = "issueChallengeToPlayers:message:") public native void issueChallengeToPlayers(@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs, String message); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, pass GKPlayers to selectChallengeablePlayers: + * @deprecated Deprecated in iOS 8.0. Use -selectChallengeablePlayers: */ @Deprecated @Method(selector = "selectChallengeablePlayerIDs:withCompletionHandler:") public native void selectChallengeablePlayerIDs(@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs, @Block VoidBlock2, NSError> completionHandler); + /** + * @deprecated Deprecated in iOS 17.0. Use -challengeComposeControllerWithMessage:players:completion: + */ + @Deprecated @Method(selector = "challengeComposeControllerWithMessage:players:completionHandler:") public native UIViewController getChallengeComposeController(String message, NSArray players, @Block VoidBlock3> completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, pass GKPlayers to challengeComposeControllerWithMessage:players: instead + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "challengeComposeControllerWithMessage:players:completion:") + public native UIViewController challengeComposeControllerIos17(String message, NSArray players, @Block VoidBlock3> completionHandler); + /** + * @deprecated Deprecated in iOS 8.0. Use -challengeComposeControllerWithMessage:players:completion: */ @Deprecated @Method(selector = "challengeComposeControllerWithPlayers:message:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementDescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementDescription.java index cd6096a1b..d1a0200f3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementDescription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementDescription.java @@ -68,7 +68,12 @@ public GKAchievementDescription() {} @Property(selector = "isReplayable") public native boolean isReplayable(); /** - * @deprecated Deprecated in iOS 7.0. Use loadImageWithCompletionHandler: instead + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rarityPercent") + public native NSNumber getRarityPercent(); + /** + * @deprecated Deprecated in iOS 7.0. Use -loadImageWithCompletionHandler: */ @Deprecated @Property(selector = "image") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewController.java index fe1e1ab20..f7d51cdfe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewController.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController instead + * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewControllerDelegate.java index a51af91aa..c2485a398 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKAchievementViewControllerDelegate.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController instead + * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKBasePlayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKBasePlayer.java index 1efd16c57..1258a05fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKBasePlayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKBasePlayer.java @@ -52,7 +52,7 @@ public GKBasePlayer() {} /**/ /**/ /** - * @deprecated Deprecated in iOS 13.0. use the teamPlayerID property to identify a player + * @deprecated Deprecated in iOS 13.0. Use either the gamePlayerID or teamPlayerID property to identify a player. */ @Deprecated @Property(selector = "playerID") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKChallenge.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKChallenge.java index 2a23850f7..72fe0a311 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKChallenge.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKChallenge.java @@ -64,13 +64,13 @@ public GKChallenge() {} @Property(selector = "message") public native String getMessage(); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, Use issuingPlayer instead + * @deprecated Deprecated in iOS 8.0. Use -issuingPlayer: */ @Deprecated @Property(selector = "issuingPlayerID") public native String getIssuingPlayerID(); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, Use receivingPlayer instead + * @deprecated Deprecated in iOS 8.0. Use -receivingPlayer: */ @Deprecated @Property(selector = "receivingPlayerID") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKCloudPlayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKCloudPlayer.java index 2f477729e..720cae919 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKCloudPlayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKCloudPlayer.java @@ -35,7 +35,7 @@ /**/ /** * @since Available in iOS 10.0 and later. - * @deprecated Deprecated in iOS 12.0. GKGameSession is deprecated. Use GKPlayer for both real-time and turn-based matchmaking APIs. + * @deprecated Deprecated in iOS 12.0. Use GKPlayer */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKFriendRequestComposeViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKFriendRequestComposeViewController.java index 983fdce38..e56b81698 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKFriendRequestComposeViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKFriendRequestComposeViewController.java @@ -79,7 +79,7 @@ public GKFriendRequestComposeViewController() {} @Method(selector = "addRecipientPlayers:") public native void addRecipientPlayers(NSArray players); /** - * @deprecated Deprecated in iOS 8.0. use addRecipientPlayers: + * @deprecated Deprecated in iOS 8.0. Use -addRecipientPlayers: */ @Deprecated @Method(selector = "addRecipientsWithPlayerIDs:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameCenterViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameCenterViewController.java index 7fcdc63bd..13db1352d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameCenterViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameCenterViewController.java @@ -82,49 +82,49 @@ public GKGameCenterViewController() {} @Property(selector = "setGameCenterDelegate:", strongRef = true) public native void setGameCenterDelegate(GKGameCenterControllerDelegate v); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithState: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithState: */ @Deprecated @Property(selector = "viewState") public native GKGameCenterViewControllerState getViewState(); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithState: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithState: */ @Deprecated @Property(selector = "setViewState:") public native void setViewState(GKGameCenterViewControllerState v); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "leaderboardTimeScope") public native GKLeaderboardTimeScope getLeaderboardTimeScope(); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "setLeaderboardTimeScope:") public native void setLeaderboardTimeScope(GKLeaderboardTimeScope v); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "leaderboardIdentifier") public native String getLeaderboardIdentifier(); /** - * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 14.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "setLeaderboardIdentifier:") public native void setLeaderboardIdentifier(String v); /** - * @deprecated Deprecated in iOS 7.0. GKGameCenterViewController's leaderboardCategory property is deprecated. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 7.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "leaderboardCategory") public native String getLeaderboardCategory(); /** - * @deprecated Deprecated in iOS 7.0. GKGameCenterViewController's leaderboardCategory property is deprecated. Use -initWithLeaderboard: instead + * @deprecated Deprecated in iOS 7.0. Use -initWithLeaderboard: */ @Deprecated @Property(selector = "setLeaderboardCategory:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSession.java index cf189d2f7..27e76ca15 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSession.java @@ -97,14 +97,14 @@ public GKGameSession() {} public static native void removeSession(String identifier, @Block VoidBlock1 completionHandler); /** * @since Available in iOS 10.0 and later. - * @deprecated Deprecated in iOS 12.0. Use GKLocalPlayer's registerListener: to register for GKLocalPlayerListener event notifications. + * @deprecated Deprecated in iOS 12.0. Use -[GKLocalPlayer registerListener:] */ @Deprecated @Method(selector = "addEventListener:") public static native void addEventListener(GKGameSessionEventListener listener); /** * @since Available in iOS 10.0 and later. - * @deprecated Deprecated in iOS 12.0. Use GKLocalPlayer's unregisterListener: or unregisterAllListeners to unregister from GKLocalPlayerListener event notifications. + * @deprecated Deprecated in iOS 12.0. -[GKLocalPlayer unregisterListener:] or -[GKLocalPlayer unregisterAllListeners:] */ @Deprecated @Method(selector = "removeEventListener:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSessionEventListener.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSessionEventListener.java index b41edd0ea..df51c5c23 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSessionEventListener.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKGameSessionEventListener.java @@ -35,7 +35,7 @@ /**/ /** * @since Available in iOS 10.0 and later. - * @deprecated Deprecated in iOS 12.0. Use GKLocalPlayerListener for multiplayer event notifications. + * @deprecated Deprecated in iOS 12.0. Use GKLocalPlayerListener */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInvite.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInvite.java index 525b898d2..17c72ddcc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInvite.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInvite.java @@ -58,7 +58,7 @@ public GKInvite() {} @Property(selector = "playerAttributes") public native int getPlayerAttributes(); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, use sender instead + * @deprecated Deprecated in iOS 8.0. Use -sender: */ @Deprecated @Property(selector = "inviter") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListener.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListener.java index 9f29977f5..6a30b0dc6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListener.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListener.java @@ -53,7 +53,7 @@ @Method(selector = "player:didRequestMatchWithRecipients:") void didRequestMatch(GKPlayer player, NSArray recipientPlayers); /** - * @deprecated Deprecated in iOS 8.0. This method is obsolete. It will never be invoked its implementation does nothing, use player:didRequestMatchWithRecipients: + * @deprecated Deprecated in iOS 8.0. Use -player:didRequestMatchWithRecipients: */ @Deprecated @Method(selector = "player:didRequestMatchWithPlayers:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListenerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListenerAdapter.java index e57308e25..4d1d4ddcf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListenerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKInviteEventListenerAdapter.java @@ -55,7 +55,7 @@ public void didAcceptInvite(GKPlayer player, GKInvite invite) {} @NotImplemented("player:didRequestMatchWithRecipients:") public void didRequestMatch(GKPlayer player, NSArray recipientPlayers) {} /** - * @deprecated Deprecated in iOS 8.0. This method is obsolete. It will never be invoked its implementation does nothing, use player:didRequestMatchWithRecipients: + * @deprecated Deprecated in iOS 8.0. Use -player:didRequestMatchWithRecipients: */ @Deprecated @NotImplemented("player:didRequestMatchWithPlayers:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboard.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboard.java index 98021ef52..8ddd7899d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboard.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboard.java @@ -48,13 +48,13 @@ public GKLeaderboard() {} protected GKLeaderboard(Handle h, long handle) { super(h, handle); } protected GKLeaderboard(SkipInit skipInit) { super(skipInit); } /** - * @deprecated Deprecated in iOS 8.0. Use initWithPlayers: instead + * @deprecated Deprecated in iOS 8.0. Use -initWithPlayers: */ @Deprecated @Method(selector = "initWithPlayerIDs:") public GKLeaderboard(@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs) { super((SkipInit) null); initObject(init(playerIDs)); } /** - * @deprecated Deprecated in iOS 14.0. Use instance method loadEntriesForPlayers:timeScope:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use +loadEntriesForPlayers:timeScope:completionHandler: */ @Deprecated @Method(selector = "initWithPlayers:") @@ -91,85 +91,85 @@ public GKLeaderboard() {} @Property(selector = "duration") public native double getDuration(); /** - * @deprecated Deprecated in iOS 7.0. Use identifier instead + * @deprecated Deprecated in iOS 7.0. Use -identifier */ @Deprecated @Property(selector = "category") public native String getCategory(); /** - * @deprecated Deprecated in iOS 7.0. Use identifier instead + * @deprecated Deprecated in iOS 7.0. Use -identifier */ @Deprecated @Property(selector = "setCategory:") public native void setCategory(String v); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "timeScope") public native GKLeaderboardTimeScope getTimeScope(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "setTimeScope:") public native void setTimeScope(GKLeaderboardTimeScope v); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "playerScope") public native GKLeaderboardPlayerScope getPlayerScope(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "setPlayerScope:") public native void setPlayerScope(GKLeaderboardPlayerScope v); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "identifier") public native String getIdentifier(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "setIdentifier:") public native void setIdentifier(String v); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "range") public native @ByVal NSRange getRange(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "setRange:") public native void setRange(@ByVal NSRange v); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: to obtain scores. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "scores") public native NSArray getScores(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain the size of the leaderboard. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "maxRange") public native @MachineSizedUInt long getMaxRange(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain scores. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "localPlayerScore") public native GKScore getLocalPlayerScore(); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain scores. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Property(selector = "isLoading") @@ -208,31 +208,31 @@ public GKLeaderboard() {} @Method(selector = "submitScore:context:player:leaderboardIDs:completionHandler:") public static native void submitScore(@MachineSizedSInt long score, @MachineSizedUInt long context, GKPlayer player, NSArray leaderboardIDs, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. Use initWithPlayers: instead + * @deprecated Deprecated in iOS 8.0. Use -initWithPlayers: */ @Deprecated @Method(selector = "initWithPlayerIDs:") protected native @Pointer long init(@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs); /** - * @deprecated Deprecated in iOS 14.0. Use instance method loadEntriesForPlayers:timeScope:completionHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use +loadEntriesForPlayers:timeScope:completionHandler: */ @Deprecated @Method(selector = "initWithPlayers:") protected native @Pointer long init(NSArray players); /** - * @deprecated Deprecated in iOS 14.0. Use loadEntriesForPlayerScope:timeScope:range:completionHandler:. + * @deprecated Deprecated in iOS 14.0. Use -loadEntriesForPlayerScope:timeScope:range:completionHandler: */ @Deprecated @Method(selector = "loadScoresWithCompletionHandler:") public native void loadScores(@Block VoidBlock2, NSError> completionHandler); /** - * @deprecated Deprecated in iOS 7.0. Use setDefaultLeaderboardIdentifier:completionHandler: on GKLocalPlayer instead + * @deprecated Deprecated in iOS 7.0. Use -setDefaultLeaderboardIdentifier:completionHandler: */ @Deprecated @Method(selector = "setDefaultLeaderboard:withCompletionHandler:") public static native void setDefaultLeaderboard(String leaderboardIdentifier, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 14.0. Use class method loadLeaderboardsWithIDs:completionHandler: + * @deprecated Deprecated in iOS 14.0. Use +loadLeaderboardsWithIDs:completionHandler: */ @Deprecated @Method(selector = "loadLeaderboardsWithCompletionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardEntry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardEntry.java index 8519ba7fc..cea98a244 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardEntry.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardEntry.java @@ -68,8 +68,15 @@ protected GKLeaderboardEntry() {} /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use -challengeComposeControllerWithMessage:players:completion: */ + @Deprecated @Method(selector = "challengeComposeControllerWithMessage:players:completionHandler:") public native UIViewController challengeComposeController(String message, NSArray players, @Block VoidBlock3> completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "challengeComposeControllerWithMessage:players:completion:") + public native UIViewController getChallengeComposeController(String message, NSArray players, @Block VoidBlock3> completionHandler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardSet.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardSet.java index e9e0b6ef0..2534548a0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardSet.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardSet.java @@ -72,7 +72,7 @@ public GKLeaderboardSet() {} @Method(selector = "loadLeaderboardSetsWithCompletionHandler:") public static native void loadLeaderboardSets(@Block VoidBlock2 completionHandler); /** - * @deprecated Deprecated in iOS 14.0. Use loadLeaderboardsWithHandler: instead. + * @deprecated Deprecated in iOS 14.0. Use -loadLeaderboardsWithHandler:. */ @Deprecated @Method(selector = "loadLeaderboardsWithCompletionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewController.java index e1b6db761..210ab15cc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewController.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController instead + * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewControllerDelegate.java index c1d61955e..5b5c73cf4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLeaderboardViewControllerDelegate.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController instead + * @deprecated Deprecated in iOS 7.0. Use GKGameCenterViewController */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLocalPlayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLocalPlayer.java index 2ff57a751..d415f6fb7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLocalPlayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKLocalPlayer.java @@ -71,7 +71,7 @@ public GKLocalPlayer() {} @Property(selector = "isPersonalizedCommunicationRestricted") public native boolean isPersonalizedCommunicationRestricted(); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, Use loadFriendPlayersWithCompletionHandler: instead + * @deprecated Deprecated in iOS 8.0. Use -loadFriendPlayersWithCompletionHandler: */ @Deprecated @Property(selector = "friends") @@ -119,13 +119,13 @@ public GKLocalPlayer() {} @Method(selector = "unregisterAllListeners") public native void unregisterAllListeners(); /** - * @deprecated Deprecated in iOS 7.0. Use setDefaultLeaderboardIdentifier:completionHandler: instead + * @deprecated Deprecated in iOS 7.0. Use -setDefaultLeaderboardIdentifier:completionHandler: */ @Deprecated @Method(selector = "setDefaultLeaderboardCategoryID:completionHandler:") public native void setDefaultLeaderboardCategoryID(String categoryID, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 7.0. Use loadDefaultLeaderboardIdentifierWithCompletionHandler: instead + * @deprecated Deprecated in iOS 7.0. Use -loadDefaultLeaderboardIdentifierWithCompletionHandler: */ @Deprecated @Method(selector = "loadDefaultLeaderboardCategoryIDWithCompletionHandler:") @@ -137,13 +137,13 @@ public GKLocalPlayer() {} @Method(selector = "loadFriendPlayersWithCompletionHandler:") public native void loadFriendPlayers(@Block VoidBlock2, NSError> completionHandler); /** - * @deprecated Deprecated in iOS 13.5. API deprecated. Use fetchItemsForIdentityVerificationSignature: and the teamPlayerID value to verify a user identity. + * @deprecated Deprecated in iOS 13.5. Use -fetchItemsForIdentityVerificationSignature:completionHandler: */ @Deprecated @Method(selector = "generateIdentityVerificationSignatureWithCompletionHandler:") public native void generateIdentityVerificationSignature(@Block VoidBlock5 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use loadRecentPlayersWithCompletionHandler: instead + * @deprecated Deprecated in iOS 8.0. Use -loadRecentPlayersWithCompletionHandler: */ @Deprecated @Method(selector = "loadFriendsWithCompletionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatch.java index ac0958e77..ea26f4967 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatch.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatch.java @@ -58,7 +58,7 @@ public GKMatch() {} @Property(selector = "expectedPlayerCount") public native @MachineSizedUInt long getExpectedPlayerCount(); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use players instead. + * @deprecated Deprecated in iOS 8.0. Use -players: */ @Deprecated @Property(selector = "playerIDs") @@ -91,13 +91,13 @@ public boolean sendDataToAllPlayers(NSData data, GKMatchSendDataMode mode) throw @Method(selector = "rematchWithCompletionHandler:") public native void rematch(@Block VoidBlock2 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use chooseBestHostingPlayerWithCompletionHandler: + * @deprecated Deprecated in iOS 8.0. Use -chooseBestHostingPlayerWithCompletionHandler: */ @Deprecated @Method(selector = "chooseBestHostPlayerWithCompletionHandler:") public native void chooseBestHostPlayer(@Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use sendData:toPlayers:dataMode:error: + * @deprecated Deprecated in iOS 8.0. Use -sendData:toPlayers:dataMode:error: */ @Deprecated public boolean sendDataToPlayers(NSData data, List playerIDs, GKMatchSendDataMode mode) throws NSErrorException { @@ -107,7 +107,7 @@ public boolean sendDataToPlayers(NSData data, List playerIDs, GKMatchSen return result; } /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use sendData:toPlayers:dataMode:error: + * @deprecated Deprecated in iOS 8.0. Use -sendData:toPlayers:dataMode:error: */ @Deprecated @Method(selector = "sendData:toPlayers:withDataMode:error:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegate.java index b7627f25e..282e91c7e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegate.java @@ -62,19 +62,19 @@ @Method(selector = "match:shouldReinviteDisconnectedPlayer:") boolean shouldReinviteDisconnectedPlayer(GKMatch match, GKPlayer player); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:didReceiveData:fromRemotePlayer: + * @deprecated Deprecated in iOS 8.0. Use -match:didReceiveData:fromRemotePlayer: */ @Deprecated @Method(selector = "match:didReceiveData:fromPlayer:") void didReceiveData(GKMatch match, NSData data, String playerID); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:player:didChangeConnectionState: + * @deprecated Deprecated in iOS 8.0. Use -match:player:didChangeConnectionState: */ @Deprecated @Method(selector = "match:player:didChangeState:") void didChangeState(GKMatch match, String playerID, GKPlayerConnectionState state); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use shouldReinviteDisconnectedPlayer: + * @deprecated Deprecated in iOS 8.0. Use -shouldReinviteDisconnectedPlayer: */ @Deprecated @Method(selector = "match:shouldReinvitePlayer:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegateAdapter.java index 63af41d1e..842c3151d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchDelegateAdapter.java @@ -64,19 +64,19 @@ public void didFail(GKMatch match, NSError error) {} @NotImplemented("match:shouldReinviteDisconnectedPlayer:") public boolean shouldReinviteDisconnectedPlayer(GKMatch match, GKPlayer player) { return false; } /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:didReceiveData:fromRemotePlayer: + * @deprecated Deprecated in iOS 8.0. Use -match:didReceiveData:fromRemotePlayer: */ @Deprecated @NotImplemented("match:didReceiveData:fromPlayer:") public void didReceiveData(GKMatch match, NSData data, String playerID) {} /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:player:didChangeConnectionState: + * @deprecated Deprecated in iOS 8.0. Use -match:player:didChangeConnectionState: */ @Deprecated @NotImplemented("match:player:didChangeState:") public void didChangeState(GKMatch match, String playerID, GKPlayerConnectionState state) {} /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use shouldReinviteDisconnectedPlayer: + * @deprecated Deprecated in iOS 8.0. Use -shouldReinviteDisconnectedPlayer: */ @Deprecated @NotImplemented("match:shouldReinvitePlayer:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchRequest.java index e56e1da3a..1000346cb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchRequest.java @@ -79,14 +79,14 @@ public GKMatchRequest() {} public native void setDefaultNumberOfPlayers(@MachineSizedUInt long v); /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 14.0. Set the matchmakingMode of GKMatchmakerViewController instead. + * @deprecated Deprecated in iOS 14.0. Use -[GKMatchmakerViewController matchmakingMode:] */ @Deprecated @Property(selector = "restrictToAutomatch") public native boolean isRestrictToAutomatch(); /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 14.0. Set the matchmakingMode of GKMatchmakerViewController instead. + * @deprecated Deprecated in iOS 14.0. Use -[GKMatchmakerViewController matchmakingMode:] */ @Deprecated @Property(selector = "setRestrictToAutomatch:") @@ -96,25 +96,25 @@ public GKMatchRequest() {} @Property(selector = "setRecipientResponseHandler:") public native void setRecipientResponseHandler(@Block VoidBlock2 v); /** - * @deprecated Deprecated in iOS 8.0. use recipientResponseHandler + * @deprecated Deprecated in iOS 8.0. Use recipientResponseHandler */ @Deprecated @Property(selector = "inviteeResponseHandler") public native @Block VoidBlock2 getInviteeResponseHandler(); /** - * @deprecated Deprecated in iOS 8.0. use recipientResponseHandler + * @deprecated Deprecated in iOS 8.0. Use recipientResponseHandler */ @Deprecated @Property(selector = "setInviteeResponseHandler:") public native void setInviteeResponseHandler(@Block VoidBlock2 v); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, use recipients instead + * @deprecated Deprecated in iOS 8.0. Use -recipients: */ @Deprecated @Property(selector = "playersToInvite") public native @org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List getPlayersToInvite(); /** - * @deprecated Deprecated in iOS 8.0. This property is obsolete, use recipients instead + * @deprecated Deprecated in iOS 8.0. Use -recipients: */ @Deprecated @Property(selector = "setPlayersToInvite:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmaker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmaker.java index 6fd9369d4..6cedc338c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmaker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmaker.java @@ -50,13 +50,13 @@ public GKMatchmaker() {} /**/ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead + * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead. */ @Deprecated @Property(selector = "inviteHandler") public native @Block VoidBlock2> getInviteHandler(); /** - * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead + * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead. */ @Deprecated @Property(selector = "setInviteHandler:") @@ -87,31 +87,31 @@ public GKMatchmaker() {} @Method(selector = "stopBrowsingForNearbyPlayers") public native void stopBrowsingForNearbyPlayers(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.2 and later. */ @Method(selector = "startGroupActivityWithPlayerHandler:") public native void startGroupActivity(@Block VoidBlock1 handler); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.2 and later. */ @Method(selector = "stopGroupActivity") public native void stopGroupActivity(); @Method(selector = "sharedMatchmaker") public static native GKMatchmaker getSharedMatchmaker(); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, Use startBrowsingForNearbyPlayersWithHandler: instead + * @deprecated Deprecated in iOS 8.0. Use -startBrowsingForNearbyPlayersWithHandler: */ @Deprecated @Method(selector = "startBrowsingForNearbyPlayersWithReachableHandler:") public native void startBrowsingForNearbyPlayers(@Block VoidBlock2 reachableHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use cancelPendingInviteToPlayer: + * @deprecated Deprecated in iOS 8.0. Use -cancelPendingInviteToPlayer: */ @Deprecated @Method(selector = "cancelInviteToPlayer:") public native void cancelInvite(String playerID); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use findPlayersForHostedRequest: + * @deprecated Deprecated in iOS 8.0. Use -findPlayersForHostedRequest: */ @Deprecated @Method(selector = "findPlayersForHostedMatchRequest:withCompletionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewController.java index 6a20afbe2..6ad2cabfb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewController.java @@ -109,7 +109,7 @@ public GKMatchmakerViewController() {} @Method(selector = "setHostedPlayer:didConnect:") public native void setHostedPlayer(GKPlayer player, boolean connected); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use setHostedPlayer:didConnect: + * @deprecated Deprecated in iOS 8.0. Use -setHostedPlayer:didConnect: */ @Deprecated @Method(selector = "setHostedPlayer:connected:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegate.java index abe8f0191..b14561afd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegate.java @@ -59,13 +59,13 @@ @Method(selector = "matchmakerViewController:hostedPlayerDidAccept:") void hostedPlayerDidAccept(GKMatchmakerViewController viewController, GKPlayer player); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use matchmakerViewController:didFindHostedPlayers: + * @deprecated Deprecated in iOS 8.0. Use -matchmakerViewController:didFindHostedPlayers: */ @Deprecated @Method(selector = "matchmakerViewController:didFindPlayers:") void didFindPlayers(GKMatchmakerViewController viewController, @org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use matchmakerViewController:hostedPlayerDidAccept: + * @deprecated Deprecated in iOS 8.0. Use -matchmakerViewController:hostedPlayerDidAccept: */ @Deprecated @Method(selector = "matchmakerViewController:didReceiveAcceptFromHostedPlayer:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegateAdapter.java index ec3ae0d73..0b6268faf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKMatchmakerViewControllerDelegateAdapter.java @@ -61,13 +61,13 @@ public void didFindHostedPlayers(GKMatchmakerViewController viewController, NSAr @NotImplemented("matchmakerViewController:hostedPlayerDidAccept:") public void hostedPlayerDidAccept(GKMatchmakerViewController viewController, GKPlayer player) {} /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use matchmakerViewController:didFindHostedPlayers: + * @deprecated Deprecated in iOS 8.0. Use -matchmakerViewController:didFindHostedPlayers: */ @Deprecated @NotImplemented("matchmakerViewController:didFindPlayers:") public void didFindPlayers(GKMatchmakerViewController viewController, @org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs) {} /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use matchmakerViewController:hostedPlayerDidAccept: + * @deprecated Deprecated in iOS 8.0. Use -matchmakerViewController:hostedPlayerDidAccept: */ @Deprecated @NotImplemented("matchmakerViewController:didReceiveAcceptFromHostedPlayer:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKNotificationBanner.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKNotificationBanner.java index a278632a7..0899b845c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKNotificationBanner.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKNotificationBanner.java @@ -33,9 +33,11 @@ /**/ /**/ - +/** + * @deprecated Deprecated in iOS 17.0. Use UNNotificationRequest or provide custom UI instead. This method will become a no-op in a future version of GameKit. + */ /**/ -/**/@Library("GameKit") @NativeClass/**/ +/**/@Library("GameKit") @NativeClass @Deprecated/**/ /**/public/**/ class /**/GKNotificationBanner/**/ extends /**/NSObject/**/ /**//**/ { @@ -53,8 +55,16 @@ public GKNotificationBanner() {} /**/ /**//**/ /**/ + /** + * @deprecated Deprecated in iOS 16.1. Use UNNotificationRequest or provide custom UI instead. This method will become a no-op in a future version of GameKit. + */ + @Deprecated @Method(selector = "showBannerWithTitle:message:completionHandler:") public static native void showBanner(String title, String message, @Block Runnable completionHandler); + /** + * @deprecated Deprecated in iOS 16.1. Use UNNotificationRequest or provide custom UI instead. This method will become a no-op in a future version of GameKit. + */ + @Deprecated @Method(selector = "showBannerWithTitle:message:duration:completionHandler:") public static native void showBanner(String title, String message, double duration, @Block Runnable completionHandler); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerController.java index 7c4efa1fb..64d16ed4f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerController.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use MCBrowserViewController from the MultipeerConnectivity framework + * @deprecated Deprecated in iOS 7.0. Use MCBrowserViewController from the MultipeerConnectivity framework. */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerControllerDelegate.java index fea91aaf2..55678788f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPeerPickerControllerDelegate.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use MCBrowserViewController along with MCBrowserViewControllerDelegate from the MultipeerConnectivity framework + * @deprecated Deprecated in iOS 7.0. Use MCBrowserViewController along with MCBrowserViewControllerDelegate from the MultipeerConnectivity framework. */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPlayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPlayer.java index 40df4c7e2..6a3efd852 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPlayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKPlayer.java @@ -74,13 +74,13 @@ public GKPlayer() {} @Property(selector = "isInvitable") public native boolean isInvitable(); /** - * @deprecated Deprecated in iOS 8.0. use -[GKLocalPlayer loadFriendPlayers...] + * @deprecated Deprecated in iOS 8.0. Use -[GKLocalPlayer loadFriendPlayersWithCompletionHandler:] */ @Deprecated @Property(selector = "isFriend") public native boolean isFriend(); /** - * @deprecated Deprecated in iOS 13.0. use the teamPlayerID property to identify a player + * @deprecated Deprecated in iOS 13.0. Use either the gamePlayerID or teamPlayerID property to identify a player. */ @Deprecated @Property(selector = "playerID") @@ -109,7 +109,7 @@ public GKPlayer() {} @Method(selector = "loadPhotoForSize:withCompletionHandler:") public native void loadPhoto(GKPhotoSize size, @Block VoidBlock2 completionHandler); /** - * @deprecated Deprecated in iOS 14.5. use GKLocalPlayer.loadFriendsWithIdentifiers to load a friend's GKPlayer object. + * @deprecated Deprecated in iOS 14.5. Use -[GKLocalPlayer loadFriendsWithIdentifiers:completionHandler:] */ @Deprecated @Method(selector = "loadPlayersForIdentifiers:withCompletionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKScore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKScore.java index e0d002381..e6ecdaea2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKScore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKScore.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 14.0. Replaced by GKLeaderboardScore + * @deprecated Deprecated in iOS 14.0. Use GKLeaderboardScore */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ @@ -54,7 +54,7 @@ public GKScore() {} @Method(selector = "initWithLeaderboardIdentifier:player:") public GKScore(String identifier, GKPlayer player) { super((SkipInit) null); initObject(init(identifier, player)); } /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use initWithLeaderboardIdentifier:player: + * @deprecated Deprecated in iOS 8.0. Use -initWithLeaderboardIdentifier:player: */ @Deprecated @Method(selector = "initWithLeaderboardIdentifier:forPlayer:") @@ -88,19 +88,19 @@ public GKScore() {} @Property(selector = "setShouldSetDefaultLeaderboard:") public native void setShouldSetDefaultLeaderboard(boolean v); /** - * @deprecated Deprecated in iOS 7.0. Use leaderboardIdentifier instead + * @deprecated Deprecated in iOS 7.0. Use -leaderboardIdentifier */ @Deprecated @Property(selector = "category") public native String getCategory(); /** - * @deprecated Deprecated in iOS 7.0. Use leaderboardIdentifier instead + * @deprecated Deprecated in iOS 7.0. Use -leaderboardIdentifier */ @Deprecated @Property(selector = "setCategory:") public native void setCategory(String v); /** - * @deprecated Deprecated in iOS 8.0. use player instead + * @deprecated Deprecated in iOS 8.0. Use -player: */ @Deprecated @Property(selector = "playerID") @@ -117,19 +117,19 @@ public GKScore() {} @Method(selector = "reportScores:withCompletionHandler:") public static native void reportScores(NSArray scores, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 7.0. Use +reportScores:withCompletionhandler: instead + * @deprecated Deprecated in iOS 7.0. Use +reportScores:withCompletionhandler: */ @Deprecated @Method(selector = "reportScoreWithCompletionHandler:") public native void reportScore(@Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use initWithLeaderboardIdentifier:player: + * @deprecated Deprecated in iOS 8.0. Use -initWithLeaderboardIdentifier:player: */ @Deprecated @Method(selector = "initWithLeaderboardIdentifier:forPlayer:") protected native @Pointer long init(String identifier, String playerID); /** - * @deprecated Deprecated in iOS 14.0. pass GKLeaderboardScore to reportLeaderboardScores:withEligibleChallenges:withCompletionHandler instead + * @deprecated Deprecated in iOS 14.0. Use -reportLeaderboardScores:withEligibleChallenges:withCompletionHandler */ @Deprecated @Method(selector = "reportScores:withEligibleChallenges:withCompletionHandler:") @@ -140,15 +140,24 @@ public GKScore() {} @Method(selector = "reportLeaderboardScores:withEligibleChallenges:withCompletionHandler:") public static native void reportLeaderboardScores(NSArray scores, NSArray challenges, @Block VoidBlock1 completionHandler); /** - * @deprecated Deprecated in iOS 7.0. This is never invoked and its implementation does nothing, pass GKPlayers to challengeComposeControllerWithMessage:players:completionHandler: and present the view controller instead + * @deprecated Deprecated in iOS 7.0. Use -challengeComposeControllerWithMessage:players:completionHandler: */ @Deprecated @Method(selector = "issueChallengeToPlayers:message:") public native void issueChallengeToPlayers(@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List playerIDs, String message); + /** + * @deprecated Deprecated in iOS 17.0. Use -challengeComposeControllerWithMessage:players:completion: + */ + @Deprecated @Method(selector = "challengeComposeControllerWithMessage:players:completionHandler:") public native UIViewController getChallengeComposeController(String message, NSArray players, @Block VoidBlock3> completionHandler); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, pass GKPlayers to challengeComposeControllerWithMessage:players: instead + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "challengeComposeControllerWithMessage:players:completion:") + public native UIViewController getChallengeComposeControllerIos17(String message, NSArray players, @Block VoidBlock3> completionHandler); + /** + * @deprecated Deprecated in iOS 8.0. Use -challengeComposeControllerWithMessage:players:completion: */ @Deprecated @Method(selector = "challengeComposeControllerWithPlayers:message:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSession.java index 505a49ae8..3f2ecf60e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSession.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use MCSession from the MultipeerConnectivity framework instead + * @deprecated Deprecated in iOS 7.0. Use GKMatch */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSessionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSessionDelegate.java index 65150b458..3ac469d01 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSessionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKSessionDelegate.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use MCSession in association with MCSessionDelegate from the MultipeerConnectivity framework instead + * @deprecated Deprecated in iOS 7.0. Use GKMatchDelegate */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandler.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandler.java index 4c91bd957..4805903dc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandler.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandler.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer with an object that implements the GKTurnBasedEventListener protocol + * @deprecated Deprecated in iOS 7.0. Use -[GKTurnBasedEventListener registerListener:] */ /**/ /**/@Library("GameKit") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandlerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandlerDelegate.java index b47be4a45..0760b989f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandlerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventHandlerDelegate.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer with an object that implements the GKTurnBasedEventListener protocol + * @deprecated Deprecated in iOS 7.0. Use -[GKLocalPlayer registerListener:] */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListener.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListener.java index 48c2a9941..1dd51cb49 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListener.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListener.java @@ -66,7 +66,7 @@ @Method(selector = "player:wantsToQuitMatch:") void wantsToQuitMatch(GKPlayer player, GKTurnBasedMatch match); /** - * @deprecated Deprecated in iOS 8.0. use didRequestMatchWithOtherPlayers + * @deprecated Deprecated in iOS 8.0. Use -didRequestMatchWithOtherPlayers: */ @Deprecated @Method(selector = "player:didRequestMatchWithPlayers:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListenerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListenerAdapter.java index 9f158411b..b88a260ca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListenerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedEventListenerAdapter.java @@ -68,7 +68,7 @@ public void receivedExchangeReplies(GKPlayer player, NSArray completionHandler); /** - * @deprecated Deprecated in iOS 14.0. pass GKLeaderboardScore to endMatchInTurnWithMatchData:scores:completionHandler instead + * @deprecated Deprecated in iOS 14.0. Use -endMatchInTurnWithMatchData:scores:completionHandler */ @Deprecated @Method(selector = "endMatchInTurnWithMatchData:scores:achievements:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegate.java index 7bff10c0d..1d46f00e5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegate.java @@ -53,13 +53,13 @@ @Method(selector = "turnBasedMatchmakerViewController:didFailWithError:") void didFail(GKTurnBasedMatchmakerViewController viewController, NSError error); /** - * @deprecated Deprecated in iOS 9.0. use GKTurnBasedEventListener player:receivedTurnEventForMatch:didBecomeActive: + * @deprecated Deprecated in iOS 9.0. Use -player:receivedTurnEventForMatch:didBecomeActive: */ @Deprecated @Method(selector = "turnBasedMatchmakerViewController:didFindMatch:") void didFindMatch(GKTurnBasedMatchmakerViewController viewController, GKTurnBasedMatch match); /** - * @deprecated Deprecated in iOS 9.0. use GKTurnBasedEventListener player:wantsToQuitMatch: + * @deprecated Deprecated in iOS 9.0. Use -player:wantsToQuitMatch: */ @Deprecated @Method(selector = "turnBasedMatchmakerViewController:playerQuitForMatch:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegateAdapter.java index 0b7ab52c2..15721dd7b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedMatchmakerViewControllerDelegateAdapter.java @@ -55,13 +55,13 @@ public void wasCancelled(GKTurnBasedMatchmakerViewController viewController) {} @NotImplemented("turnBasedMatchmakerViewController:didFailWithError:") public void didFail(GKTurnBasedMatchmakerViewController viewController, NSError error) {} /** - * @deprecated Deprecated in iOS 9.0. use GKTurnBasedEventListener player:receivedTurnEventForMatch:didBecomeActive: + * @deprecated Deprecated in iOS 9.0. Use -player:receivedTurnEventForMatch:didBecomeActive: */ @Deprecated @NotImplemented("turnBasedMatchmakerViewController:didFindMatch:") public void didFindMatch(GKTurnBasedMatchmakerViewController viewController, GKTurnBasedMatch match) {} /** - * @deprecated Deprecated in iOS 9.0. use GKTurnBasedEventListener player:wantsToQuitMatch: + * @deprecated Deprecated in iOS 9.0. Use -player:wantsToQuitMatch: */ @Deprecated @NotImplemented("turnBasedMatchmakerViewController:playerQuitForMatch:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedParticipant.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedParticipant.java index 82e960461..806c326f0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedParticipant.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKTurnBasedParticipant.java @@ -62,7 +62,7 @@ public GKTurnBasedParticipant() {} @Property(selector = "timeoutDate") public native NSDate getTimeoutDate(); /** - * @deprecated Deprecated in iOS 8.0. use player + * @deprecated Deprecated in iOS 8.0. Use -player: */ @Deprecated @Property(selector = "playerID") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChat.java index bae4c8b11..3fad471c5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChat.java @@ -66,19 +66,19 @@ public GKVoiceChat() {} @Property(selector = "players") public native NSArray getPlayers(); /** - * @deprecated Deprecated in iOS 8.0. use setPlayerVoiceChatStateDidChangeHandler: + * @deprecated Deprecated in iOS 8.0. Use -setPlayerVoiceChatStateDidChangeHandler: */ @Deprecated @Property(selector = "playerStateUpdateHandler") public native @Block VoidBlock2 getPlayerStateUpdateHandler(); /** - * @deprecated Deprecated in iOS 8.0. use setPlayerVoiceChatStateDidChangeHandler: + * @deprecated Deprecated in iOS 8.0. Use -setPlayerVoiceChatStateDidChangeHandler: */ @Deprecated @Property(selector = "setPlayerStateUpdateHandler:") public native void setPlayerStateUpdateHandler(@Block VoidBlock2 v); /** - * @deprecated Deprecated in iOS 8.0. use players + * @deprecated Deprecated in iOS 8.0. Use -players: */ @Deprecated @Property(selector = "playerIDs") @@ -95,7 +95,7 @@ public GKVoiceChat() {} @Method(selector = "isVoIPAllowed") public static native boolean isVoIPAllowed(); /** - * @deprecated Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use setPlayer:muted: + * @deprecated Deprecated in iOS 8.0. Use -setPlayer:muted: */ @Deprecated @Method(selector = "setMute:forPlayer:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChatClient.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChatClient.java index c46261ba2..aec665ea7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChatClient.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/gamekit/GKVoiceChatClient.java @@ -34,7 +34,7 @@ /**/ /** - * @deprecated Deprecated in iOS 7.0. Use GKVoiceChat instead + * @deprecated Deprecated in iOS 7.0. Use GKVoiceChat */ /**/ /**/@Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKBodyQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKBodyQuantityTypeIdentifier.java index 2aac96c08..ca941b6fb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKBodyQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKBodyQuantityTypeIdentifier.java @@ -88,22 +88,22 @@ public static long toNative(List l, long flags) { /**/ /**/ - public static final HKBodyQuantityTypeIdentifier BodyMassIndex = new HKBodyQuantityTypeIdentifier("BodyMassIndex"); + /** + * @since Available in iOS 16.0 and later. + */ + public static final HKBodyQuantityTypeIdentifier AppleSleepingWristTemperature = new HKBodyQuantityTypeIdentifier("AppleSleepingWristTemperature"); public static final HKBodyQuantityTypeIdentifier BodyFatPercentage = new HKBodyQuantityTypeIdentifier("BodyFatPercentage"); - public static final HKBodyQuantityTypeIdentifier Height = new HKBodyQuantityTypeIdentifier("Height"); public static final HKBodyQuantityTypeIdentifier BodyMass = new HKBodyQuantityTypeIdentifier("BodyMass"); + public static final HKBodyQuantityTypeIdentifier BodyMassIndex = new HKBodyQuantityTypeIdentifier("BodyMassIndex"); + public static final HKBodyQuantityTypeIdentifier Height = new HKBodyQuantityTypeIdentifier("Height"); public static final HKBodyQuantityTypeIdentifier LeanBodyMass = new HKBodyQuantityTypeIdentifier("LeanBodyMass"); /** * @since Available in iOS 11.0 and later. */ public static final HKBodyQuantityTypeIdentifier WaistCircumference = new HKBodyQuantityTypeIdentifier("WaistCircumference"); - /** - * @since Available in iOS 16.0 and later. - */ - public static final HKBodyQuantityTypeIdentifier AppleSleepingWristTemperature = new HKBodyQuantityTypeIdentifier("AppleSleepingWristTemperature"); /**/ - private static /**/HKBodyQuantityTypeIdentifier/**/[] values = new /**/HKBodyQuantityTypeIdentifier/**/[] {/**/BodyMassIndex, BodyFatPercentage, Height, BodyMass, LeanBodyMass, WaistCircumference, AppleSleepingWristTemperature/**/}; + private static /**/HKBodyQuantityTypeIdentifier/**/[] values = new /**/HKBodyQuantityTypeIdentifier/**/[] {/**/AppleSleepingWristTemperature, BodyFatPercentage, BodyMass, BodyMassIndex, Height, LeanBodyMass, WaistCircumference/**/}; /**/HKBodyQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -126,14 +126,19 @@ public static class Values { static { Bro.bind(Values.class); } /**/ - @GlobalValue(symbol="HKQuantityTypeIdentifierBodyMassIndex", optional=true) - public static native NSString BodyMassIndex(); + /** + * @since Available in iOS 16.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierAppleSleepingWristTemperature", optional=true) + public static native NSString AppleSleepingWristTemperature(); @GlobalValue(symbol="HKQuantityTypeIdentifierBodyFatPercentage", optional=true) public static native NSString BodyFatPercentage(); - @GlobalValue(symbol="HKQuantityTypeIdentifierHeight", optional=true) - public static native NSString Height(); @GlobalValue(symbol="HKQuantityTypeIdentifierBodyMass", optional=true) public static native NSString BodyMass(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBodyMassIndex", optional=true) + public static native NSString BodyMassIndex(); + @GlobalValue(symbol="HKQuantityTypeIdentifierHeight", optional=true) + public static native NSString Height(); @GlobalValue(symbol="HKQuantityTypeIdentifierLeanBodyMass", optional=true) public static native NSString LeanBodyMass(); /** @@ -141,11 +146,6 @@ public static class Values { */ @GlobalValue(symbol="HKQuantityTypeIdentifierWaistCircumference", optional=true) public static native NSString WaistCircumference(); - /** - * @since Available in iOS 16.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierAppleSleepingWristTemperature", optional=true) - public static native NSString AppleSleepingWristTemperature(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCategoryTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCategoryTypeIdentifier.java index af94275f0..d745fc67e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCategoryTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCategoryTypeIdentifier.java @@ -88,113 +88,107 @@ public static long toNative(List l, long flags) { /**/ /**/ - public static final HKCategoryTypeIdentifier SleepAnalysis = new HKCategoryTypeIdentifier("SleepAnalysis"); /** * @since Available in iOS 9.0 and later. */ public static final HKCategoryTypeIdentifier AppleStandHour = new HKCategoryTypeIdentifier("AppleStandHour"); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.0 and later. */ - public static final HKCategoryTypeIdentifier CervicalMucusQuality = new HKCategoryTypeIdentifier("CervicalMucusQuality"); + public static final HKCategoryTypeIdentifier EnvironmentalAudioExposureEvent = new HKCategoryTypeIdentifier("EnvironmentalAudioExposureEvent"); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.2 and later. */ - public static final HKCategoryTypeIdentifier OvulationTestResult = new HKCategoryTypeIdentifier("OvulationTestResult"); + public static final HKCategoryTypeIdentifier HeadphoneAudioExposureEvent = new HKCategoryTypeIdentifier("HeadphoneAudioExposureEvent"); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 12.2 and later. */ - public static final HKCategoryTypeIdentifier PregnancyTestResult = new HKCategoryTypeIdentifier("PregnancyTestResult"); + public static final HKCategoryTypeIdentifier HighHeartRateEvent = new HKCategoryTypeIdentifier("HighHeartRateEvent"); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 12.2 and later. */ - public static final HKCategoryTypeIdentifier ProgesteroneTestResult = new HKCategoryTypeIdentifier("ProgesteroneTestResult"); + public static final HKCategoryTypeIdentifier IrregularHeartRhythmEvent = new HKCategoryTypeIdentifier("IrregularHeartRhythmEvent"); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.3 and later. */ - public static final HKCategoryTypeIdentifier MenstrualFlow = new HKCategoryTypeIdentifier("MenstrualFlow"); + public static final HKCategoryTypeIdentifier LowCardioFitnessEvent = new HKCategoryTypeIdentifier("LowCardioFitnessEvent"); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 12.2 and later. */ - public static final HKCategoryTypeIdentifier IntermenstrualBleeding = new HKCategoryTypeIdentifier("IntermenstrualBleeding"); + public static final HKCategoryTypeIdentifier LowHeartRateEvent = new HKCategoryTypeIdentifier("LowHeartRateEvent"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 10.0 and later. */ - public static final HKCategoryTypeIdentifier PersistentIntermenstrualBleeding = new HKCategoryTypeIdentifier("PersistentIntermenstrualBleeding"); + public static final HKCategoryTypeIdentifier MindfulSession = new HKCategoryTypeIdentifier("MindfulSession"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 15.0 and later. */ - public static final HKCategoryTypeIdentifier ProlongedMenstrualPeriods = new HKCategoryTypeIdentifier("ProlongedMenstrualPeriods"); + public static final HKCategoryTypeIdentifier AppleWalkingSteadinessEvent = new HKCategoryTypeIdentifier("AppleWalkingSteadinessEvent"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - public static final HKCategoryTypeIdentifier IrregularMenstrualCycles = new HKCategoryTypeIdentifier("IrregularMenstrualCycles"); + public static final HKCategoryTypeIdentifier HandwashingEvent = new HKCategoryTypeIdentifier("HandwashingEvent"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 13.0 and later. */ - public static final HKCategoryTypeIdentifier InfrequentMenstrualCycles = new HKCategoryTypeIdentifier("InfrequentMenstrualCycles"); + public static final HKCategoryTypeIdentifier ToothbrushingEvent = new HKCategoryTypeIdentifier("ToothbrushingEvent"); /** * @since Available in iOS 9.0 and later. */ - public static final HKCategoryTypeIdentifier SexualActivity = new HKCategoryTypeIdentifier("SexualActivity"); + public static final HKCategoryTypeIdentifier CervicalMucusQuality = new HKCategoryTypeIdentifier("CervicalMucusQuality"); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 14.3 and later. */ - public static final HKCategoryTypeIdentifier MindfulSession = new HKCategoryTypeIdentifier("MindfulSession"); + public static final HKCategoryTypeIdentifier Contraceptive = new HKCategoryTypeIdentifier("Contraceptive"); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKCategoryTypeIdentifier HighHeartRateEvent = new HKCategoryTypeIdentifier("HighHeartRateEvent"); + public static final HKCategoryTypeIdentifier InfrequentMenstrualCycles = new HKCategoryTypeIdentifier("InfrequentMenstrualCycles"); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 9.0 and later. */ - public static final HKCategoryTypeIdentifier LowHeartRateEvent = new HKCategoryTypeIdentifier("LowHeartRateEvent"); + public static final HKCategoryTypeIdentifier IntermenstrualBleeding = new HKCategoryTypeIdentifier("IntermenstrualBleeding"); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKCategoryTypeIdentifier IrregularHeartRhythmEvent = new HKCategoryTypeIdentifier("IrregularHeartRhythmEvent"); + public static final HKCategoryTypeIdentifier IrregularMenstrualCycles = new HKCategoryTypeIdentifier("IrregularMenstrualCycles"); /** - * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 14.0. Use HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent + * @since Available in iOS 14.3 and later. */ - @Deprecated - public static final HKCategoryTypeIdentifier AudioExposureEvent = new HKCategoryTypeIdentifier("AudioExposureEvent"); + public static final HKCategoryTypeIdentifier Lactation = new HKCategoryTypeIdentifier("Lactation"); /** - * @since Available in iOS 13.0 and later. + * @since Available in iOS 9.0 and later. */ - public static final HKCategoryTypeIdentifier ToothbrushingEvent = new HKCategoryTypeIdentifier("ToothbrushingEvent"); + public static final HKCategoryTypeIdentifier MenstrualFlow = new HKCategoryTypeIdentifier("MenstrualFlow"); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 9.0 and later. */ - public static final HKCategoryTypeIdentifier Pregnancy = new HKCategoryTypeIdentifier("Pregnancy"); + public static final HKCategoryTypeIdentifier OvulationTestResult = new HKCategoryTypeIdentifier("OvulationTestResult"); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKCategoryTypeIdentifier Lactation = new HKCategoryTypeIdentifier("Lactation"); + public static final HKCategoryTypeIdentifier PersistentIntermenstrualBleeding = new HKCategoryTypeIdentifier("PersistentIntermenstrualBleeding"); /** * @since Available in iOS 14.3 and later. */ - public static final HKCategoryTypeIdentifier Contraceptive = new HKCategoryTypeIdentifier("Contraceptive"); - /** - * @since Available in iOS 14.0 and later. - */ - public static final HKCategoryTypeIdentifier EnvironmentalAudioExposureEvent = new HKCategoryTypeIdentifier("EnvironmentalAudioExposureEvent"); + public static final HKCategoryTypeIdentifier Pregnancy = new HKCategoryTypeIdentifier("Pregnancy"); /** - * @since Available in iOS 14.2 and later. + * @since Available in iOS 15.0 and later. */ - public static final HKCategoryTypeIdentifier HeadphoneAudioExposureEvent = new HKCategoryTypeIdentifier("HeadphoneAudioExposureEvent"); + public static final HKCategoryTypeIdentifier PregnancyTestResult = new HKCategoryTypeIdentifier("PregnancyTestResult"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 15.0 and later. */ - public static final HKCategoryTypeIdentifier HandwashingEvent = new HKCategoryTypeIdentifier("HandwashingEvent"); + public static final HKCategoryTypeIdentifier ProgesteroneTestResult = new HKCategoryTypeIdentifier("ProgesteroneTestResult"); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKCategoryTypeIdentifier LowCardioFitnessEvent = new HKCategoryTypeIdentifier("LowCardioFitnessEvent"); + public static final HKCategoryTypeIdentifier ProlongedMenstrualPeriods = new HKCategoryTypeIdentifier("ProlongedMenstrualPeriods"); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 9.0 and later. */ - public static final HKCategoryTypeIdentifier AppleWalkingSteadinessEvent = new HKCategoryTypeIdentifier("AppleWalkingSteadinessEvent"); + public static final HKCategoryTypeIdentifier SexualActivity = new HKCategoryTypeIdentifier("SexualActivity"); + public static final HKCategoryTypeIdentifier SleepAnalysis = new HKCategoryTypeIdentifier("SleepAnalysis"); /** * @since Available in iOS 13.6 and later. */ @@ -351,9 +345,15 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.6 and later. */ public static final HKCategoryTypeIdentifier Wheezing = new HKCategoryTypeIdentifier("Wheezing"); + /** + * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 14.0. Use HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent + */ + @Deprecated + public static final HKCategoryTypeIdentifier AudioExposureEvent = new HKCategoryTypeIdentifier("AudioExposureEvent"); /**/ - private static /**/HKCategoryTypeIdentifier/**/[] values = new /**/HKCategoryTypeIdentifier/**/[] {/**/SleepAnalysis, AppleStandHour, CervicalMucusQuality, OvulationTestResult, PregnancyTestResult, ProgesteroneTestResult, MenstrualFlow, IntermenstrualBleeding, PersistentIntermenstrualBleeding, ProlongedMenstrualPeriods, IrregularMenstrualCycles, InfrequentMenstrualCycles, SexualActivity, MindfulSession, HighHeartRateEvent, LowHeartRateEvent, IrregularHeartRhythmEvent, AudioExposureEvent, ToothbrushingEvent, Pregnancy, Lactation, Contraceptive, EnvironmentalAudioExposureEvent, HeadphoneAudioExposureEvent, HandwashingEvent, LowCardioFitnessEvent, AppleWalkingSteadinessEvent, AbdominalCramps, Acne, AppetiteChanges, BladderIncontinence, Bloating, BreastPain, ChestTightnessOrPain, Chills, Constipation, Coughing, Diarrhea, Dizziness, DrySkin, Fainting, Fatigue, Fever, GeneralizedBodyAche, HairLoss, Headache, Heartburn, HotFlashes, LossOfSmell, LossOfTaste, LowerBackPain, MemoryLapse, MoodChanges, Nausea, NightSweats, PelvicPain, RapidPoundingOrFlutteringHeartbeat, RunnyNose, ShortnessOfBreath, SinusCongestion, SkippedHeartbeat, SleepChanges, SoreThroat, VaginalDryness, Vomiting, Wheezing/**/}; + private static /**/HKCategoryTypeIdentifier/**/[] values = new /**/HKCategoryTypeIdentifier/**/[] {/**/AppleStandHour, EnvironmentalAudioExposureEvent, HeadphoneAudioExposureEvent, HighHeartRateEvent, IrregularHeartRhythmEvent, LowCardioFitnessEvent, LowHeartRateEvent, MindfulSession, AppleWalkingSteadinessEvent, HandwashingEvent, ToothbrushingEvent, CervicalMucusQuality, Contraceptive, InfrequentMenstrualCycles, IntermenstrualBleeding, IrregularMenstrualCycles, Lactation, MenstrualFlow, OvulationTestResult, PersistentIntermenstrualBleeding, Pregnancy, PregnancyTestResult, ProgesteroneTestResult, ProlongedMenstrualPeriods, SexualActivity, SleepAnalysis, AbdominalCramps, Acne, AppetiteChanges, BladderIncontinence, Bloating, BreastPain, ChestTightnessOrPain, Chills, Constipation, Coughing, Diarrhea, Dizziness, DrySkin, Fainting, Fatigue, Fever, GeneralizedBodyAche, HairLoss, Headache, Heartburn, HotFlashes, LossOfSmell, LossOfTaste, LowerBackPain, MemoryLapse, MoodChanges, Nausea, NightSweats, PelvicPain, RapidPoundingOrFlutteringHeartbeat, RunnyNose, ShortnessOfBreath, SinusCongestion, SkippedHeartbeat, SleepChanges, SoreThroat, VaginalDryness, Vomiting, Wheezing, AudioExposureEvent/**/}; /**/HKCategoryTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -376,140 +376,133 @@ public static class Values { static { Bro.bind(Values.class); } /**/ - @GlobalValue(symbol="HKCategoryTypeIdentifierSleepAnalysis", optional=true) - public static native NSString SleepAnalysis(); /** * @since Available in iOS 9.0 and later. */ @GlobalValue(symbol="HKCategoryTypeIdentifierAppleStandHour", optional=true) public static native NSString AppleStandHour(); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierCervicalMucusQuality", optional=true) - public static native NSString CervicalMucusQuality(); + @GlobalValue(symbol="HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent", optional=true) + public static native NSString EnvironmentalAudioExposureEvent(); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.2 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierOvulationTestResult", optional=true) - public static native NSString OvulationTestResult(); + @GlobalValue(symbol="HKCategoryTypeIdentifierHeadphoneAudioExposureEvent", optional=true) + public static native NSString HeadphoneAudioExposureEvent(); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 12.2 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierPregnancyTestResult", optional=true) - public static native NSString PregnancyTestResult(); + @GlobalValue(symbol="HKCategoryTypeIdentifierHighHeartRateEvent", optional=true) + public static native NSString HighHeartRateEvent(); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 12.2 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierProgesteroneTestResult", optional=true) - public static native NSString ProgesteroneTestResult(); + @GlobalValue(symbol="HKCategoryTypeIdentifierIrregularHeartRhythmEvent", optional=true) + public static native NSString IrregularHeartRhythmEvent(); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 14.3 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierMenstrualFlow", optional=true) - public static native NSString MenstrualFlow(); + @GlobalValue(symbol="HKCategoryTypeIdentifierLowCardioFitnessEvent", optional=true) + public static native NSString LowCardioFitnessEvent(); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 12.2 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierIntermenstrualBleeding", optional=true) - public static native NSString IntermenstrualBleeding(); + @GlobalValue(symbol="HKCategoryTypeIdentifierLowHeartRateEvent", optional=true) + public static native NSString LowHeartRateEvent(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 10.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierPersistentIntermenstrualBleeding", optional=true) - public static native NSString PersistentIntermenstrualBleeding(); + @GlobalValue(symbol="HKCategoryTypeIdentifierMindfulSession", optional=true) + public static native NSString MindfulSession(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierProlongedMenstrualPeriods", optional=true) - public static native NSString ProlongedMenstrualPeriods(); + @GlobalValue(symbol="HKCategoryTypeIdentifierAppleWalkingSteadinessEvent", optional=true) + public static native NSString AppleWalkingSteadinessEvent(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierIrregularMenstrualCycles", optional=true) - public static native NSString IrregularMenstrualCycles(); + @GlobalValue(symbol="HKCategoryTypeIdentifierHandwashingEvent", optional=true) + public static native NSString HandwashingEvent(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 13.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierInfrequentMenstrualCycles", optional=true) - public static native NSString InfrequentMenstrualCycles(); + @GlobalValue(symbol="HKCategoryTypeIdentifierToothbrushingEvent", optional=true) + public static native NSString ToothbrushingEvent(); /** * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierSexualActivity", optional=true) - public static native NSString SexualActivity(); + @GlobalValue(symbol="HKCategoryTypeIdentifierCervicalMucusQuality", optional=true) + public static native NSString CervicalMucusQuality(); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 14.3 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierMindfulSession", optional=true) - public static native NSString MindfulSession(); + @GlobalValue(symbol="HKCategoryTypeIdentifierContraceptive", optional=true) + public static native NSString Contraceptive(); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierHighHeartRateEvent", optional=true) - public static native NSString HighHeartRateEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierInfrequentMenstrualCycles", optional=true) + public static native NSString InfrequentMenstrualCycles(); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierLowHeartRateEvent", optional=true) - public static native NSString LowHeartRateEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierIntermenstrualBleeding", optional=true) + public static native NSString IntermenstrualBleeding(); /** - * @since Available in iOS 12.2 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierIrregularHeartRhythmEvent", optional=true) - public static native NSString IrregularHeartRhythmEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierIrregularMenstrualCycles", optional=true) + public static native NSString IrregularMenstrualCycles(); /** - * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 14.0. Use HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent + * @since Available in iOS 14.3 and later. */ - @Deprecated - @GlobalValue(symbol="HKCategoryTypeIdentifierAudioExposureEvent", optional=true) - public static native NSString AudioExposureEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierLactation", optional=true) + public static native NSString Lactation(); /** - * @since Available in iOS 13.0 and later. + * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierToothbrushingEvent", optional=true) - public static native NSString ToothbrushingEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierMenstrualFlow", optional=true) + public static native NSString MenstrualFlow(); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierPregnancy", optional=true) - public static native NSString Pregnancy(); + @GlobalValue(symbol="HKCategoryTypeIdentifierOvulationTestResult", optional=true) + public static native NSString OvulationTestResult(); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierLactation", optional=true) - public static native NSString Lactation(); + @GlobalValue(symbol="HKCategoryTypeIdentifierPersistentIntermenstrualBleeding", optional=true) + public static native NSString PersistentIntermenstrualBleeding(); /** * @since Available in iOS 14.3 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierContraceptive", optional=true) - public static native NSString Contraceptive(); - /** - * @since Available in iOS 14.0 and later. - */ - @GlobalValue(symbol="HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent", optional=true) - public static native NSString EnvironmentalAudioExposureEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierPregnancy", optional=true) + public static native NSString Pregnancy(); /** - * @since Available in iOS 14.2 and later. + * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierHeadphoneAudioExposureEvent", optional=true) - public static native NSString HeadphoneAudioExposureEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierPregnancyTestResult", optional=true) + public static native NSString PregnancyTestResult(); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierHandwashingEvent", optional=true) - public static native NSString HandwashingEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierProgesteroneTestResult", optional=true) + public static native NSString ProgesteroneTestResult(); /** - * @since Available in iOS 14.3 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierLowCardioFitnessEvent", optional=true) - public static native NSString LowCardioFitnessEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierProlongedMenstrualPeriods", optional=true) + public static native NSString ProlongedMenstrualPeriods(); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKCategoryTypeIdentifierAppleWalkingSteadinessEvent", optional=true) - public static native NSString AppleWalkingSteadinessEvent(); + @GlobalValue(symbol="HKCategoryTypeIdentifierSexualActivity", optional=true) + public static native NSString SexualActivity(); + @GlobalValue(symbol="HKCategoryTypeIdentifierSleepAnalysis", optional=true) + public static native NSString SleepAnalysis(); /** * @since Available in iOS 13.6 and later. */ @@ -705,6 +698,13 @@ public static class Values { */ @GlobalValue(symbol="HKCategoryTypeIdentifierWheezing", optional=true) public static native NSString Wheezing(); + /** + * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 14.0. Use HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent + */ + @Deprecated + @GlobalValue(symbol="HKCategoryTypeIdentifierAudioExposureEvent", optional=true) + public static native NSString AudioExposureEvent(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKClinicalTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKClinicalTypeIdentifier.java index af65683fe..56a9d2291 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKClinicalTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKClinicalTypeIdentifier.java @@ -92,6 +92,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 12.0 and later. */ public static final HKClinicalTypeIdentifier AllergyRecord = new HKClinicalTypeIdentifier("AllergyRecord"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final HKClinicalTypeIdentifier ClinicalNoteRecord = new HKClinicalTypeIdentifier("ClinicalNoteRecord"); /** * @since Available in iOS 12.0 and later. */ @@ -122,7 +126,7 @@ public static long toNative(List l, long flags) { public static final HKClinicalTypeIdentifier CoverageRecord = new HKClinicalTypeIdentifier("CoverageRecord"); /**/ - private static /**/HKClinicalTypeIdentifier/**/[] values = new /**/HKClinicalTypeIdentifier/**/[] {/**/AllergyRecord, ConditionRecord, ImmunizationRecord, LabResultRecord, MedicationRecord, ProcedureRecord, VitalSignRecord, CoverageRecord/**/}; + private static /**/HKClinicalTypeIdentifier/**/[] values = new /**/HKClinicalTypeIdentifier/**/[] {/**/AllergyRecord, ClinicalNoteRecord, ConditionRecord, ImmunizationRecord, LabResultRecord, MedicationRecord, ProcedureRecord, VitalSignRecord, CoverageRecord/**/}; /**/HKClinicalTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -150,6 +154,11 @@ public static class Values { */ @GlobalValue(symbol="HKClinicalTypeIdentifierAllergyRecord", optional=true) public static native NSString AllergyRecord(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="HKClinicalTypeIdentifierClinicalNoteRecord", optional=true) + public static native NSString ClinicalNoteRecord(); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKContactsPrescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKContactsPrescription.java index 39e319fec..52d18793e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKContactsPrescription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKContactsPrescription.java @@ -39,7 +39,7 @@ /**/@Library("HealthKit") @NativeClass/**/ /**/public/**/ class /**/HKContactsPrescription/**/ extends /**/HKVisionPrescription/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class HKContactsPrescriptionPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(HKContactsPrescription.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCyclingFunctionalThresholdPowerTestType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCyclingFunctionalThresholdPowerTestType.java new file mode 100644 index 000000000..387a638b4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKCyclingFunctionalThresholdPowerTestType.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/HKCyclingFunctionalThresholdPowerTestType/**/ implements ValuedEnum { + /**/ + MaxExercise60Minute(1L), + MaxExercise20Minute(2L), + RampTest(3L), + PredictionExercise(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/HKCyclingFunctionalThresholdPowerTestType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/HKCyclingFunctionalThresholdPowerTestType/**/ valueOf(long n) { + for (/**/HKCyclingFunctionalThresholdPowerTestType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/HKCyclingFunctionalThresholdPowerTestType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKDietaryQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKDietaryQuantityTypeIdentifier.java index 3bc077964..83d136c30 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKDietaryQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKDietaryQuantityTypeIdentifier.java @@ -88,51 +88,51 @@ public static long toNative(List l, long flags) /**/ /**/ - public static final HKDietaryQuantityTypeIdentifier FatTotal = new HKDietaryQuantityTypeIdentifier("FatTotal"); - public static final HKDietaryQuantityTypeIdentifier FatPolyunsaturated = new HKDietaryQuantityTypeIdentifier("FatPolyunsaturated"); + public static final HKDietaryQuantityTypeIdentifier Biotin = new HKDietaryQuantityTypeIdentifier("Biotin"); + public static final HKDietaryQuantityTypeIdentifier Caffeine = new HKDietaryQuantityTypeIdentifier("Caffeine"); + public static final HKDietaryQuantityTypeIdentifier Calcium = new HKDietaryQuantityTypeIdentifier("Calcium"); + public static final HKDietaryQuantityTypeIdentifier Carbohydrates = new HKDietaryQuantityTypeIdentifier("Carbohydrates"); + public static final HKDietaryQuantityTypeIdentifier Chloride = new HKDietaryQuantityTypeIdentifier("Chloride"); + public static final HKDietaryQuantityTypeIdentifier Cholesterol = new HKDietaryQuantityTypeIdentifier("Cholesterol"); + public static final HKDietaryQuantityTypeIdentifier Chromium = new HKDietaryQuantityTypeIdentifier("Chromium"); + public static final HKDietaryQuantityTypeIdentifier Copper = new HKDietaryQuantityTypeIdentifier("Copper"); + public static final HKDietaryQuantityTypeIdentifier EnergyConsumed = new HKDietaryQuantityTypeIdentifier("EnergyConsumed"); public static final HKDietaryQuantityTypeIdentifier FatMonounsaturated = new HKDietaryQuantityTypeIdentifier("FatMonounsaturated"); + public static final HKDietaryQuantityTypeIdentifier FatPolyunsaturated = new HKDietaryQuantityTypeIdentifier("FatPolyunsaturated"); public static final HKDietaryQuantityTypeIdentifier FatSaturated = new HKDietaryQuantityTypeIdentifier("FatSaturated"); - public static final HKDietaryQuantityTypeIdentifier Cholesterol = new HKDietaryQuantityTypeIdentifier("Cholesterol"); - public static final HKDietaryQuantityTypeIdentifier Sodium = new HKDietaryQuantityTypeIdentifier("Sodium"); - public static final HKDietaryQuantityTypeIdentifier Carbohydrates = new HKDietaryQuantityTypeIdentifier("Carbohydrates"); + public static final HKDietaryQuantityTypeIdentifier FatTotal = new HKDietaryQuantityTypeIdentifier("FatTotal"); public static final HKDietaryQuantityTypeIdentifier Fiber = new HKDietaryQuantityTypeIdentifier("Fiber"); - public static final HKDietaryQuantityTypeIdentifier Sugar = new HKDietaryQuantityTypeIdentifier("Sugar"); - public static final HKDietaryQuantityTypeIdentifier EnergyConsumed = new HKDietaryQuantityTypeIdentifier("EnergyConsumed"); + public static final HKDietaryQuantityTypeIdentifier Folate = new HKDietaryQuantityTypeIdentifier("Folate"); + public static final HKDietaryQuantityTypeIdentifier Iodine = new HKDietaryQuantityTypeIdentifier("Iodine"); + public static final HKDietaryQuantityTypeIdentifier Iron = new HKDietaryQuantityTypeIdentifier("Iron"); + public static final HKDietaryQuantityTypeIdentifier Magnesium = new HKDietaryQuantityTypeIdentifier("Magnesium"); + public static final HKDietaryQuantityTypeIdentifier Manganese = new HKDietaryQuantityTypeIdentifier("Manganese"); + public static final HKDietaryQuantityTypeIdentifier Molybdenum = new HKDietaryQuantityTypeIdentifier("Molybdenum"); + public static final HKDietaryQuantityTypeIdentifier Niacin = new HKDietaryQuantityTypeIdentifier("Niacin"); + public static final HKDietaryQuantityTypeIdentifier PantothenicAcid = new HKDietaryQuantityTypeIdentifier("PantothenicAcid"); + public static final HKDietaryQuantityTypeIdentifier Phosphorus = new HKDietaryQuantityTypeIdentifier("Phosphorus"); + public static final HKDietaryQuantityTypeIdentifier Potassium = new HKDietaryQuantityTypeIdentifier("Potassium"); public static final HKDietaryQuantityTypeIdentifier Protein = new HKDietaryQuantityTypeIdentifier("Protein"); + public static final HKDietaryQuantityTypeIdentifier Riboflavin = new HKDietaryQuantityTypeIdentifier("Riboflavin"); + public static final HKDietaryQuantityTypeIdentifier Selenium = new HKDietaryQuantityTypeIdentifier("Selenium"); + public static final HKDietaryQuantityTypeIdentifier Sodium = new HKDietaryQuantityTypeIdentifier("Sodium"); + public static final HKDietaryQuantityTypeIdentifier Sugar = new HKDietaryQuantityTypeIdentifier("Sugar"); + public static final HKDietaryQuantityTypeIdentifier Thiamin = new HKDietaryQuantityTypeIdentifier("Thiamin"); public static final HKDietaryQuantityTypeIdentifier VitaminA = new HKDietaryQuantityTypeIdentifier("VitaminA"); - public static final HKDietaryQuantityTypeIdentifier VitaminB6 = new HKDietaryQuantityTypeIdentifier("VitaminB6"); public static final HKDietaryQuantityTypeIdentifier VitaminB12 = new HKDietaryQuantityTypeIdentifier("VitaminB12"); + public static final HKDietaryQuantityTypeIdentifier VitaminB6 = new HKDietaryQuantityTypeIdentifier("VitaminB6"); public static final HKDietaryQuantityTypeIdentifier VitaminC = new HKDietaryQuantityTypeIdentifier("VitaminC"); public static final HKDietaryQuantityTypeIdentifier VitaminD = new HKDietaryQuantityTypeIdentifier("VitaminD"); public static final HKDietaryQuantityTypeIdentifier VitaminE = new HKDietaryQuantityTypeIdentifier("VitaminE"); public static final HKDietaryQuantityTypeIdentifier VitaminK = new HKDietaryQuantityTypeIdentifier("VitaminK"); - public static final HKDietaryQuantityTypeIdentifier Calcium = new HKDietaryQuantityTypeIdentifier("Calcium"); - public static final HKDietaryQuantityTypeIdentifier Iron = new HKDietaryQuantityTypeIdentifier("Iron"); - public static final HKDietaryQuantityTypeIdentifier Thiamin = new HKDietaryQuantityTypeIdentifier("Thiamin"); - public static final HKDietaryQuantityTypeIdentifier Riboflavin = new HKDietaryQuantityTypeIdentifier("Riboflavin"); - public static final HKDietaryQuantityTypeIdentifier Niacin = new HKDietaryQuantityTypeIdentifier("Niacin"); - public static final HKDietaryQuantityTypeIdentifier Folate = new HKDietaryQuantityTypeIdentifier("Folate"); - public static final HKDietaryQuantityTypeIdentifier Biotin = new HKDietaryQuantityTypeIdentifier("Biotin"); - public static final HKDietaryQuantityTypeIdentifier PantothenicAcid = new HKDietaryQuantityTypeIdentifier("PantothenicAcid"); - public static final HKDietaryQuantityTypeIdentifier Phosphorus = new HKDietaryQuantityTypeIdentifier("Phosphorus"); - public static final HKDietaryQuantityTypeIdentifier Iodine = new HKDietaryQuantityTypeIdentifier("Iodine"); - public static final HKDietaryQuantityTypeIdentifier Magnesium = new HKDietaryQuantityTypeIdentifier("Magnesium"); - public static final HKDietaryQuantityTypeIdentifier Zinc = new HKDietaryQuantityTypeIdentifier("Zinc"); - public static final HKDietaryQuantityTypeIdentifier Selenium = new HKDietaryQuantityTypeIdentifier("Selenium"); - public static final HKDietaryQuantityTypeIdentifier Copper = new HKDietaryQuantityTypeIdentifier("Copper"); - public static final HKDietaryQuantityTypeIdentifier Manganese = new HKDietaryQuantityTypeIdentifier("Manganese"); - public static final HKDietaryQuantityTypeIdentifier Chromium = new HKDietaryQuantityTypeIdentifier("Chromium"); - public static final HKDietaryQuantityTypeIdentifier Molybdenum = new HKDietaryQuantityTypeIdentifier("Molybdenum"); - public static final HKDietaryQuantityTypeIdentifier Chloride = new HKDietaryQuantityTypeIdentifier("Chloride"); - public static final HKDietaryQuantityTypeIdentifier Potassium = new HKDietaryQuantityTypeIdentifier("Potassium"); - public static final HKDietaryQuantityTypeIdentifier Caffeine = new HKDietaryQuantityTypeIdentifier("Caffeine"); /** * @since Available in iOS 9.0 and later. */ public static final HKDietaryQuantityTypeIdentifier Water = new HKDietaryQuantityTypeIdentifier("Water"); + public static final HKDietaryQuantityTypeIdentifier Zinc = new HKDietaryQuantityTypeIdentifier("Zinc"); /**/ - private static /**/HKDietaryQuantityTypeIdentifier/**/[] values = new /**/HKDietaryQuantityTypeIdentifier/**/[] {/**/FatTotal, FatPolyunsaturated, FatMonounsaturated, FatSaturated, Cholesterol, Sodium, Carbohydrates, Fiber, Sugar, EnergyConsumed, Protein, VitaminA, VitaminB6, VitaminB12, VitaminC, VitaminD, VitaminE, VitaminK, Calcium, Iron, Thiamin, Riboflavin, Niacin, Folate, Biotin, PantothenicAcid, Phosphorus, Iodine, Magnesium, Zinc, Selenium, Copper, Manganese, Chromium, Molybdenum, Chloride, Potassium, Caffeine, Water/**/}; + private static /**/HKDietaryQuantityTypeIdentifier/**/[] values = new /**/HKDietaryQuantityTypeIdentifier/**/[] {/**/Biotin, Caffeine, Calcium, Carbohydrates, Chloride, Cholesterol, Chromium, Copper, EnergyConsumed, FatMonounsaturated, FatPolyunsaturated, FatSaturated, FatTotal, Fiber, Folate, Iodine, Iron, Magnesium, Manganese, Molybdenum, Niacin, PantothenicAcid, Phosphorus, Potassium, Protein, Riboflavin, Selenium, Sodium, Sugar, Thiamin, VitaminA, VitaminB12, VitaminB6, VitaminC, VitaminD, VitaminE, VitaminK, Water, Zinc/**/}; /**/HKDietaryQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -155,34 +155,72 @@ public static class Values { static { Bro.bind(Values.class); } /**/ - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatTotal", optional=true) - public static native NSString FatTotal(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatPolyunsaturated", optional=true) - public static native NSString FatPolyunsaturated(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryBiotin", optional=true) + public static native NSString Biotin(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCaffeine", optional=true) + public static native NSString Caffeine(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCalcium", optional=true) + public static native NSString Calcium(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCarbohydrates", optional=true) + public static native NSString Carbohydrates(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryChloride", optional=true) + public static native NSString Chloride(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCholesterol", optional=true) + public static native NSString Cholesterol(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryChromium", optional=true) + public static native NSString Chromium(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCopper", optional=true) + public static native NSString Copper(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryEnergyConsumed", optional=true) + public static native NSString EnergyConsumed(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatMonounsaturated", optional=true) public static native NSString FatMonounsaturated(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatPolyunsaturated", optional=true) + public static native NSString FatPolyunsaturated(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatSaturated", optional=true) public static native NSString FatSaturated(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCholesterol", optional=true) - public static native NSString Cholesterol(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySodium", optional=true) - public static native NSString Sodium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCarbohydrates", optional=true) - public static native NSString Carbohydrates(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFatTotal", optional=true) + public static native NSString FatTotal(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFiber", optional=true) public static native NSString Fiber(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySugar", optional=true) - public static native NSString Sugar(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryEnergyConsumed", optional=true) - public static native NSString EnergyConsumed(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFolate", optional=true) + public static native NSString Folate(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryIodine", optional=true) + public static native NSString Iodine(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryIron", optional=true) + public static native NSString Iron(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryMagnesium", optional=true) + public static native NSString Magnesium(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryManganese", optional=true) + public static native NSString Manganese(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryMolybdenum", optional=true) + public static native NSString Molybdenum(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryNiacin", optional=true) + public static native NSString Niacin(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPantothenicAcid", optional=true) + public static native NSString PantothenicAcid(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPhosphorus", optional=true) + public static native NSString Phosphorus(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPotassium", optional=true) + public static native NSString Potassium(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryProtein", optional=true) public static native NSString Protein(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryRiboflavin", optional=true) + public static native NSString Riboflavin(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySelenium", optional=true) + public static native NSString Selenium(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySodium", optional=true) + public static native NSString Sodium(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySugar", optional=true) + public static native NSString Sugar(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryThiamin", optional=true) + public static native NSString Thiamin(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminA", optional=true) public static native NSString VitaminA(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminB6", optional=true) - public static native NSString VitaminB6(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminB12", optional=true) public static native NSString VitaminB12(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminB6", optional=true) + public static native NSString VitaminB6(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminC", optional=true) public static native NSString VitaminC(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminD", optional=true) @@ -191,51 +229,13 @@ public static class Values { public static native NSString VitaminE(); @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryVitaminK", optional=true) public static native NSString VitaminK(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCalcium", optional=true) - public static native NSString Calcium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryIron", optional=true) - public static native NSString Iron(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryThiamin", optional=true) - public static native NSString Thiamin(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryRiboflavin", optional=true) - public static native NSString Riboflavin(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryNiacin", optional=true) - public static native NSString Niacin(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryFolate", optional=true) - public static native NSString Folate(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryBiotin", optional=true) - public static native NSString Biotin(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPantothenicAcid", optional=true) - public static native NSString PantothenicAcid(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPhosphorus", optional=true) - public static native NSString Phosphorus(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryIodine", optional=true) - public static native NSString Iodine(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryMagnesium", optional=true) - public static native NSString Magnesium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryZinc", optional=true) - public static native NSString Zinc(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietarySelenium", optional=true) - public static native NSString Selenium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCopper", optional=true) - public static native NSString Copper(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryManganese", optional=true) - public static native NSString Manganese(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryChromium", optional=true) - public static native NSString Chromium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryMolybdenum", optional=true) - public static native NSString Molybdenum(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryChloride", optional=true) - public static native NSString Chloride(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryPotassium", optional=true) - public static native NSString Potassium(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryCaffeine", optional=true) - public static native NSString Caffeine(); /** * @since Available in iOS 9.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryWater", optional=true) public static native NSString Water(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDietaryZinc", optional=true) + public static native NSString Zinc(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKErrorCode.java index 02026fcbc..c0800252f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKErrorCode.java @@ -38,6 +38,11 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ public enum /**/HKErrorCode/**/ implements NSErrorCode { /**/ + UnknownError(0L), + /** + * @deprecated Use HKUnknownError + */ + @Deprecated NoError(0L), ErrorHealthDataUnavailable(1L), ErrorHealthDataRestricted(2L), @@ -61,7 +66,19 @@ public enum /**/HKErrorCode/**/ implements NSErrorCode { /** * @since Available in iOS 14.0 and later. */ - ErrorNoData(11L); + ErrorNoData(11L), + /** + * @since Available in iOS 17.0 and later. + */ + ErrorWorkoutActivityNotAllowed(12L), + /** + * @since Available in iOS 17.0 and later. + */ + ErrorDataSizeExceeded(13L), + /** + * @since Available in iOS 17.0 and later. + */ + ErrorBackgroundWorkoutSessionNotAllowed(14L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFHIRResourceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFHIRResourceType.java index ca46e71b9..e78df1aa8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFHIRResourceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFHIRResourceType.java @@ -100,6 +100,14 @@ public static long toNative(List l, long flags) { * @since Available in iOS 14.0 and later. */ public static final HKFHIRResourceType Coverage = new HKFHIRResourceType("Coverage"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final HKFHIRResourceType DiagnosticReport = new HKFHIRResourceType("DiagnosticReport"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final HKFHIRResourceType DocumentReference = new HKFHIRResourceType("DocumentReference"); /** * @since Available in iOS 12.0 and later. */ @@ -130,7 +138,7 @@ public static long toNative(List l, long flags) { public static final HKFHIRResourceType Procedure = new HKFHIRResourceType("Procedure"); /**/ - private static /**/HKFHIRResourceType/**/[] values = new /**/HKFHIRResourceType/**/[] {/**/AllergyIntolerance, Condition, Coverage, Immunization, MedicationDispense, MedicationOrder, MedicationRequest, MedicationStatement, Observation, Procedure/**/}; + private static /**/HKFHIRResourceType/**/[] values = new /**/HKFHIRResourceType/**/[] {/**/AllergyIntolerance, Condition, Coverage, DiagnosticReport, DocumentReference, Immunization, MedicationDispense, MedicationOrder, MedicationRequest, MedicationStatement, Observation, Procedure/**/}; /**/HKFHIRResourceType/**/ (String getterName) { super(Values.class, getterName); @@ -168,6 +176,16 @@ public static class Values { */ @GlobalValue(symbol="HKFHIRResourceTypeCoverage", optional=true) public static native NSString Coverage(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="HKFHIRResourceTypeDiagnosticReport", optional=true) + public static native NSString DiagnosticReport(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="HKFHIRResourceTypeDocumentReference", optional=true) + public static native NSString DocumentReference(); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFitnessQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFitnessQuantityTypeIdentifier.java index 7bb6613ad..e4395f2ca 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFitnessQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKFitnessQuantityTypeIdentifier.java @@ -88,81 +88,85 @@ public static long toNative(List l, long flags) /**/ /**/ - public static final HKFitnessQuantityTypeIdentifier StepCount = new HKFitnessQuantityTypeIdentifier("StepCount"); - public static final HKFitnessQuantityTypeIdentifier DistanceWalkingRunning = new HKFitnessQuantityTypeIdentifier("DistanceWalkingRunning"); - public static final HKFitnessQuantityTypeIdentifier DistanceCycling = new HKFitnessQuantityTypeIdentifier("DistanceCycling"); - /** - * @since Available in iOS 10.0 and later. - */ - public static final HKFitnessQuantityTypeIdentifier DistanceWheelchair = new HKFitnessQuantityTypeIdentifier("DistanceWheelchair"); - public static final HKFitnessQuantityTypeIdentifier BasalEnergyBurned = new HKFitnessQuantityTypeIdentifier("BasalEnergyBurned"); public static final HKFitnessQuantityTypeIdentifier ActiveEnergyBurned = new HKFitnessQuantityTypeIdentifier("ActiveEnergyBurned"); - public static final HKFitnessQuantityTypeIdentifier FlightsClimbed = new HKFitnessQuantityTypeIdentifier("FlightsClimbed"); - public static final HKFitnessQuantityTypeIdentifier NikeFuel = new HKFitnessQuantityTypeIdentifier("NikeFuel"); /** * @since Available in iOS 9.3 and later. */ public static final HKFitnessQuantityTypeIdentifier AppleExerciseTime = new HKFitnessQuantityTypeIdentifier("AppleExerciseTime"); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 14.5 and later. */ - public static final HKFitnessQuantityTypeIdentifier PushCount = new HKFitnessQuantityTypeIdentifier("PushCount"); + public static final HKFitnessQuantityTypeIdentifier AppleMoveTime = new HKFitnessQuantityTypeIdentifier("AppleMoveTime"); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 13.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier DistanceSwimming = new HKFitnessQuantityTypeIdentifier("DistanceSwimming"); + public static final HKFitnessQuantityTypeIdentifier AppleStandTime = new HKFitnessQuantityTypeIdentifier("AppleStandTime"); + public static final HKFitnessQuantityTypeIdentifier BasalEnergyBurned = new HKFitnessQuantityTypeIdentifier("BasalEnergyBurned"); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 17.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier SwimmingStrokeCount = new HKFitnessQuantityTypeIdentifier("SwimmingStrokeCount"); + public static final HKFitnessQuantityTypeIdentifier CyclingCadence = new HKFitnessQuantityTypeIdentifier("CyclingCadence"); /** - * @since Available in iOS 11.0 and later. + * @since Available in iOS 17.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier VO2Max = new HKFitnessQuantityTypeIdentifier("VO2Max"); + public static final HKFitnessQuantityTypeIdentifier CyclingFunctionalThresholdPower = new HKFitnessQuantityTypeIdentifier("CyclingFunctionalThresholdPower"); /** - * @since Available in iOS 11.2 and later. + * @since Available in iOS 17.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier DistanceDownhillSnowSports = new HKFitnessQuantityTypeIdentifier("DistanceDownhillSnowSports"); + public static final HKFitnessQuantityTypeIdentifier CyclingPower = new HKFitnessQuantityTypeIdentifier("CyclingPower"); /** - * @since Available in iOS 13.0 and later. + * @since Available in iOS 17.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier AppleStandTime = new HKFitnessQuantityTypeIdentifier("AppleStandTime"); + public static final HKFitnessQuantityTypeIdentifier CyclingSpeed = new HKFitnessQuantityTypeIdentifier("CyclingSpeed"); + public static final HKFitnessQuantityTypeIdentifier DistanceCycling = new HKFitnessQuantityTypeIdentifier("DistanceCycling"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 11.2 and later. */ - public static final HKFitnessQuantityTypeIdentifier WalkingSpeed = new HKFitnessQuantityTypeIdentifier("WalkingSpeed"); + public static final HKFitnessQuantityTypeIdentifier DistanceDownhillSnowSports = new HKFitnessQuantityTypeIdentifier("DistanceDownhillSnowSports"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 10.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier WalkingDoubleSupportPercentage = new HKFitnessQuantityTypeIdentifier("WalkingDoubleSupportPercentage"); + public static final HKFitnessQuantityTypeIdentifier DistanceSwimming = new HKFitnessQuantityTypeIdentifier("DistanceSwimming"); + public static final HKFitnessQuantityTypeIdentifier DistanceWalkingRunning = new HKFitnessQuantityTypeIdentifier("DistanceWalkingRunning"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 10.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier WalkingAsymmetryPercentage = new HKFitnessQuantityTypeIdentifier("WalkingAsymmetryPercentage"); + public static final HKFitnessQuantityTypeIdentifier DistanceWheelchair = new HKFitnessQuantityTypeIdentifier("DistanceWheelchair"); + public static final HKFitnessQuantityTypeIdentifier FlightsClimbed = new HKFitnessQuantityTypeIdentifier("FlightsClimbed"); + public static final HKFitnessQuantityTypeIdentifier NikeFuel = new HKFitnessQuantityTypeIdentifier("NikeFuel"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 17.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier WalkingStepLength = new HKFitnessQuantityTypeIdentifier("WalkingStepLength"); + public static final HKFitnessQuantityTypeIdentifier PhysicalEffort = new HKFitnessQuantityTypeIdentifier("PhysicalEffort"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 10.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier SixMinuteWalkTestDistance = new HKFitnessQuantityTypeIdentifier("SixMinuteWalkTestDistance"); + public static final HKFitnessQuantityTypeIdentifier PushCount = new HKFitnessQuantityTypeIdentifier("PushCount"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier StairAscentSpeed = new HKFitnessQuantityTypeIdentifier("StairAscentSpeed"); + public static final HKFitnessQuantityTypeIdentifier RunningPower = new HKFitnessQuantityTypeIdentifier("RunningPower"); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier StairDescentSpeed = new HKFitnessQuantityTypeIdentifier("StairDescentSpeed"); + public static final HKFitnessQuantityTypeIdentifier RunningSpeed = new HKFitnessQuantityTypeIdentifier("RunningSpeed"); + public static final HKFitnessQuantityTypeIdentifier StepCount = new HKFitnessQuantityTypeIdentifier("StepCount"); /** - * @since Available in iOS 14.5 and later. + * @since Available in iOS 10.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier AppleMoveTime = new HKFitnessQuantityTypeIdentifier("AppleMoveTime"); + public static final HKFitnessQuantityTypeIdentifier SwimmingStrokeCount = new HKFitnessQuantityTypeIdentifier("SwimmingStrokeCount"); + /** + * @since Available in iOS 11.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier VO2Max = new HKFitnessQuantityTypeIdentifier("VO2Max"); /** * @since Available in iOS 15.0 and later. */ public static final HKFitnessQuantityTypeIdentifier AppleWalkingSteadiness = new HKFitnessQuantityTypeIdentifier("AppleWalkingSteadiness"); + /** + * @since Available in iOS 16.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier RunningGroundContactTime = new HKFitnessQuantityTypeIdentifier("RunningGroundContactTime"); /** * @since Available in iOS 16.0 and later. */ @@ -172,20 +176,36 @@ public static long toNative(List l, long flags) */ public static final HKFitnessQuantityTypeIdentifier RunningVerticalOscillation = new HKFitnessQuantityTypeIdentifier("RunningVerticalOscillation"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier RunningGroundContactTime = new HKFitnessQuantityTypeIdentifier("RunningGroundContactTime"); + public static final HKFitnessQuantityTypeIdentifier SixMinuteWalkTestDistance = new HKFitnessQuantityTypeIdentifier("SixMinuteWalkTestDistance"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier RunningPower = new HKFitnessQuantityTypeIdentifier("RunningPower"); + public static final HKFitnessQuantityTypeIdentifier StairAscentSpeed = new HKFitnessQuantityTypeIdentifier("StairAscentSpeed"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - public static final HKFitnessQuantityTypeIdentifier RunningSpeed = new HKFitnessQuantityTypeIdentifier("RunningSpeed"); + public static final HKFitnessQuantityTypeIdentifier StairDescentSpeed = new HKFitnessQuantityTypeIdentifier("StairDescentSpeed"); + /** + * @since Available in iOS 14.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier WalkingAsymmetryPercentage = new HKFitnessQuantityTypeIdentifier("WalkingAsymmetryPercentage"); + /** + * @since Available in iOS 14.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier WalkingDoubleSupportPercentage = new HKFitnessQuantityTypeIdentifier("WalkingDoubleSupportPercentage"); + /** + * @since Available in iOS 14.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier WalkingSpeed = new HKFitnessQuantityTypeIdentifier("WalkingSpeed"); + /** + * @since Available in iOS 14.0 and later. + */ + public static final HKFitnessQuantityTypeIdentifier WalkingStepLength = new HKFitnessQuantityTypeIdentifier("WalkingStepLength"); /**/ - private static /**/HKFitnessQuantityTypeIdentifier/**/[] values = new /**/HKFitnessQuantityTypeIdentifier/**/[] {/**/StepCount, DistanceWalkingRunning, DistanceCycling, DistanceWheelchair, BasalEnergyBurned, ActiveEnergyBurned, FlightsClimbed, NikeFuel, AppleExerciseTime, PushCount, DistanceSwimming, SwimmingStrokeCount, VO2Max, DistanceDownhillSnowSports, AppleStandTime, WalkingSpeed, WalkingDoubleSupportPercentage, WalkingAsymmetryPercentage, WalkingStepLength, SixMinuteWalkTestDistance, StairAscentSpeed, StairDescentSpeed, AppleMoveTime, AppleWalkingSteadiness, RunningStrideLength, RunningVerticalOscillation, RunningGroundContactTime, RunningPower, RunningSpeed/**/}; + private static /**/HKFitnessQuantityTypeIdentifier/**/[] values = new /**/HKFitnessQuantityTypeIdentifier/**/[] {/**/ActiveEnergyBurned, AppleExerciseTime, AppleMoveTime, AppleStandTime, BasalEnergyBurned, CyclingCadence, CyclingFunctionalThresholdPower, CyclingPower, CyclingSpeed, DistanceCycling, DistanceDownhillSnowSports, DistanceSwimming, DistanceWalkingRunning, DistanceWheelchair, FlightsClimbed, NikeFuel, PhysicalEffort, PushCount, RunningPower, RunningSpeed, StepCount, SwimmingStrokeCount, VO2Max, AppleWalkingSteadiness, RunningGroundContactTime, RunningStrideLength, RunningVerticalOscillation, SixMinuteWalkTestDistance, StairAscentSpeed, StairDescentSpeed, WalkingAsymmetryPercentage, WalkingDoubleSupportPercentage, WalkingSpeed, WalkingStepLength/**/}; /**/HKFitnessQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -208,40 +228,90 @@ public static class Values { static { Bro.bind(Values.class); } /**/ - @GlobalValue(symbol="HKQuantityTypeIdentifierStepCount", optional=true) - public static native NSString StepCount(); - @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceWalkingRunning", optional=true) - public static native NSString DistanceWalkingRunning(); + @GlobalValue(symbol="HKQuantityTypeIdentifierActiveEnergyBurned", optional=true) + public static native NSString ActiveEnergyBurned(); + /** + * @since Available in iOS 9.3 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierAppleExerciseTime", optional=true) + public static native NSString AppleExerciseTime(); + /** + * @since Available in iOS 14.5 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierAppleMoveTime", optional=true) + public static native NSString AppleMoveTime(); + /** + * @since Available in iOS 13.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierAppleStandTime", optional=true) + public static native NSString AppleStandTime(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBasalEnergyBurned", optional=true) + public static native NSString BasalEnergyBurned(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierCyclingCadence", optional=true) + public static native NSString CyclingCadence(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierCyclingFunctionalThresholdPower", optional=true) + public static native NSString CyclingFunctionalThresholdPower(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierCyclingPower", optional=true) + public static native NSString CyclingPower(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierCyclingSpeed", optional=true) + public static native NSString CyclingSpeed(); @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceCycling", optional=true) public static native NSString DistanceCycling(); + /** + * @since Available in iOS 11.2 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceDownhillSnowSports", optional=true) + public static native NSString DistanceDownhillSnowSports(); + /** + * @since Available in iOS 10.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceSwimming", optional=true) + public static native NSString DistanceSwimming(); + @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceWalkingRunning", optional=true) + public static native NSString DistanceWalkingRunning(); /** * @since Available in iOS 10.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceWheelchair", optional=true) public static native NSString DistanceWheelchair(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBasalEnergyBurned", optional=true) - public static native NSString BasalEnergyBurned(); - @GlobalValue(symbol="HKQuantityTypeIdentifierActiveEnergyBurned", optional=true) - public static native NSString ActiveEnergyBurned(); @GlobalValue(symbol="HKQuantityTypeIdentifierFlightsClimbed", optional=true) public static native NSString FlightsClimbed(); @GlobalValue(symbol="HKQuantityTypeIdentifierNikeFuel", optional=true) public static native NSString NikeFuel(); /** - * @since Available in iOS 9.3 and later. + * @since Available in iOS 17.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierAppleExerciseTime", optional=true) - public static native NSString AppleExerciseTime(); + @GlobalValue(symbol="HKQuantityTypeIdentifierPhysicalEffort", optional=true) + public static native NSString PhysicalEffort(); /** * @since Available in iOS 10.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierPushCount", optional=true) public static native NSString PushCount(); /** - * @since Available in iOS 10.0 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceSwimming", optional=true) - public static native NSString DistanceSwimming(); + @GlobalValue(symbol="HKQuantityTypeIdentifierRunningPower", optional=true) + public static native NSString RunningPower(); + /** + * @since Available in iOS 16.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierRunningSpeed", optional=true) + public static native NSString RunningSpeed(); + @GlobalValue(symbol="HKQuantityTypeIdentifierStepCount", optional=true) + public static native NSString StepCount(); /** * @since Available in iOS 10.0 and later. */ @@ -253,35 +323,25 @@ public static class Values { @GlobalValue(symbol="HKQuantityTypeIdentifierVO2Max", optional=true) public static native NSString VO2Max(); /** - * @since Available in iOS 11.2 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierDistanceDownhillSnowSports", optional=true) - public static native NSString DistanceDownhillSnowSports(); - /** - * @since Available in iOS 13.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierAppleStandTime", optional=true) - public static native NSString AppleStandTime(); - /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 15.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingSpeed", optional=true) - public static native NSString WalkingSpeed(); + @GlobalValue(symbol="HKQuantityTypeIdentifierAppleWalkingSteadiness", optional=true) + public static native NSString AppleWalkingSteadiness(); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingDoubleSupportPercentage", optional=true) - public static native NSString WalkingDoubleSupportPercentage(); + @GlobalValue(symbol="HKQuantityTypeIdentifierRunningGroundContactTime", optional=true) + public static native NSString RunningGroundContactTime(); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingAsymmetryPercentage", optional=true) - public static native NSString WalkingAsymmetryPercentage(); + @GlobalValue(symbol="HKQuantityTypeIdentifierRunningStrideLength", optional=true) + public static native NSString RunningStrideLength(); /** - * @since Available in iOS 14.0 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingStepLength", optional=true) - public static native NSString WalkingStepLength(); + @GlobalValue(symbol="HKQuantityTypeIdentifierRunningVerticalOscillation", optional=true) + public static native NSString RunningVerticalOscillation(); /** * @since Available in iOS 14.0 and later. */ @@ -298,40 +358,25 @@ public static class Values { @GlobalValue(symbol="HKQuantityTypeIdentifierStairDescentSpeed", optional=true) public static native NSString StairDescentSpeed(); /** - * @since Available in iOS 14.5 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierAppleMoveTime", optional=true) - public static native NSString AppleMoveTime(); - /** - * @since Available in iOS 15.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierAppleWalkingSteadiness", optional=true) - public static native NSString AppleWalkingSteadiness(); - /** - * @since Available in iOS 16.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierRunningStrideLength", optional=true) - public static native NSString RunningStrideLength(); - /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierRunningVerticalOscillation", optional=true) - public static native NSString RunningVerticalOscillation(); + @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingAsymmetryPercentage", optional=true) + public static native NSString WalkingAsymmetryPercentage(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierRunningGroundContactTime", optional=true) - public static native NSString RunningGroundContactTime(); + @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingDoubleSupportPercentage", optional=true) + public static native NSString WalkingDoubleSupportPercentage(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierRunningPower", optional=true) - public static native NSString RunningPower(); + @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingSpeed", optional=true) + public static native NSString WalkingSpeed(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 14.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierRunningSpeed", optional=true) - public static native NSString RunningSpeed(); + @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingStepLength", optional=true) + public static native NSString WalkingStepLength(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKGlassesPrescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKGlassesPrescription.java index 32b527633..6bd46843d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKGlassesPrescription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKGlassesPrescription.java @@ -39,7 +39,7 @@ /**/@Library("HealthKit") @NativeClass/**/ /**/public/**/ class /**/HKGlassesPrescription/**/ extends /**/HKVisionPrescription/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class HKGlassesPrescriptionPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(HKGlassesPrescription.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKHealthStore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKHealthStore.java index d7e351b13..f47abe1c9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKHealthStore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKHealthStore.java @@ -62,7 +62,16 @@ public HKHealthStore() {} protected HKHealthStore(SkipInit skipInit) { super(skipInit); } /**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "workoutSessionMirroringStartHandler") + public native @Block VoidBlock1 getWorkoutSessionMirroringStartHandler(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setWorkoutSessionMirroringStartHandler:") + public native void setWorkoutSessionMirroringStartHandler(@Block VoidBlock1 v); /**/ /**//**/ /**/ @@ -81,6 +90,9 @@ public HKHealthStore() {} public native HKAuthorizationStatus getAuthorizationStatusForType(HKObjectType type); @Method(selector = "requestAuthorizationToShareTypes:readTypes:completion:") public native void requestAuthorizationToTypes(NSSet typesToShare, NSSet typesToRead, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "requestPerObjectReadAuthorizationForType:predicate:completion:") public native void requestPerObjectReadAuthorization(HKObjectType objectType, NSPredicate predicate, @Block VoidBlock2 completion); /** @@ -206,6 +218,10 @@ public HKWheelchairUseObject getWheelchairUse() throws NSErrorException { public native HKActivityMoveModeObject getActivityMoveMode(NSError.NSErrorPtr error); @Method(selector = "isHealthDataAvailable") public static native boolean isHealthDataAvailable(); + /** + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder + */ + @Deprecated @Method(selector = "addSamples:toWorkout:completion:") public native void addSamplesToWorkout(NSArray samples, HKWorkout workout, @Block VoidBlock2 completion); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKMetadataKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKMetadataKey.java index c0ee5647f..553100d71 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKMetadataKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKMetadataKey.java @@ -141,6 +141,10 @@ public static long toNative(List l, long flags) { public static final HKMetadataKey WasUserEntered = new HKMetadataKey("WasUserEntered"); public static final HKMetadataKey WorkoutBrandName = new HKMetadataKey("WorkoutBrandName"); public static final HKMetadataKey GroupFitness = new HKMetadataKey("GroupFitness"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey AppleFitnessPlusSession = new HKMetadataKey("AppleFitnessPlusSession"); public static final HKMetadataKey IndoorWorkout = new HKMetadataKey("IndoorWorkout"); public static final HKMetadataKey CoachedWorkout = new HKMetadataKey("CoachedWorkout"); /** @@ -283,9 +287,33 @@ public static long toNative(List l, long flags) { * @since Available in iOS 16.0 and later. */ public static final HKMetadataKey GlassesPrescriptionDescription = new HKMetadataKey("GlassesPrescriptionDescription"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey WaterSalinity = new HKMetadataKey("WaterSalinity"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final HKMetadataKey HeadphoneGain = new HKMetadataKey("HeadphoneGain"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey CyclingFunctionalThresholdPowerTestType = new HKMetadataKey("CyclingFunctionalThresholdPowerTestType"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey ActivityType = new HKMetadataKey("ActivityType"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey PhysicalEffortEstimationType = new HKMetadataKey("PhysicalEffortEstimationType"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKMetadataKey MaximumLightIntensity = new HKMetadataKey("MaximumLightIntensity"); /**/ - private static /**/HKMetadataKey/**/[] values = new /**/HKMetadataKey/**/[] {/**/DeviceSerialNumber, BodyTemperatureSensorLocation, HeartRateSensorLocation, HeartRateMotionContext, UserMotionContext, SessionEstimate, HeartRateRecoveryTestType, HeartRateRecoveryActivityType, HeartRateRecoveryActivityDuration, HeartRateRecoveryMaxObservedRecoveryHeartRate, FoodType, UDIDeviceIdentifier, UDIProductionIdentifier, DigitalSignature, ExternalUUID, SyncIdentifier, SyncVersion, TimeZone, DeviceName, DeviceManufacturerName, WasTakenInLab, ReferenceRangeLowerLimit, ReferenceRangeUpperLimit, WasUserEntered, WorkoutBrandName, GroupFitness, IndoorWorkout, CoachedWorkout, WeatherCondition, WeatherTemperature, WeatherHumidity, SexualActivityProtectionUsed, MenstrualCycleStart, LapLength, SwimmingLocationType, SwimmingStrokeStyle, InsulinDeliveryReason, BloodGlucoseMealTime, VO2MaxTestType, AverageSpeed, MaximumSpeed, AlpineSlopeGrade, ElevationAscended, ElevationDescended, FitnessMachineDuration, IndoorBikeDistance, CrossTrainerDistance, HeartRateEventThreshold, AverageMETs, AudioExposureLevel, AudioExposureDuration, AppleECGAlgorithmVersion, DevicePlacementSide, BarometricPressure, AppleDeviceCalibrated, VO2MaxValue, LowCardioFitnessEventThreshold, DateOfEarliestDataUsedForEstimate, AlgorithmVersion, SWOLFScore, QuantityClampedToLowerBound, QuantityClampedToUpperBound, GlassesPrescriptionDescription/**/}; + private static /**/HKMetadataKey/**/[] values = new /**/HKMetadataKey/**/[] {/**/DeviceSerialNumber, BodyTemperatureSensorLocation, HeartRateSensorLocation, HeartRateMotionContext, UserMotionContext, SessionEstimate, HeartRateRecoveryTestType, HeartRateRecoveryActivityType, HeartRateRecoveryActivityDuration, HeartRateRecoveryMaxObservedRecoveryHeartRate, FoodType, UDIDeviceIdentifier, UDIProductionIdentifier, DigitalSignature, ExternalUUID, SyncIdentifier, SyncVersion, TimeZone, DeviceName, DeviceManufacturerName, WasTakenInLab, ReferenceRangeLowerLimit, ReferenceRangeUpperLimit, WasUserEntered, WorkoutBrandName, GroupFitness, AppleFitnessPlusSession, IndoorWorkout, CoachedWorkout, WeatherCondition, WeatherTemperature, WeatherHumidity, SexualActivityProtectionUsed, MenstrualCycleStart, LapLength, SwimmingLocationType, SwimmingStrokeStyle, InsulinDeliveryReason, BloodGlucoseMealTime, VO2MaxTestType, AverageSpeed, MaximumSpeed, AlpineSlopeGrade, ElevationAscended, ElevationDescended, FitnessMachineDuration, IndoorBikeDistance, CrossTrainerDistance, HeartRateEventThreshold, AverageMETs, AudioExposureLevel, AudioExposureDuration, AppleECGAlgorithmVersion, DevicePlacementSide, BarometricPressure, AppleDeviceCalibrated, VO2MaxValue, LowCardioFitnessEventThreshold, DateOfEarliestDataUsedForEstimate, AlgorithmVersion, SWOLFScore, QuantityClampedToLowerBound, QuantityClampedToUpperBound, GlassesPrescriptionDescription, WaterSalinity, HeadphoneGain, CyclingFunctionalThresholdPowerTestType, ActivityType, PhysicalEffortEstimationType, MaximumLightIntensity/**/}; /**/HKMetadataKey/**/ (String getterName) { super(Values.class, getterName); @@ -387,6 +415,11 @@ public static class Values { public static native NSString WorkoutBrandName(); @GlobalValue(symbol="HKMetadataKeyGroupFitness", optional=true) public static native NSString GroupFitness(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyAppleFitnessPlusSession", optional=true) + public static native NSString AppleFitnessPlusSession(); @GlobalValue(symbol="HKMetadataKeyIndoorWorkout", optional=true) public static native NSString IndoorWorkout(); @GlobalValue(symbol="HKMetadataKeyCoachedWorkout", optional=true) @@ -566,6 +599,36 @@ public static class Values { */ @GlobalValue(symbol="HKMetadataKeyGlassesPrescriptionDescription", optional=true) public static native NSString GlassesPrescriptionDescription(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyWaterSalinity", optional=true) + public static native NSString WaterSalinity(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="HKMetadataKeyHeadphoneGain", optional=true) + public static native NSString HeadphoneGain(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyCyclingFunctionalThresholdPowerTestType", optional=true) + public static native NSString CyclingFunctionalThresholdPowerTestType(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyActivityType", optional=true) + public static native NSString ActivityType(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyPhysicalEffortEstimationType", optional=true) + public static native NSString PhysicalEffortEstimationType(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKMetadataKeyMaximumLightIntensity", optional=true) + public static native NSString MaximumLightIntensity(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKObjectType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKObjectType.java index 4219e534c..7a7c3946b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKObjectType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKObjectType.java @@ -57,6 +57,9 @@ protected HKObjectType() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "requiresPerObjectAuthorization") public native boolean requiresPerObjectAuthorization(); @Method(selector = "quantityTypeForIdentifier:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKOtherQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKOtherQuantityTypeIdentifier.java index ebed97e0e..f237a925d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKOtherQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKOtherQuantityTypeIdentifier.java @@ -92,9 +92,13 @@ public static long toNative(List l, long flags) { * @since Available in iOS 16.0 and later. */ public static final HKOtherQuantityTypeIdentifier AtrialFibrillationBurden = new HKOtherQuantityTypeIdentifier("AtrialFibrillationBurden"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final HKOtherQuantityTypeIdentifier TimeInDaylight = new HKOtherQuantityTypeIdentifier("TimeInDaylight"); /**/ - private static /**/HKOtherQuantityTypeIdentifier/**/[] values = new /**/HKOtherQuantityTypeIdentifier/**/[] {/**/AtrialFibrillationBurden/**/}; + private static /**/HKOtherQuantityTypeIdentifier/**/[] values = new /**/HKOtherQuantityTypeIdentifier/**/[] {/**/AtrialFibrillationBurden, TimeInDaylight/**/}; /**/HKOtherQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -122,6 +126,11 @@ public static class Values { */ @GlobalValue(symbol="HKQuantityTypeIdentifierAtrialFibrillationBurden", optional=true) public static native NSString AtrialFibrillationBurden(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierTimeInDaylight", optional=true) + public static native NSString TimeInDaylight(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKPhysicalEffortEstimationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKPhysicalEffortEstimationType.java new file mode 100644 index 000000000..ee05ba128 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKPhysicalEffortEstimationType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/HKPhysicalEffortEstimationType/**/ implements ValuedEnum { + /**/ + ActivityLookup(1L), + DeviceSensed(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/HKPhysicalEffortEstimationType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/HKPhysicalEffortEstimationType/**/ valueOf(long n) { + for (/**/HKPhysicalEffortEstimationType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/HKPhysicalEffortEstimationType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKResultsQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKResultsQuantityTypeIdentifier.java index 354290ef4..d44da6c98 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKResultsQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKResultsQuantityTypeIdentifier.java @@ -88,35 +88,39 @@ public static long toNative(List l, long flags) /**/ /**/ - public static final HKResultsQuantityTypeIdentifier OxygenSaturation = new HKResultsQuantityTypeIdentifier("OxygenSaturation"); - public static final HKResultsQuantityTypeIdentifier PeripheralPerfusionIndex = new HKResultsQuantityTypeIdentifier("PeripheralPerfusionIndex"); - public static final HKResultsQuantityTypeIdentifier BloodGlucose = new HKResultsQuantityTypeIdentifier("BloodGlucose"); - public static final HKResultsQuantityTypeIdentifier NumberOfTimesFallen = new HKResultsQuantityTypeIdentifier("NumberOfTimesFallen"); public static final HKResultsQuantityTypeIdentifier ElectrodermalActivity = new HKResultsQuantityTypeIdentifier("ElectrodermalActivity"); - public static final HKResultsQuantityTypeIdentifier InhalerUsage = new HKResultsQuantityTypeIdentifier("InhalerUsage"); - /** - * @since Available in iOS 11.0 and later. - */ - public static final HKResultsQuantityTypeIdentifier InsulinDelivery = new HKResultsQuantityTypeIdentifier("InsulinDelivery"); - public static final HKResultsQuantityTypeIdentifier BloodAlcoholContent = new HKResultsQuantityTypeIdentifier("BloodAlcoholContent"); - public static final HKResultsQuantityTypeIdentifier ForcedVitalCapacity = new HKResultsQuantityTypeIdentifier("ForcedVitalCapacity"); - public static final HKResultsQuantityTypeIdentifier ForcedExpiratoryVolume1 = new HKResultsQuantityTypeIdentifier("ForcedExpiratoryVolume1"); - public static final HKResultsQuantityTypeIdentifier PeakExpiratoryFlowRate = new HKResultsQuantityTypeIdentifier("PeakExpiratoryFlowRate"); /** * @since Available in iOS 13.0 and later. */ public static final HKResultsQuantityTypeIdentifier EnvironmentalAudioExposure = new HKResultsQuantityTypeIdentifier("EnvironmentalAudioExposure"); + /** + * @since Available in iOS 16.0 and later. + */ + public static final HKResultsQuantityTypeIdentifier EnvironmentalSoundReduction = new HKResultsQuantityTypeIdentifier("EnvironmentalSoundReduction"); /** * @since Available in iOS 13.0 and later. */ public static final HKResultsQuantityTypeIdentifier HeadphoneAudioExposure = new HKResultsQuantityTypeIdentifier("HeadphoneAudioExposure"); + public static final HKResultsQuantityTypeIdentifier PeripheralPerfusionIndex = new HKResultsQuantityTypeIdentifier("PeripheralPerfusionIndex"); + public static final HKResultsQuantityTypeIdentifier BloodAlcoholContent = new HKResultsQuantityTypeIdentifier("BloodAlcoholContent"); + /** + * @since Available in iOS 11.0 and later. + */ + public static final HKResultsQuantityTypeIdentifier InsulinDelivery = new HKResultsQuantityTypeIdentifier("InsulinDelivery"); /** * @since Available in iOS 15.0 and later. */ public static final HKResultsQuantityTypeIdentifier NumberOfAlcoholicBeverages = new HKResultsQuantityTypeIdentifier("NumberOfAlcoholicBeverages"); + public static final HKResultsQuantityTypeIdentifier NumberOfTimesFallen = new HKResultsQuantityTypeIdentifier("NumberOfTimesFallen"); + public static final HKResultsQuantityTypeIdentifier ForcedExpiratoryVolume1 = new HKResultsQuantityTypeIdentifier("ForcedExpiratoryVolume1"); + public static final HKResultsQuantityTypeIdentifier ForcedVitalCapacity = new HKResultsQuantityTypeIdentifier("ForcedVitalCapacity"); + public static final HKResultsQuantityTypeIdentifier InhalerUsage = new HKResultsQuantityTypeIdentifier("InhalerUsage"); + public static final HKResultsQuantityTypeIdentifier OxygenSaturation = new HKResultsQuantityTypeIdentifier("OxygenSaturation"); + public static final HKResultsQuantityTypeIdentifier PeakExpiratoryFlowRate = new HKResultsQuantityTypeIdentifier("PeakExpiratoryFlowRate"); + public static final HKResultsQuantityTypeIdentifier BloodGlucose = new HKResultsQuantityTypeIdentifier("BloodGlucose"); /**/ - private static /**/HKResultsQuantityTypeIdentifier/**/[] values = new /**/HKResultsQuantityTypeIdentifier/**/[] {/**/OxygenSaturation, PeripheralPerfusionIndex, BloodGlucose, NumberOfTimesFallen, ElectrodermalActivity, InhalerUsage, InsulinDelivery, BloodAlcoholContent, ForcedVitalCapacity, ForcedExpiratoryVolume1, PeakExpiratoryFlowRate, EnvironmentalAudioExposure, HeadphoneAudioExposure, NumberOfAlcoholicBeverages/**/}; + private static /**/HKResultsQuantityTypeIdentifier/**/[] values = new /**/HKResultsQuantityTypeIdentifier/**/[] {/**/ElectrodermalActivity, EnvironmentalAudioExposure, EnvironmentalSoundReduction, HeadphoneAudioExposure, PeripheralPerfusionIndex, BloodAlcoholContent, InsulinDelivery, NumberOfAlcoholicBeverages, NumberOfTimesFallen, ForcedExpiratoryVolume1, ForcedVitalCapacity, InhalerUsage, OxygenSaturation, PeakExpiratoryFlowRate, BloodGlucose/**/}; /**/HKResultsQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -139,46 +143,51 @@ public static class Values { static { Bro.bind(Values.class); } /**/ - @GlobalValue(symbol="HKQuantityTypeIdentifierOxygenSaturation", optional=true) - public static native NSString OxygenSaturation(); - @GlobalValue(symbol="HKQuantityTypeIdentifierPeripheralPerfusionIndex", optional=true) - public static native NSString PeripheralPerfusionIndex(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBloodGlucose", optional=true) - public static native NSString BloodGlucose(); - @GlobalValue(symbol="HKQuantityTypeIdentifierNumberOfTimesFallen", optional=true) - public static native NSString NumberOfTimesFallen(); @GlobalValue(symbol="HKQuantityTypeIdentifierElectrodermalActivity", optional=true) public static native NSString ElectrodermalActivity(); - @GlobalValue(symbol="HKQuantityTypeIdentifierInhalerUsage", optional=true) - public static native NSString InhalerUsage(); - /** - * @since Available in iOS 11.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierInsulinDelivery", optional=true) - public static native NSString InsulinDelivery(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBloodAlcoholContent", optional=true) - public static native NSString BloodAlcoholContent(); - @GlobalValue(symbol="HKQuantityTypeIdentifierForcedVitalCapacity", optional=true) - public static native NSString ForcedVitalCapacity(); - @GlobalValue(symbol="HKQuantityTypeIdentifierForcedExpiratoryVolume1", optional=true) - public static native NSString ForcedExpiratoryVolume1(); - @GlobalValue(symbol="HKQuantityTypeIdentifierPeakExpiratoryFlowRate", optional=true) - public static native NSString PeakExpiratoryFlowRate(); /** * @since Available in iOS 13.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierEnvironmentalAudioExposure", optional=true) public static native NSString EnvironmentalAudioExposure(); + /** + * @since Available in iOS 16.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierEnvironmentalSoundReduction", optional=true) + public static native NSString EnvironmentalSoundReduction(); /** * @since Available in iOS 13.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierHeadphoneAudioExposure", optional=true) public static native NSString HeadphoneAudioExposure(); + @GlobalValue(symbol="HKQuantityTypeIdentifierPeripheralPerfusionIndex", optional=true) + public static native NSString PeripheralPerfusionIndex(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBloodAlcoholContent", optional=true) + public static native NSString BloodAlcoholContent(); + /** + * @since Available in iOS 11.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierInsulinDelivery", optional=true) + public static native NSString InsulinDelivery(); /** * @since Available in iOS 15.0 and later. */ @GlobalValue(symbol="HKQuantityTypeIdentifierNumberOfAlcoholicBeverages", optional=true) public static native NSString NumberOfAlcoholicBeverages(); + @GlobalValue(symbol="HKQuantityTypeIdentifierNumberOfTimesFallen", optional=true) + public static native NSString NumberOfTimesFallen(); + @GlobalValue(symbol="HKQuantityTypeIdentifierForcedExpiratoryVolume1", optional=true) + public static native NSString ForcedExpiratoryVolume1(); + @GlobalValue(symbol="HKQuantityTypeIdentifierForcedVitalCapacity", optional=true) + public static native NSString ForcedVitalCapacity(); + @GlobalValue(symbol="HKQuantityTypeIdentifierInhalerUsage", optional=true) + public static native NSString InhalerUsage(); + @GlobalValue(symbol="HKQuantityTypeIdentifierOxygenSaturation", optional=true) + public static native NSString OxygenSaturation(); + @GlobalValue(symbol="HKQuantityTypeIdentifierPeakExpiratoryFlowRate", optional=true) + public static native NSString PeakExpiratoryFlowRate(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBloodGlucose", optional=true) + public static native NSString BloodGlucose(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKUnit.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKUnit.java index 630ee05f3..661e7f86b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKUnit.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKUnit.java @@ -265,6 +265,16 @@ protected HKUnit() {} */ @Method(selector = "degreeAngleUnit") public static native HKUnit degreeAngle(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "luxUnitWithMetricPrefix:") + public static native HKUnit lux(HKMetricPrefix prefix); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "luxUnit") + public static native HKUnit lux(); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVisionPrescription.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVisionPrescription.java index 1f35ab13e..526518b7b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVisionPrescription.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVisionPrescription.java @@ -39,7 +39,7 @@ /**/@Library("HealthKit") @NativeClass/**/ /**/public/**/ class /**/HKVisionPrescription/**/ extends /**/HKSample/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class HKVisionPrescriptionPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(HKVisionPrescription.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVitalSignsQuantityTypeIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVitalSignsQuantityTypeIdentifier.java index bbd9e35e0..09f492e37 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVitalSignsQuantityTypeIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKVitalSignsQuantityTypeIdentifier.java @@ -89,33 +89,33 @@ public static long toNative(List l, long fla /**/ public static final HKVitalSignsQuantityTypeIdentifier HeartRate = new HKVitalSignsQuantityTypeIdentifier("HeartRate"); - public static final HKVitalSignsQuantityTypeIdentifier BodyTemperature = new HKVitalSignsQuantityTypeIdentifier("BodyTemperature"); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 16.0 and later. */ - public static final HKVitalSignsQuantityTypeIdentifier BasalBodyTemperature = new HKVitalSignsQuantityTypeIdentifier("BasalBodyTemperature"); - public static final HKVitalSignsQuantityTypeIdentifier BloodPressureSystolic = new HKVitalSignsQuantityTypeIdentifier("BloodPressureSystolic"); - public static final HKVitalSignsQuantityTypeIdentifier BloodPressureDiastolic = new HKVitalSignsQuantityTypeIdentifier("BloodPressureDiastolic"); - public static final HKVitalSignsQuantityTypeIdentifier RespiratoryRate = new HKVitalSignsQuantityTypeIdentifier("RespiratoryRate"); + public static final HKVitalSignsQuantityTypeIdentifier HeartRateRecoveryOneMinute = new HKVitalSignsQuantityTypeIdentifier("HeartRateRecoveryOneMinute"); /** * @since Available in iOS 11.0 and later. */ - public static final HKVitalSignsQuantityTypeIdentifier RestingHeartRate = new HKVitalSignsQuantityTypeIdentifier("RestingHeartRate"); + public static final HKVitalSignsQuantityTypeIdentifier HeartRateVariabilitySDNN = new HKVitalSignsQuantityTypeIdentifier("HeartRateVariabilitySDNN"); /** * @since Available in iOS 11.0 and later. */ - public static final HKVitalSignsQuantityTypeIdentifier WalkingHeartRateAverage = new HKVitalSignsQuantityTypeIdentifier("WalkingHeartRateAverage"); + public static final HKVitalSignsQuantityTypeIdentifier RestingHeartRate = new HKVitalSignsQuantityTypeIdentifier("RestingHeartRate"); /** * @since Available in iOS 11.0 and later. */ - public static final HKVitalSignsQuantityTypeIdentifier HeartRateVariabilitySDNN = new HKVitalSignsQuantityTypeIdentifier("HeartRateVariabilitySDNN"); + public static final HKVitalSignsQuantityTypeIdentifier WalkingHeartRateAverage = new HKVitalSignsQuantityTypeIdentifier("WalkingHeartRateAverage"); + public static final HKVitalSignsQuantityTypeIdentifier BloodPressureDiastolic = new HKVitalSignsQuantityTypeIdentifier("BloodPressureDiastolic"); + public static final HKVitalSignsQuantityTypeIdentifier BloodPressureSystolic = new HKVitalSignsQuantityTypeIdentifier("BloodPressureSystolic"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 9.0 and later. */ - public static final HKVitalSignsQuantityTypeIdentifier HeartRateRecoveryOneMinute = new HKVitalSignsQuantityTypeIdentifier("HeartRateRecoveryOneMinute"); + public static final HKVitalSignsQuantityTypeIdentifier BasalBodyTemperature = new HKVitalSignsQuantityTypeIdentifier("BasalBodyTemperature"); + public static final HKVitalSignsQuantityTypeIdentifier RespiratoryRate = new HKVitalSignsQuantityTypeIdentifier("RespiratoryRate"); + public static final HKVitalSignsQuantityTypeIdentifier BodyTemperature = new HKVitalSignsQuantityTypeIdentifier("BodyTemperature"); /**/ - private static /**/HKVitalSignsQuantityTypeIdentifier/**/[] values = new /**/HKVitalSignsQuantityTypeIdentifier/**/[] {/**/HeartRate, BodyTemperature, BasalBodyTemperature, BloodPressureSystolic, BloodPressureDiastolic, RespiratoryRate, RestingHeartRate, WalkingHeartRateAverage, HeartRateVariabilitySDNN, HeartRateRecoveryOneMinute/**/}; + private static /**/HKVitalSignsQuantityTypeIdentifier/**/[] values = new /**/HKVitalSignsQuantityTypeIdentifier/**/[] {/**/HeartRate, HeartRateRecoveryOneMinute, HeartRateVariabilitySDNN, RestingHeartRate, WalkingHeartRateAverage, BloodPressureDiastolic, BloodPressureSystolic, BasalBodyTemperature, RespiratoryRate, BodyTemperature/**/}; /**/HKVitalSignsQuantityTypeIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -140,19 +140,16 @@ public static class Values { /**/ @GlobalValue(symbol="HKQuantityTypeIdentifierHeartRate", optional=true) public static native NSString HeartRate(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBodyTemperature", optional=true) - public static native NSString BodyTemperature(); /** - * @since Available in iOS 9.0 and later. + * @since Available in iOS 16.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierBasalBodyTemperature", optional=true) - public static native NSString BasalBodyTemperature(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBloodPressureSystolic", optional=true) - public static native NSString BloodPressureSystolic(); - @GlobalValue(symbol="HKQuantityTypeIdentifierBloodPressureDiastolic", optional=true) - public static native NSString BloodPressureDiastolic(); - @GlobalValue(symbol="HKQuantityTypeIdentifierRespiratoryRate", optional=true) - public static native NSString RespiratoryRate(); + @GlobalValue(symbol="HKQuantityTypeIdentifierHeartRateRecoveryOneMinute", optional=true) + public static native NSString HeartRateRecoveryOneMinute(); + /** + * @since Available in iOS 11.0 and later. + */ + @GlobalValue(symbol="HKQuantityTypeIdentifierHeartRateVariabilitySDNN", optional=true) + public static native NSString HeartRateVariabilitySDNN(); /** * @since Available in iOS 11.0 and later. */ @@ -163,16 +160,19 @@ public static class Values { */ @GlobalValue(symbol="HKQuantityTypeIdentifierWalkingHeartRateAverage", optional=true) public static native NSString WalkingHeartRateAverage(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBloodPressureDiastolic", optional=true) + public static native NSString BloodPressureDiastolic(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBloodPressureSystolic", optional=true) + public static native NSString BloodPressureSystolic(); /** - * @since Available in iOS 11.0 and later. - */ - @GlobalValue(symbol="HKQuantityTypeIdentifierHeartRateVariabilitySDNN", optional=true) - public static native NSString HeartRateVariabilitySDNN(); - /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 9.0 and later. */ - @GlobalValue(symbol="HKQuantityTypeIdentifierHeartRateRecoveryOneMinute", optional=true) - public static native NSString HeartRateRecoveryOneMinute(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBasalBodyTemperature", optional=true) + public static native NSString BasalBodyTemperature(); + @GlobalValue(symbol="HKQuantityTypeIdentifierRespiratoryRate", optional=true) + public static native NSString RespiratoryRate(); + @GlobalValue(symbol="HKQuantityTypeIdentifierBodyTemperature", optional=true) + public static native NSString BodyTemperature(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWaterSalinity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWaterSalinity.java new file mode 100644 index 000000000..b912cfb41 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWaterSalinity.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/HKWaterSalinity/**/ implements ValuedEnum { + /**/ + FreshWater(1L), + SaltWater(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/HKWaterSalinity/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/HKWaterSalinity/**/ valueOf(long n) { + for (/**/HKWaterSalinity/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/HKWaterSalinity/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkout.java index f32e7fcc1..d7d80e28a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkout.java @@ -100,30 +100,50 @@ protected HKWorkout() {} */ @Method(selector = "statisticsForType:") public native HKStatistics statisticsForType(HKQuantityType quantityType); + /** + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder + */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate); + /** + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder + */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, NSArray workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata); /** * @since Available in iOS 9.0 and later. + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:device:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, NSArray workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata); + /** + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder + */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata); /** * @since Available in iOS 9.0 and later. + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:device:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalSwimmingStrokeCount:device:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, NSArray workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalSwimmingStrokeCount, HKDevice device, HKMetadata metadata); /** * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. Use HKWorkoutBuilder */ + @Deprecated @Method(selector = "workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalFlightsClimbed:device:metadata:") public static native HKWorkout create(HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, NSArray workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalFlightsClimbed, HKDevice device, NSDictionary metadata); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivity.java index 96c920553..9460bb88b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivity.java @@ -39,7 +39,7 @@ /**/@Library("HealthKit") @NativeClass/**/ /**/public/**/ class /**/HKWorkoutActivity/**/ extends /**/NSObject/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class HKWorkoutActivityPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(HKWorkoutActivity.class); }/**/ @@ -50,6 +50,8 @@ protected HKWorkoutActivity() {} protected HKWorkoutActivity(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithWorkoutConfiguration:startDate:endDate:metadata:") public HKWorkoutActivity(HKWorkoutConfiguration workoutConfiguration, NSDate startDate, NSDate endDate, NSDictionary metadata) { super((SkipInit) null); initObject(init(workoutConfiguration, startDate, endDate, metadata)); } + @Method(selector = "initWithCoder:") + public HKWorkoutActivity(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ @Property(selector = "UUID") @@ -71,6 +73,8 @@ protected HKWorkoutActivity() {} */ @Property(selector = "allStatistics") public native NSDictionary getAllStatistics(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ @@ -78,5 +82,9 @@ protected HKWorkoutActivity() {} public native HKStatistics statisticsForType(HKQuantityType quantityType); @Method(selector = "initWithWorkoutConfiguration:startDate:endDate:metadata:") protected native @Pointer long init(HKWorkoutConfiguration workoutConfiguration, NSDate startDate, NSDate endDate, NSDictionary metadata); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivityType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivityType.java index f43f3d6f2..06b777e14 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivityType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutActivityType.java @@ -206,6 +206,10 @@ public enum /**/HKWorkoutActivityType/**/ implements ValuedEnum { * @since Available in iOS 16.0 and later. */ Transition(83L), + /** + * @since Available in iOS 17.0 and later. + */ + UnderwaterDiving(84L), Other(3000L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSession.java new file mode 100644 index 000000000..71b8d4692 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSession.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("HealthKit") @NativeClass/**/ +/**/public/**/ class /**/HKWorkoutSession/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class HKWorkoutSessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(HKWorkoutSession.class); }/**/ + /**//**/ + /**/ + protected HKWorkoutSession() {} + protected HKWorkoutSession(Handle h, long handle) { super(h, handle); } + protected HKWorkoutSession(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public HKWorkoutSession(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "activityType") + public native HKWorkoutActivityType getActivityType(); + @Property(selector = "locationType") + public native HKWorkoutSessionLocationType getLocationType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "workoutConfiguration") + public native HKWorkoutConfiguration getWorkoutConfiguration(); + @Property(selector = "delegate") + public native HKWorkoutSessionDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(HKWorkoutSessionDelegate v); + @Property(selector = "state") + public native HKWorkoutSessionState getState(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "type") + public native HKWorkoutSessionType getType(); + @Property(selector = "startDate") + public native NSDate getStartDate(); + @Property(selector = "endDate") + public native NSDate getEndDate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "currentActivity") + public native HKWorkoutActivity getCurrentActivity(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "prepare") + public native void prepare(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "startActivityWithDate:") + public native void startActivity(NSDate date); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "stopActivityWithDate:") + public native void stopActivity(NSDate date); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "end") + public native void end(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "pause") + public native void pause(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resume") + public native void resume(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "beginNewActivityWithConfiguration:date:metadata:") + public native void beginNewActivity(HKWorkoutConfiguration workoutConfiguration, NSDate date, NSDictionary metadata); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "endCurrentActivityOnDate:") + public native void endCurrentActivityOnDate(NSDate date); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "sendDataToRemoteWorkoutSession:completion:") + public native void sendDataToRemoteWorkoutSession(NSData data, @Block VoidBlock2 completion); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegate.java index 304b6a345..77edb5df2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegate.java @@ -32,7 +32,9 @@ /**/ /**/ - +/** + * @since Available in iOS 17.0 and later. + */ /**/ /**//**/ /**/public/**/ interface /**/HKWorkoutSessionDelegate/**/ @@ -43,8 +45,40 @@ /**/ /**/ /**//**/ - /**//**/ - /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "workoutSession:didChangeToState:fromState:date:") + void didChangeToState(HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, NSDate date); + @Method(selector = "workoutSession:didFailWithError:") + void didFail(HKWorkoutSession workoutSession, NSError error); + /** + * @since Available in iOS 10.0 and later. + */ + @Method(selector = "workoutSession:didGenerateEvent:") + void didGenerateEvent(HKWorkoutSession workoutSession, HKWorkoutEvent event); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "workoutSession:didBeginActivityWithConfiguration:date:") + void didBeginActivity(HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, NSDate date); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "workoutSession:didEndActivityWithConfiguration:date:") + void didEndActivity(HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, NSDate date); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "workoutSession:didReceiveDataFromRemoteWorkoutSession:") + void didReceiveDataFromRemoteWorkoutSession(HKWorkoutSession workoutSession, NSArray data); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "workoutSession:didDisconnectFromRemoteDeviceWithError:") + void didDisconnectFromRemoteDevice(HKWorkoutSession workoutSession, NSError error); + /**/ /**/ /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegateAdapter.java new file mode 100644 index 000000000..8fd10f90f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionDelegateAdapter.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/HKWorkoutSessionDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements HKWorkoutSessionDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("workoutSession:didChangeToState:fromState:date:") + public void didChangeToState(HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, NSDate date) {} + @NotImplemented("workoutSession:didFailWithError:") + public void didFail(HKWorkoutSession workoutSession, NSError error) {} + /** + * @since Available in iOS 10.0 and later. + */ + @NotImplemented("workoutSession:didGenerateEvent:") + public void didGenerateEvent(HKWorkoutSession workoutSession, HKWorkoutEvent event) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("workoutSession:didBeginActivityWithConfiguration:date:") + public void didBeginActivity(HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, NSDate date) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("workoutSession:didEndActivityWithConfiguration:date:") + public void didEndActivity(HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, NSDate date) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("workoutSession:didReceiveDataFromRemoteWorkoutSession:") + public void didReceiveDataFromRemoteWorkoutSession(HKWorkoutSession workoutSession, NSArray data) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("workoutSession:didDisconnectFromRemoteDeviceWithError:") + public void didDisconnectFromRemoteDevice(HKWorkoutSession workoutSession, NSError error) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionState.java new file mode 100644 index 000000000..4c1368e4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionState.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/HKWorkoutSessionState/**/ implements ValuedEnum { + /**/ + NotStarted(1L), + Running(2L), + Ended(3L), + Paused(4L), + Prepared(5L), + Stopped(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/HKWorkoutSessionState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/HKWorkoutSessionState/**/ valueOf(long n) { + for (/**/HKWorkoutSessionState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/HKWorkoutSessionState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionType.java new file mode 100644 index 000000000..4163e82ad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/healthkit/HKWorkoutSessionType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.healthkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uniformtypeid.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/HKWorkoutSessionType/**/ implements ValuedEnum { + /**/ + Primary(0L), + Mirrored(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/HKWorkoutSessionType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/HKWorkoutSessionType/**/ valueOf(long n) { + for (/**/HKWorkoutSessionType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/HKWorkoutSessionType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMEvent.java index cffeebaf5..597899732 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMEvent.java @@ -37,7 +37,7 @@ */ /**/ /**/@Library("HomeKit") @NativeClass/**/ -/**/public/**/ class /**/HMEvent/**/ +/**/public abstract/**/ class /**/HMEvent/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTimerTrigger.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTimerTrigger.java index 9d2e3851f..48bc30b2c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTimerTrigger.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTimerTrigger.java @@ -45,25 +45,55 @@ /**/ protected HMTimerTrigger(Handle h, long handle) { super(h, handle); } protected HMTimerTrigger(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithName:fireDate:recurrence:") + public HMTimerTrigger(String name, NSDate fireDate, NSDateComponents recurrence) { super((SkipInit) null); initObject(init(name, fireDate, recurrence)); } + /** + * @deprecated Deprecated in iOS 16.4. Use -initWithName:fireDate:recurrence: + */ + @Deprecated @Method(selector = "initWithName:fireDate:timeZone:recurrence:recurrenceCalendar:") public HMTimerTrigger(String name, NSDate fireDate, NSTimeZone timeZone, NSDateComponents recurrence, NSCalendar recurrenceCalendar) { super((SkipInit) null); initObject(init(name, fireDate, timeZone, recurrence, recurrenceCalendar)); } /**/ /**/ @Property(selector = "fireDate") public native NSDate getFireDate(); + /** + * @deprecated Deprecated in iOS 16.4. Use HMEventTrigger with HMCalendarEvent for triggers based on a time-zone-relative time of day + */ + @Deprecated @Property(selector = "timeZone") public native NSTimeZone getTimeZone(); @Property(selector = "recurrence") public native NSDateComponents getRecurrence(); + /** + * @deprecated Deprecated in iOS 16.4. No longer supported + */ + @Deprecated @Property(selector = "recurrenceCalendar") public native NSCalendar getRecurrenceCalendar(); /**/ /**//**/ /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithName:fireDate:recurrence:") + protected native @Pointer long init(String name, NSDate fireDate, NSDateComponents recurrence); + /** + * @deprecated Deprecated in iOS 16.4. Use -initWithName:fireDate:recurrence: + */ + @Deprecated @Method(selector = "initWithName:fireDate:timeZone:recurrence:recurrenceCalendar:") protected native @Pointer long init(String name, NSDate fireDate, NSTimeZone timeZone, NSDateComponents recurrence, NSCalendar recurrenceCalendar); @Method(selector = "updateFireDate:completionHandler:") public native void updateFireDate(NSDate fireDate, @Block VoidBlock1 completion); + /** + * @deprecated Deprecated in iOS 16.4. Use HMEventTrigger with HMCalendarEvent for triggers based on a time-zone-relative time of day + */ + @Deprecated @Method(selector = "updateTimeZone:completionHandler:") public native void updateTimeZone(NSTimeZone timeZone, @Block VoidBlock1 completion); @Method(selector = "updateRecurrence:completionHandler:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTrigger.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTrigger.java index dd51222cc..dd2bfb27e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTrigger.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/homekit/HMTrigger.java @@ -53,6 +53,10 @@ public native boolean isEnabled(); @Property(selector = "actionSets") public native NSArray getActionSets(); + /** + * @deprecated Deprecated in iOS 17.0. No longer supported + */ + @Deprecated @Property(selector = "lastFireDate") public native NSDate getLastFireDate(); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICCameraFile.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICCameraFile.java index 524746b39..7fbc76df6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICCameraFile.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICCameraFile.java @@ -194,5 +194,10 @@ public ICCameraFile() {} */ @Method(selector = "requestReadDataAtOffset:length:completion:") public native void requestReadData(long offset, long length, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestSecurityScopedURLWithCompletion:") + public native void requestSecurityScopedURL(@Block VoidBlock2 completion); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICDeviceTransport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICDeviceTransport.java index 28e9b46ac..293b0a84b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICDeviceTransport.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/imagecapturecore/ICDeviceTransport.java @@ -67,5 +67,10 @@ */ @GlobalValue(symbol="ICTransportTypeTCPIP", optional=true) public static native NSString TCPIP(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="ICTransportTypeProximity", optional=true) + public static native NSString Proximity(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageProperties.java index 2b1ae1a3d..31e630b3d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageProperties.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageProperties.java @@ -507,6 +507,11 @@ public static class Keys { */ @GlobalValue(symbol="kCGImagePropertyWebPDictionary", optional=true) public static native CFString WebPDictionary(); + /** + * @since Available in iOS 16.0 and later. + */ + @GlobalValue(symbol="kCGImagePropertyAVISDictionary", optional=true) + public static native CFString AVISDictionary(); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImagePropertyPNG.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImagePropertyPNG.java index f734ffb97..6bf5a7759 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImagePropertyPNG.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImagePropertyPNG.java @@ -117,6 +117,10 @@ public static long toNative(List l, long flags) { public static final CGImagePropertyPNG Warning = new CGImagePropertyPNG("Warning"); public static final CGImagePropertyPNG XPixelsPerMeter = new CGImagePropertyPNG("XPixelsPerMeter"); public static final CGImagePropertyPNG YPixelsPerMeter = new CGImagePropertyPNG("YPixelsPerMeter"); + /** + * @since Available in iOS 15.0 and later. + */ + public static final CGImagePropertyPNG PixelsAspectRatio = new CGImagePropertyPNG("PixelsAspectRatio"); public static final CGImagePropertyPNG LoopCount = new CGImagePropertyPNG("LoopCount"); public static final CGImagePropertyPNG DelayTime = new CGImagePropertyPNG("DelayTime"); public static final CGImagePropertyPNG UnclampedDelayTime = new CGImagePropertyPNG("UnclampedDelayTime"); @@ -142,7 +146,7 @@ public static long toNative(List l, long flags) { public static final CGImagePropertyPNG Transparency = new CGImagePropertyPNG("Transparency"); /**/ - private static /**/CGImagePropertyPNG/**/[] values = new /**/CGImagePropertyPNG/**/[] {/**/Author, Chromaticities, Comment, Copyright, CreationTime, Description, Disclaimer, Gamma, InterlaceType, ModificationTime, Software, Source, sRGBIntent, Title, Warning, XPixelsPerMeter, YPixelsPerMeter, LoopCount, DelayTime, UnclampedDelayTime, FrameInfoArray, CanvasPixelWidth, CanvasPixelHeight, CompressionFilter, Transparency/**/}; + private static /**/CGImagePropertyPNG/**/[] values = new /**/CGImagePropertyPNG/**/[] {/**/Author, Chromaticities, Comment, Copyright, CreationTime, Description, Disclaimer, Gamma, InterlaceType, ModificationTime, Software, Source, sRGBIntent, Title, Warning, XPixelsPerMeter, YPixelsPerMeter, PixelsAspectRatio, LoopCount, DelayTime, UnclampedDelayTime, FrameInfoArray, CanvasPixelWidth, CanvasPixelHeight, CompressionFilter, Transparency/**/}; /**/CGImagePropertyPNG/**/ (String getterName) { super(Values.class, getterName); @@ -211,6 +215,11 @@ public static class Values { public static native CFString XPixelsPerMeter(); @GlobalValue(symbol="kCGImagePropertyPNGYPixelsPerMeter", optional=true) public static native CFString YPixelsPerMeter(); + /** + * @since Available in iOS 15.0 and later. + */ + @GlobalValue(symbol="kCGImagePropertyPNGPixelsAspectRatio", optional=true) + public static native CFString PixelsAspectRatio(); @GlobalValue(symbol="kCGImagePropertyAPNGLoopCount", optional=true) public static native CFString LoopCount(); @GlobalValue(symbol="kCGImagePropertyAPNGDelayTime", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageSourceOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageSourceOptions.java index 26b0847dc..2b8320a0c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageSourceOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/imageio/CGImageSourceOptions.java @@ -229,6 +229,26 @@ public static class Keys { */ @GlobalValue(symbol="kCGImageSourceSubsampleFactor", optional=true) public static native CFString SubsampleFactor(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCGImageSourceDecodeRequest", optional=true) + public static native CFString DecodeRequest(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCGImageSourceDecodeToHDR", optional=true) + public static native CFString DecodeToHDR(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCGImageSourceDecodeToSDR", optional=true) + public static native CFString DecodeToSDR(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kCGImageSourceDecodeRequestOptions", optional=true) + public static native CFString DecodeRequestOptions(); } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INAnswerCallIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INAnswerCallIntent.java index fb41c5e49..c41e54f29 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INAnswerCallIntent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INAnswerCallIntent.java @@ -57,6 +57,10 @@ public INAnswerCallIntent() {} public INAnswerCallIntent(INCallAudioRoute audioRoute, String callIdentifier) { super((SkipInit) null); initObject(init(audioRoute, callIdentifier)); } /**/ /**/ + @Property(selector = "audioRoute") + public native INCallAudioRoute getAudioRoute(); + @Property(selector = "callIdentifier") + public native String getCallIdentifier(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INBillPayee.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INBillPayee.java index 57c0325ae..3696fc256 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INBillPayee.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INBillPayee.java @@ -36,7 +36,7 @@ /**/ /** * @since Available in iOS 10.3 and later. - * @deprecated Deprecated in iOS 15.0. INBillPayee is deprecated. There is no replacement + * @deprecated Deprecated in iOS 15.0. INBillPayee is deprecated. There is no replacement. */ /**/ /**/@Library("Intents") @NativeClass @Deprecated/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntent.java new file mode 100644 index 000000000..7c93ce0d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Intents") @NativeClass/**/ +/**/public/**/ class /**/INEditMessageIntent/**/ + extends /**/INIntent/**/ + /**//**/ { + + /**/public static class INEditMessageIntentPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(INEditMessageIntent.class); }/**/ + /**//**/ + /**/ + public INEditMessageIntent() {} + protected INEditMessageIntent(Handle h, long handle) { super(h, handle); } + protected INEditMessageIntent(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMessageIdentifier:editedContent:") + public INEditMessageIntent(String messageIdentifier, String editedContent) { super((SkipInit) null); initObject(init(messageIdentifier, editedContent)); } + /**/ + /**/ + @Property(selector = "messageIdentifier") + public native String getMessageIdentifier(); + @Property(selector = "editedContent") + public native String getEditedContent(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMessageIdentifier:editedContent:") + protected native @Pointer long init(String messageIdentifier, String editedContent); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandling.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandling.java new file mode 100644 index 000000000..b1f641812 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandling.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/INEditMessageIntentHandling/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "handleEditMessage:completion:") + void handleEditMessage(INEditMessageIntent intent, @Block VoidBlock1 completion); + @Method(selector = "confirmEditMessage:completion:") + void confirmEditMessage(INEditMessageIntent intent, @Block VoidBlock1 completion); + @Method(selector = "resolveEditedContentForEditMessage:withCompletion:") + void resolveEditedContent(INEditMessageIntent intent, @Block VoidBlock1 completion); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandlingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandlingAdapter.java new file mode 100644 index 000000000..f234d1aa5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentHandlingAdapter.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/INEditMessageIntentHandlingAdapter/**/ + extends /**/NSObject/**/ + /**/implements INEditMessageIntentHandling/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("handleEditMessage:completion:") + public void handleEditMessage(INEditMessageIntent intent, @Block VoidBlock1 completion) {} + @NotImplemented("confirmEditMessage:completion:") + public void confirmEditMessage(INEditMessageIntent intent, @Block VoidBlock1 completion) {} + @NotImplemented("resolveEditedContentForEditMessage:withCompletion:") + public void resolveEditedContent(INEditMessageIntent intent, @Block VoidBlock1 completion) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponse.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponse.java new file mode 100644 index 000000000..3c98d2d9f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponse.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Intents") @NativeClass/**/ +/**/public/**/ class /**/INEditMessageIntentResponse/**/ + extends /**/INIntentResponse/**/ + /**//**/ { + + /**/public static class INEditMessageIntentResponsePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(INEditMessageIntentResponse.class); }/**/ + /**//**/ + /**/ + protected INEditMessageIntentResponse() {} + protected INEditMessageIntentResponse(Handle h, long handle) { super(h, handle); } + protected INEditMessageIntentResponse(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCode:userActivity:") + public INEditMessageIntentResponse(INEditMessageIntentResponseCode code, NSUserActivity userActivity) { super((SkipInit) null); initObject(init(code, userActivity)); } + /**/ + /**/ + @Property(selector = "code") + public native INEditMessageIntentResponseCode getCode(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCode:userActivity:") + protected native @Pointer long init(INEditMessageIntentResponseCode code, NSUserActivity userActivity); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponseCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponseCode.java new file mode 100644 index 000000000..57f220e82 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INEditMessageIntentResponseCode.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/INEditMessageIntentResponseCode/**/ implements ValuedEnum { + /**/ + Unspecified(0L), + Ready(1L), + InProgress(2L), + Success(3L), + Failure(4L), + FailureRequiringAppLaunch(5L), + FailureMessageNotFound(6L), + FailurePastEditTimeLimit(7L), + FailureMessageTypeUnsupported(8L), + FailureUnsupportedOnService(9L), + FailureMessageServiceNotAvailable(10L), + FailureRequiringInAppAuthentication(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/INEditMessageIntentResponseCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/INEditMessageIntentResponseCode/**/ valueOf(long n) { + for (/**/INEditMessageIntentResponseCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/INEditMessageIntentResponseCode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INHangUpCallIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INHangUpCallIntent.java index 7fbed0a0a..ab798a702 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INHangUpCallIntent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INHangUpCallIntent.java @@ -57,6 +57,8 @@ public INHangUpCallIntent() {} public INHangUpCallIntent(String callIdentifier) { super((SkipInit) null); initObject(init(callIdentifier)); } /**/ /**/ + @Property(selector = "callIdentifier") + public native String getCallIdentifier(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INIntentErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INIntentErrorCode.java index 9b129d1a0..72c779ae8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INIntentErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INIntentErrorCode.java @@ -72,7 +72,9 @@ public enum /**/INIntentErrorCode/**/ implements NSErrorCode { VoiceShortcutDeleteFailed(7002L), EncodingGeneric(8000L), EncodingFailed(8001L), - DecodingGeneric(9000L); + DecodingGeneric(9000L), + UnableToCreateAppIntentRepresentation(10000L), + NoAppIntent(10001L); /**/ /**/static { Bro.bind(INIntentErrorCode.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessage.java index 8e08a1078..138571f95 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessage.java @@ -51,8 +51,10 @@ protected INMessage() {} protected INMessage(Handle h, long handle) { super(h, handle); } protected INMessage(SkipInit skipInit) { super(skipInit); } /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 17.0 and later. */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles:") + public INMessage(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, INMessageType messageType, String serviceName, NSArray attachmentFiles) { super((SkipInit) null); initObject(init(identifier, conversationIdentifier, content, dateSent, sender, recipients, groupName, messageType, serviceName, attachmentFiles)); } @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile:") public INMessage(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, INMessageType messageType, String serviceName, INFile audioMessageFile) { super((SkipInit) null); initObject(init(identifier, conversationIdentifier, content, dateSent, sender, recipients, groupName, messageType, serviceName, audioMessageFile)); } /** @@ -72,6 +74,16 @@ protected INMessage() {} public INMessage(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INMessageType messageType) { super((SkipInit) null); initObject(init(identifier, conversationIdentifier, content, dateSent, sender, recipients, messageType)); } @Method(selector = "initWithIdentifier:content:dateSent:sender:recipients:") public INMessage(String identifier, String content, NSDate dateSent, INPerson sender, NSArray recipients) { super((SkipInit) null); initObject(init(identifier, content, dateSent, sender, recipients)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata:") + public INMessage(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, String serviceName, INMessageLinkMetadata linkMetadata) { super((SkipInit) null); initObject(init(identifier, conversationIdentifier, content, dateSent, sender, recipients, groupName, serviceName, linkMetadata)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments:") + public INMessage(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, String serviceName, INMessageType messageType, NSNumber numberOfAttachments) { super((SkipInit) null); initObject(init(identifier, conversationIdentifier, content, dateSent, sender, recipients, groupName, serviceName, messageType, numberOfAttachments)); } @Method(selector = "initWithCoder:") public INMessage(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ @@ -106,16 +118,38 @@ protected INMessage() {} */ @Property(selector = "serviceName") public native String getServiceName(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "attachmentFiles") + public native NSArray getAttachmentFiles(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "numberOfAttachments") + public native NSNumber getNumberOfAttachments(); + /** + * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use attachmentFile instead + */ + @Deprecated @Property(selector = "audioMessageFile") public native INFile getAudioMessageFile(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "linkMetadata") + public native INMessageLinkMetadata getLinkMetadata(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 17.0 and later. */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles:") + protected native @Pointer long init(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, INMessageType messageType, String serviceName, NSArray attachmentFiles); @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile:") protected native @Pointer long init(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, INMessageType messageType, String serviceName, INFile audioMessageFile); /** @@ -135,6 +169,16 @@ protected INMessage() {} protected native @Pointer long init(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INMessageType messageType); @Method(selector = "initWithIdentifier:content:dateSent:sender:recipients:") protected native @Pointer long init(String identifier, String content, NSDate dateSent, INPerson sender, NSArray recipients); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata:") + protected native @Pointer long init(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, String serviceName, INMessageLinkMetadata linkMetadata); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments:") + protected native @Pointer long init(String identifier, String conversationIdentifier, String content, NSDate dateSent, INPerson sender, NSArray recipients, INSpeakableString groupName, String serviceName, INMessageType messageType, NSNumber numberOfAttachments); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageLinkMetadata.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageLinkMetadata.java new file mode 100644 index 000000000..9b973fb41 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageLinkMetadata.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Intents") @NativeClass/**/ +/**/public/**/ class /**/INMessageLinkMetadata/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class INMessageLinkMetadataPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(INMessageLinkMetadata.class); }/**/ + /**//**/ + /**/ + public INMessageLinkMetadata() {} + protected INMessageLinkMetadata(Handle h, long handle) { super(h, handle); } + protected INMessageLinkMetadata(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSiteName:summary:title:openGraphType:linkURL:") + public INMessageLinkMetadata(String siteName, String summary, String title, String openGraphType, NSURL linkURL) { super((SkipInit) null); initObject(init(siteName, summary, title, openGraphType, linkURL)); } + @Method(selector = "initWithCoder:") + public INMessageLinkMetadata(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "siteName") + public native String getSiteName(); + @Property(selector = "setSiteName:") + public native void setSiteName(String v); + @Property(selector = "summary") + public native String getSummary(); + @Property(selector = "setSummary:") + public native void setSummary(String v); + @Property(selector = "title") + public native String getTitle(); + @Property(selector = "setTitle:") + public native void setTitle(String v); + @Property(selector = "openGraphType") + public native String getOpenGraphType(); + @Property(selector = "setOpenGraphType:") + public native void setOpenGraphType(String v); + @Property(selector = "linkURL") + public native NSURL getLinkURL(); + @Property(selector = "setLinkURL:") + public native void setLinkURL(NSURL v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSiteName:summary:title:openGraphType:linkURL:") + protected native @Pointer long init(String siteName, String summary, String title, String openGraphType, NSURL linkURL); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageType.java index dda611631..08404ad1e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INMessageType.java @@ -87,7 +87,11 @@ public enum /**/INMessageType/**/ implements ValuedEnum { /** * @since Available in iOS 12.0 and later. */ - Link(25L); + Link(25L), + /** + * @since Available in iOS 17.0 and later. + */ + Reaction(26L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSearchForMessagesIntentResponseCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSearchForMessagesIntentResponseCode.java index 1d3361de2..635cf587f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSearchForMessagesIntentResponseCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSearchForMessagesIntentResponseCode.java @@ -48,7 +48,11 @@ public enum /**/INSearchForMessagesIntentResponseCode/**/ implement Failure(4L), FailureRequiringAppLaunch(5L), FailureMessageServiceNotAvailable(6L), - FailureMessageTooManyResults(7L); + FailureMessageTooManyResults(7L), + /** + * @since Available in iOS 17.0 and later. + */ + FailureRequiringInAppAuthentication(8L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageIntentResponseCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageIntentResponseCode.java index ff92f1bcd..409d0a7a5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageIntentResponseCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageIntentResponseCode.java @@ -47,7 +47,11 @@ public enum /**/INSendMessageIntentResponseCode/**/ implements Valu Success(3L), Failure(4L), FailureRequiringAppLaunch(5L), - FailureMessageServiceNotAvailable(6L); + FailureMessageServiceNotAvailable(6L), + /** + * @since Available in iOS 17.0 and later. + */ + FailureRequiringInAppAuthentication(7L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageRecipientUnsupportedReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageRecipientUnsupportedReason.java index 057968642..1c661d026 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageRecipientUnsupportedReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INSendMessageRecipientUnsupportedReason.java @@ -55,7 +55,11 @@ public enum /**/INSendMessageRecipientUnsupportedReason/**/ impleme /** * @since Available in iOS 12.0 and later. */ - NoHandleForLabel(6L); + NoHandleForLabel(6L), + /** + * @since Available in iOS 17.0 and later. + */ + RequiringInAppAuthentication(7L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallContactUnsupportedReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallContactUnsupportedReason.java index 3c032cde1..505c5a51c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallContactUnsupportedReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallContactUnsupportedReason.java @@ -52,7 +52,11 @@ public enum /**/INStartCallContactUnsupportedReason/**/ implements */ @Deprecated NoCallHistoryForRedial(6L), - NoUsableHandleForRedial(7L); + NoUsableHandleForRedial(7L), + /** + * @since Available in iOS 17.0 and later. + */ + RequiringInAppAuthentication(8L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallIntentResponseCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallIntentResponseCode.java index c2324292c..c94854e54 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallIntentResponseCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INStartCallIntentResponseCode.java @@ -52,7 +52,11 @@ public enum /**/INStartCallIntentResponseCode/**/ implements Valued FailureAirplaneModeEnabled(8L), FailureUnableToHandOff(9L), FailureAppConfigurationRequired(10L), - FailureCallInProgress(11L); + FailureCallInProgress(11L), + /** + * @since Available in iOS 17.0 and later. + */ + FailureRequiringInAppAuthentication(13L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntent.java new file mode 100644 index 000000000..481d69e64 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntent.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Intents") @NativeClass/**/ +/**/public/**/ class /**/INUnsendMessagesIntent/**/ + extends /**/INIntent/**/ + /**//**/ { + + /**/public static class INUnsendMessagesIntentPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(INUnsendMessagesIntent.class); }/**/ + /**//**/ + /**/ + public INUnsendMessagesIntent() {} + protected INUnsendMessagesIntent(Handle h, long handle) { super(h, handle); } + protected INUnsendMessagesIntent(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMessageIdentifiers:") + public INUnsendMessagesIntent(NSArray messageIdentifiers) { super((SkipInit) null); initObject(init(messageIdentifiers)); } + /**/ + /**/ + @Property(selector = "messageIdentifiers") + public native NSArray getMessageIdentifiers(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMessageIdentifiers:") + protected native @Pointer long init(NSArray messageIdentifiers); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandling.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandling.java new file mode 100644 index 000000000..d3cf6c5ae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandling.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/INUnsendMessagesIntentHandling/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "handleUnsendMessages:completion:") + void handleUnsendMessages(INUnsendMessagesIntent intent, @Block VoidBlock1 completion); + @Method(selector = "confirmUnsendMessages:completion:") + void confirmUnsendMessages(INUnsendMessagesIntent intent, @Block VoidBlock1 completion); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandlingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandlingAdapter.java new file mode 100644 index 000000000..183b1bd22 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentHandlingAdapter.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/INUnsendMessagesIntentHandlingAdapter/**/ + extends /**/NSObject/**/ + /**/implements INUnsendMessagesIntentHandling/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("handleUnsendMessages:completion:") + public void handleUnsendMessages(INUnsendMessagesIntent intent, @Block VoidBlock1 completion) {} + @NotImplemented("confirmUnsendMessages:completion:") + public void confirmUnsendMessages(INUnsendMessagesIntent intent, @Block VoidBlock1 completion) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponse.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponse.java new file mode 100644 index 000000000..dd6a8a3ab --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponse.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Intents") @NativeClass/**/ +/**/public/**/ class /**/INUnsendMessagesIntentResponse/**/ + extends /**/INIntentResponse/**/ + /**//**/ { + + /**/public static class INUnsendMessagesIntentResponsePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(INUnsendMessagesIntentResponse.class); }/**/ + /**//**/ + /**/ + protected INUnsendMessagesIntentResponse() {} + protected INUnsendMessagesIntentResponse(Handle h, long handle) { super(h, handle); } + protected INUnsendMessagesIntentResponse(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCode:userActivity:") + public INUnsendMessagesIntentResponse(INUnsendMessagesIntentResponseCode code, NSUserActivity userActivity) { super((SkipInit) null); initObject(init(code, userActivity)); } + /**/ + /**/ + @Property(selector = "code") + public native INUnsendMessagesIntentResponseCode getCode(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCode:userActivity:") + protected native @Pointer long init(INUnsendMessagesIntentResponseCode code, NSUserActivity userActivity); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponseCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponseCode.java new file mode 100644 index 000000000..5268acd06 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/intents/INUnsendMessagesIntentResponseCode.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.intents; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.eventkit.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.coregraphics.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/INUnsendMessagesIntentResponseCode/**/ implements ValuedEnum { + /**/ + Unspecified(0L), + Ready(1L), + InProgress(2L), + Success(3L), + Failure(4L), + FailureRequiringAppLaunch(5L), + FailureMessageNotFound(6L), + FailurePastUnsendTimeLimit(7L), + FailureMessageTypeUnsupported(8L), + FailureUnsupportedOnService(9L), + FailureMessageServiceNotAvailable(10L), + FailureRequiringInAppAuthentication(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/INUnsendMessagesIntentResponseCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/INUnsendMessagesIntentResponseCode/**/ valueOf(long n) { + for (/**/INUnsendMessagesIntentResponseCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/INUnsendMessagesIntentResponseCode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/linkpresentation/LPError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/linkpresentation/LPError.java index 8ed5183b0..d26aa271f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/linkpresentation/LPError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/linkpresentation/LPError.java @@ -44,7 +44,11 @@ public enum /**/LPError/**/ implements NSErrorCode { Unknown(1L), MetadataFetchFailed(2L), MetadataFetchCancelled(3L), - MetadataFetchTimedOut(4L); + MetadataFetchTimedOut(4L), + /** + * @since Available in iOS 17.0 and later. + */ + MetadataFetchNotAllowed(5L); /**/ /**/static { Bro.bind(LPError.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/localauthentication/LABiometryType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/localauthentication/LABiometryType.java index 5b2e20fd9..053f7941e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/localauthentication/LABiometryType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/localauthentication/LABiometryType.java @@ -50,7 +50,11 @@ public enum /**/LABiometryType/**/ implements ValuedEnum { @Deprecated None(0L), TypeTouchID(1L), - TypeFaceID(2L); + TypeFaceID(2L), + /** + * @since Available in iOS 17.0 and later. + */ + TypeOpticID(4L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapSnapshotOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapSnapshotOptions.java index 56418bfc7..6f5f7a4b4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapSnapshotOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapSnapshotOptions.java @@ -52,6 +52,16 @@ public MKMapSnapshotOptions() {} protected MKMapSnapshotOptions(SkipInit skipInit) { super(skipInit); } /**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "preferredConfiguration") + public native MKMapConfiguration getPreferredConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPreferredConfiguration:") + public native void setPreferredConfiguration(MKMapConfiguration v); @Property(selector = "camera") public native MKMapCamera getCamera(); @Property(selector = "setCamera:") @@ -64,34 +74,54 @@ public MKMapSnapshotOptions() {} public native @ByVal MKCoordinateRegion getRegion(); @Property(selector = "setRegion:") public native void setRegion(@ByVal MKCoordinateRegion v); + /** + * @deprecated Use preferredConfiguration + */ + @Deprecated @Property(selector = "mapType") public native MKMapType getMapType(); + /** + * @deprecated Use preferredConfiguration + */ + @Deprecated @Property(selector = "setMapType:") public native void setMapType(MKMapType v); /** * @since Available in iOS 13.0 and later. + * @deprecated Use preferredConfiguration */ + @Deprecated @Property(selector = "pointOfInterestFilter") public native MKPointOfInterestFilter getPointOfInterestFilter(); /** * @since Available in iOS 13.0 and later. + * @deprecated Use preferredConfiguration */ + @Deprecated @Property(selector = "setPointOfInterestFilter:") public native void setPointOfInterestFilter(MKPointOfInterestFilter v); /** - * @deprecated Deprecated in iOS 13.0. Use pointOfInterestFilter + * @deprecated Deprecated in iOS 13.0. Use preferredConfiguration */ @Deprecated @Property(selector = "showsPointsOfInterest") public native boolean showsPointsOfInterest(); /** - * @deprecated Deprecated in iOS 13.0. Use pointOfInterestFilter + * @deprecated Deprecated in iOS 13.0. Use preferredConfiguration */ @Deprecated @Property(selector = "setShowsPointsOfInterest:") public native void setShowsPointsOfInterest(boolean v); + /** + * @deprecated No longer supported. + */ + @Deprecated @Property(selector = "showsBuildings") public native boolean showsBuildings(); + /** + * @deprecated No longer supported. + */ + @Deprecated @Property(selector = "setShowsBuildings:") public native void setShowsBuildings(boolean v); @Property(selector = "size") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapView.java index 319cf6071..58aa31ea7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mapkit/MKMapView.java @@ -144,6 +144,26 @@ public MKMapView() {} public native boolean isPitchEnabled(); @Property(selector = "setPitchEnabled:") public native void setPitchEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "showsUserTrackingButton") + public native boolean showsUserTrackingButton(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setShowsUserTrackingButton:") + public native void setShowsUserTrackingButton(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "pitchButtonVisibility") + public native MKFeatureVisibility getPitchButtonVisibility(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPitchButtonVisibility:") + public native void setPitchButtonVisibility(MKFeatureVisibility v); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlChangeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlChangeType.java new file mode 100644 index 000000000..c97cbb911 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlChangeType.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAccessControlChangeType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Changed(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Added(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Removed(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAccessControlChangeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAccessControlChangeType/**/ valueOf(long n) { + for (/**/MTRAccessControlChangeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAccessControlChangeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryChangedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryChangedEvent.java new file mode 100644 index 000000000..f93895347 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryChangedEvent.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccessControlClusterAccessControlEntryChangedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccessControlClusterAccessControlEntryChangedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccessControlClusterAccessControlEntryChangedEvent.class); }/**/ + /**//**/ + /**/ + public MTRAccessControlClusterAccessControlEntryChangedEvent() {} + protected MTRAccessControlClusterAccessControlEntryChangedEvent(Handle h, long handle) { super(h, handle); } + protected MTRAccessControlClusterAccessControlEntryChangedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "adminNodeID") + public native NSNumber getAdminNodeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAdminNodeID:") + public native void setAdminNodeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "adminPasscodeID") + public native NSNumber getAdminPasscodeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAdminPasscodeID:") + public native void setAdminPasscodeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "changeType") + public native NSNumber getChangeType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setChangeType:") + public native void setChangeType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "latestValue") + public native MTRAccessControlClusterAccessControlEntryStruct getLatestValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLatestValue:") + public native void setLatestValue(MTRAccessControlClusterAccessControlEntryStruct v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryStruct.java new file mode 100644 index 000000000..60a9e5e81 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlEntryStruct.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccessControlClusterAccessControlEntryStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccessControlClusterAccessControlEntryStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccessControlClusterAccessControlEntryStruct.class); }/**/ + /**//**/ + /**/ + public MTRAccessControlClusterAccessControlEntryStruct() {} + protected MTRAccessControlClusterAccessControlEntryStruct(Handle h, long handle) { super(h, handle); } + protected MTRAccessControlClusterAccessControlEntryStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "privilege") + public native NSNumber getPrivilege(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPrivilege:") + public native void setPrivilege(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "authMode") + public native NSNumber getAuthMode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAuthMode:") + public native void setAuthMode(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "subjects") + public native NSArray getSubjects(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSubjects:") + public native void setSubjects(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "targets") + public native NSArray getTargets(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setTargets:") + public native void setTargets(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionChangedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionChangedEvent.java new file mode 100644 index 000000000..dbbfc91b2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionChangedEvent.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccessControlClusterAccessControlExtensionChangedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccessControlClusterAccessControlExtensionChangedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccessControlClusterAccessControlExtensionChangedEvent.class); }/**/ + /**//**/ + /**/ + public MTRAccessControlClusterAccessControlExtensionChangedEvent() {} + protected MTRAccessControlClusterAccessControlExtensionChangedEvent(Handle h, long handle) { super(h, handle); } + protected MTRAccessControlClusterAccessControlExtensionChangedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "adminNodeID") + public native NSNumber getAdminNodeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAdminNodeID:") + public native void setAdminNodeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "adminPasscodeID") + public native NSNumber getAdminPasscodeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAdminPasscodeID:") + public native void setAdminPasscodeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "changeType") + public native NSNumber getChangeType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setChangeType:") + public native void setChangeType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "latestValue") + public native MTRAccessControlClusterAccessControlExtensionStruct getLatestValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLatestValue:") + public native void setLatestValue(MTRAccessControlClusterAccessControlExtensionStruct v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionStruct.java new file mode 100644 index 000000000..178995ae3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlExtensionStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccessControlClusterAccessControlExtensionStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccessControlClusterAccessControlExtensionStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccessControlClusterAccessControlExtensionStruct.class); }/**/ + /**//**/ + /**/ + public MTRAccessControlClusterAccessControlExtensionStruct() {} + protected MTRAccessControlClusterAccessControlExtensionStruct(Handle h, long handle) { super(h, handle); } + protected MTRAccessControlClusterAccessControlExtensionStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "data") + public native NSData getData(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setData:") + public native void setData(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlTargetStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlTargetStruct.java new file mode 100644 index 000000000..0b6fc6480 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlClusterAccessControlTargetStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccessControlClusterAccessControlTargetStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccessControlClusterAccessControlTargetStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccessControlClusterAccessControlTargetStruct.class); }/**/ + /**//**/ + /**/ + public MTRAccessControlClusterAccessControlTargetStruct() {} + protected MTRAccessControlClusterAccessControlTargetStruct(Handle h, long handle) { super(h, handle); } + protected MTRAccessControlClusterAccessControlTargetStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "cluster") + public native NSNumber getCluster(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setCluster:") + public native void setCluster(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setEndpoint:") + public native void setEndpoint(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deviceType") + public native NSNumber getDeviceType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setDeviceType:") + public native void setDeviceType(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryAuthMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryAuthMode.java new file mode 100644 index 000000000..ceaf6705a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryAuthMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAccessControlEntryAuthMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + PASE(1L), + /** + * @since Available in iOS 16.4 and later. + */ + CASE(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Group(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAccessControlEntryAuthMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAccessControlEntryAuthMode/**/ valueOf(long n) { + for (/**/MTRAccessControlEntryAuthMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAccessControlEntryAuthMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryPrivilege.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryPrivilege.java new file mode 100644 index 000000000..ebb0d1b5d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccessControlEntryPrivilege.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAccessControlEntryPrivilege/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + View(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ProxyView(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Operate(3L), + /** + * @since Available in iOS 16.4 and later. + */ + Manage(4L), + /** + * @since Available in iOS 16.4 and later. + */ + Administer(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAccessControlEntryPrivilege/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAccessControlEntryPrivilege/**/ valueOf(long n) { + for (/**/MTRAccessControlEntryPrivilege/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAccessControlEntryPrivilege/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINParams.java new file mode 100644 index 000000000..09836daa8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccountLoginClusterGetSetupPINParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccountLoginClusterGetSetupPINParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccountLoginClusterGetSetupPINParams.class); }/**/ + /**//**/ + /**/ + public MTRAccountLoginClusterGetSetupPINParams() {} + protected MTRAccountLoginClusterGetSetupPINParams(Handle h, long handle) { super(h, handle); } + protected MTRAccountLoginClusterGetSetupPINParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "tempAccountIdentifier") + public native String getTempAccountIdentifier(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTempAccountIdentifier:") + public native void setTempAccountIdentifier(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINResponseParams.java new file mode 100644 index 000000000..3288528d9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterGetSetupPINResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccountLoginClusterGetSetupPINResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccountLoginClusterGetSetupPINResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccountLoginClusterGetSetupPINResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRAccountLoginClusterGetSetupPINResponseParams() {} + protected MTRAccountLoginClusterGetSetupPINResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRAccountLoginClusterGetSetupPINResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRAccountLoginClusterGetSetupPINResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setupPIN") + public native String getSetupPIN(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSetupPIN:") + public native void setSetupPIN(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLoginParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLoginParams.java new file mode 100644 index 000000000..5531ebe7b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLoginParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccountLoginClusterLoginParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccountLoginClusterLoginParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccountLoginClusterLoginParams.class); }/**/ + /**//**/ + /**/ + public MTRAccountLoginClusterLoginParams() {} + protected MTRAccountLoginClusterLoginParams(Handle h, long handle) { super(h, handle); } + protected MTRAccountLoginClusterLoginParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "tempAccountIdentifier") + public native String getTempAccountIdentifier(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTempAccountIdentifier:") + public native void setTempAccountIdentifier(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setupPIN") + public native String getSetupPIN(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSetupPIN:") + public native void setSetupPIN(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLogoutParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLogoutParams.java new file mode 100644 index 000000000..aa191aaa6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAccountLoginClusterLogoutParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAccountLoginClusterLogoutParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAccountLoginClusterLogoutParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAccountLoginClusterLogoutParams.class); }/**/ + /**//**/ + /**/ + public MTRAccountLoginClusterLogoutParams() {} + protected MTRAccountLoginClusterLogoutParams(Handle h, long handle) { super(h, handle); } + protected MTRAccountLoginClusterLogoutParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionError.java new file mode 100644 index 000000000..5719d79ca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionError.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRActionsActionError/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Interrupted(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRActionsActionError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRActionsActionError/**/ valueOf(long n) { + for (/**/MTRActionsActionError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRActionsActionError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionState.java new file mode 100644 index 000000000..213a764dd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionState.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRActionsActionState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Inactive(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Active(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Paused(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Disabled(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRActionsActionState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRActionsActionState/**/ valueOf(long n) { + for (/**/MTRActionsActionState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRActionsActionState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionType.java new file mode 100644 index 000000000..8bc20d97d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsActionType.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRActionsActionType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Other(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Scene(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Sequence(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Automation(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Exception(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Notification(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Alarm(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRActionsActionType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRActionsActionType/**/ valueOf(long n) { + for (/**/MTRActionsActionType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRActionsActionType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionFailedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionFailedEvent.java new file mode 100644 index 000000000..d2c058d16 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionFailedEvent.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterActionFailedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterActionFailedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterActionFailedEvent.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterActionFailedEvent() {} + protected MTRActionsClusterActionFailedEvent(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterActionFailedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewState") + public native NSNumber getNewState(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewState:") + public native void setNewState(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "error") + public native NSNumber getError(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setError:") + public native void setError(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionStruct.java new file mode 100644 index 000000000..8045dd861 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterActionStruct.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterActionStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterActionStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterActionStruct.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterActionStruct() {} + protected MTRActionsClusterActionStruct(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterActionStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endpointListID") + public native NSNumber getEndpointListID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndpointListID:") + public native void setEndpointListID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "supportedCommands") + public native NSNumber getSupportedCommands(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSupportedCommands:") + public native void setSupportedCommands(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "state") + public native NSNumber getState(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setState:") + public native void setState(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionParams.java new file mode 100644 index 000000000..f5ca8dc19 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterDisableActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterDisableActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterDisableActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterDisableActionParams() {} + protected MTRActionsClusterDisableActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterDisableActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionWithDurationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionWithDurationParams.java new file mode 100644 index 000000000..5dc27bf03 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterDisableActionWithDurationParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterDisableActionWithDurationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterDisableActionWithDurationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterDisableActionWithDurationParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterDisableActionWithDurationParams() {} + protected MTRActionsClusterDisableActionWithDurationParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterDisableActionWithDurationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "duration") + public native NSNumber getDuration(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDuration:") + public native void setDuration(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionParams.java new file mode 100644 index 000000000..2af7d8077 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterEnableActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterEnableActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterEnableActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterEnableActionParams() {} + protected MTRActionsClusterEnableActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterEnableActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionWithDurationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionWithDurationParams.java new file mode 100644 index 000000000..cedbf7637 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEnableActionWithDurationParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterEnableActionWithDurationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterEnableActionWithDurationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterEnableActionWithDurationParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterEnableActionWithDurationParams() {} + protected MTRActionsClusterEnableActionWithDurationParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterEnableActionWithDurationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "duration") + public native NSNumber getDuration(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDuration:") + public native void setDuration(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEndpointListStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEndpointListStruct.java new file mode 100644 index 000000000..ba64e18a8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterEndpointListStruct.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterEndpointListStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterEndpointListStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterEndpointListStruct.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterEndpointListStruct() {} + protected MTRActionsClusterEndpointListStruct(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterEndpointListStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endpointListID") + public native NSNumber getEndpointListID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndpointListID:") + public native void setEndpointListID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endpoints") + public native NSArray getEndpoints(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndpoints:") + public native void setEndpoints(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionParams.java new file mode 100644 index 000000000..228778698 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterInstantActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterInstantActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterInstantActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterInstantActionParams() {} + protected MTRActionsClusterInstantActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterInstantActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionWithTransitionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionWithTransitionParams.java new file mode 100644 index 000000000..953e18f43 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterInstantActionWithTransitionParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterInstantActionWithTransitionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterInstantActionWithTransitionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterInstantActionWithTransitionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterInstantActionWithTransitionParams() {} + protected MTRActionsClusterInstantActionWithTransitionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterInstantActionWithTransitionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionParams.java new file mode 100644 index 000000000..88b3ff6b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterPauseActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterPauseActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterPauseActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterPauseActionParams() {} + protected MTRActionsClusterPauseActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterPauseActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionWithDurationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionWithDurationParams.java new file mode 100644 index 000000000..c92acca1a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterPauseActionWithDurationParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterPauseActionWithDurationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterPauseActionWithDurationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterPauseActionWithDurationParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterPauseActionWithDurationParams() {} + protected MTRActionsClusterPauseActionWithDurationParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterPauseActionWithDurationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "duration") + public native NSNumber getDuration(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDuration:") + public native void setDuration(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterResumeActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterResumeActionParams.java new file mode 100644 index 000000000..abc82ad97 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterResumeActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterResumeActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterResumeActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterResumeActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterResumeActionParams() {} + protected MTRActionsClusterResumeActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterResumeActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionParams.java new file mode 100644 index 000000000..9fd3df361 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterStartActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterStartActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterStartActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterStartActionParams() {} + protected MTRActionsClusterStartActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterStartActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionWithDurationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionWithDurationParams.java new file mode 100644 index 000000000..fde6a8bc1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStartActionWithDurationParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterStartActionWithDurationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterStartActionWithDurationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterStartActionWithDurationParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterStartActionWithDurationParams() {} + protected MTRActionsClusterStartActionWithDurationParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterStartActionWithDurationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "duration") + public native NSNumber getDuration(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDuration:") + public native void setDuration(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStateChangedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStateChangedEvent.java new file mode 100644 index 000000000..54c9d5f06 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStateChangedEvent.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterStateChangedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterStateChangedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterStateChangedEvent.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterStateChangedEvent() {} + protected MTRActionsClusterStateChangedEvent(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterStateChangedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewState") + public native NSNumber getNewState(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewState:") + public native void setNewState(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStopActionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStopActionParams.java new file mode 100644 index 000000000..6420bca57 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsClusterStopActionParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRActionsClusterStopActionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRActionsClusterStopActionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRActionsClusterStopActionParams.class); }/**/ + /**//**/ + /**/ + public MTRActionsClusterStopActionParams() {} + protected MTRActionsClusterStopActionParams(Handle h, long handle) { super(h, handle); } + protected MTRActionsClusterStopActionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "actionID") + public native NSNumber getActionID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActionID:") + public native void setActionID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "invokeID") + public native NSNumber getInvokeID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setInvokeID:") + public native void setInvokeID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsCommandBits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsCommandBits.java new file mode 100644 index 000000000..67e2f370f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsCommandBits.java @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRActionsCommandBits/**/ extends Bits*/MTRActionsCommandBits/**/> { + /**/ + public static final MTRActionsCommandBits None = new MTRActionsCommandBits(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits InstantAction = new MTRActionsCommandBits(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits InstantActionWithTransition = new MTRActionsCommandBits(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits StartAction = new MTRActionsCommandBits(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits StartActionWithDuration = new MTRActionsCommandBits(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits StopAction = new MTRActionsCommandBits(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits PauseAction = new MTRActionsCommandBits(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits PauseActionWithDuration = new MTRActionsCommandBits(64L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits ResumeAction = new MTRActionsCommandBits(128L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits EnableAction = new MTRActionsCommandBits(256L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits EnableActionWithDuration = new MTRActionsCommandBits(512L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits DisableAction = new MTRActionsCommandBits(1024L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRActionsCommandBits DisableActionWithDuration = new MTRActionsCommandBits(2048L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRActionsCommandBits/**/[] values = _values(/**/MTRActionsCommandBits/**/.class); + + public /**/MTRActionsCommandBits/**/(long value) { super(value); } + private /**/MTRActionsCommandBits/**/(long value, long mask) { super(value, mask); } + protected /**/MTRActionsCommandBits/**/ wrap(long value, long mask) { + return new /**/MTRActionsCommandBits/**/(value, mask); + } + protected /**/MTRActionsCommandBits/**/[] _values() { + return values; + } + public static /**/MTRActionsCommandBits/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsEndpointListType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsEndpointListType.java new file mode 100644 index 000000000..06a1019ac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRActionsEndpointListType.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRActionsEndpointListType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Other(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Room(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Zone(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRActionsEndpointListType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRActionsEndpointListType/**/ valueOf(long n) { + for (/**/MTRActionsEndpointListType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRActionsEndpointListType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams.java new file mode 100644 index 000000000..a07deea22 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams.class); }/**/ + /**//**/ + /**/ + public MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams() {} + protected MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams(Handle h, long handle) { super(h, handle); } + protected MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "commissioningTimeout") + public native NSNumber getCommissioningTimeout(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCommissioningTimeout:") + public native void setCommissioningTimeout(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenCommissioningWindowParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenCommissioningWindowParams.java new file mode 100644 index 000000000..01c2834b1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterOpenCommissioningWindowParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAdministratorCommissioningClusterOpenCommissioningWindowParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAdministratorCommissioningClusterOpenCommissioningWindowParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams.class); }/**/ + /**//**/ + /**/ + public MTRAdministratorCommissioningClusterOpenCommissioningWindowParams() {} + protected MTRAdministratorCommissioningClusterOpenCommissioningWindowParams(Handle h, long handle) { super(h, handle); } + protected MTRAdministratorCommissioningClusterOpenCommissioningWindowParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "commissioningTimeout") + public native NSNumber getCommissioningTimeout(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCommissioningTimeout:") + public native void setCommissioningTimeout(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "pakePasscodeVerifier") + public native NSData getPakePasscodeVerifier(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPakePasscodeVerifier:") + public native void setPakePasscodeVerifier(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "discriminator") + public native NSNumber getDiscriminator(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDiscriminator:") + public native void setDiscriminator(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "iterations") + public native NSNumber getIterations(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIterations:") + public native void setIterations(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "salt") + public native NSData getSalt(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSalt:") + public native void setSalt(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterRevokeCommissioningParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterRevokeCommissioningParams.java new file mode 100644 index 000000000..c554920f0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningClusterRevokeCommissioningParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAdministratorCommissioningClusterRevokeCommissioningParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAdministratorCommissioningClusterRevokeCommissioningParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAdministratorCommissioningClusterRevokeCommissioningParams.class); }/**/ + /**//**/ + /**/ + public MTRAdministratorCommissioningClusterRevokeCommissioningParams() {} + protected MTRAdministratorCommissioningClusterRevokeCommissioningParams(Handle h, long handle) { super(h, handle); } + protected MTRAdministratorCommissioningClusterRevokeCommissioningParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningCommissioningWindowStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningCommissioningWindowStatus.java new file mode 100644 index 000000000..cee2ae6ee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningCommissioningWindowStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAdministratorCommissioningCommissioningWindowStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + WindowNotOpen(0L), + /** + * @since Available in iOS 16.1 and later. + */ + EnhancedWindowOpen(1L), + /** + * @since Available in iOS 16.1 and later. + */ + BasicWindowOpen(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAdministratorCommissioningCommissioningWindowStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAdministratorCommissioningCommissioningWindowStatus/**/ valueOf(long n) { + for (/**/MTRAdministratorCommissioningCommissioningWindowStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAdministratorCommissioningCommissioningWindowStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningStatusCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningStatusCode.java new file mode 100644 index 000000000..de755ab48 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAdministratorCommissioningStatusCode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAdministratorCommissioningStatusCode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Busy(2L), + /** + * @since Available in iOS 16.1 and later. + */ + PAKEParameterError(3L), + /** + * @since Available in iOS 16.1 and later. + */ + WindowNotOpen(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAdministratorCommissioningStatusCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAdministratorCommissioningStatusCode/**/ valueOf(long n) { + for (/**/MTRAdministratorCommissioningStatusCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAdministratorCommissioningStatusCode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicApplicationStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicApplicationStatus.java new file mode 100644 index 000000000..38c5fe87f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicApplicationStatus.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRApplicationBasicApplicationStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Stopped(0L), + /** + * @since Available in iOS 16.1 and later. + */ + ActiveVisibleFocus(1L), + /** + * @since Available in iOS 16.1 and later. + */ + ActiveHidden(2L), + /** + * @since Available in iOS 16.1 and later. + */ + ActiveVisibleNotFocus(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRApplicationBasicApplicationStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRApplicationBasicApplicationStatus/**/ valueOf(long n) { + for (/**/MTRApplicationBasicApplicationStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRApplicationBasicApplicationStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicClusterApplicationStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicClusterApplicationStruct.java new file mode 100644 index 000000000..d60357ad8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationBasicClusterApplicationStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationBasicClusterApplicationStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationBasicClusterApplicationStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationBasicClusterApplicationStruct.class); }/**/ + /**//**/ + /**/ + public MTRApplicationBasicClusterApplicationStruct() {} + protected MTRApplicationBasicClusterApplicationStruct(Handle h, long handle) { super(h, handle); } + protected MTRApplicationBasicClusterApplicationStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "catalogVendorID") + public native NSNumber getCatalogVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCatalogVendorID:") + public native void setCatalogVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "applicationID") + public native String getApplicationID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setApplicationID:") + public native void setApplicationID(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationEPStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationEPStruct.java new file mode 100644 index 000000000..2c475617d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationEPStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterApplicationEPStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterApplicationEPStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterApplicationEPStruct.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterApplicationEPStruct() {} + protected MTRApplicationLauncherClusterApplicationEPStruct(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterApplicationEPStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "application") + public native MTRApplicationLauncherClusterApplicationStruct getApplication(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setApplication:") + public native void setApplication(MTRApplicationLauncherClusterApplicationStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setEndpoint:") + public native void setEndpoint(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationStruct.java new file mode 100644 index 000000000..008326e6e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterApplicationStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterApplicationStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterApplicationStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterApplicationStruct.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterApplicationStruct() {} + protected MTRApplicationLauncherClusterApplicationStruct(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterApplicationStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "catalogVendorID") + public native NSNumber getCatalogVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCatalogVendorID:") + public native void setCatalogVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "applicationID") + public native String getApplicationID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setApplicationID:") + public native void setApplicationID(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterHideAppParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterHideAppParams.java new file mode 100644 index 000000000..98f2e9a23 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterHideAppParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterHideAppParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterHideAppParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterHideAppParams.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterHideAppParams() {} + protected MTRApplicationLauncherClusterHideAppParams(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterHideAppParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "application") + public native MTRApplicationLauncherClusterApplicationStruct getApplication(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setApplication:") + public native void setApplication(MTRApplicationLauncherClusterApplicationStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLaunchAppParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLaunchAppParams.java new file mode 100644 index 000000000..fdb7245bc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLaunchAppParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterLaunchAppParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterLaunchAppParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterLaunchAppParams.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterLaunchAppParams() {} + protected MTRApplicationLauncherClusterLaunchAppParams(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterLaunchAppParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "application") + public native MTRApplicationLauncherClusterApplicationStruct getApplication(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setApplication:") + public native void setApplication(MTRApplicationLauncherClusterApplicationStruct v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native NSData getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLauncherResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLauncherResponseParams.java new file mode 100644 index 000000000..f8e3c8652 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterLauncherResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterLauncherResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterLauncherResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterLauncherResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterLauncherResponseParams() {} + protected MTRApplicationLauncherClusterLauncherResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterLauncherResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRApplicationLauncherClusterLauncherResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native NSData getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(NSData v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterStopAppParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterStopAppParams.java new file mode 100644 index 000000000..a0686987f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherClusterStopAppParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRApplicationLauncherClusterStopAppParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRApplicationLauncherClusterStopAppParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRApplicationLauncherClusterStopAppParams.class); }/**/ + /**//**/ + /**/ + public MTRApplicationLauncherClusterStopAppParams() {} + protected MTRApplicationLauncherClusterStopAppParams(Handle h, long handle) { super(h, handle); } + protected MTRApplicationLauncherClusterStopAppParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "application") + public native MTRApplicationLauncherClusterApplicationStruct getApplication(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setApplication:") + public native void setApplication(MTRApplicationLauncherClusterApplicationStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherFeature.java new file mode 100644 index 000000000..2257405c2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRApplicationLauncherFeature/**/ extends Bits*/MTRApplicationLauncherFeature/**/> { + /**/ + public static final MTRApplicationLauncherFeature None = new MTRApplicationLauncherFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRApplicationLauncherFeature ApplicationPlatform = new MTRApplicationLauncherFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRApplicationLauncherFeature/**/[] values = _values(/**/MTRApplicationLauncherFeature/**/.class); + + public /**/MTRApplicationLauncherFeature/**/(long value) { super(value); } + private /**/MTRApplicationLauncherFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRApplicationLauncherFeature/**/ wrap(long value, long mask) { + return new /**/MTRApplicationLauncherFeature/**/(value, mask); + } + protected /**/MTRApplicationLauncherFeature/**/[] _values() { + return values; + } + public static /**/MTRApplicationLauncherFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherStatus.java new file mode 100644 index 000000000..6f4d17d03 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRApplicationLauncherStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRApplicationLauncherStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + AppNotAvailable(1L), + /** + * @since Available in iOS 16.1 and later. + */ + SystemBusy(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRApplicationLauncherStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRApplicationLauncherStatus/**/ valueOf(long n) { + for (/**/MTRApplicationLauncherStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRApplicationLauncherStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackQueueWorkItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackQueueWorkItem.java new file mode 100644 index 000000000..f9cffd4d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackQueueWorkItem.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAsyncCallbackQueueWorkItem/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAsyncCallbackQueueWorkItemPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAsyncCallbackQueueWorkItem.class); }/**/ + /**//**/ + /**/ + protected MTRAsyncCallbackQueueWorkItem() {} + protected MTRAsyncCallbackQueueWorkItem(Handle h, long handle) { super(h, handle); } + protected MTRAsyncCallbackQueueWorkItem(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithQueue:") + public MTRAsyncCallbackQueueWorkItem(DispatchQueue queue) { super((SkipInit) null); initObject(init(queue)); } + /**/ + /**/ + @Property(selector = "readyHandler") + public native @Block("(,@MachineSizedUInt)") VoidBlock2 getReadyHandler(); + @Property(selector = "setReadyHandler:") + public native void setReadyHandler(@Block("(,@MachineSizedUInt)") VoidBlock2 v); + @Property(selector = "cancelHandler") + public native @Block Runnable getCancelHandler(); + @Property(selector = "setCancelHandler:") + public native void setCancelHandler(@Block Runnable v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithQueue:") + protected native @Pointer long init(DispatchQueue queue); + @Method(selector = "endWork") + public native void endWork(); + @Method(selector = "retryWork") + public native void retryWork(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackWorkQueue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackWorkQueue.java new file mode 100644 index 000000000..3c056abe1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAsyncCallbackWorkQueue.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAsyncCallbackWorkQueue/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAsyncCallbackWorkQueuePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAsyncCallbackWorkQueue.class); }/**/ + /**//**/ + /**/ + protected MTRAsyncCallbackWorkQueue() {} + protected MTRAsyncCallbackWorkQueue(Handle h, long handle) { super(h, handle); } + protected MTRAsyncCallbackWorkQueue(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithContext:queue:") + public MTRAsyncCallbackWorkQueue(NSObject context, DispatchQueue queue) { super((SkipInit) null); initObject(init(context, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithContext:queue:") + protected native @Pointer long init(NSObject context, DispatchQueue queue); + @Method(selector = "invalidate") + public native void invalidate(); + @Method(selector = "enqueueWorkItem:") + public native void enqueueWorkItem(MTRAsyncCallbackQueueWorkItem item); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeIDType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeIDType.java new file mode 100644 index 000000000..9b8bf6011 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeIDType.java @@ -0,0 +1,4609 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/MTRAttributeIDType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeGlobalAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeGlobalAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeGlobalAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeGlobalAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeGlobalAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeIdentifyTimeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeIdentifyTypeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIdentifyAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeNameSupportID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeSceneCountID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeCurrentSceneID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeCurrentGroupID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeSceneValidID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeNameSupportID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeLastConfiguredByID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterScenesAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeOnOffID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeGlobalSceneControlID(16384L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeOnTimeID(16385L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeOffWaitTimeID(16386L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeStartUpOnOffID(16387L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchTypeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchActionsID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOnOffSwitchConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeCurrentLevelID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeRemainingTimeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeMinLevelID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeMaxLevelID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeCurrentFrequencyID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeMinFrequencyID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeMaxFrequencyID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeOptionsID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeOnOffTransitionTimeID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeOnLevelID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeOnTransitionTimeID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeOffTransitionTimeID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeDefaultMoveRateID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeStartUpCurrentLevelID(16384L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLevelControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeActiveTextID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeDescriptionID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeInactiveTextID(46L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeOutOfServiceID(81L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributePolarityID(84L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributePresentValueID(85L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeReliabilityID(103L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeStatusFlagsID(111L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeApplicationTypeID(256L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBinaryInputBasicAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPulseWidthModulationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPulseWidthModulationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPulseWidthModulationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPulseWidthModulationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPulseWidthModulationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeDeviceTypeListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeServerListID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeClientListID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributePartsListID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDescriptorAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeBindingID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBindingAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeACLID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeExtensionID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeSubjectsPerAccessControlEntryID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeTargetsPerAccessControlEntryID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeAccessControlEntriesPerFabricID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccessControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeActionListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeEndpointListsID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeSetupURLID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterActionsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeDataModelRevisionID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeVendorNameID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeVendorIDID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeProductNameID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeProductIDID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeNodeLabelID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeLocationID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeHardwareVersionID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeHardwareVersionStringID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeSoftwareVersionID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeSoftwareVersionStringID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeManufacturingDateID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributePartNumberID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeProductURLID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeProductLabelID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeSerialNumberID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeLocalConfigDisabledID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeReachableID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeUniqueIDID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeCapabilityMinimaID(19L), + /** + * @since Available in iOS 17.0 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeProductAppearanceID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBasicInformationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateProviderAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateProviderAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateProviderAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateProviderAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateProviderAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeDefaultOTAProvidersID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdatePossibleID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdateStateID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdateStateProgressID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeActiveLocaleID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeSupportedLocalesID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLocalizationConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeHourFormatID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeActiveCalendarTypeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeFormatLocalizationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeTemperatureUnitID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitLocalizationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeSourcesID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeStatusID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeOrderID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeDescriptionID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputVoltageID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputFrequencyID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredCurrentTypeID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredAssessedCurrentID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredNominalVoltageID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredMaximumCurrentID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeWiredPresentID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeActiveWiredFaultsID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatVoltageID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatPercentRemainingID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatTimeRemainingID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatChargeLevelID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatReplacementNeededID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatReplaceabilityID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatPresentID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeActiveBatFaultsID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatReplacementDescriptionID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatCommonDesignationID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatANSIDesignationID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatIECDesignationID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatApprovedChemistryID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatCapacityID(24L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatQuantityID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatChargeStateID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatTimeToFullChargeID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatFunctionalWhileChargingID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeBatChargingCurrentID(29L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeActiveBatChargeFaultsID(30L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPowerSourceAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeBreadcrumbID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeBasicCommissioningInfoID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeRegulatoryConfigID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeLocationCapabilityID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralCommissioningAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeMaxNetworksID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeNetworksID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeScanMaxTimeSecondsID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeInterfaceEnabledID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkingStatusID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkIDID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeLastConnectErrorValueID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterNetworkCommissioningAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDiagnosticLogsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDiagnosticLogsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDiagnosticLogsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDiagnosticLogsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDiagnosticLogsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeNetworkInterfacesID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeRebootCountID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeUpTimeID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeTotalOperationalHoursID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeBootReasonID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeActiveRadioFaultsID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGeneralDiagnosticsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeThreadMetricsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSoftwareDiagnosticsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRoutingRoleID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNetworkNameID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributePanIdID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOverrunCountID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNeighborTableID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouteTableID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeWeightingID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDataVersionID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeStableDataVersionID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChildRoleCountID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeParentChangeCountID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxTotalCountID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID(24L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckedCountID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataCountID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID(29L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID(30L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID(31L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxOtherCountID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxRetryCountID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID(35L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID(38L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxTotalCountID(39L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID(40L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataCountID(42L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID(43L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID(44L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID(45L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxOtherCountID(46L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID(47L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID(51L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID(52L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID(53L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID(54L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID(55L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveTimestampID(56L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributePendingTimestampID(57L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDelayID(58L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID(59L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID(60L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID(61L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID(62L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThreadNetworkDiagnosticsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBSSIDID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeChannelNumberID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeRSSIID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeOverrunCountID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePHYRateID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFullDuplexID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketRxCountID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketTxCountID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTxErrCountID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCollisionCountID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeOverrunCountID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeUTCTimeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeGranularityID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeTimeSourceID(2L), + /** + * @since Available in iOS 17.0 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeSourceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeNodeIdID(3L), + /** + * @since Available in iOS 17.0 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeDefaultNTPID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeDefaultNtpID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneID(5L), + /** + * @since Available in iOS 16.5 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeDSTOffsetID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeLocalTimeID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneDatabaseID(8L), + /** + * @since Available in iOS 17.0 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeNTPServerAvailableID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeNtpServerPortID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTimeSynchronizationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeVendorNameID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeVendorIDID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductNameID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeNodeLabelID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeHardwareVersionID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeHardwareVersionStringID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSoftwareVersionID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSoftwareVersionStringID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeManufacturingDateID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributePartNumberID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductURLID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductLabelID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSerialNumberID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeReachableID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeUniqueIDID(18L), + /** + * @since Available in iOS 17.0 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductAppearanceID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBridgedDeviceBasicInformationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeNumberOfPositionsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeCurrentPositionID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeMultiPressMaxID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterSwitchAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeWindowStatusID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeAdminFabricIndexID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeAdminVendorIdID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAdministratorCommissioningAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeNOCsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeFabricsID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeSupportedFabricsID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeCommissionedFabricsID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeTrustedRootCertificatesID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeCurrentFabricIndexID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOperationalCredentialsAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeGroupKeyMapID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeGroupTableID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupsPerFabricID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterGroupKeyManagementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeLabelListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFixedLabelAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeLabelListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUserLabelAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyDiscoveryAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyDiscoveryAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyDiscoveryAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyDiscoveryAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyDiscoveryAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyValidAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyValidAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyValidAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyValidAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterProxyValidAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeStateValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBooleanStateAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeDescriptionID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeStandardNamespaceID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeSupportedModesID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeCurrentModeID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeStartUpModeID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeOnModeID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterModeSelectAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeLockStateID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeLockTypeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeActuatorEnabledID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeDoorStateID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeDoorOpenEventsID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeDoorClosedEventsID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeOpenPeriodID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfTotalUsersSupportedID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfPINUsersSupportedID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfRFIDUsersSupportedID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeMaxPINCodeLengthID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeMinPINCodeLengthID(24L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeMaxRFIDCodeLengthID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeMinRFIDCodeLengthID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeCredentialRulesSupportID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeLanguageID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeLEDSettingsID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeAutoRelockTimeID(35L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeSoundVolumeID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeOperatingModeID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeSupportedOperatingModesID(38L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeDefaultConfigurationRegisterID(39L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeEnableLocalProgrammingID(40L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeEnableOneTouchLockingID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeEnableInsideStatusLEDID(42L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeEnablePrivacyModeButtonID(43L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeLocalProgrammingFeaturesID(44L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeWrongCodeEntryLimitID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeUserCodeTemporaryDisableTimeID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeSendPINOverTheAirID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeRequirePINforRemoteOperationID(51L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeExpiringUserTimeoutID(53L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterDoorLockAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeTypeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitLiftID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitTiltID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsLiftID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsTiltID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeConfigStatusID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercentageID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercentageID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeOperationalStatusID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeEndProductTypeID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitLiftID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitLiftID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitTiltID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitTiltID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeModeID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeSafetyStatusID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWindowCoveringAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierMovingStateID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierSafetyStatusID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierCapabilitiesID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierOpenEventsID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierCloseEventsID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierCommandOpenEventsID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierCommandCloseEventsID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierOpenPeriodID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierClosePeriodID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeBarrierPositionID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBarrierControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxPressureID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxSpeedID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxFlowID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstPressureID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstPressureID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMinCompPressureID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxCompPressureID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstSpeedID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstSpeedID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstFlowID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstFlowID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstTempID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstTempID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributePumpStatusID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveControlModeID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeCapacityID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeSpeedID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributePowerID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeEnergyConsumedID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeOperationModeID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeControlModeID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPumpConfigurationAndControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeLocalTemperatureID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOutdoorTemperatureID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupancyID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAbsMinHeatSetpointLimitID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAbsMaxHeatSetpointLimitID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAbsMinCoolSetpointLimitID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAbsMaxCoolSetpointLimitID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributePICoolingDemandID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributePIHeatingDemandID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeHVACSystemTypeConfigurationID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeLocalTemperatureCalibrationID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupiedCoolingSetpointID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupiedHeatingSetpointID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeUnoccupiedCoolingSetpointID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeUnoccupiedHeatingSetpointID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeMinHeatSetpointLimitID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeMaxHeatSetpointLimitID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeMinCoolSetpointLimitID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeMaxCoolSetpointLimitID(24L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeMinSetpointDeadBandID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeRemoteSensingID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeControlSequenceOfOperationID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeSystemModeID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeThermostatRunningModeID(30L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeStartOfWeekID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeNumberOfWeeklyTransitionsID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeNumberOfDailyTransitionsID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldID(35L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldDurationID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeThermostatProgrammingOperationModeID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeThermostatRunningStateID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeSetpointChangeSourceID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeSetpointChangeAmountID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeSetpointChangeSourceTimestampID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupiedSetbackID(52L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupiedSetbackMinID(53L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeOccupiedSetbackMaxID(54L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackID(55L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMinID(56L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMaxID(57L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeEmergencyHeatDeltaID(58L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACTypeID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACCapacityID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACRefrigerantTypeID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACCompressorTypeID(67L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACErrorCodeID(68L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACLouverPositionID(69L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACCoilTemperatureID(70L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeACCapacityformatID(71L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeFanModeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeFanModeSequenceID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributePercentSettingID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributePercentCurrentID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeSpeedMaxID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeSpeedSettingID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeSpeedCurrentID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeRockSupportID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeRockSettingID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeWindSupportID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeWindSettingID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFanControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCurrentHueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCurrentSaturationID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeRemainingTimeID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCurrentXID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCurrentYID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeDriftCompensationID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCompensationTextID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorTemperatureMiredsID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorModeID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeOptionsID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeNumberOfPrimariesID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary1XID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary1YID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary1IntensityID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary2XID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary2YID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary2IntensityID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary3XID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary3YID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary3IntensityID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary4XID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary4YID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary4IntensityID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary5XID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary5YID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary5IntensityID(38L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary6XID(40L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary6YID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributePrimary6IntensityID(42L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeWhitePointXID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeWhitePointYID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointRXID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointRYID(51L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointRIntensityID(52L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointGXID(54L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointGYID(55L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointGIntensityID(56L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointBXID(58L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointBYID(59L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorPointBIntensityID(60L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeEnhancedCurrentHueID(16384L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeEnhancedColorModeID(16385L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorLoopActiveID(16386L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorLoopDirectionID(16387L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorLoopTimeID(16388L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorLoopStartEnhancedHueID(16389L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorLoopStoredEnhancedHueID(16390L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorCapabilitiesID(16394L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorTempPhysicalMinMiredsID(16395L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeColorTempPhysicalMaxMiredsID(16396L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeCoupleColorTempToLevelMinMiredsID(16397L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeStartUpColorTemperatureMiredsID(16400L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterColorControlAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributePhysicalMinLevelID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributePhysicalMaxLevelID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeBallastStatusID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeMinLevelID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeMaxLevelID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeIntrinsicBallastFactorID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeBallastFactorAdjustmentID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampQuantityID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampTypeID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampManufacturerID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampRatedHoursID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursID(51L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampAlarmModeID(52L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursTripPointID(53L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterBallastConfigurationAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeMeasuredValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeMinMeasuredValueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeMaxMeasuredValueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeToleranceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeLightSensorTypeID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterIlluminanceMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeMeasuredValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeMinMeasuredValueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeMaxMeasuredValueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeToleranceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTemperatureMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeMeasuredValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeMinMeasuredValueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeMaxMeasuredValueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeToleranceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeScaledValueID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeMinScaledValueID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeMaxScaledValueID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeScaledToleranceID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeScaleID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterPressureMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeMeasuredValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeMinMeasuredValueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeMaxMeasuredValueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeToleranceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFlowMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeMeasuredValueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeToleranceID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterRelativeHumidityMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeOccupancyID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeBitmapID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePIROccupiedToUnoccupiedDelayID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePIRUnoccupiedToOccupiedDelayID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePIRUnoccupiedToOccupiedThresholdID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterOccupancySensingAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeMACAddressID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterWakeOnLANAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeChannelListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeLineupID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeCurrentChannelID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterChannelAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeTargetListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeCurrentTargetID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterTargetNavigatorAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeCurrentStateID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeStartTimeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeDurationID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeSampledPositionID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributePlaybackSpeedID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeSeekRangeEndID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeSeekRangeStartID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaPlaybackAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeInputListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeCurrentInputID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterMediaInputAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLowPowerAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLowPowerAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLowPowerAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLowPowerAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterLowPowerAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterKeypadInputAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterKeypadInputAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterKeypadInputAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterKeypadInputAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterKeypadInputAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeAcceptHeaderID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeSupportedStreamingProtocolsID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterContentLauncherAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeOutputListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeCurrentOutputID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAudioOutputAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeCatalogListID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeCurrentAppID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationLauncherAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeVendorNameID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeVendorIDID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeApplicationNameID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeProductIDID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeApplicationID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeStatusID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeApplicationVersionID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeAllowedVendorListID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterApplicationBasicAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccountLoginAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccountLoginAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccountLoginAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccountLoginAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterAccountLoginAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasurementTypeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageID(256L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMinID(257L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMaxID(258L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentID(259L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMinID(260L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMaxID(261L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcPowerID(262L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMinID(263L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMaxID(264L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMultiplierID(512L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageDivisorID(513L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMultiplierID(514L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentDivisorID(515L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMultiplierID(516L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeDcPowerDivisorID(517L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyID(768L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMinID(769L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMaxID(770L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeNeutralCurrentID(771L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeTotalActivePowerID(772L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeTotalReactivePowerID(773L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeTotalApparentPowerID(774L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID(775L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID(776L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID(777L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID(778L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID(779L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID(780L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID(781L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID(782L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID(783L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID(784L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID(785L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID(786L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMultiplierID(1024L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyDivisorID(1025L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePowerMultiplierID(1026L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePowerDivisorID(1027L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID(1028L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID(1029L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousVoltageID(1280L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousLineCurrentID(1281L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID(1282L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID(1283L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousPowerID(1284L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageID(1285L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinID(1286L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxID(1287L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentID(1288L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinID(1289L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxID(1290L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerID(1291L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinID(1292L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxID(1293L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerID(1294L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerID(1295L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePowerFactorID(1296L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID(1297L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID(1299L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodID(1300L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodID(1301L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID(1302L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID(1303L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageMultiplierID(1536L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageDivisorID(1537L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentMultiplierID(1538L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentDivisorID(1539L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcPowerMultiplierID(1540L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcPowerDivisorID(1541L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeOverloadAlarmsMaskID(1792L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeVoltageOverloadID(1793L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeCurrentOverloadID(1794L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID(2048L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageOverloadID(2049L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentOverloadID(2050L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcActivePowerOverloadID(2051L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcReactivePowerOverloadID(2052L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageID(2053L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageID(2054L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltageID(2055L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltageID(2056L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagID(2057L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellID(2058L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseBID(2305L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseBID(2306L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseBID(2307L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseBID(2309L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseBID(2310L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseBID(2311L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseBID(2312L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseBID(2313L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseBID(2314L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseBID(2315L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseBID(2316L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseBID(2317L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseBID(2318L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseBID(2319L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseBID(2320L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseBID(2321L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseBID(2322L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseBID(2323L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseBID(2324L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseBID(2325L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseBID(2326L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseBID(2327L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseCID(2561L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseCID(2562L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseCID(2563L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseCID(2565L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseCID(2566L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseCID(2567L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseCID(2568L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseCID(2569L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseCID(2570L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseCID(2571L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseCID(2572L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseCID(2573L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseCID(2574L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseCID(2575L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseCID(2576L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseCID(2577L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseCID(2578L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseCID(2579L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseCID(2580L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseCID(2581L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseCID(2582L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseCID(2583L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterElectricalMeasurementAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeBooleanID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeBitmap8ID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeBitmap16ID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeBitmap32ID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeBitmap64ID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt8uID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt16uID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt24uID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt32uID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt40uID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt48uID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt56uID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt64uID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt8sID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt16sID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt24sID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt32sID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt40sID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt48sID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt56sID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeInt64sID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeEnum8ID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeEnum16ID(22L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeFloatSingleID(23L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeFloatDoubleID(24L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeOctetStringID(25L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListInt8uID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListOctetStringID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListStructOctetStringID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeLongOctetStringID(29L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeCharStringID(30L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeLongCharStringID(31L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeEpochUsID(32L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeEpochSID(33L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeVendorIdID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListNullablesAndOptionalsStructID(35L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeEnumAttrID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeStructAttrID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeRangeRestrictedInt8uID(38L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeRangeRestrictedInt8sID(39L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeRangeRestrictedInt16uID(40L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeRangeRestrictedInt16sID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListLongOctetStringID(42L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeListFabricScopedID(43L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeTimedWriteBooleanID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeGeneralErrorBooleanID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeClusterErrorBooleanID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeUnsupportedID(255L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableBooleanID(16384L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableBitmap8ID(16385L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableBitmap16ID(16386L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableBitmap32ID(16387L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableBitmap64ID(16388L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt8uID(16389L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt16uID(16390L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt24uID(16391L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt32uID(16392L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt40uID(16393L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt48uID(16394L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt56uID(16395L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt64uID(16396L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt8sID(16397L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt16sID(16398L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt24sID(16399L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt32sID(16400L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt40sID(16401L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt48sID(16402L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt56sID(16403L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableInt64sID(16404L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableEnum8ID(16405L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableEnum16ID(16406L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableFloatSingleID(16407L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableFloatDoubleID(16408L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableOctetStringID(16409L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableCharStringID(16414L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableEnumAttrID(16420L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableStructID(16421L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableRangeRestrictedInt8uID(16422L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableRangeRestrictedInt8sID(16423L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableRangeRestrictedInt16uID(16424L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeNullableRangeRestrictedInt16sID(16425L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeWriteOnlyInt8uID(16426L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterUnitTestingAttributeClusterRevisionID(65533L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFaultInjectionAttributeGeneratedCommandListID(65528L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFaultInjectionAttributeAcceptedCommandListID(65529L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFaultInjectionAttributeAttributeListID(65531L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFaultInjectionAttributeFeatureMapID(65532L), + /** + * @since Available in iOS 16.4 and later. + */ + AttributeIDTypeClusterFaultInjectionAttributeClusterRevisionID(65533L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAttributeIDType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAttributeIDType/**/ valueOf(long n) { + for (/**/MTRAttributeIDType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAttributeIDType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributePath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributePath.java new file mode 100644 index 000000000..0b514df93 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributePath.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAttributePath/**/ + extends /**/MTRClusterPath/**/ + /**//**/ { + + /**/public static class MTRAttributePathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAttributePath.class); }/**/ + /**//**/ + /**/ + protected MTRAttributePath() {} + protected MTRAttributePath(Handle h, long handle) { super(h, handle); } + protected MTRAttributePath(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + public MTRAttributePath(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID) { super((Handle) null, create(endpointID, clusterID, attributeID)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "attribute") + public native NSNumber getAttribute(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "attributePathWithEndpointID:clusterID:attributeID:") + protected static native @Pointer long create(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID); + @Method(selector = "clusterPathWithEndpointID:clusterID:") + public static native MTRClusterPath createClusterPath(NSNumber endpointID, NSNumber clusterID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeReport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeReport.java new file mode 100644 index 000000000..9056c282a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeReport.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAttributeReport/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAttributeReportPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAttributeReport.class); }/**/ + /**//**/ + /**/ + public MTRAttributeReport() {} + protected MTRAttributeReport(Handle h, long handle) { super(h, handle); } + protected MTRAttributeReport(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRAttributeReport(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + @Property(selector = "path") + public native MTRAttributePath getPath(); + @Property(selector = "value") + public native NSObject getValue(); + @Property(selector = "error") + public native NSError getError(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeRequestPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeRequestPath.java new file mode 100644 index 000000000..8c85ef9a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAttributeRequestPath.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAttributeRequestPath/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAttributeRequestPathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAttributeRequestPath.class); }/**/ + /**//**/ + /**/ + public MTRAttributeRequestPath() {} + protected MTRAttributeRequestPath(Handle h, long handle) { super(h, handle); } + protected MTRAttributeRequestPath(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + public MTRAttributeRequestPath(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID) { super((Handle) null, create(endpointID, clusterID, attributeID)); retain(getHandle()); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "cluster") + public native NSNumber getCluster(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "attribute") + public native NSNumber getAttribute(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestPathWithEndpointID:clusterID:attributeID:") + protected static native @Pointer long create(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterOutputInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterOutputInfoStruct.java new file mode 100644 index 000000000..c425a150b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterOutputInfoStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAudioOutputClusterOutputInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAudioOutputClusterOutputInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAudioOutputClusterOutputInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRAudioOutputClusterOutputInfoStruct() {} + protected MTRAudioOutputClusterOutputInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRAudioOutputClusterOutputInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "outputType") + public native NSNumber getOutputType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOutputType:") + public native void setOutputType(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterRenameOutputParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterRenameOutputParams.java new file mode 100644 index 000000000..315947be7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterRenameOutputParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAudioOutputClusterRenameOutputParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAudioOutputClusterRenameOutputParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAudioOutputClusterRenameOutputParams.class); }/**/ + /**//**/ + /**/ + public MTRAudioOutputClusterRenameOutputParams() {} + protected MTRAudioOutputClusterRenameOutputParams(Handle h, long handle) { super(h, handle); } + protected MTRAudioOutputClusterRenameOutputParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterSelectOutputParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterSelectOutputParams.java new file mode 100644 index 000000000..d72b30a3b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputClusterSelectOutputParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRAudioOutputClusterSelectOutputParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRAudioOutputClusterSelectOutputParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRAudioOutputClusterSelectOutputParams.class); }/**/ + /**//**/ + /**/ + public MTRAudioOutputClusterSelectOutputParams() {} + protected MTRAudioOutputClusterSelectOutputParams(Handle h, long handle) { super(h, handle); } + protected MTRAudioOutputClusterSelectOutputParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputFeature.java new file mode 100644 index 000000000..af874fd01 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRAudioOutputFeature/**/ extends Bits*/MTRAudioOutputFeature/**/> { + /**/ + public static final MTRAudioOutputFeature None = new MTRAudioOutputFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRAudioOutputFeature NameUpdates = new MTRAudioOutputFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRAudioOutputFeature/**/[] values = _values(/**/MTRAudioOutputFeature/**/.class); + + public /**/MTRAudioOutputFeature/**/(long value) { super(value); } + private /**/MTRAudioOutputFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRAudioOutputFeature/**/ wrap(long value, long mask) { + return new /**/MTRAudioOutputFeature/**/(value, mask); + } + protected /**/MTRAudioOutputFeature/**/[] _values() { + return values; + } + public static /**/MTRAudioOutputFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputOutputType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputOutputType.java new file mode 100644 index 000000000..d05bc62ac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRAudioOutputOutputType.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRAudioOutputOutputType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + HDMI(0L), + /** + * @since Available in iOS 16.4 and later. + */ + BT(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Optical(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Headphone(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Internal(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Other(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRAudioOutputOutputType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRAudioOutputOutputType/**/ valueOf(long n) { + for (/**/MTRAudioOutputOutputType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRAudioOutputOutputType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlGoToPercentParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlGoToPercentParams.java new file mode 100644 index 000000000..33db8bf65 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlGoToPercentParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBarrierControlClusterBarrierControlGoToPercentParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBarrierControlClusterBarrierControlGoToPercentParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBarrierControlClusterBarrierControlGoToPercentParams.class); }/**/ + /**//**/ + /**/ + public MTRBarrierControlClusterBarrierControlGoToPercentParams() {} + protected MTRBarrierControlClusterBarrierControlGoToPercentParams(Handle h, long handle) { super(h, handle); } + protected MTRBarrierControlClusterBarrierControlGoToPercentParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "percentOpen") + public native NSNumber getPercentOpen(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPercentOpen:") + public native void setPercentOpen(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlStopParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlStopParams.java new file mode 100644 index 000000000..d06712418 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBarrierControlClusterBarrierControlStopParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBarrierControlClusterBarrierControlStopParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBarrierControlClusterBarrierControlStopParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBarrierControlClusterBarrierControlStopParams.class); }/**/ + /**//**/ + /**/ + public MTRBarrierControlClusterBarrierControlStopParams() {} + protected MTRBarrierControlClusterBarrierControlStopParams(Handle h, long handle) { super(h, handle); } + protected MTRBarrierControlClusterBarrierControlStopParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccessControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccessControl.java new file mode 100644 index 000000000..453b85277 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccessControl.java @@ -0,0 +1,239 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterAccessControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterAccessControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterAccessControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterAccessControl() {} + protected MTRBaseClusterAccessControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterAccessControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterAccessControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACLWithParams:completion:") + public native void readAttributeACL(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLWithValue:completion:") + public native void writeAttributeACL(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLWithValue:params:completion:") + public native void writeAttributeACL(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACLWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACL(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExtensionWithParams:completion:") + public native void readAttributeExtension(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeExtensionWithValue:completion:") + public native void writeAttributeExtension(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeExtensionWithValue:params:completion:") + public native void writeAttributeExtension(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeExtensionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeExtension(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSubjectsPerAccessControlEntryWithCompletion:") + public native void readAttributeSubjectsPerAccessControlEntry(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSubjectsPerAccessControlEntryWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSubjectsPerAccessControlEntry(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetsPerAccessControlEntryWithCompletion:") + public native void readAttributeTargetsPerAccessControlEntry(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTargetsPerAccessControlEntryWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTargetsPerAccessControlEntry(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAccessControlEntriesPerFabricWithCompletion:") + public native void readAttributeAccessControlEntriesPerFabric(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAccessControlEntriesPerFabricWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAccessControlEntriesPerFabric(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACLWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACL(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExtensionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeExtension(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSubjectsPerAccessControlEntryWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSubjectsPerAccessControlEntry(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetsPerAccessControlEntryWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTargetsPerAccessControlEntry(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAccessControlEntriesPerFabricWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAccessControlEntriesPerFabric(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccountLogin.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccountLogin.java new file mode 100644 index 000000000..cfa3b2bfd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAccountLogin.java @@ -0,0 +1,164 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterAccountLogin/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterAccountLoginPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterAccountLogin.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterAccountLogin() {} + protected MTRBaseClusterAccountLogin(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterAccountLogin(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterAccountLogin(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getSetupPINWithParams:completion:") + public native void getSetupPIN(MTRAccountLoginClusterGetSetupPINParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "loginWithParams:completion:") + public native void login(MTRAccountLoginClusterLoginParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "logoutWithParams:completion:") + public native void logout(MTRAccountLoginClusterLogoutParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "logoutWithCompletion:") + public native void logout(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterActions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterActions.java new file mode 100644 index 000000000..3daa0b44d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterActions.java @@ -0,0 +1,249 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterActions/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterActionsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterActions.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterActions() {} + protected MTRBaseClusterActions(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterActions(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterActions(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "instantActionWithParams:completion:") + public native void instantAction(MTRActionsClusterInstantActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "instantActionWithTransitionWithParams:completion:") + public native void instantActionWithTransition(MTRActionsClusterInstantActionWithTransitionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startActionWithParams:completion:") + public native void startAction(MTRActionsClusterStartActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startActionWithDurationWithParams:completion:") + public native void startActionWithDuration(MTRActionsClusterStartActionWithDurationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopActionWithParams:completion:") + public native void stopAction(MTRActionsClusterStopActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseActionWithParams:completion:") + public native void pauseAction(MTRActionsClusterPauseActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseActionWithDurationWithParams:completion:") + public native void pauseActionWithDuration(MTRActionsClusterPauseActionWithDurationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resumeActionWithParams:completion:") + public native void resumeAction(MTRActionsClusterResumeActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enableActionWithParams:completion:") + public native void enableAction(MTRActionsClusterEnableActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enableActionWithDurationWithParams:completion:") + public native void enableActionWithDuration(MTRActionsClusterEnableActionWithDurationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "disableActionWithParams:completion:") + public native void disableAction(MTRActionsClusterDisableActionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "disableActionWithDurationWithParams:completion:") + public native void disableActionWithDuration(MTRActionsClusterDisableActionWithDurationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActionListWithCompletion:") + public native void readAttributeActionList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActionListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActionList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEndpointListsWithCompletion:") + public native void readAttributeEndpointLists(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEndpointListsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEndpointLists(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetupURLWithCompletion:") + public native void readAttributeSetupURL(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSetupURLWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSetupURL(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActionListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActionList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEndpointListsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEndpointLists(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetupURLWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSetupURL(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAdministratorCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAdministratorCommissioning.java new file mode 100644 index 000000000..4a3e10c9d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAdministratorCommissioning.java @@ -0,0 +1,209 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterAdministratorCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterAdministratorCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterAdministratorCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterAdministratorCommissioning() {} + protected MTRBaseClusterAdministratorCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterAdministratorCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterAdministratorCommissioning(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "openCommissioningWindowWithParams:completion:") + public native void openCommissioningWindow(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "openBasicCommissioningWindowWithParams:completion:") + public native void openBasicCommissioningWindow(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "revokeCommissioningWithParams:completion:") + public native void revokeCommissioning(MTRAdministratorCommissioningClusterRevokeCommissioningParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "revokeCommissioningWithCompletion:") + public native void revokeCommissioning(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindowStatusWithCompletion:") + public native void readAttributeWindowStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWindowStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWindowStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAdminFabricIndexWithCompletion:") + public native void readAttributeAdminFabricIndex(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAdminFabricIndexWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAdminFabricIndex(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAdminVendorIdWithCompletion:") + public native void readAttributeAdminVendorId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAdminVendorIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAdminVendorId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindowStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWindowStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAdminFabricIndexWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAdminFabricIndex(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAdminVendorIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAdminVendorId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationBasic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationBasic.java new file mode 100644 index 000000000..4a4bc4403 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationBasic.java @@ -0,0 +1,264 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterApplicationBasic/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterApplicationBasicPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterApplicationBasic.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterApplicationBasic() {} + protected MTRBaseClusterApplicationBasic(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterApplicationBasic(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterApplicationBasic(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithCompletion:") + public native void readAttributeVendorName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithCompletion:") + public native void readAttributeVendorID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationNameWithCompletion:") + public native void readAttributeApplicationName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApplicationNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApplicationName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductIDWithCompletion:") + public native void readAttributeProductID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationWithCompletion:") + public native void readAttributeApplication(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApplicationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApplication(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusWithCompletion:") + public native void readAttributeStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationVersionWithCompletion:") + public native void readAttributeApplicationVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApplicationVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApplicationVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAllowedVendorListWithCompletion:") + public native void readAttributeAllowedVendorList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAllowedVendorListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAllowedVendorList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApplicationName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApplication(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApplicationVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAllowedVendorListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAllowedVendorList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationLauncher.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationLauncher.java new file mode 100644 index 000000000..44bc4df45 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterApplicationLauncher.java @@ -0,0 +1,199 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterApplicationLauncher/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterApplicationLauncherPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterApplicationLauncher.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterApplicationLauncher() {} + protected MTRBaseClusterApplicationLauncher(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterApplicationLauncher(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterApplicationLauncher(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchAppWithParams:completion:") + public native void launchApp(MTRApplicationLauncherClusterLaunchAppParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopAppWithParams:completion:") + public native void stopApp(MTRApplicationLauncherClusterStopAppParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideAppWithParams:completion:") + public native void hideApp(MTRApplicationLauncherClusterHideAppParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCatalogListWithCompletion:") + public native void readAttributeCatalogList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCatalogListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCatalogList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentAppWithCompletion:") + public native void readAttributeCurrentApp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCurrentAppWithValue:completion:") + public native void writeAttributeCurrentApp(MTRApplicationLauncherClusterApplicationEPStruct value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCurrentAppWithValue:params:completion:") + public native void writeAttributeCurrentApp(MTRApplicationLauncherClusterApplicationEPStruct value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentAppWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentApp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCatalogListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCatalogList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentAppWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentApp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAudioOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAudioOutput.java new file mode 100644 index 000000000..ddea67238 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterAudioOutput.java @@ -0,0 +1,184 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterAudioOutput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterAudioOutputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterAudioOutput.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterAudioOutput() {} + protected MTRBaseClusterAudioOutput(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterAudioOutput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterAudioOutput(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "selectOutputWithParams:completion:") + public native void selectOutput(MTRAudioOutputClusterSelectOutputParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "renameOutputWithParams:completion:") + public native void renameOutput(MTRAudioOutputClusterRenameOutputParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutputListWithCompletion:") + public native void readAttributeOutputList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOutputListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOutputList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentOutputWithCompletion:") + public native void readAttributeCurrentOutput(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentOutputWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentOutput(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutputListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOutputList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentOutputWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentOutput(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBallastConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBallastConfiguration.java new file mode 100644 index 000000000..b9e117e21 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBallastConfiguration.java @@ -0,0 +1,454 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBallastConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBallastConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBallastConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBallastConfiguration() {} + protected MTRBaseClusterBallastConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBallastConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBallastConfiguration(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalMinLevelWithCompletion:") + public native void readAttributePhysicalMinLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalMinLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalMinLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalMaxLevelWithCompletion:") + public native void readAttributePhysicalMaxLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalMaxLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalMaxLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBallastStatusWithCompletion:") + public native void readAttributeBallastStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBallastStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBallastStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinLevelWithCompletion:") + public native void readAttributeMinLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinLevelWithValue:completion:") + public native void writeAttributeMinLevel(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinLevelWithValue:params:completion:") + public native void writeAttributeMinLevel(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxLevelWithCompletion:") + public native void readAttributeMaxLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxLevelWithValue:completion:") + public native void writeAttributeMaxLevel(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxLevelWithValue:params:completion:") + public native void writeAttributeMaxLevel(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIntrinsicBallastFactorWithCompletion:") + public native void readAttributeIntrinsicBallastFactor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIntrinsicBallastFactorWithValue:completion:") + public native void writeAttributeIntrinsicBallastFactor(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIntrinsicBallastFactorWithValue:params:completion:") + public native void writeAttributeIntrinsicBallastFactor(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeIntrinsicBallastFactorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeIntrinsicBallastFactor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBallastFactorAdjustmentWithCompletion:") + public native void readAttributeBallastFactorAdjustment(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBallastFactorAdjustmentWithValue:completion:") + public native void writeAttributeBallastFactorAdjustment(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBallastFactorAdjustmentWithValue:params:completion:") + public native void writeAttributeBallastFactorAdjustment(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBallastFactorAdjustmentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBallastFactorAdjustment(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampQuantityWithCompletion:") + public native void readAttributeLampQuantity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampQuantityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampQuantity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampTypeWithCompletion:") + public native void readAttributeLampType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampTypeWithValue:completion:") + public native void writeAttributeLampType(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampTypeWithValue:params:completion:") + public native void writeAttributeLampType(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampManufacturerWithCompletion:") + public native void readAttributeLampManufacturer(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampManufacturerWithValue:completion:") + public native void writeAttributeLampManufacturer(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampManufacturerWithValue:params:completion:") + public native void writeAttributeLampManufacturer(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampManufacturerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampManufacturer(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampRatedHoursWithCompletion:") + public native void readAttributeLampRatedHours(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampRatedHoursWithValue:completion:") + public native void writeAttributeLampRatedHours(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampRatedHoursWithValue:params:completion:") + public native void writeAttributeLampRatedHours(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampRatedHoursWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampRatedHours(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampBurnHoursWithCompletion:") + public native void readAttributeLampBurnHours(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursWithValue:completion:") + public native void writeAttributeLampBurnHours(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursWithValue:params:completion:") + public native void writeAttributeLampBurnHours(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampBurnHoursWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampBurnHours(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampAlarmModeWithCompletion:") + public native void readAttributeLampAlarmMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampAlarmModeWithValue:completion:") + public native void writeAttributeLampAlarmMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampAlarmModeWithValue:params:completion:") + public native void writeAttributeLampAlarmMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampAlarmModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampAlarmMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampBurnHoursTripPointWithCompletion:") + public native void readAttributeLampBurnHoursTripPoint(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursTripPointWithValue:completion:") + public native void writeAttributeLampBurnHoursTripPoint(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursTripPointWithValue:params:completion:") + public native void writeAttributeLampBurnHoursTripPoint(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLampBurnHoursTripPointWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLampBurnHoursTripPoint(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalMinLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalMinLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalMaxLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalMaxLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBallastStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBallastStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIntrinsicBallastFactorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeIntrinsicBallastFactor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBallastFactorAdjustmentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBallastFactorAdjustment(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampQuantityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampQuantity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampManufacturerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampManufacturer(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampRatedHoursWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampRatedHours(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampBurnHoursWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampBurnHours(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampAlarmModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampAlarmMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLampBurnHoursTripPointWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLampBurnHoursTripPoint(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBarrierControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBarrierControl.java new file mode 100644 index 000000000..665e9dd28 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBarrierControl.java @@ -0,0 +1,369 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBarrierControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBarrierControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBarrierControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBarrierControl() {} + protected MTRBaseClusterBarrierControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBarrierControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBarrierControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlGoToPercentWithParams:completion:") + public native void barrierControlGoToPercent(MTRBarrierControlClusterBarrierControlGoToPercentParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlStopWithParams:completion:") + public native void barrierControlStop(MTRBarrierControlClusterBarrierControlStopParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlStopWithCompletion:") + public native void barrierControlStop(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierMovingStateWithCompletion:") + public native void readAttributeBarrierMovingState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierMovingStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierMovingState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierSafetyStatusWithCompletion:") + public native void readAttributeBarrierSafetyStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierSafetyStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierSafetyStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCapabilitiesWithCompletion:") + public native void readAttributeBarrierCapabilities(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierCapabilitiesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierCapabilities(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierOpenEventsWithCompletion:") + public native void readAttributeBarrierOpenEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierOpenEventsWithValue:completion:") + public native void writeAttributeBarrierOpenEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierOpenEventsWithValue:params:completion:") + public native void writeAttributeBarrierOpenEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierOpenEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierOpenEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCloseEventsWithCompletion:") + public native void readAttributeBarrierCloseEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCloseEventsWithValue:completion:") + public native void writeAttributeBarrierCloseEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCloseEventsWithValue:params:completion:") + public native void writeAttributeBarrierCloseEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierCloseEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierCloseEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCommandOpenEventsWithCompletion:") + public native void readAttributeBarrierCommandOpenEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCommandOpenEventsWithValue:completion:") + public native void writeAttributeBarrierCommandOpenEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCommandOpenEventsWithValue:params:completion:") + public native void writeAttributeBarrierCommandOpenEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierCommandOpenEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierCommandOpenEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCommandCloseEventsWithCompletion:") + public native void readAttributeBarrierCommandCloseEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCommandCloseEventsWithValue:completion:") + public native void writeAttributeBarrierCommandCloseEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierCommandCloseEventsWithValue:params:completion:") + public native void writeAttributeBarrierCommandCloseEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierCommandCloseEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierCommandCloseEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierOpenPeriodWithCompletion:") + public native void readAttributeBarrierOpenPeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierOpenPeriodWithValue:completion:") + public native void writeAttributeBarrierOpenPeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierOpenPeriodWithValue:params:completion:") + public native void writeAttributeBarrierOpenPeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierOpenPeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierOpenPeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierClosePeriodWithCompletion:") + public native void readAttributeBarrierClosePeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierClosePeriodWithValue:completion:") + public native void writeAttributeBarrierClosePeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBarrierClosePeriodWithValue:params:completion:") + public native void writeAttributeBarrierClosePeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierClosePeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierClosePeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierPositionWithCompletion:") + public native void readAttributeBarrierPosition(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBarrierPositionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBarrierPosition(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierMovingStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierMovingState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierSafetyStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierSafetyStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCapabilitiesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierCapabilities(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierOpenEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierOpenEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCloseEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierCloseEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCommandOpenEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierCommandOpenEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierCommandCloseEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierCommandCloseEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierOpenPeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierOpenPeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierClosePeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierClosePeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBarrierPositionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBarrierPosition(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBasicInformation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBasicInformation.java new file mode 100644 index 000000000..762e3e9ae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBasicInformation.java @@ -0,0 +1,489 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBasicInformation/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBasicInformationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBasicInformation.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBasicInformation() {} + protected MTRBaseClusterBasicInformation(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBasicInformation(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBasicInformation(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDataModelRevisionWithCompletion:") + public native void readAttributeDataModelRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDataModelRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDataModelRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithCompletion:") + public native void readAttributeVendorName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithCompletion:") + public native void readAttributeVendorID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithCompletion:") + public native void readAttributeProductName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductIDWithCompletion:") + public native void readAttributeProductID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithCompletion:") + public native void readAttributeNodeLabel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:completion:") + public native void writeAttributeNodeLabel(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:params:completion:") + public native void writeAttributeNodeLabel(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNodeLabelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNodeLabel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocationWithCompletion:") + public native void readAttributeLocation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocationWithValue:completion:") + public native void writeAttributeLocation(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocationWithValue:params:completion:") + public native void writeAttributeLocation(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithCompletion:") + public native void readAttributeHardwareVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHardwareVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHardwareVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithCompletion:") + public native void readAttributeHardwareVersionString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHardwareVersionStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHardwareVersionString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithCompletion:") + public native void readAttributeSoftwareVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSoftwareVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSoftwareVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithCompletion:") + public native void readAttributeSoftwareVersionString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSoftwareVersionStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSoftwareVersionString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithCompletion:") + public native void readAttributeManufacturingDate(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeManufacturingDateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeManufacturingDate(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithCompletion:") + public native void readAttributePartNumber(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePartNumberWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePartNumber(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithCompletion:") + public native void readAttributeProductURL(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductURLWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductURL(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithCompletion:") + public native void readAttributeProductLabel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductLabelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductLabel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithCompletion:") + public native void readAttributeSerialNumber(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSerialNumberWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSerialNumber(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalConfigDisabledWithCompletion:") + public native void readAttributeLocalConfigDisabled(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalConfigDisabledWithValue:completion:") + public native void writeAttributeLocalConfigDisabled(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalConfigDisabledWithValue:params:completion:") + public native void writeAttributeLocalConfigDisabled(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocalConfigDisabledWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocalConfigDisabled(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithCompletion:") + public native void readAttributeReachable(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReachableWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReachable(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithCompletion:") + public native void readAttributeUniqueID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUniqueIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUniqueID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCapabilityMinimaWithCompletion:") + public native void readAttributeCapabilityMinima(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCapabilityMinimaWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCapabilityMinima(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithCompletion:") + public native void readAttributeProductAppearance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "subscribeAttributeProductAppearanceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductAppearance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDataModelRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDataModelRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNodeLabel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHardwareVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHardwareVersionString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSoftwareVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSoftwareVersionString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeManufacturingDate(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePartNumber(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductURL(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductLabel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSerialNumber(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalConfigDisabledWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocalConfigDisabled(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReachable(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUniqueID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCapabilityMinimaWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCapabilityMinima(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductAppearance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinaryInputBasic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinaryInputBasic.java new file mode 100644 index 000000000..d15ba8b26 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinaryInputBasic.java @@ -0,0 +1,339 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBinaryInputBasic/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBinaryInputBasicPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBinaryInputBasic.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBinaryInputBasic() {} + protected MTRBaseClusterBinaryInputBasic(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBinaryInputBasic(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBinaryInputBasic(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveTextWithCompletion:") + public native void readAttributeActiveText(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveTextWithValue:completion:") + public native void writeAttributeActiveText(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveTextWithValue:params:completion:") + public native void writeAttributeActiveText(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveTextWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveText(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithCompletion:") + public native void readAttributeDescription(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDescriptionWithValue:completion:") + public native void writeAttributeDescription(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDescriptionWithValue:params:completion:") + public native void writeAttributeDescription(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDescriptionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDescription(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInactiveTextWithCompletion:") + public native void readAttributeInactiveText(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInactiveTextWithValue:completion:") + public native void writeAttributeInactiveText(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInactiveTextWithValue:params:completion:") + public native void writeAttributeInactiveText(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInactiveTextWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInactiveText(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutOfServiceWithCompletion:") + public native void readAttributeOutOfService(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOutOfServiceWithValue:completion:") + public native void writeAttributeOutOfService(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOutOfServiceWithValue:params:completion:") + public native void writeAttributeOutOfService(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOutOfServiceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOutOfService(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePolarityWithCompletion:") + public native void readAttributePolarity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePolarityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePolarity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePresentValueWithCompletion:") + public native void readAttributePresentValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePresentValueWithValue:completion:") + public native void writeAttributePresentValue(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePresentValueWithValue:params:completion:") + public native void writeAttributePresentValue(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePresentValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePresentValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReliabilityWithCompletion:") + public native void readAttributeReliability(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeReliabilityWithValue:completion:") + public native void writeAttributeReliability(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeReliabilityWithValue:params:completion:") + public native void writeAttributeReliability(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReliabilityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReliability(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusFlagsWithCompletion:") + public native void readAttributeStatusFlags(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStatusFlagsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStatusFlags(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationTypeWithCompletion:") + public native void readAttributeApplicationType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApplicationTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApplicationType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveTextWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveText(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDescription(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInactiveTextWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInactiveText(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutOfServiceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOutOfService(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePolarityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePolarity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePresentValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePresentValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReliabilityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReliability(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusFlagsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStatusFlags(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApplicationTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApplicationType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinding.java new file mode 100644 index 000000000..e52cea37b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBinding.java @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBinding/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBindingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBinding.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBinding() {} + protected MTRBaseClusterBinding(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBinding(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBinding(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBindingWithParams:completion:") + public native void readAttributeBinding(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBindingWithValue:completion:") + public native void writeAttributeBinding(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBindingWithValue:params:completion:") + public native void writeAttributeBinding(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBindingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBinding(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBindingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBinding(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBooleanState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBooleanState.java new file mode 100644 index 000000000..87fa06849 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBooleanState.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBooleanState/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBooleanStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBooleanState.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBooleanState() {} + protected MTRBaseClusterBooleanState(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBooleanState(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBooleanState(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStateValueWithCompletion:") + public native void readAttributeStateValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStateValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStateValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStateValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStateValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBridgedDeviceBasicInformation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBridgedDeviceBasicInformation.java new file mode 100644 index 000000000..6563a931c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterBridgedDeviceBasicInformation.java @@ -0,0 +1,394 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterBridgedDeviceBasicInformation/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterBridgedDeviceBasicInformationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterBridgedDeviceBasicInformation.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterBridgedDeviceBasicInformation() {} + protected MTRBaseClusterBridgedDeviceBasicInformation(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterBridgedDeviceBasicInformation(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterBridgedDeviceBasicInformation(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithCompletion:") + public native void readAttributeVendorName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithCompletion:") + public native void readAttributeVendorID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithCompletion:") + public native void readAttributeProductName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithCompletion:") + public native void readAttributeNodeLabel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:completion:") + public native void writeAttributeNodeLabel(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:params:completion:") + public native void writeAttributeNodeLabel(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNodeLabelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNodeLabel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithCompletion:") + public native void readAttributeHardwareVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHardwareVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHardwareVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithCompletion:") + public native void readAttributeHardwareVersionString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHardwareVersionStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHardwareVersionString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithCompletion:") + public native void readAttributeSoftwareVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSoftwareVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSoftwareVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithCompletion:") + public native void readAttributeSoftwareVersionString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSoftwareVersionStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSoftwareVersionString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithCompletion:") + public native void readAttributeManufacturingDate(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeManufacturingDateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeManufacturingDate(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithCompletion:") + public native void readAttributePartNumber(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePartNumberWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePartNumber(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithCompletion:") + public native void readAttributeProductURL(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductURLWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductURL(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithCompletion:") + public native void readAttributeProductLabel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeProductLabelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductLabel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithCompletion:") + public native void readAttributeSerialNumber(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSerialNumberWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSerialNumber(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithCompletion:") + public native void readAttributeReachable(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReachableWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReachable(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithCompletion:") + public native void readAttributeUniqueID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUniqueIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUniqueID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithCompletion:") + public native void readAttributeProductAppearance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "subscribeAttributeProductAppearanceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeProductAppearance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNodeLabel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHardwareVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHardwareVersionString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSoftwareVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSoftwareVersionString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeManufacturingDate(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePartNumber(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductURL(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductLabel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSerialNumber(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReachable(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUniqueID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeProductAppearance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterChannel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterChannel.java new file mode 100644 index 000000000..bd46fa88f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterChannel.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterChannel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterChannelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterChannel.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterChannel() {} + protected MTRBaseClusterChannel(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterChannel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterChannel(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeChannelWithParams:completion:") + public native void changeChannel(MTRChannelClusterChangeChannelParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeChannelByNumberWithParams:completion:") + public native void changeChannelByNumber(MTRChannelClusterChangeChannelByNumberParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipChannelWithParams:completion:") + public native void skipChannel(MTRChannelClusterSkipChannelParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelListWithCompletion:") + public native void readAttributeChannelList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeChannelListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeChannelList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineupWithCompletion:") + public native void readAttributeLineup(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLineupWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLineup(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentChannelWithCompletion:") + public native void readAttributeCurrentChannel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentChannelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentChannel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeChannelList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineupWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLineup(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentChannelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentChannel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterColorControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterColorControl.java new file mode 100644 index 000000000..b2e9d9c56 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterColorControl.java @@ -0,0 +1,1149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterColorControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterColorControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterColorControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterColorControl() {} + protected MTRBaseClusterColorControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterColorControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterColorControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToHueWithParams:completion:") + public native void moveToHue(MTRColorControlClusterMoveToHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveHueWithParams:completion:") + public native void moveHue(MTRColorControlClusterMoveHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepHueWithParams:completion:") + public native void stepHue(MTRColorControlClusterStepHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToSaturationWithParams:completion:") + public native void moveToSaturation(MTRColorControlClusterMoveToSaturationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveSaturationWithParams:completion:") + public native void moveSaturation(MTRColorControlClusterMoveSaturationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepSaturationWithParams:completion:") + public native void stepSaturation(MTRColorControlClusterStepSaturationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToHueAndSaturationWithParams:completion:") + public native void moveToHueAndSaturation(MTRColorControlClusterMoveToHueAndSaturationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToColorWithParams:completion:") + public native void moveToColor(MTRColorControlClusterMoveToColorParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveColorWithParams:completion:") + public native void moveColor(MTRColorControlClusterMoveColorParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepColorWithParams:completion:") + public native void stepColor(MTRColorControlClusterStepColorParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToColorTemperatureWithParams:completion:") + public native void moveToColorTemperature(MTRColorControlClusterMoveToColorTemperatureParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveToHueWithParams:completion:") + public native void enhancedMoveToHue(MTRColorControlClusterEnhancedMoveToHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveHueWithParams:completion:") + public native void enhancedMoveHue(MTRColorControlClusterEnhancedMoveHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedStepHueWithParams:completion:") + public native void enhancedStepHue(MTRColorControlClusterEnhancedStepHueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveToHueAndSaturationWithParams:completion:") + public native void enhancedMoveToHueAndSaturation(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "colorLoopSetWithParams:completion:") + public native void colorLoopSet(MTRColorControlClusterColorLoopSetParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMoveStepWithParams:completion:") + public native void stopMoveStep(MTRColorControlClusterStopMoveStepParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveColorTemperatureWithParams:completion:") + public native void moveColorTemperature(MTRColorControlClusterMoveColorTemperatureParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepColorTemperatureWithParams:completion:") + public native void stepColorTemperature(MTRColorControlClusterStepColorTemperatureParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHueWithCompletion:") + public native void readAttributeCurrentHue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentHueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentHue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentSaturationWithCompletion:") + public native void readAttributeCurrentSaturation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentSaturationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentSaturation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithCompletion:") + public native void readAttributeRemainingTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRemainingTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRemainingTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentXWithCompletion:") + public native void readAttributeCurrentX(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentXWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentX(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentYWithCompletion:") + public native void readAttributeCurrentY(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentYWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentY(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDriftCompensationWithCompletion:") + public native void readAttributeDriftCompensation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDriftCompensationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDriftCompensation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCompensationTextWithCompletion:") + public native void readAttributeCompensationText(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCompensationTextWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCompensationText(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTemperatureMiredsWithCompletion:") + public native void readAttributeColorTemperatureMireds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorTemperatureMiredsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorTemperatureMireds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorModeWithCompletion:") + public native void readAttributeColorMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOptionsWithCompletion:") + public native void readAttributeOptions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:completion:") + public native void writeAttributeOptions(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:params:completion:") + public native void writeAttributeOptions(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOptionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOptions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPrimariesWithCompletion:") + public native void readAttributeNumberOfPrimaries(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfPrimariesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfPrimaries(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1XWithCompletion:") + public native void readAttributePrimary1X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary1XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary1X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1YWithCompletion:") + public native void readAttributePrimary1Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary1YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary1Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1IntensityWithCompletion:") + public native void readAttributePrimary1Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary1IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary1Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2XWithCompletion:") + public native void readAttributePrimary2X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary2XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary2X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2YWithCompletion:") + public native void readAttributePrimary2Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary2YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary2Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2IntensityWithCompletion:") + public native void readAttributePrimary2Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary2IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary2Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3XWithCompletion:") + public native void readAttributePrimary3X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary3XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary3X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3YWithCompletion:") + public native void readAttributePrimary3Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary3YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary3Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3IntensityWithCompletion:") + public native void readAttributePrimary3Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary3IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary3Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4XWithCompletion:") + public native void readAttributePrimary4X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary4XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary4X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4YWithCompletion:") + public native void readAttributePrimary4Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary4YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary4Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4IntensityWithCompletion:") + public native void readAttributePrimary4Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary4IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary4Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5XWithCompletion:") + public native void readAttributePrimary5X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary5XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary5X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5YWithCompletion:") + public native void readAttributePrimary5Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary5YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary5Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5IntensityWithCompletion:") + public native void readAttributePrimary5Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary5IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary5Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6XWithCompletion:") + public native void readAttributePrimary6X(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary6XWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary6X(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6YWithCompletion:") + public native void readAttributePrimary6Y(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary6YWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary6Y(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6IntensityWithCompletion:") + public native void readAttributePrimary6Intensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePrimary6IntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePrimary6Intensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWhitePointXWithCompletion:") + public native void readAttributeWhitePointX(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWhitePointXWithValue:completion:") + public native void writeAttributeWhitePointX(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWhitePointXWithValue:params:completion:") + public native void writeAttributeWhitePointX(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWhitePointXWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWhitePointX(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWhitePointYWithCompletion:") + public native void readAttributeWhitePointY(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWhitePointYWithValue:completion:") + public native void writeAttributeWhitePointY(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWhitePointYWithValue:params:completion:") + public native void writeAttributeWhitePointY(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWhitePointYWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWhitePointY(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRXWithCompletion:") + public native void readAttributeColorPointRX(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRXWithValue:completion:") + public native void writeAttributeColorPointRX(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRXWithValue:params:completion:") + public native void writeAttributeColorPointRX(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointRXWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointRX(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRYWithCompletion:") + public native void readAttributeColorPointRY(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRYWithValue:completion:") + public native void writeAttributeColorPointRY(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRYWithValue:params:completion:") + public native void writeAttributeColorPointRY(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointRYWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointRY(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRIntensityWithCompletion:") + public native void readAttributeColorPointRIntensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRIntensityWithValue:completion:") + public native void writeAttributeColorPointRIntensity(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointRIntensityWithValue:params:completion:") + public native void writeAttributeColorPointRIntensity(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointRIntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointRIntensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGXWithCompletion:") + public native void readAttributeColorPointGX(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGXWithValue:completion:") + public native void writeAttributeColorPointGX(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGXWithValue:params:completion:") + public native void writeAttributeColorPointGX(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointGXWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointGX(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGYWithCompletion:") + public native void readAttributeColorPointGY(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGYWithValue:completion:") + public native void writeAttributeColorPointGY(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGYWithValue:params:completion:") + public native void writeAttributeColorPointGY(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointGYWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointGY(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGIntensityWithCompletion:") + public native void readAttributeColorPointGIntensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGIntensityWithValue:completion:") + public native void writeAttributeColorPointGIntensity(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointGIntensityWithValue:params:completion:") + public native void writeAttributeColorPointGIntensity(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointGIntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointGIntensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBXWithCompletion:") + public native void readAttributeColorPointBX(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBXWithValue:completion:") + public native void writeAttributeColorPointBX(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBXWithValue:params:completion:") + public native void writeAttributeColorPointBX(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointBXWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointBX(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBYWithCompletion:") + public native void readAttributeColorPointBY(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBYWithValue:completion:") + public native void writeAttributeColorPointBY(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBYWithValue:params:completion:") + public native void writeAttributeColorPointBY(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointBYWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointBY(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBIntensityWithCompletion:") + public native void readAttributeColorPointBIntensity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBIntensityWithValue:completion:") + public native void writeAttributeColorPointBIntensity(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeColorPointBIntensityWithValue:params:completion:") + public native void writeAttributeColorPointBIntensity(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorPointBIntensityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorPointBIntensity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnhancedCurrentHueWithCompletion:") + public native void readAttributeEnhancedCurrentHue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnhancedCurrentHueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnhancedCurrentHue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnhancedColorModeWithCompletion:") + public native void readAttributeEnhancedColorMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnhancedColorModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnhancedColorMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopActiveWithCompletion:") + public native void readAttributeColorLoopActive(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorLoopActiveWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorLoopActive(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopDirectionWithCompletion:") + public native void readAttributeColorLoopDirection(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorLoopDirectionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorLoopDirection(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopTimeWithCompletion:") + public native void readAttributeColorLoopTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorLoopTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorLoopTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopStartEnhancedHueWithCompletion:") + public native void readAttributeColorLoopStartEnhancedHue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorLoopStartEnhancedHueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorLoopStartEnhancedHue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopStoredEnhancedHueWithCompletion:") + public native void readAttributeColorLoopStoredEnhancedHue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorLoopStoredEnhancedHueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorLoopStoredEnhancedHue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorCapabilitiesWithCompletion:") + public native void readAttributeColorCapabilities(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorCapabilitiesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorCapabilities(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMinMiredsWithCompletion:") + public native void readAttributeColorTempPhysicalMinMireds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorTempPhysicalMinMiredsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorTempPhysicalMinMireds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMaxMiredsWithCompletion:") + public native void readAttributeColorTempPhysicalMaxMireds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeColorTempPhysicalMaxMiredsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeColorTempPhysicalMaxMireds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCoupleColorTempToLevelMinMiredsWithCompletion:") + public native void readAttributeCoupleColorTempToLevelMinMireds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCoupleColorTempToLevelMinMiredsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCoupleColorTempToLevelMinMireds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpColorTemperatureMiredsWithCompletion:") + public native void readAttributeStartUpColorTemperatureMireds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpColorTemperatureMiredsWithValue:completion:") + public native void writeAttributeStartUpColorTemperatureMireds(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpColorTemperatureMiredsWithValue:params:completion:") + public native void writeAttributeStartUpColorTemperatureMireds(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartUpColorTemperatureMiredsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartUpColorTemperatureMireds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentHue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentSaturationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentSaturation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRemainingTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentXWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentX(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentYWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentY(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDriftCompensationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDriftCompensation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCompensationTextWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCompensationText(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTemperatureMiredsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorTemperatureMireds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOptionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOptions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPrimariesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfPrimaries(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary1X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary1Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary1IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary1Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary2X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary2Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary2IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary2Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary3X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary3Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary3IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary3Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary4X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary4Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary4IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary4Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary5X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary5Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary5IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary5Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6XWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary6X(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6YWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary6Y(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePrimary6IntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePrimary6Intensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWhitePointXWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWhitePointX(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWhitePointYWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWhitePointY(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRXWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointRX(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRYWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointRY(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointRIntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointRIntensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGXWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointGX(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGYWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointGY(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointGIntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointGIntensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBXWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointBX(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBYWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointBY(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorPointBIntensityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorPointBIntensity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnhancedCurrentHueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnhancedCurrentHue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnhancedColorModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnhancedColorMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopActiveWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorLoopActive(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopDirectionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorLoopDirection(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorLoopTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopStartEnhancedHueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorLoopStartEnhancedHue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorLoopStoredEnhancedHueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorLoopStoredEnhancedHue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorCapabilitiesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorCapabilities(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMinMiredsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorTempPhysicalMinMireds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMaxMiredsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeColorTempPhysicalMaxMireds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCoupleColorTempToLevelMinMiredsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCoupleColorTempToLevelMinMireds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpColorTemperatureMiredsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartUpColorTemperatureMireds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterContentLauncher.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterContentLauncher.java new file mode 100644 index 000000000..55a164e58 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterContentLauncher.java @@ -0,0 +1,194 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterContentLauncher/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterContentLauncherPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterContentLauncher.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterContentLauncher() {} + protected MTRBaseClusterContentLauncher(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterContentLauncher(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterContentLauncher(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchContentWithParams:completion:") + public native void launchContent(MTRContentLauncherClusterLaunchContentParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchURLWithParams:completion:") + public native void launchURL(MTRContentLauncherClusterLaunchURLParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptHeaderWithCompletion:") + public native void readAttributeAcceptHeader(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptHeaderWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptHeader(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedStreamingProtocolsWithCompletion:") + public native void readAttributeSupportedStreamingProtocols(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSupportedStreamingProtocolsWithValue:completion:") + public native void writeAttributeSupportedStreamingProtocols(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSupportedStreamingProtocolsWithValue:params:completion:") + public native void writeAttributeSupportedStreamingProtocols(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedStreamingProtocolsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedStreamingProtocols(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptHeaderWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptHeader(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedStreamingProtocolsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedStreamingProtocols(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDescriptor.java new file mode 100644 index 000000000..2e4492494 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDescriptor.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterDescriptor/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterDescriptor.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterDescriptor() {} + protected MTRBaseClusterDescriptor(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterDescriptor(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterDescriptor(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDeviceTypeListWithCompletion:") + public native void readAttributeDeviceTypeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDeviceTypeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDeviceTypeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeServerListWithCompletion:") + public native void readAttributeServerList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeServerListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeServerList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClientListWithCompletion:") + public native void readAttributeClientList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClientListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClientList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartsListWithCompletion:") + public native void readAttributePartsList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePartsListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePartsList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDeviceTypeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDeviceTypeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeServerListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeServerList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClientListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClientList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartsListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePartsList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDiagnosticLogs.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDiagnosticLogs.java new file mode 100644 index 000000000..48dedbb05 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDiagnosticLogs.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterDiagnosticLogs/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterDiagnosticLogsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterDiagnosticLogs.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterDiagnosticLogs() {} + protected MTRBaseClusterDiagnosticLogs(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterDiagnosticLogs(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterDiagnosticLogs(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "retrieveLogsRequestWithParams:completion:") + public native void retrieveLogsRequest(MTRDiagnosticLogsClusterRetrieveLogsRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDoorLock.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDoorLock.java new file mode 100644 index 000000000..1693da732 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterDoorLock.java @@ -0,0 +1,954 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterDoorLock/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterDoorLockPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterDoorLock.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterDoorLock() {} + protected MTRBaseClusterDoorLock(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterDoorLock(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterDoorLock(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "lockDoorWithParams:completion:") + public native void lockDoor(MTRDoorLockClusterLockDoorParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "unlockDoorWithParams:completion:") + public native void unlockDoor(MTRDoorLockClusterUnlockDoorParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "unlockWithTimeoutWithParams:completion:") + public native void unlockWithTimeout(MTRDoorLockClusterUnlockWithTimeoutParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setWeekDayScheduleWithParams:completion:") + public native void setWeekDaySchedule(MTRDoorLockClusterSetWeekDayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getWeekDayScheduleWithParams:completion:") + public native void getWeekDaySchedule(MTRDoorLockClusterGetWeekDayScheduleParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeekDayScheduleWithParams:completion:") + public native void clearWeekDaySchedule(MTRDoorLockClusterClearWeekDayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setYearDayScheduleWithParams:completion:") + public native void setYearDaySchedule(MTRDoorLockClusterSetYearDayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getYearDayScheduleWithParams:completion:") + public native void getYearDaySchedule(MTRDoorLockClusterGetYearDayScheduleParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearYearDayScheduleWithParams:completion:") + public native void clearYearDaySchedule(MTRDoorLockClusterClearYearDayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setHolidayScheduleWithParams:completion:") + public native void setHolidaySchedule(MTRDoorLockClusterSetHolidayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getHolidayScheduleWithParams:completion:") + public native void getHolidaySchedule(MTRDoorLockClusterGetHolidayScheduleParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearHolidayScheduleWithParams:completion:") + public native void clearHolidaySchedule(MTRDoorLockClusterClearHolidayScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setUserWithParams:completion:") + public native void setUser(MTRDoorLockClusterSetUserParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getUserWithParams:completion:") + public native void getUser(MTRDoorLockClusterGetUserParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearUserWithParams:completion:") + public native void clearUser(MTRDoorLockClusterClearUserParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setCredentialWithParams:completion:") + public native void setCredential(MTRDoorLockClusterSetCredentialParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getCredentialStatusWithParams:completion:") + public native void getCredentialStatus(MTRDoorLockClusterGetCredentialStatusParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearCredentialWithParams:completion:") + public native void clearCredential(MTRDoorLockClusterClearCredentialParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLockStateWithCompletion:") + public native void readAttributeLockState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLockStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLockState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLockTypeWithCompletion:") + public native void readAttributeLockType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLockTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLockType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActuatorEnabledWithCompletion:") + public native void readAttributeActuatorEnabled(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActuatorEnabledWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActuatorEnabled(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorStateWithCompletion:") + public native void readAttributeDoorState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDoorStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDoorState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorOpenEventsWithCompletion:") + public native void readAttributeDoorOpenEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDoorOpenEventsWithValue:completion:") + public native void writeAttributeDoorOpenEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDoorOpenEventsWithValue:params:completion:") + public native void writeAttributeDoorOpenEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDoorOpenEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDoorOpenEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorClosedEventsWithCompletion:") + public native void readAttributeDoorClosedEvents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDoorClosedEventsWithValue:completion:") + public native void writeAttributeDoorClosedEvents(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDoorClosedEventsWithValue:params:completion:") + public native void writeAttributeDoorClosedEvents(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDoorClosedEventsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDoorClosedEvents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOpenPeriodWithCompletion:") + public native void readAttributeOpenPeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOpenPeriodWithValue:completion:") + public native void writeAttributeOpenPeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOpenPeriodWithValue:params:completion:") + public native void writeAttributeOpenPeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOpenPeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOpenPeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfTotalUsersSupportedWithCompletion:") + public native void readAttributeNumberOfTotalUsersSupported(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfTotalUsersSupportedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfTotalUsersSupported(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPINUsersSupportedWithCompletion:") + public native void readAttributeNumberOfPINUsersSupported(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfPINUsersSupportedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfPINUsersSupported(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfRFIDUsersSupportedWithCompletion:") + public native void readAttributeNumberOfRFIDUsersSupported(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfRFIDUsersSupportedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfRFIDUsersSupported(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletion:") + public native void readAttributeNumberOfWeekDaySchedulesSupportedPerUser(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUser(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletion:") + public native void readAttributeNumberOfYearDaySchedulesSupportedPerUser(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfYearDaySchedulesSupportedPerUser(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfHolidaySchedulesSupportedWithCompletion:") + public native void readAttributeNumberOfHolidaySchedulesSupported(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfHolidaySchedulesSupportedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfHolidaySchedulesSupported(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxPINCodeLengthWithCompletion:") + public native void readAttributeMaxPINCodeLength(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxPINCodeLengthWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxPINCodeLength(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinPINCodeLengthWithCompletion:") + public native void readAttributeMinPINCodeLength(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinPINCodeLengthWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinPINCodeLength(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxRFIDCodeLengthWithCompletion:") + public native void readAttributeMaxRFIDCodeLength(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxRFIDCodeLengthWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxRFIDCodeLength(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinRFIDCodeLengthWithCompletion:") + public native void readAttributeMinRFIDCodeLength(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinRFIDCodeLengthWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinRFIDCodeLength(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCredentialRulesSupportWithCompletion:") + public native void readAttributeCredentialRulesSupport(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCredentialRulesSupportWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCredentialRulesSupport(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfCredentialsSupportedPerUserWithCompletion:") + public native void readAttributeNumberOfCredentialsSupportedPerUser(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfCredentialsSupportedPerUserWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfCredentialsSupportedPerUser(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLanguageWithCompletion:") + public native void readAttributeLanguage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLanguageWithValue:completion:") + public native void writeAttributeLanguage(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLanguageWithValue:params:completion:") + public native void writeAttributeLanguage(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLanguageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLanguage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLEDSettingsWithCompletion:") + public native void readAttributeLEDSettings(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLEDSettingsWithValue:completion:") + public native void writeAttributeLEDSettings(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLEDSettingsWithValue:params:completion:") + public native void writeAttributeLEDSettings(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLEDSettingsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLEDSettings(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAutoRelockTimeWithCompletion:") + public native void readAttributeAutoRelockTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAutoRelockTimeWithValue:completion:") + public native void writeAttributeAutoRelockTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAutoRelockTimeWithValue:params:completion:") + public native void writeAttributeAutoRelockTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAutoRelockTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAutoRelockTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoundVolumeWithCompletion:") + public native void readAttributeSoundVolume(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSoundVolumeWithValue:completion:") + public native void writeAttributeSoundVolume(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSoundVolumeWithValue:params:completion:") + public native void writeAttributeSoundVolume(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSoundVolumeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSoundVolume(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperatingModeWithCompletion:") + public native void readAttributeOperatingMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOperatingModeWithValue:completion:") + public native void writeAttributeOperatingMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOperatingModeWithValue:params:completion:") + public native void writeAttributeOperatingMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOperatingModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOperatingMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedOperatingModesWithCompletion:") + public native void readAttributeSupportedOperatingModes(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedOperatingModesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedOperatingModes(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultConfigurationRegisterWithCompletion:") + public native void readAttributeDefaultConfigurationRegister(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDefaultConfigurationRegisterWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDefaultConfigurationRegister(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableLocalProgrammingWithCompletion:") + public native void readAttributeEnableLocalProgramming(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableLocalProgrammingWithValue:completion:") + public native void writeAttributeEnableLocalProgramming(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableLocalProgrammingWithValue:params:completion:") + public native void writeAttributeEnableLocalProgramming(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnableLocalProgrammingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnableLocalProgramming(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableOneTouchLockingWithCompletion:") + public native void readAttributeEnableOneTouchLocking(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableOneTouchLockingWithValue:completion:") + public native void writeAttributeEnableOneTouchLocking(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableOneTouchLockingWithValue:params:completion:") + public native void writeAttributeEnableOneTouchLocking(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnableOneTouchLockingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnableOneTouchLocking(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableInsideStatusLEDWithCompletion:") + public native void readAttributeEnableInsideStatusLED(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableInsideStatusLEDWithValue:completion:") + public native void writeAttributeEnableInsideStatusLED(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnableInsideStatusLEDWithValue:params:completion:") + public native void writeAttributeEnableInsideStatusLED(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnableInsideStatusLEDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnableInsideStatusLED(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnablePrivacyModeButtonWithCompletion:") + public native void readAttributeEnablePrivacyModeButton(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnablePrivacyModeButtonWithValue:completion:") + public native void writeAttributeEnablePrivacyModeButton(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnablePrivacyModeButtonWithValue:params:completion:") + public native void writeAttributeEnablePrivacyModeButton(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnablePrivacyModeButtonWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnablePrivacyModeButton(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalProgrammingFeaturesWithCompletion:") + public native void readAttributeLocalProgrammingFeatures(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalProgrammingFeaturesWithValue:completion:") + public native void writeAttributeLocalProgrammingFeatures(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalProgrammingFeaturesWithValue:params:completion:") + public native void writeAttributeLocalProgrammingFeatures(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocalProgrammingFeaturesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocalProgrammingFeatures(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWrongCodeEntryLimitWithCompletion:") + public native void readAttributeWrongCodeEntryLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWrongCodeEntryLimitWithValue:completion:") + public native void writeAttributeWrongCodeEntryLimit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWrongCodeEntryLimitWithValue:params:completion:") + public native void writeAttributeWrongCodeEntryLimit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWrongCodeEntryLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWrongCodeEntryLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUserCodeTemporaryDisableTimeWithCompletion:") + public native void readAttributeUserCodeTemporaryDisableTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUserCodeTemporaryDisableTimeWithValue:completion:") + public native void writeAttributeUserCodeTemporaryDisableTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUserCodeTemporaryDisableTimeWithValue:params:completion:") + public native void writeAttributeUserCodeTemporaryDisableTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUserCodeTemporaryDisableTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUserCodeTemporaryDisableTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSendPINOverTheAirWithCompletion:") + public native void readAttributeSendPINOverTheAir(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSendPINOverTheAirWithValue:completion:") + public native void writeAttributeSendPINOverTheAir(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSendPINOverTheAirWithValue:params:completion:") + public native void writeAttributeSendPINOverTheAir(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSendPINOverTheAirWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSendPINOverTheAir(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRequirePINforRemoteOperationWithCompletion:") + public native void readAttributeRequirePINforRemoteOperation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRequirePINforRemoteOperationWithValue:completion:") + public native void writeAttributeRequirePINforRemoteOperation(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRequirePINforRemoteOperationWithValue:params:completion:") + public native void writeAttributeRequirePINforRemoteOperation(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRequirePINforRemoteOperationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRequirePINforRemoteOperation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExpiringUserTimeoutWithCompletion:") + public native void readAttributeExpiringUserTimeout(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeExpiringUserTimeoutWithValue:completion:") + public native void writeAttributeExpiringUserTimeout(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeExpiringUserTimeoutWithValue:params:completion:") + public native void writeAttributeExpiringUserTimeout(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeExpiringUserTimeoutWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeExpiringUserTimeout(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLockStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLockState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLockTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLockType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActuatorEnabledWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActuatorEnabled(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDoorState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorOpenEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDoorOpenEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDoorClosedEventsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDoorClosedEvents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOpenPeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOpenPeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfTotalUsersSupportedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfTotalUsersSupported(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPINUsersSupportedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfPINUsersSupported(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfRFIDUsersSupportedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfRFIDUsersSupported(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfWeekDaySchedulesSupportedPerUser(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfYearDaySchedulesSupportedPerUserWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfYearDaySchedulesSupportedPerUser(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfHolidaySchedulesSupportedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfHolidaySchedulesSupported(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxPINCodeLengthWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxPINCodeLength(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinPINCodeLengthWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinPINCodeLength(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxRFIDCodeLengthWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxRFIDCodeLength(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinRFIDCodeLengthWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinRFIDCodeLength(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCredentialRulesSupportWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCredentialRulesSupport(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfCredentialsSupportedPerUserWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfCredentialsSupportedPerUser(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLanguageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLanguage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLEDSettingsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLEDSettings(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAutoRelockTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAutoRelockTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoundVolumeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSoundVolume(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperatingModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOperatingMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedOperatingModesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedOperatingModes(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultConfigurationRegisterWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDefaultConfigurationRegister(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableLocalProgrammingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnableLocalProgramming(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableOneTouchLockingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnableOneTouchLocking(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnableInsideStatusLEDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnableInsideStatusLED(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnablePrivacyModeButtonWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnablePrivacyModeButton(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalProgrammingFeaturesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocalProgrammingFeatures(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWrongCodeEntryLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWrongCodeEntryLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUserCodeTemporaryDisableTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUserCodeTemporaryDisableTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSendPINOverTheAirWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSendPINOverTheAir(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRequirePINforRemoteOperationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRequirePINforRemoteOperation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExpiringUserTimeoutWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeExpiringUserTimeout(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterElectricalMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterElectricalMeasurement.java new file mode 100644 index 000000000..ebb1b9cd8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterElectricalMeasurement.java @@ -0,0 +1,2159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterElectricalMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterElectricalMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterElectricalMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterElectricalMeasurement() {} + protected MTRBaseClusterElectricalMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterElectricalMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterElectricalMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getProfileInfoCommandWithParams:completion:") + public native void getProfileInfoCommand(MTRElectricalMeasurementClusterGetProfileInfoCommandParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getProfileInfoCommandWithCompletion:") + public native void getProfileInfoCommand(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getMeasurementProfileCommandWithParams:completion:") + public native void getMeasurementProfileCommand(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasurementTypeWithCompletion:") + public native void readAttributeMeasurementType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasurementTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasurementType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageWithCompletion:") + public native void readAttributeDcVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMinWithCompletion:") + public native void readAttributeDcVoltageMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcVoltageMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcVoltageMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMaxWithCompletion:") + public native void readAttributeDcVoltageMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcVoltageMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcVoltageMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentWithCompletion:") + public native void readAttributeDcCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMinWithCompletion:") + public native void readAttributeDcCurrentMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcCurrentMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcCurrentMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMaxWithCompletion:") + public native void readAttributeDcCurrentMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcCurrentMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcCurrentMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerWithCompletion:") + public native void readAttributeDcPower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcPowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcPower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMinWithCompletion:") + public native void readAttributeDcPowerMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcPowerMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcPowerMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMaxWithCompletion:") + public native void readAttributeDcPowerMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcPowerMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcPowerMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMultiplierWithCompletion:") + public native void readAttributeDcVoltageMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcVoltageMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcVoltageMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageDivisorWithCompletion:") + public native void readAttributeDcVoltageDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcVoltageDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcVoltageDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMultiplierWithCompletion:") + public native void readAttributeDcCurrentMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcCurrentMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcCurrentMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentDivisorWithCompletion:") + public native void readAttributeDcCurrentDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcCurrentDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcCurrentDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMultiplierWithCompletion:") + public native void readAttributeDcPowerMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcPowerMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcPowerMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerDivisorWithCompletion:") + public native void readAttributeDcPowerDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDcPowerDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDcPowerDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyWithCompletion:") + public native void readAttributeAcFrequency(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcFrequencyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcFrequency(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMinWithCompletion:") + public native void readAttributeAcFrequencyMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcFrequencyMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcFrequencyMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMaxWithCompletion:") + public native void readAttributeAcFrequencyMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcFrequencyMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcFrequencyMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNeutralCurrentWithCompletion:") + public native void readAttributeNeutralCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNeutralCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNeutralCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalActivePowerWithCompletion:") + public native void readAttributeTotalActivePower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTotalActivePowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTotalActivePower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalReactivePowerWithCompletion:") + public native void readAttributeTotalReactivePower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTotalReactivePowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTotalReactivePower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalApparentPowerWithCompletion:") + public native void readAttributeTotalApparentPower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTotalApparentPowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTotalApparentPower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured1stHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured1stHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured1stHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured1stHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured3rdHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured3rdHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured3rdHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured3rdHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured5thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured5thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured5thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured5thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured7thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured7thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured7thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured7thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured9thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured9thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured9thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured9thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured11thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasured11thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasured11thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasured11thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase1stHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase1stHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase1stHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase1stHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase3rdHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase3rdHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase5thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase5thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase5thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase5thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase7thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase7thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase7thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase7thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase9thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase9thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase9thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase9thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase11thHarmonicCurrentWithCompletion:") + public native void readAttributeMeasuredPhase11thHarmonicCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredPhase11thHarmonicCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredPhase11thHarmonicCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMultiplierWithCompletion:") + public native void readAttributeAcFrequencyMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcFrequencyMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcFrequencyMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyDivisorWithCompletion:") + public native void readAttributeAcFrequencyDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcFrequencyDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcFrequencyDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerMultiplierWithCompletion:") + public native void readAttributePowerMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePowerMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerDivisorWithCompletion:") + public native void readAttributePowerDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePowerDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHarmonicCurrentMultiplierWithCompletion:") + public native void readAttributeHarmonicCurrentMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHarmonicCurrentMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHarmonicCurrentMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhaseHarmonicCurrentMultiplierWithCompletion:") + public native void readAttributePhaseHarmonicCurrentMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhaseHarmonicCurrentMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhaseHarmonicCurrentMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousVoltageWithCompletion:") + public native void readAttributeInstantaneousVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstantaneousVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstantaneousVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousLineCurrentWithCompletion:") + public native void readAttributeInstantaneousLineCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstantaneousLineCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstantaneousLineCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousActiveCurrentWithCompletion:") + public native void readAttributeInstantaneousActiveCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstantaneousActiveCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstantaneousActiveCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousReactiveCurrentWithCompletion:") + public native void readAttributeInstantaneousReactiveCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstantaneousReactiveCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstantaneousReactiveCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousPowerWithCompletion:") + public native void readAttributeInstantaneousPower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstantaneousPowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstantaneousPower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageWithCompletion:") + public native void readAttributeRmsVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinWithCompletion:") + public native void readAttributeRmsVoltageMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxWithCompletion:") + public native void readAttributeRmsVoltageMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentWithCompletion:") + public native void readAttributeRmsCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinWithCompletion:") + public native void readAttributeRmsCurrentMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxWithCompletion:") + public native void readAttributeRmsCurrentMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerWithCompletion:") + public native void readAttributeActivePower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinWithCompletion:") + public native void readAttributeActivePowerMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxWithCompletion:") + public native void readAttributeActivePowerMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerWithCompletion:") + public native void readAttributeReactivePower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReactivePowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReactivePower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerWithCompletion:") + public native void readAttributeApparentPower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApparentPowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApparentPower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorWithCompletion:") + public native void readAttributePowerFactor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerFactorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePowerFactor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodWithCompletion:") + public native void readAttributeAverageRmsVoltageMeasurementPeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:completion:") + public native void writeAttributeAverageRmsVoltageMeasurementPeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:params:completion:") + public native void writeAttributeAverageRmsVoltageMeasurementPeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsVoltageMeasurementPeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsVoltageMeasurementPeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterWithCompletion:") + public native void readAttributeAverageRmsUnderVoltageCounter(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAverageRmsUnderVoltageCounterWithValue:completion:") + public native void writeAttributeAverageRmsUnderVoltageCounter(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAverageRmsUnderVoltageCounterWithValue:params:completion:") + public native void writeAttributeAverageRmsUnderVoltageCounter(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsUnderVoltageCounterWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsUnderVoltageCounter(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodWithCompletion:") + public native void readAttributeRmsExtremeOverVoltagePeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsExtremeOverVoltagePeriodWithValue:completion:") + public native void writeAttributeRmsExtremeOverVoltagePeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsExtremeOverVoltagePeriodWithValue:params:completion:") + public native void writeAttributeRmsExtremeOverVoltagePeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeOverVoltagePeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeOverVoltagePeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodWithCompletion:") + public native void readAttributeRmsExtremeUnderVoltagePeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsExtremeUnderVoltagePeriodWithValue:completion:") + public native void writeAttributeRmsExtremeUnderVoltagePeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsExtremeUnderVoltagePeriodWithValue:params:completion:") + public native void writeAttributeRmsExtremeUnderVoltagePeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeUnderVoltagePeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeUnderVoltagePeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodWithCompletion:") + public native void readAttributeRmsVoltageSagPeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSagPeriodWithValue:completion:") + public native void writeAttributeRmsVoltageSagPeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSagPeriodWithValue:params:completion:") + public native void writeAttributeRmsVoltageSagPeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSagPeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSagPeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodWithCompletion:") + public native void readAttributeRmsVoltageSwellPeriod(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSwellPeriodWithValue:completion:") + public native void writeAttributeRmsVoltageSwellPeriod(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSwellPeriodWithValue:params:completion:") + public native void writeAttributeRmsVoltageSwellPeriod(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSwellPeriodWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSwellPeriod(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageMultiplierWithCompletion:") + public native void readAttributeAcVoltageMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcVoltageMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcVoltageMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageDivisorWithCompletion:") + public native void readAttributeAcVoltageDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcVoltageDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcVoltageDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentMultiplierWithCompletion:") + public native void readAttributeAcCurrentMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcCurrentMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcCurrentMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentDivisorWithCompletion:") + public native void readAttributeAcCurrentDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcCurrentDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcCurrentDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcPowerMultiplierWithCompletion:") + public native void readAttributeAcPowerMultiplier(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcPowerMultiplierWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcPowerMultiplier(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcPowerDivisorWithCompletion:") + public native void readAttributeAcPowerDivisor(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcPowerDivisorWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcPowerDivisor(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverloadAlarmsMaskWithCompletion:") + public native void readAttributeOverloadAlarmsMask(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOverloadAlarmsMaskWithValue:completion:") + public native void writeAttributeOverloadAlarmsMask(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOverloadAlarmsMaskWithValue:params:completion:") + public native void writeAttributeOverloadAlarmsMask(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOverloadAlarmsMaskWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOverloadAlarmsMask(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVoltageOverloadWithCompletion:") + public native void readAttributeVoltageOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVoltageOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVoltageOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentOverloadWithCompletion:") + public native void readAttributeCurrentOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcOverloadAlarmsMaskWithCompletion:") + public native void readAttributeAcOverloadAlarmsMask(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAcOverloadAlarmsMaskWithValue:completion:") + public native void writeAttributeAcOverloadAlarmsMask(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeAcOverloadAlarmsMaskWithValue:params:completion:") + public native void writeAttributeAcOverloadAlarmsMask(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcOverloadAlarmsMaskWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcOverloadAlarmsMask(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageOverloadWithCompletion:") + public native void readAttributeAcVoltageOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcVoltageOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcVoltageOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentOverloadWithCompletion:") + public native void readAttributeAcCurrentOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcCurrentOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcCurrentOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcActivePowerOverloadWithCompletion:") + public native void readAttributeAcActivePowerOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcActivePowerOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcActivePowerOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcReactivePowerOverloadWithCompletion:") + public native void readAttributeAcReactivePowerOverload(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcReactivePowerOverloadWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcReactivePowerOverload(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageWithCompletion:") + public native void readAttributeAverageRmsOverVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsOverVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsOverVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageWithCompletion:") + public native void readAttributeAverageRmsUnderVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsUnderVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsUnderVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltageWithCompletion:") + public native void readAttributeRmsExtremeOverVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeOverVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeOverVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltageWithCompletion:") + public native void readAttributeRmsExtremeUnderVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeUnderVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeUnderVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagWithCompletion:") + public native void readAttributeRmsVoltageSag(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSagWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSag(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellWithCompletion:") + public native void readAttributeRmsVoltageSwell(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSwellWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSwell(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseBWithCompletion:") + public native void readAttributeLineCurrentPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLineCurrentPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLineCurrentPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseBWithCompletion:") + public native void readAttributeActiveCurrentPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveCurrentPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveCurrentPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseBWithCompletion:") + public native void readAttributeReactiveCurrentPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReactiveCurrentPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReactiveCurrentPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseBWithCompletion:") + public native void readAttributeRmsVoltagePhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltagePhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltagePhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseBWithCompletion:") + public native void readAttributeRmsVoltageMinPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMinPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMinPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseBWithCompletion:") + public native void readAttributeRmsVoltageMaxPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMaxPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMaxPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseBWithCompletion:") + public native void readAttributeRmsCurrentPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseBWithCompletion:") + public native void readAttributeRmsCurrentMinPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMinPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMinPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseBWithCompletion:") + public native void readAttributeRmsCurrentMaxPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMaxPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMaxPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseBWithCompletion:") + public native void readAttributeActivePowerPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseBWithCompletion:") + public native void readAttributeActivePowerMinPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMinPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMinPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseBWithCompletion:") + public native void readAttributeActivePowerMaxPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMaxPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMaxPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseBWithCompletion:") + public native void readAttributeReactivePowerPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReactivePowerPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReactivePowerPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseBWithCompletion:") + public native void readAttributeApparentPowerPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApparentPowerPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApparentPowerPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseBWithCompletion:") + public native void readAttributePowerFactorPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerFactorPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePowerFactorPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletion:") + public native void readAttributeAverageRmsVoltageMeasurementPeriodPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletion:") + public native void readAttributeAverageRmsOverVoltageCounterPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsOverVoltageCounterPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletion:") + public native void readAttributeAverageRmsUnderVoltageCounterPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsUnderVoltageCounterPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletion:") + public native void readAttributeRmsExtremeOverVoltagePeriodPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeOverVoltagePeriodPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletion:") + public native void readAttributeRmsExtremeUnderVoltagePeriodPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseBWithCompletion:") + public native void readAttributeRmsVoltageSagPeriodPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSagPeriodPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSagPeriodPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseBWithCompletion:") + public native void readAttributeRmsVoltageSwellPeriodPhaseB(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSwellPeriodPhaseBWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSwellPeriodPhaseB(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseCWithCompletion:") + public native void readAttributeLineCurrentPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLineCurrentPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLineCurrentPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseCWithCompletion:") + public native void readAttributeActiveCurrentPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveCurrentPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveCurrentPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseCWithCompletion:") + public native void readAttributeReactiveCurrentPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReactiveCurrentPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReactiveCurrentPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseCWithCompletion:") + public native void readAttributeRmsVoltagePhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltagePhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltagePhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseCWithCompletion:") + public native void readAttributeRmsVoltageMinPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMinPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMinPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseCWithCompletion:") + public native void readAttributeRmsVoltageMaxPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageMaxPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageMaxPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseCWithCompletion:") + public native void readAttributeRmsCurrentPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseCWithCompletion:") + public native void readAttributeRmsCurrentMinPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMinPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMinPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseCWithCompletion:") + public native void readAttributeRmsCurrentMaxPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsCurrentMaxPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsCurrentMaxPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseCWithCompletion:") + public native void readAttributeActivePowerPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseCWithCompletion:") + public native void readAttributeActivePowerMinPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMinPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMinPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseCWithCompletion:") + public native void readAttributeActivePowerMaxPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActivePowerMaxPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActivePowerMaxPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseCWithCompletion:") + public native void readAttributeReactivePowerPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeReactivePowerPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeReactivePowerPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseCWithCompletion:") + public native void readAttributeApparentPowerPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeApparentPowerPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeApparentPowerPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseCWithCompletion:") + public native void readAttributePowerFactorPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerFactorPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePowerFactorPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletion:") + public native void readAttributeAverageRmsVoltageMeasurementPeriodPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletion:") + public native void readAttributeAverageRmsOverVoltageCounterPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsOverVoltageCounterPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletion:") + public native void readAttributeAverageRmsUnderVoltageCounterPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAverageRmsUnderVoltageCounterPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletion:") + public native void readAttributeRmsExtremeOverVoltagePeriodPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeOverVoltagePeriodPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletion:") + public native void readAttributeRmsExtremeUnderVoltagePeriodPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseCWithCompletion:") + public native void readAttributeRmsVoltageSagPeriodPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSagPeriodPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSagPeriodPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseCWithCompletion:") + public native void readAttributeRmsVoltageSwellPeriodPhaseC(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRmsVoltageSwellPeriodPhaseCWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRmsVoltageSwellPeriodPhaseC(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasurementTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasurementType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcVoltageMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcVoltageMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcCurrentMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcCurrentMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcPower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcPowerMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcPowerMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcVoltageMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcVoltageDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcVoltageDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcCurrentMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcCurrentDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcCurrentDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcPowerMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDcPowerDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDcPowerDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcFrequency(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcFrequencyMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcFrequencyMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNeutralCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNeutralCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalActivePowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTotalActivePower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalReactivePowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTotalReactivePower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalApparentPowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTotalApparentPower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured1stHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured1stHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured3rdHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured3rdHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured5thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured5thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured7thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured7thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured9thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured9thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasured11thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasured11thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase1stHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase1stHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase3rdHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase3rdHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase5thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase5thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase7thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase7thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase9thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase9thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredPhase11thHarmonicCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredPhase11thHarmonicCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcFrequencyMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcFrequencyDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcFrequencyDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePowerMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePowerDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHarmonicCurrentMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHarmonicCurrentMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhaseHarmonicCurrentMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhaseHarmonicCurrentMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstantaneousVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousLineCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstantaneousLineCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousActiveCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstantaneousActiveCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousReactiveCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstantaneousReactiveCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstantaneousPowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstantaneousPower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReactivePower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApparentPower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePowerFactor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsVoltageMeasurementPeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsUnderVoltageCounter(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeOverVoltagePeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeUnderVoltagePeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSagPeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSwellPeriod(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcVoltageMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcVoltageDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcCurrentMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcCurrentDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcPowerMultiplierWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcPowerMultiplier(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcPowerDivisorWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcPowerDivisor(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverloadAlarmsMaskWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOverloadAlarmsMask(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVoltageOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVoltageOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcOverloadAlarmsMaskWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcOverloadAlarmsMask(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcVoltageOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcVoltageOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcCurrentOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcCurrentOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcActivePowerOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcActivePowerOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcReactivePowerOverloadWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcReactivePowerOverload(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsOverVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsUnderVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeOverVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeUnderVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSag(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSwell(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLineCurrentPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveCurrentPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReactiveCurrentPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltagePhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMinPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMaxPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMinPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMaxPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMinPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMaxPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReactivePowerPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApparentPowerPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePowerFactorPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsVoltageMeasurementPeriodPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsOverVoltageCounterPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsUnderVoltageCounterPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeOverVoltagePeriodPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeUnderVoltagePeriodPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSagPeriodPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseBWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSwellPeriodPhaseB(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLineCurrentPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveCurrentPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReactiveCurrentPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltagePhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMinPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageMaxPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMinPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsCurrentMaxPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMinPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActivePowerMaxPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeReactivePowerPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeApparentPowerPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePowerFactorPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsVoltageMeasurementPeriodPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsOverVoltageCounterPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAverageRmsUnderVoltageCounterPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeOverVoltagePeriodPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsExtremeUnderVoltagePeriodPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSagPeriodPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseCWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRmsVoltageSwellPeriodPhaseC(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterEthernetNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterEthernetNetworkDiagnostics.java new file mode 100644 index 000000000..ecc9fd635 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterEthernetNetworkDiagnostics.java @@ -0,0 +1,289 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterEthernetNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterEthernetNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterEthernetNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterEthernetNetworkDiagnostics() {} + protected MTRBaseClusterEthernetNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterEthernetNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterEthernetNetworkDiagnostics(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:completion:") + public native void resetCounts(MTREthernetNetworkDiagnosticsClusterResetCountsParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithCompletion:") + public native void resetCounts(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePHYRateWithCompletion:") + public native void readAttributePHYRate(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePHYRateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePHYRate(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFullDuplexWithCompletion:") + public native void readAttributeFullDuplex(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFullDuplexWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFullDuplex(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketRxCountWithCompletion:") + public native void readAttributePacketRxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketRxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketRxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketTxCountWithCompletion:") + public native void readAttributePacketTxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketTxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketTxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrCountWithCompletion:") + public native void readAttributeTxErrCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxErrCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxErrCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCollisionCountWithCompletion:") + public native void readAttributeCollisionCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCollisionCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCollisionCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithCompletion:") + public native void readAttributeOverrunCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOverrunCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOverrunCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCarrierDetectWithCompletion:") + public native void readAttributeCarrierDetect(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCarrierDetectWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCarrierDetect(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTimeSinceResetWithCompletion:") + public native void readAttributeTimeSinceReset(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTimeSinceResetWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTimeSinceReset(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePHYRateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePHYRate(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFullDuplexWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFullDuplex(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketRxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketRxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketTxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketTxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxErrCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCollisionCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCollisionCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOverrunCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCarrierDetectWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCarrierDetect(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTimeSinceResetWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTimeSinceReset(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFanControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFanControl.java new file mode 100644 index 000000000..8177479dd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFanControl.java @@ -0,0 +1,369 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterFanControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterFanControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterFanControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterFanControl() {} + protected MTRBaseClusterFanControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterFanControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterFanControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFanModeWithCompletion:") + public native void readAttributeFanMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFanModeWithValue:completion:") + public native void writeAttributeFanMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFanModeWithValue:params:completion:") + public native void writeAttributeFanMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFanModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFanMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFanModeSequenceWithCompletion:") + public native void readAttributeFanModeSequence(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFanModeSequenceWithValue:completion:") + public native void writeAttributeFanModeSequence(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFanModeSequenceWithValue:params:completion:") + public native void writeAttributeFanModeSequence(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFanModeSequenceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFanModeSequence(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePercentSettingWithCompletion:") + public native void readAttributePercentSetting(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePercentSettingWithValue:completion:") + public native void writeAttributePercentSetting(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePercentSettingWithValue:params:completion:") + public native void writeAttributePercentSetting(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePercentSettingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePercentSetting(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePercentCurrentWithCompletion:") + public native void readAttributePercentCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePercentCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePercentCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedMaxWithCompletion:") + public native void readAttributeSpeedMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSpeedMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSpeedMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedSettingWithCompletion:") + public native void readAttributeSpeedSetting(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSpeedSettingWithValue:completion:") + public native void writeAttributeSpeedSetting(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSpeedSettingWithValue:params:completion:") + public native void writeAttributeSpeedSetting(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSpeedSettingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSpeedSetting(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedCurrentWithCompletion:") + public native void readAttributeSpeedCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSpeedCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSpeedCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRockSupportWithCompletion:") + public native void readAttributeRockSupport(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRockSupportWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRockSupport(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRockSettingWithCompletion:") + public native void readAttributeRockSetting(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRockSettingWithValue:completion:") + public native void writeAttributeRockSetting(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRockSettingWithValue:params:completion:") + public native void writeAttributeRockSetting(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRockSettingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRockSetting(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindSupportWithCompletion:") + public native void readAttributeWindSupport(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWindSupportWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWindSupport(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindSettingWithCompletion:") + public native void readAttributeWindSetting(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWindSettingWithValue:completion:") + public native void writeAttributeWindSetting(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWindSettingWithValue:params:completion:") + public native void writeAttributeWindSetting(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWindSettingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWindSetting(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFanModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFanMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFanModeSequenceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFanModeSequence(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePercentSettingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePercentSetting(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePercentCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePercentCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSpeedMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedSettingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSpeedSetting(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSpeedCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRockSupportWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRockSupport(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRockSettingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRockSetting(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindSupportWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWindSupport(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWindSettingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWindSetting(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFixedLabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFixedLabel.java new file mode 100644 index 000000000..3f28bac2e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFixedLabel.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterFixedLabel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterFixedLabelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterFixedLabel.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterFixedLabel() {} + protected MTRBaseClusterFixedLabel(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterFixedLabel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterFixedLabel(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLabelListWithCompletion:") + public native void readAttributeLabelList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLabelListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLabelList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLabelListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLabelList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFlowMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFlowMeasurement.java new file mode 100644 index 000000000..c42d1494d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterFlowMeasurement.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterFlowMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterFlowMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterFlowMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterFlowMeasurement() {} + protected MTRBaseClusterFlowMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterFlowMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterFlowMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithCompletion:") + public native void readAttributeMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithCompletion:") + public native void readAttributeMinMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithCompletion:") + public native void readAttributeMaxMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithCompletion:") + public native void readAttributeTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralCommissioning.java new file mode 100644 index 000000000..e066f395f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralCommissioning.java @@ -0,0 +1,249 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterGeneralCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterGeneralCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterGeneralCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterGeneralCommissioning() {} + protected MTRBaseClusterGeneralCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterGeneralCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterGeneralCommissioning(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "armFailSafeWithParams:completion:") + public native void armFailSafe(MTRGeneralCommissioningClusterArmFailSafeParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setRegulatoryConfigWithParams:completion:") + public native void setRegulatoryConfig(MTRGeneralCommissioningClusterSetRegulatoryConfigParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commissioningCompleteWithParams:completion:") + public native void commissioningComplete(MTRGeneralCommissioningClusterCommissioningCompleteParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commissioningCompleteWithCompletion:") + public native void commissioningComplete(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBreadcrumbWithCompletion:") + public native void readAttributeBreadcrumb(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBreadcrumbWithValue:completion:") + public native void writeAttributeBreadcrumb(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBreadcrumbWithValue:params:completion:") + public native void writeAttributeBreadcrumb(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBreadcrumbWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBreadcrumb(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBasicCommissioningInfoWithCompletion:") + public native void readAttributeBasicCommissioningInfo(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBasicCommissioningInfoWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBasicCommissioningInfo(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRegulatoryConfigWithCompletion:") + public native void readAttributeRegulatoryConfig(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRegulatoryConfigWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRegulatoryConfig(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocationCapabilityWithCompletion:") + public native void readAttributeLocationCapability(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocationCapabilityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocationCapability(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportsConcurrentConnectionWithCompletion:") + public native void readAttributeSupportsConcurrentConnection(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportsConcurrentConnectionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportsConcurrentConnection(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBreadcrumbWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBreadcrumb(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBasicCommissioningInfoWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBasicCommissioningInfo(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRegulatoryConfigWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRegulatoryConfig(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocationCapabilityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocationCapability(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportsConcurrentConnectionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportsConcurrentConnection(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralDiagnostics.java new file mode 100644 index 000000000..d28f495ee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGeneralDiagnostics.java @@ -0,0 +1,284 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterGeneralDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterGeneralDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterGeneralDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterGeneralDiagnostics() {} + protected MTRBaseClusterGeneralDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterGeneralDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterGeneralDiagnostics(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEventTriggerWithParams:completion:") + public native void testEventTrigger(MTRGeneralDiagnosticsClusterTestEventTriggerParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworkInterfacesWithCompletion:") + public native void readAttributeNetworkInterfaces(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNetworkInterfacesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNetworkInterfaces(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRebootCountWithCompletion:") + public native void readAttributeRebootCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRebootCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRebootCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpTimeWithCompletion:") + public native void readAttributeUpTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUpTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUpTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalOperationalHoursWithCompletion:") + public native void readAttributeTotalOperationalHours(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTotalOperationalHoursWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTotalOperationalHours(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBootReasonWithCompletion:") + public native void readAttributeBootReason(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBootReasonWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBootReason(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveHardwareFaultsWithCompletion:") + public native void readAttributeActiveHardwareFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveHardwareFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveHardwareFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveRadioFaultsWithCompletion:") + public native void readAttributeActiveRadioFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveRadioFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveRadioFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsWithCompletion:") + public native void readAttributeActiveNetworkFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveNetworkFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveNetworkFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTestEventTriggersEnabledWithCompletion:") + public native void readAttributeTestEventTriggersEnabled(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTestEventTriggersEnabledWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTestEventTriggersEnabled(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworkInterfacesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNetworkInterfaces(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRebootCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRebootCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUpTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTotalOperationalHoursWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTotalOperationalHours(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBootReasonWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBootReason(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveHardwareFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveHardwareFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveRadioFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveRadioFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveNetworkFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTestEventTriggersEnabledWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTestEventTriggersEnabled(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroupKeyManagement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroupKeyManagement.java new file mode 100644 index 000000000..c67b2dc26 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroupKeyManagement.java @@ -0,0 +1,239 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterGroupKeyManagement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterGroupKeyManagementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterGroupKeyManagement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterGroupKeyManagement() {} + protected MTRBaseClusterGroupKeyManagement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterGroupKeyManagement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterGroupKeyManagement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetWriteWithParams:completion:") + public native void keySetWrite(MTRGroupKeyManagementClusterKeySetWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetReadWithParams:completion:") + public native void keySetRead(MTRGroupKeyManagementClusterKeySetReadParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetRemoveWithParams:completion:") + public native void keySetRemove(MTRGroupKeyManagementClusterKeySetRemoveParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetReadAllIndicesWithParams:completion:") + public native void keySetReadAllIndices(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "keySetReadAllIndicesWithCompletion:") + public native void keySetReadAllIndices(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGroupKeyMapWithParams:completion:") + public native void readAttributeGroupKeyMap(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGroupKeyMapWithValue:completion:") + public native void writeAttributeGroupKeyMap(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGroupKeyMapWithValue:params:completion:") + public native void writeAttributeGroupKeyMap(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGroupKeyMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGroupKeyMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGroupTableWithParams:completion:") + public native void readAttributeGroupTable(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGroupTableWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGroupTable(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxGroupsPerFabricWithCompletion:") + public native void readAttributeMaxGroupsPerFabric(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxGroupsPerFabricWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxGroupsPerFabric(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxGroupKeysPerFabricWithCompletion:") + public native void readAttributeMaxGroupKeysPerFabric(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxGroupKeysPerFabricWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxGroupKeysPerFabric(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGroupKeyMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGroupKeyMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGroupTableWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGroupTable(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxGroupsPerFabricWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxGroupsPerFabric(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxGroupKeysPerFabricWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxGroupKeysPerFabric(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroups.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroups.java new file mode 100644 index 000000000..c1814371e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterGroups.java @@ -0,0 +1,194 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterGroups/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterGroupsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterGroups.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterGroups() {} + protected MTRBaseClusterGroups(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterGroups(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterGroups(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addGroupWithParams:completion:") + public native void addGroup(MTRGroupsClusterAddGroupParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "viewGroupWithParams:completion:") + public native void viewGroup(MTRGroupsClusterViewGroupParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getGroupMembershipWithParams:completion:") + public native void getGroupMembership(MTRGroupsClusterGetGroupMembershipParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeGroupWithParams:completion:") + public native void removeGroup(MTRGroupsClusterRemoveGroupParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllGroupsWithParams:completion:") + public native void removeAllGroups(MTRGroupsClusterRemoveAllGroupsParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllGroupsWithCompletion:") + public native void removeAllGroups(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addGroupIfIdentifyingWithParams:completion:") + public native void addGroupIfIdentifying(MTRGroupsClusterAddGroupIfIdentifyingParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNameSupportWithCompletion:") + public native void readAttributeNameSupport(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNameSupportWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNameSupport(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNameSupportWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNameSupport(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIdentify.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIdentify.java new file mode 100644 index 000000000..1f0de7915 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIdentify.java @@ -0,0 +1,194 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterIdentify/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterIdentifyPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterIdentify.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterIdentify() {} + protected MTRBaseClusterIdentify(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterIdentify(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterIdentify(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "identifyWithParams:completion:") + public native void identify(MTRIdentifyClusterIdentifyParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "triggerEffectWithParams:completion:") + public native void triggerEffect(MTRIdentifyClusterTriggerEffectParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIdentifyTimeWithCompletion:") + public native void readAttributeIdentifyTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIdentifyTimeWithValue:completion:") + public native void writeAttributeIdentifyTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIdentifyTimeWithValue:params:completion:") + public native void writeAttributeIdentifyTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeIdentifyTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeIdentifyTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIdentifyTypeWithCompletion:") + public native void readAttributeIdentifyType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeIdentifyTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeIdentifyType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIdentifyTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeIdentifyTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIdentifyTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeIdentifyType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIlluminanceMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIlluminanceMeasurement.java new file mode 100644 index 000000000..3626530ac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterIlluminanceMeasurement.java @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterIlluminanceMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterIlluminanceMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterIlluminanceMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterIlluminanceMeasurement() {} + protected MTRBaseClusterIlluminanceMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterIlluminanceMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterIlluminanceMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithCompletion:") + public native void readAttributeMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithCompletion:") + public native void readAttributeMinMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithCompletion:") + public native void readAttributeMaxMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithCompletion:") + public native void readAttributeTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLightSensorTypeWithCompletion:") + public native void readAttributeLightSensorType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLightSensorTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLightSensorType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLightSensorTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLightSensorType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterKeypadInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterKeypadInput.java new file mode 100644 index 000000000..7b1f7a2a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterKeypadInput.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterKeypadInput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterKeypadInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterKeypadInput.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterKeypadInput() {} + protected MTRBaseClusterKeypadInput(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterKeypadInput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterKeypadInput(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sendKeyWithParams:completion:") + public native void sendKey(MTRKeypadInputClusterSendKeyParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLevelControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLevelControl.java new file mode 100644 index 000000000..14c61d85d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLevelControl.java @@ -0,0 +1,469 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterLevelControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterLevelControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterLevelControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterLevelControl() {} + protected MTRBaseClusterLevelControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterLevelControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterLevelControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToLevelWithParams:completion:") + public native void moveToLevel(MTRLevelControlClusterMoveToLevelParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveWithParams:completion:") + public native void move(MTRLevelControlClusterMoveParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepWithParams:completion:") + public native void step(MTRLevelControlClusterStepParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithParams:completion:") + public native void stop(MTRLevelControlClusterStopParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToLevelWithOnOffWithParams:completion:") + public native void moveToLevelWithOnOff(MTRLevelControlClusterMoveToLevelWithOnOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveWithOnOffWithParams:completion:") + public native void moveWithOnOff(MTRLevelControlClusterMoveWithOnOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepWithOnOffWithParams:completion:") + public native void stepWithOnOff(MTRLevelControlClusterStepWithOnOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithOnOffWithParams:completion:") + public native void stopWithOnOff(MTRLevelControlClusterStopWithOnOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToClosestFrequencyWithParams:completion:") + public native void moveToClosestFrequency(MTRLevelControlClusterMoveToClosestFrequencyParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentLevelWithCompletion:") + public native void readAttributeCurrentLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithCompletion:") + public native void readAttributeRemainingTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRemainingTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRemainingTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinLevelWithCompletion:") + public native void readAttributeMinLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxLevelWithCompletion:") + public native void readAttributeMaxLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentFrequencyWithCompletion:") + public native void readAttributeCurrentFrequency(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentFrequencyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentFrequency(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinFrequencyWithCompletion:") + public native void readAttributeMinFrequency(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinFrequencyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinFrequency(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxFrequencyWithCompletion:") + public native void readAttributeMaxFrequency(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxFrequencyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxFrequency(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOptionsWithCompletion:") + public native void readAttributeOptions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:completion:") + public native void writeAttributeOptions(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:params:completion:") + public native void writeAttributeOptions(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOptionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOptions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnOffTransitionTimeWithCompletion:") + public native void readAttributeOnOffTransitionTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnOffTransitionTimeWithValue:completion:") + public native void writeAttributeOnOffTransitionTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnOffTransitionTimeWithValue:params:completion:") + public native void writeAttributeOnOffTransitionTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnOffTransitionTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnOffTransitionTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnLevelWithCompletion:") + public native void readAttributeOnLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnLevelWithValue:completion:") + public native void writeAttributeOnLevel(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnLevelWithValue:params:completion:") + public native void writeAttributeOnLevel(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnTransitionTimeWithCompletion:") + public native void readAttributeOnTransitionTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnTransitionTimeWithValue:completion:") + public native void writeAttributeOnTransitionTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnTransitionTimeWithValue:params:completion:") + public native void writeAttributeOnTransitionTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnTransitionTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnTransitionTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOffTransitionTimeWithCompletion:") + public native void readAttributeOffTransitionTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOffTransitionTimeWithValue:completion:") + public native void writeAttributeOffTransitionTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOffTransitionTimeWithValue:params:completion:") + public native void writeAttributeOffTransitionTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOffTransitionTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOffTransitionTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultMoveRateWithCompletion:") + public native void readAttributeDefaultMoveRate(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultMoveRateWithValue:completion:") + public native void writeAttributeDefaultMoveRate(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultMoveRateWithValue:params:completion:") + public native void writeAttributeDefaultMoveRate(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDefaultMoveRateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDefaultMoveRate(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpCurrentLevelWithCompletion:") + public native void readAttributeStartUpCurrentLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpCurrentLevelWithValue:completion:") + public native void writeAttributeStartUpCurrentLevel(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpCurrentLevelWithValue:params:completion:") + public native void writeAttributeStartUpCurrentLevel(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartUpCurrentLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartUpCurrentLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRemainingTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentFrequencyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentFrequency(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinFrequencyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinFrequency(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxFrequencyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxFrequency(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOptionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOptions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnOffTransitionTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnOffTransitionTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnTransitionTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnTransitionTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOffTransitionTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOffTransitionTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultMoveRateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDefaultMoveRate(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpCurrentLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartUpCurrentLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLocalizationConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLocalizationConfiguration.java new file mode 100644 index 000000000..ed53c0eff --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLocalizationConfiguration.java @@ -0,0 +1,184 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterLocalizationConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterLocalizationConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterLocalizationConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterLocalizationConfiguration() {} + protected MTRBaseClusterLocalizationConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterLocalizationConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterLocalizationConfiguration(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveLocaleWithCompletion:") + public native void readAttributeActiveLocale(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveLocaleWithValue:completion:") + public native void writeAttributeActiveLocale(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveLocaleWithValue:params:completion:") + public native void writeAttributeActiveLocale(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveLocaleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveLocale(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedLocalesWithCompletion:") + public native void readAttributeSupportedLocales(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedLocalesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedLocales(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveLocaleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveLocale(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedLocalesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedLocales(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLowPower.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLowPower.java new file mode 100644 index 000000000..9e83940ee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterLowPower.java @@ -0,0 +1,154 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterLowPower/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterLowPowerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterLowPower.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterLowPower() {} + protected MTRBaseClusterLowPower(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterLowPower(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterLowPower(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sleepWithParams:completion:") + public native void sleep(MTRLowPowerClusterSleepParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sleepWithCompletion:") + public native void sleep(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaInput.java new file mode 100644 index 000000000..e4c559c0f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaInput.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterMediaInput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterMediaInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterMediaInput.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterMediaInput() {} + protected MTRBaseClusterMediaInput(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterMediaInput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterMediaInput(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "selectInputWithParams:completion:") + public native void selectInput(MTRMediaInputClusterSelectInputParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "showInputStatusWithParams:completion:") + public native void showInputStatus(MTRMediaInputClusterShowInputStatusParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "showInputStatusWithCompletion:") + public native void showInputStatus(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideInputStatusWithParams:completion:") + public native void hideInputStatus(MTRMediaInputClusterHideInputStatusParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideInputStatusWithCompletion:") + public native void hideInputStatus(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "renameInputWithParams:completion:") + public native void renameInput(MTRMediaInputClusterRenameInputParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInputListWithCompletion:") + public native void readAttributeInputList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInputListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInputList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentInputWithCompletion:") + public native void readAttributeCurrentInput(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentInputWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentInput(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInputListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInputList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentInputWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentInput(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaPlayback.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaPlayback.java new file mode 100644 index 000000000..f4f157a5b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterMediaPlayback.java @@ -0,0 +1,344 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterMediaPlayback/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterMediaPlaybackPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterMediaPlayback.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterMediaPlayback() {} + protected MTRBaseClusterMediaPlayback(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterMediaPlayback(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterMediaPlayback(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "playWithParams:completion:") + public native void play(MTRMediaPlaybackClusterPlayParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "playWithCompletion:") + public native void play(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseWithParams:completion:") + public native void pause(MTRMediaPlaybackClusterPauseParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseWithCompletion:") + public native void pause(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithParams:completion:") + public native void stop(MTRMediaPlaybackClusterStopParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithCompletion:") + public native void stop(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startOverWithParams:completion:") + public native void startOver(MTRMediaPlaybackClusterStartOverParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startOverWithCompletion:") + public native void startOver(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "previousWithParams:completion:") + public native void previous(MTRMediaPlaybackClusterPreviousParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "previousWithCompletion:") + public native void previous(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "nextWithParams:completion:") + public native void next(MTRMediaPlaybackClusterNextParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "nextWithCompletion:") + public native void next(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "rewindWithParams:completion:") + public native void rewind(MTRMediaPlaybackClusterRewindParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "rewindWithCompletion:") + public native void rewind(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "fastForwardWithParams:completion:") + public native void fastForward(MTRMediaPlaybackClusterFastForwardParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "fastForwardWithCompletion:") + public native void fastForward(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipForwardWithParams:completion:") + public native void skipForward(MTRMediaPlaybackClusterSkipForwardParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipBackwardWithParams:completion:") + public native void skipBackward(MTRMediaPlaybackClusterSkipBackwardParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "seekWithParams:completion:") + public native void seek(MTRMediaPlaybackClusterSeekParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentStateWithCompletion:") + public native void readAttributeCurrentState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartTimeWithCompletion:") + public native void readAttributeStartTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDurationWithCompletion:") + public native void readAttributeDuration(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDurationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDuration(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSampledPositionWithCompletion:") + public native void readAttributeSampledPosition(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSampledPositionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSampledPosition(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePlaybackSpeedWithCompletion:") + public native void readAttributePlaybackSpeed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePlaybackSpeedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePlaybackSpeed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSeekRangeEndWithCompletion:") + public native void readAttributeSeekRangeEnd(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSeekRangeEndWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSeekRangeEnd(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSeekRangeStartWithCompletion:") + public native void readAttributeSeekRangeStart(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSeekRangeStartWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSeekRangeStart(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDurationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDuration(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSampledPositionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSampledPosition(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePlaybackSpeedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePlaybackSpeed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSeekRangeEndWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSeekRangeEnd(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSeekRangeStartWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSeekRangeStart(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterModeSelect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterModeSelect.java new file mode 100644 index 000000000..8cf0c2d74 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterModeSelect.java @@ -0,0 +1,259 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterModeSelect/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterModeSelectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterModeSelect.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterModeSelect() {} + protected MTRBaseClusterModeSelect(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterModeSelect(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterModeSelect(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeToModeWithParams:completion:") + public native void changeToMode(MTRModeSelectClusterChangeToModeParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithCompletion:") + public native void readAttributeDescription(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDescriptionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDescription(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStandardNamespaceWithCompletion:") + public native void readAttributeStandardNamespace(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStandardNamespaceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStandardNamespace(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedModesWithCompletion:") + public native void readAttributeSupportedModes(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedModesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedModes(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentModeWithCompletion:") + public native void readAttributeCurrentMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpModeWithCompletion:") + public native void readAttributeStartUpMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpModeWithValue:completion:") + public native void writeAttributeStartUpMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpModeWithValue:params:completion:") + public native void writeAttributeStartUpMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartUpModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartUpMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnModeWithCompletion:") + public native void readAttributeOnMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnModeWithValue:completion:") + public native void writeAttributeOnMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnModeWithValue:params:completion:") + public native void writeAttributeOnMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDescription(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStandardNamespaceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStandardNamespace(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedModesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedModes(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartUpMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterNetworkCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterNetworkCommissioning.java new file mode 100644 index 000000000..e005c40fb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterNetworkCommissioning.java @@ -0,0 +1,304 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterNetworkCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterNetworkCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterNetworkCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterNetworkCommissioning() {} + protected MTRBaseClusterNetworkCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterNetworkCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterNetworkCommissioning(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "scanNetworksWithParams:completion:") + public native void scanNetworks(MTRNetworkCommissioningClusterScanNetworksParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addOrUpdateWiFiNetworkWithParams:completion:") + public native void addOrUpdateWiFiNetwork(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addOrUpdateThreadNetworkWithParams:completion:") + public native void addOrUpdateThreadNetwork(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeNetworkWithParams:completion:") + public native void removeNetwork(MTRNetworkCommissioningClusterRemoveNetworkParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "connectNetworkWithParams:completion:") + public native void connectNetwork(MTRNetworkCommissioningClusterConnectNetworkParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "reorderNetworkWithParams:completion:") + public native void reorderNetwork(MTRNetworkCommissioningClusterReorderNetworkParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxNetworksWithCompletion:") + public native void readAttributeMaxNetworks(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxNetworksWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxNetworks(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworksWithCompletion:") + public native void readAttributeNetworks(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNetworksWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNetworks(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScanMaxTimeSecondsWithCompletion:") + public native void readAttributeScanMaxTimeSeconds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeScanMaxTimeSecondsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeScanMaxTimeSeconds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeConnectMaxTimeSecondsWithCompletion:") + public native void readAttributeConnectMaxTimeSeconds(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeConnectMaxTimeSecondsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeConnectMaxTimeSeconds(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInterfaceEnabledWithCompletion:") + public native void readAttributeInterfaceEnabled(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInterfaceEnabledWithValue:completion:") + public native void writeAttributeInterfaceEnabled(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInterfaceEnabledWithValue:params:completion:") + public native void writeAttributeInterfaceEnabled(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInterfaceEnabledWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInterfaceEnabled(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastNetworkingStatusWithCompletion:") + public native void readAttributeLastNetworkingStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLastNetworkingStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLastNetworkingStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastNetworkIDWithCompletion:") + public native void readAttributeLastNetworkID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLastNetworkIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLastNetworkID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastConnectErrorValueWithCompletion:") + public native void readAttributeLastConnectErrorValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLastConnectErrorValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLastConnectErrorValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxNetworksWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxNetworks(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworksWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNetworks(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScanMaxTimeSecondsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeScanMaxTimeSeconds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeConnectMaxTimeSecondsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeConnectMaxTimeSeconds(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInterfaceEnabledWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInterfaceEnabled(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastNetworkingStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLastNetworkingStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastNetworkIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLastNetworkID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastConnectErrorValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLastConnectErrorValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateProvider.java new file mode 100644 index 000000000..56ec49df9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateProvider.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOTASoftwareUpdateProvider/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOTASoftwareUpdateProviderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOTASoftwareUpdateProvider.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOTASoftwareUpdateProvider() {} + protected MTRBaseClusterOTASoftwareUpdateProvider(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOTASoftwareUpdateProvider(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOTASoftwareUpdateProvider(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "queryImageWithParams:completion:") + public native void queryImage(MTROTASoftwareUpdateProviderClusterQueryImageParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "applyUpdateRequestWithParams:completion:") + public native void applyUpdateRequest(MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "notifyUpdateAppliedWithParams:completion:") + public native void notifyUpdateApplied(MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateRequestor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateRequestor.java new file mode 100644 index 000000000..0651222f3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOTASoftwareUpdateRequestor.java @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOTASoftwareUpdateRequestor/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOTASoftwareUpdateRequestorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOTASoftwareUpdateRequestor.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOTASoftwareUpdateRequestor() {} + protected MTRBaseClusterOTASoftwareUpdateRequestor(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOTASoftwareUpdateRequestor(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOTASoftwareUpdateRequestor(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "announceOTAProviderWithParams:completion:") + public native void announceOTAProvider(MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultOTAProvidersWithParams:completion:") + public native void readAttributeDefaultOTAProviders(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultOTAProvidersWithValue:completion:") + public native void writeAttributeDefaultOTAProviders(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultOTAProvidersWithValue:params:completion:") + public native void writeAttributeDefaultOTAProviders(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDefaultOTAProvidersWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDefaultOTAProviders(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdatePossibleWithCompletion:") + public native void readAttributeUpdatePossible(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUpdatePossibleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUpdatePossible(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateWithCompletion:") + public native void readAttributeUpdateState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUpdateStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUpdateState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateProgressWithCompletion:") + public native void readAttributeUpdateStateProgress(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUpdateStateProgressWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUpdateStateProgress(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultOTAProvidersWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDefaultOTAProviders(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdatePossibleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUpdatePossible(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUpdateState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateProgressWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUpdateStateProgress(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOccupancySensing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOccupancySensing.java new file mode 100644 index 000000000..855268d72 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOccupancySensing.java @@ -0,0 +1,414 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOccupancySensing/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOccupancySensingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOccupancySensing.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOccupancySensing() {} + protected MTRBaseClusterOccupancySensing(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOccupancySensing(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOccupancySensing(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancyWithCompletion:") + public native void readAttributeOccupancy(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupancyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupancy(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeWithCompletion:") + public native void readAttributeOccupancySensorType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupancySensorTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupancySensorType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeBitmapWithCompletion:") + public native void readAttributeOccupancySensorTypeBitmap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupancySensorTypeBitmapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupancySensorTypeBitmap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIROccupiedToUnoccupiedDelayWithCompletion:") + public native void readAttributePIROccupiedToUnoccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIROccupiedToUnoccupiedDelayWithValue:completion:") + public native void writeAttributePIROccupiedToUnoccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIROccupiedToUnoccupiedDelayWithValue:params:completion:") + public native void writeAttributePIROccupiedToUnoccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePIROccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePIROccupiedToUnoccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedDelayWithCompletion:") + public native void readAttributePIRUnoccupiedToOccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedDelayWithValue:completion:") + public native void writeAttributePIRUnoccupiedToOccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedDelayWithValue:params:completion:") + public native void writeAttributePIRUnoccupiedToOccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePIRUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePIRUnoccupiedToOccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedThresholdWithCompletion:") + public native void readAttributePIRUnoccupiedToOccupiedThreshold(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:completion:") + public native void writeAttributePIRUnoccupiedToOccupiedThreshold(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:params:completion:") + public native void writeAttributePIRUnoccupiedToOccupiedThreshold(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePIRUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePIRUnoccupiedToOccupiedThreshold(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletion:") + public native void readAttributeUltrasonicOccupiedToUnoccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:completion:") + public native void writeAttributeUltrasonicOccupiedToUnoccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:params:completion:") + public native void writeAttributeUltrasonicOccupiedToUnoccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUltrasonicOccupiedToUnoccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletion:") + public native void readAttributeUltrasonicUnoccupiedToOccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:completion:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:params:completion:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUltrasonicUnoccupiedToOccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletion:") + public native void readAttributeUltrasonicUnoccupiedToOccupiedThreshold(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:completion:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedThreshold(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:params:completion:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedThreshold(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUltrasonicUnoccupiedToOccupiedThreshold(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletion:") + public native void readAttributePhysicalContactOccupiedToUnoccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:completion:") + public native void writeAttributePhysicalContactOccupiedToUnoccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:params:completion:") + public native void writeAttributePhysicalContactOccupiedToUnoccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalContactOccupiedToUnoccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletion:") + public native void readAttributePhysicalContactUnoccupiedToOccupiedDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:completion:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedDelay(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:params:completion:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedDelay(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalContactUnoccupiedToOccupiedDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletion:") + public native void readAttributePhysicalContactUnoccupiedToOccupiedThreshold(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:completion:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedThreshold(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:params:completion:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedThreshold(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalContactUnoccupiedToOccupiedThreshold(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupancy(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupancySensorType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeBitmapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupancySensorTypeBitmap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIROccupiedToUnoccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePIROccupiedToUnoccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePIRUnoccupiedToOccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedThresholdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePIRUnoccupiedToOccupiedThreshold(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicOccupiedToUnoccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUltrasonicOccupiedToUnoccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUltrasonicUnoccupiedToOccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUltrasonicUnoccupiedToOccupiedThreshold(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactOccupiedToUnoccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalContactOccupiedToUnoccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalContactUnoccupiedToOccupiedDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalContactUnoccupiedToOccupiedThreshold(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOff.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOff.java new file mode 100644 index 000000000..a64fa6bd1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOff.java @@ -0,0 +1,299 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOnOff/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOnOffPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOnOff.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOnOff() {} + protected MTRBaseClusterOnOff(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOnOff(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOnOff(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithParams:completion:") + public native void off(MTROnOffClusterOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithCompletion:") + public native void off(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithParams:completion:") + public native void on(MTROnOffClusterOnParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithCompletion:") + public native void on(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "toggleWithParams:completion:") + public native void toggle(MTROnOffClusterToggleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "toggleWithCompletion:") + public native void toggle(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithEffectWithParams:completion:") + public native void offWithEffect(MTROnOffClusterOffWithEffectParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithRecallGlobalSceneWithParams:completion:") + public native void onWithRecallGlobalScene(MTROnOffClusterOnWithRecallGlobalSceneParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithRecallGlobalSceneWithCompletion:") + public native void onWithRecallGlobalScene(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithTimedOffWithParams:completion:") + public native void onWithTimedOff(MTROnOffClusterOnWithTimedOffParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnOffWithCompletion:") + public native void readAttributeOnOff(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnOffWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnOff(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGlobalSceneControlWithCompletion:") + public native void readAttributeGlobalSceneControl(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGlobalSceneControlWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGlobalSceneControl(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnTimeWithCompletion:") + public native void readAttributeOnTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnTimeWithValue:completion:") + public native void writeAttributeOnTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOnTimeWithValue:params:completion:") + public native void writeAttributeOnTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOnTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOnTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOffWaitTimeWithCompletion:") + public native void readAttributeOffWaitTime(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOffWaitTimeWithValue:completion:") + public native void writeAttributeOffWaitTime(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOffWaitTimeWithValue:params:completion:") + public native void writeAttributeOffWaitTime(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOffWaitTimeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOffWaitTime(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpOnOffWithCompletion:") + public native void readAttributeStartUpOnOff(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpOnOffWithValue:completion:") + public native void writeAttributeStartUpOnOff(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStartUpOnOffWithValue:params:completion:") + public native void writeAttributeStartUpOnOff(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartUpOnOffWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartUpOnOff(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnOffWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnOff(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGlobalSceneControlWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGlobalSceneControl(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOnTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOnTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOffWaitTimeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOffWaitTime(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartUpOnOffWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartUpOnOff(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOffSwitchConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOffSwitchConfiguration.java new file mode 100644 index 000000000..b7f0844c8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOnOffSwitchConfiguration.java @@ -0,0 +1,184 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOnOffSwitchConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOnOffSwitchConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOnOffSwitchConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOnOffSwitchConfiguration() {} + protected MTRBaseClusterOnOffSwitchConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOnOffSwitchConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOnOffSwitchConfiguration(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSwitchTypeWithCompletion:") + public native void readAttributeSwitchType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSwitchTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSwitchType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSwitchActionsWithCompletion:") + public native void readAttributeSwitchActions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSwitchActionsWithValue:completion:") + public native void writeAttributeSwitchActions(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSwitchActionsWithValue:params:completion:") + public native void writeAttributeSwitchActions(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSwitchActionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSwitchActions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSwitchTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSwitchType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSwitchActionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSwitchActions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOperationalCredentials.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOperationalCredentials.java new file mode 100644 index 000000000..85c002014 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterOperationalCredentials.java @@ -0,0 +1,274 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterOperationalCredentials/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterOperationalCredentialsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterOperationalCredentials.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterOperationalCredentials() {} + protected MTRBaseClusterOperationalCredentials(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterOperationalCredentials(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterOperationalCredentials(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "attestationRequestWithParams:completion:") + public native void attestationRequest(MTROperationalCredentialsClusterAttestationRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "certificateChainRequestWithParams:completion:") + public native void certificateChainRequest(MTROperationalCredentialsClusterCertificateChainRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "CSRRequestWithParams:completion:") + public native void CSRRequest(MTROperationalCredentialsClusterCSRRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addNOCWithParams:completion:") + public native void addNOC(MTROperationalCredentialsClusterAddNOCParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "updateNOCWithParams:completion:") + public native void updateNOC(MTROperationalCredentialsClusterUpdateNOCParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "updateFabricLabelWithParams:completion:") + public native void updateFabricLabel(MTROperationalCredentialsClusterUpdateFabricLabelParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeFabricWithParams:completion:") + public native void removeFabric(MTROperationalCredentialsClusterRemoveFabricParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addTrustedRootCertificateWithParams:completion:") + public native void addTrustedRootCertificate(MTROperationalCredentialsClusterAddTrustedRootCertificateParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNOCsWithParams:completion:") + public native void readAttributeNOCs(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNOCsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNOCs(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFabricsWithParams:completion:") + public native void readAttributeFabrics(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFabricsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFabrics(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedFabricsWithCompletion:") + public native void readAttributeSupportedFabrics(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedFabricsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedFabrics(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCommissionedFabricsWithCompletion:") + public native void readAttributeCommissionedFabrics(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCommissionedFabricsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCommissionedFabrics(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTrustedRootCertificatesWithCompletion:") + public native void readAttributeTrustedRootCertificates(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTrustedRootCertificatesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTrustedRootCertificates(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentFabricIndexWithCompletion:") + public native void readAttributeCurrentFabricIndex(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentFabricIndexWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentFabricIndex(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNOCsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNOCs(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFabricsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFabrics(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedFabricsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedFabrics(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCommissionedFabricsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCommissionedFabrics(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTrustedRootCertificatesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTrustedRootCertificates(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentFabricIndexWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentFabricIndex(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSource.java new file mode 100644 index 000000000..08b25e663 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSource.java @@ -0,0 +1,609 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterPowerSource/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterPowerSourcePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterPowerSource.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterPowerSource() {} + protected MTRBaseClusterPowerSource(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterPowerSource(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterPowerSource(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusWithCompletion:") + public native void readAttributeStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOrderWithCompletion:") + public native void readAttributeOrder(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOrderWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOrder(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithCompletion:") + public native void readAttributeDescription(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDescriptionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDescription(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputVoltageWithCompletion:") + public native void readAttributeWiredAssessedInputVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredAssessedInputVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredAssessedInputVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputFrequencyWithCompletion:") + public native void readAttributeWiredAssessedInputFrequency(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredAssessedInputFrequencyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredAssessedInputFrequency(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredCurrentTypeWithCompletion:") + public native void readAttributeWiredCurrentType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredCurrentTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredCurrentType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedCurrentWithCompletion:") + public native void readAttributeWiredAssessedCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredAssessedCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredAssessedCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredNominalVoltageWithCompletion:") + public native void readAttributeWiredNominalVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredNominalVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredNominalVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredMaximumCurrentWithCompletion:") + public native void readAttributeWiredMaximumCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredMaximumCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredMaximumCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredPresentWithCompletion:") + public native void readAttributeWiredPresent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiredPresentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiredPresent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveWiredFaultsWithCompletion:") + public native void readAttributeActiveWiredFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveWiredFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveWiredFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatVoltageWithCompletion:") + public native void readAttributeBatVoltage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatVoltageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatVoltage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatPercentRemainingWithCompletion:") + public native void readAttributeBatPercentRemaining(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatPercentRemainingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatPercentRemaining(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatTimeRemainingWithCompletion:") + public native void readAttributeBatTimeRemaining(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatTimeRemainingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatTimeRemaining(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargeLevelWithCompletion:") + public native void readAttributeBatChargeLevel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatChargeLevelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatChargeLevel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplacementNeededWithCompletion:") + public native void readAttributeBatReplacementNeeded(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatReplacementNeededWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatReplacementNeeded(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplaceabilityWithCompletion:") + public native void readAttributeBatReplaceability(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatReplaceabilityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatReplaceability(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatPresentWithCompletion:") + public native void readAttributeBatPresent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatPresentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatPresent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveBatFaultsWithCompletion:") + public native void readAttributeActiveBatFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveBatFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveBatFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplacementDescriptionWithCompletion:") + public native void readAttributeBatReplacementDescription(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatReplacementDescriptionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatReplacementDescription(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatCommonDesignationWithCompletion:") + public native void readAttributeBatCommonDesignation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatCommonDesignationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatCommonDesignation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatANSIDesignationWithCompletion:") + public native void readAttributeBatANSIDesignation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatANSIDesignationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatANSIDesignation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatIECDesignationWithCompletion:") + public native void readAttributeBatIECDesignation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatIECDesignationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatIECDesignation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatApprovedChemistryWithCompletion:") + public native void readAttributeBatApprovedChemistry(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatApprovedChemistryWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatApprovedChemistry(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatCapacityWithCompletion:") + public native void readAttributeBatCapacity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatCapacityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatCapacity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatQuantityWithCompletion:") + public native void readAttributeBatQuantity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatQuantityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatQuantity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargeStateWithCompletion:") + public native void readAttributeBatChargeState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatChargeStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatChargeState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatTimeToFullChargeWithCompletion:") + public native void readAttributeBatTimeToFullCharge(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatTimeToFullChargeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatTimeToFullCharge(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatFunctionalWhileChargingWithCompletion:") + public native void readAttributeBatFunctionalWhileCharging(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatFunctionalWhileChargingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatFunctionalWhileCharging(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargingCurrentWithCompletion:") + public native void readAttributeBatChargingCurrent(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBatChargingCurrentWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBatChargingCurrent(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveBatChargeFaultsWithCompletion:") + public native void readAttributeActiveBatChargeFaults(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveBatChargeFaultsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveBatChargeFaults(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOrderWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOrder(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDescriptionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDescription(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredAssessedInputVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputFrequencyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredAssessedInputFrequency(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredCurrentTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredCurrentType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredAssessedCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredAssessedCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredNominalVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredNominalVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredMaximumCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredMaximumCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiredPresentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiredPresent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveWiredFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveWiredFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatVoltageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatVoltage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatPercentRemainingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatPercentRemaining(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatTimeRemainingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatTimeRemaining(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargeLevelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatChargeLevel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplacementNeededWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatReplacementNeeded(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplaceabilityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatReplaceability(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatPresentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatPresent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveBatFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveBatFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatReplacementDescriptionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatReplacementDescription(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatCommonDesignationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatCommonDesignation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatANSIDesignationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatANSIDesignation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatIECDesignationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatIECDesignation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatApprovedChemistryWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatApprovedChemistry(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatCapacityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatCapacity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatQuantityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatQuantity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargeStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatChargeState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatTimeToFullChargeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatTimeToFullCharge(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatFunctionalWhileChargingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatFunctionalWhileCharging(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBatChargingCurrentWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBatChargingCurrent(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveBatChargeFaultsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveBatChargeFaults(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSourceConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSourceConfiguration.java new file mode 100644 index 000000000..a88a7d336 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPowerSourceConfiguration.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterPowerSourceConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterPowerSourceConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterPowerSourceConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterPowerSourceConfiguration() {} + protected MTRBaseClusterPowerSourceConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterPowerSourceConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterPowerSourceConfiguration(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSourcesWithCompletion:") + public native void readAttributeSources(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSourcesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSources(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSourcesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSources(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPressureMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPressureMeasurement.java new file mode 100644 index 000000000..55ef83129 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPressureMeasurement.java @@ -0,0 +1,279 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterPressureMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterPressureMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterPressureMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterPressureMeasurement() {} + protected MTRBaseClusterPressureMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterPressureMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterPressureMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithCompletion:") + public native void readAttributeMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithCompletion:") + public native void readAttributeMinMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithCompletion:") + public native void readAttributeMaxMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithCompletion:") + public native void readAttributeTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaledValueWithCompletion:") + public native void readAttributeScaledValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeScaledValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeScaledValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinScaledValueWithCompletion:") + public native void readAttributeMinScaledValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinScaledValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinScaledValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxScaledValueWithCompletion:") + public native void readAttributeMaxScaledValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxScaledValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxScaledValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaledToleranceWithCompletion:") + public native void readAttributeScaledTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeScaledToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeScaledTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaleWithCompletion:") + public native void readAttributeScale(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeScaleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeScale(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaledValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeScaledValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinScaledValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinScaledValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxScaledValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxScaledValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaledToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeScaledTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScaleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeScale(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPumpConfigurationAndControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPumpConfigurationAndControl.java new file mode 100644 index 000000000..b03ee013a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterPumpConfigurationAndControl.java @@ -0,0 +1,529 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterPumpConfigurationAndControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterPumpConfigurationAndControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterPumpConfigurationAndControl.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterPumpConfigurationAndControl() {} + protected MTRBaseClusterPumpConfigurationAndControl(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterPumpConfigurationAndControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterPumpConfigurationAndControl(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxPressureWithCompletion:") + public native void readAttributeMaxPressure(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxPressureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxPressure(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxSpeedWithCompletion:") + public native void readAttributeMaxSpeed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxSpeedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxSpeed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxFlowWithCompletion:") + public native void readAttributeMaxFlow(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxFlowWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxFlow(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstPressureWithCompletion:") + public native void readAttributeMinConstPressure(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinConstPressureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinConstPressure(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstPressureWithCompletion:") + public native void readAttributeMaxConstPressure(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxConstPressureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxConstPressure(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinCompPressureWithCompletion:") + public native void readAttributeMinCompPressure(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinCompPressureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinCompPressure(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxCompPressureWithCompletion:") + public native void readAttributeMaxCompPressure(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxCompPressureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxCompPressure(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstSpeedWithCompletion:") + public native void readAttributeMinConstSpeed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinConstSpeedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinConstSpeed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstSpeedWithCompletion:") + public native void readAttributeMaxConstSpeed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxConstSpeedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxConstSpeed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstFlowWithCompletion:") + public native void readAttributeMinConstFlow(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinConstFlowWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinConstFlow(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstFlowWithCompletion:") + public native void readAttributeMaxConstFlow(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxConstFlowWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxConstFlow(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstTempWithCompletion:") + public native void readAttributeMinConstTemp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinConstTempWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinConstTemp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstTempWithCompletion:") + public native void readAttributeMaxConstTemp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxConstTempWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxConstTemp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePumpStatusWithCompletion:") + public native void readAttributePumpStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePumpStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePumpStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEffectiveOperationModeWithCompletion:") + public native void readAttributeEffectiveOperationMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEffectiveOperationModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEffectiveOperationMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEffectiveControlModeWithCompletion:") + public native void readAttributeEffectiveControlMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEffectiveControlModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEffectiveControlMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCapacityWithCompletion:") + public native void readAttributeCapacity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCapacityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCapacity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedWithCompletion:") + public native void readAttributeSpeed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSpeedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSpeed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLifetimeRunningHoursWithCompletion:") + public native void readAttributeLifetimeRunningHours(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLifetimeRunningHoursWithValue:completion:") + public native void writeAttributeLifetimeRunningHours(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLifetimeRunningHoursWithValue:params:completion:") + public native void writeAttributeLifetimeRunningHours(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLifetimeRunningHoursWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLifetimeRunningHours(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerWithCompletion:") + public native void readAttributePower(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePowerWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePower(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLifetimeEnergyConsumedWithCompletion:") + public native void readAttributeLifetimeEnergyConsumed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLifetimeEnergyConsumedWithValue:completion:") + public native void writeAttributeLifetimeEnergyConsumed(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLifetimeEnergyConsumedWithValue:params:completion:") + public native void writeAttributeLifetimeEnergyConsumed(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLifetimeEnergyConsumedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLifetimeEnergyConsumed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationModeWithCompletion:") + public native void readAttributeOperationMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOperationModeWithValue:completion:") + public native void writeAttributeOperationMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOperationModeWithValue:params:completion:") + public native void writeAttributeOperationMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOperationModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOperationMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeControlModeWithCompletion:") + public native void readAttributeControlMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeControlModeWithValue:completion:") + public native void writeAttributeControlMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeControlModeWithValue:params:completion:") + public native void writeAttributeControlMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeControlModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeControlMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxPressureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxPressure(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxSpeedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxSpeed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxFlowWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxFlow(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstPressureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinConstPressure(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstPressureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxConstPressure(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinCompPressureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinCompPressure(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxCompPressureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxCompPressure(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstSpeedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinConstSpeed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstSpeedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxConstSpeed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstFlowWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinConstFlow(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstFlowWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxConstFlow(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinConstTempWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinConstTemp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxConstTempWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxConstTemp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePumpStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePumpStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEffectiveOperationModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEffectiveOperationMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEffectiveControlModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEffectiveControlMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCapacityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCapacity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSpeedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSpeed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLifetimeRunningHoursWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLifetimeRunningHours(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePowerWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePower(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLifetimeEnergyConsumedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLifetimeEnergyConsumed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOperationMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeControlModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeControlMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterRelativeHumidityMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterRelativeHumidityMeasurement.java new file mode 100644 index 000000000..715a8b380 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterRelativeHumidityMeasurement.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterRelativeHumidityMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterRelativeHumidityMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterRelativeHumidityMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterRelativeHumidityMeasurement() {} + protected MTRBaseClusterRelativeHumidityMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterRelativeHumidityMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterRelativeHumidityMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithCompletion:") + public native void readAttributeMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithCompletion:") + public native void readAttributeMinMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithCompletion:") + public native void readAttributeMaxMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithCompletion:") + public native void readAttributeTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterScenes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterScenes.java new file mode 100644 index 000000000..7d47cda6e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterScenes.java @@ -0,0 +1,284 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterScenes/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterScenesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterScenes.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterScenes() {} + protected MTRBaseClusterScenes(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterScenes(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterScenes(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addSceneWithParams:completion:") + public native void addScene(MTRScenesClusterAddSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "viewSceneWithParams:completion:") + public native void viewScene(MTRScenesClusterViewSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeSceneWithParams:completion:") + public native void removeScene(MTRScenesClusterRemoveSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllScenesWithParams:completion:") + public native void removeAllScenes(MTRScenesClusterRemoveAllScenesParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "storeSceneWithParams:completion:") + public native void storeScene(MTRScenesClusterStoreSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "recallSceneWithParams:completion:") + public native void recallScene(MTRScenesClusterRecallSceneParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getSceneMembershipWithParams:completion:") + public native void getSceneMembership(MTRScenesClusterGetSceneMembershipParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedAddSceneWithParams:completion:") + public native void enhancedAddScene(MTRScenesClusterEnhancedAddSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedViewSceneWithParams:completion:") + public native void enhancedViewScene(MTRScenesClusterEnhancedViewSceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "copySceneWithParams:completion:") + public native void copyScene(MTRScenesClusterCopySceneParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSceneCountWithCompletion:") + public native void readAttributeSceneCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSceneCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSceneCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentSceneWithCompletion:") + public native void readAttributeCurrentScene(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentSceneWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentScene(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentGroupWithCompletion:") + public native void readAttributeCurrentGroup(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentGroupWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentGroup(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSceneValidWithCompletion:") + public native void readAttributeSceneValid(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSceneValidWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSceneValid(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNameSupportWithCompletion:") + public native void readAttributeNameSupport(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNameSupportWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNameSupport(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastConfiguredByWithCompletion:") + public native void readAttributeLastConfiguredBy(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLastConfiguredByWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLastConfiguredBy(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSceneCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSceneCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentSceneWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentScene(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentGroupWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentGroup(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSceneValidWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSceneValid(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNameSupportWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNameSupport(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLastConfiguredByWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLastConfiguredBy(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSoftwareDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSoftwareDiagnostics.java new file mode 100644 index 000000000..d0b9bf93a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSoftwareDiagnostics.java @@ -0,0 +1,214 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterSoftwareDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterSoftwareDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterSoftwareDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterSoftwareDiagnostics() {} + protected MTRBaseClusterSoftwareDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterSoftwareDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterSoftwareDiagnostics(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetWatermarksWithParams:completion:") + public native void resetWatermarks(MTRSoftwareDiagnosticsClusterResetWatermarksParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetWatermarksWithCompletion:") + public native void resetWatermarks(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThreadMetricsWithCompletion:") + public native void readAttributeThreadMetrics(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeThreadMetricsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeThreadMetrics(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapFreeWithCompletion:") + public native void readAttributeCurrentHeapFree(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentHeapFreeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentHeapFree(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapUsedWithCompletion:") + public native void readAttributeCurrentHeapUsed(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentHeapUsedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentHeapUsed(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapHighWatermarkWithCompletion:") + public native void readAttributeCurrentHeapHighWatermark(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentHeapHighWatermarkWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentHeapHighWatermark(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThreadMetricsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeThreadMetrics(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapFreeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentHeapFree(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapUsedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentHeapUsed(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentHeapHighWatermarkWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentHeapHighWatermark(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSwitch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSwitch.java new file mode 100644 index 000000000..cc39a0fd2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterSwitch.java @@ -0,0 +1,189 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterSwitch/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterSwitchPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterSwitch.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterSwitch() {} + protected MTRBaseClusterSwitch(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterSwitch(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterSwitch(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPositionsWithCompletion:") + public native void readAttributeNumberOfPositions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfPositionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfPositions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionWithCompletion:") + public native void readAttributeCurrentPosition(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPosition(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMultiPressMaxWithCompletion:") + public native void readAttributeMultiPressMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMultiPressMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMultiPressMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfPositionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfPositions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPosition(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMultiPressMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMultiPressMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTargetNavigator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTargetNavigator.java new file mode 100644 index 000000000..623267204 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTargetNavigator.java @@ -0,0 +1,179 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterTargetNavigator/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterTargetNavigatorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterTargetNavigator.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterTargetNavigator() {} + protected MTRBaseClusterTargetNavigator(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterTargetNavigator(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterTargetNavigator(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "navigateTargetWithParams:completion:") + public native void navigateTarget(MTRTargetNavigatorClusterNavigateTargetParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetListWithCompletion:") + public native void readAttributeTargetList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTargetListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTargetList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentTargetWithCompletion:") + public native void readAttributeCurrentTarget(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentTargetWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentTarget(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTargetList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentTargetWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentTarget(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTemperatureMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTemperatureMeasurement.java new file mode 100644 index 000000000..3cbfb5bf1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTemperatureMeasurement.java @@ -0,0 +1,204 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterTemperatureMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterTemperatureMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterTemperatureMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterTemperatureMeasurement() {} + protected MTRBaseClusterTemperatureMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterTemperatureMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterTemperatureMeasurement(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithCompletion:") + public native void readAttributeMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithCompletion:") + public native void readAttributeMinMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithCompletion:") + public native void readAttributeMaxMeasuredValue(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxMeasuredValue(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithCompletion:") + public native void readAttributeTolerance(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeToleranceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTolerance(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxMeasuredValue(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeToleranceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTolerance(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostat.java new file mode 100644 index 000000000..ccfd66e57 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostat.java @@ -0,0 +1,1174 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterThermostat/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterThermostatPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterThermostat.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterThermostat() {} + protected MTRBaseClusterThermostat(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterThermostat(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterThermostat(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setpointRaiseLowerWithParams:completion:") + public native void setpointRaiseLower(MTRThermostatClusterSetpointRaiseLowerParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setWeeklyScheduleWithParams:completion:") + public native void setWeeklySchedule(MTRThermostatClusterSetWeeklyScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getWeeklyScheduleWithParams:completion:") + public native void getWeeklySchedule(MTRThermostatClusterGetWeeklyScheduleParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeeklyScheduleWithParams:completion:") + public native void clearWeeklySchedule(MTRThermostatClusterClearWeeklyScheduleParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeeklyScheduleWithCompletion:") + public native void clearWeeklySchedule(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalTemperatureWithCompletion:") + public native void readAttributeLocalTemperature(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocalTemperatureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocalTemperature(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutdoorTemperatureWithCompletion:") + public native void readAttributeOutdoorTemperature(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOutdoorTemperatureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOutdoorTemperature(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancyWithCompletion:") + public native void readAttributeOccupancy(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupancyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupancy(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMinHeatSetpointLimitWithCompletion:") + public native void readAttributeAbsMinHeatSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAbsMinHeatSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAbsMinHeatSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMaxHeatSetpointLimitWithCompletion:") + public native void readAttributeAbsMaxHeatSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAbsMaxHeatSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAbsMaxHeatSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMinCoolSetpointLimitWithCompletion:") + public native void readAttributeAbsMinCoolSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAbsMinCoolSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAbsMinCoolSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMaxCoolSetpointLimitWithCompletion:") + public native void readAttributeAbsMaxCoolSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAbsMaxCoolSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAbsMaxCoolSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePICoolingDemandWithCompletion:") + public native void readAttributePICoolingDemand(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePICoolingDemandWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePICoolingDemand(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIHeatingDemandWithCompletion:") + public native void readAttributePIHeatingDemand(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePIHeatingDemandWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePIHeatingDemand(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHVACSystemTypeConfigurationWithCompletion:") + public native void readAttributeHVACSystemTypeConfiguration(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeHVACSystemTypeConfigurationWithValue:completion:") + public native void writeAttributeHVACSystemTypeConfiguration(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeHVACSystemTypeConfigurationWithValue:params:completion:") + public native void writeAttributeHVACSystemTypeConfiguration(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHVACSystemTypeConfigurationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHVACSystemTypeConfiguration(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalTemperatureCalibrationWithCompletion:") + public native void readAttributeLocalTemperatureCalibration(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalTemperatureCalibrationWithValue:completion:") + public native void writeAttributeLocalTemperatureCalibration(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalTemperatureCalibrationWithValue:params:completion:") + public native void writeAttributeLocalTemperatureCalibration(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLocalTemperatureCalibrationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLocalTemperatureCalibration(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedCoolingSetpointWithCompletion:") + public native void readAttributeOccupiedCoolingSetpoint(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedCoolingSetpointWithValue:completion:") + public native void writeAttributeOccupiedCoolingSetpoint(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedCoolingSetpointWithValue:params:completion:") + public native void writeAttributeOccupiedCoolingSetpoint(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupiedCoolingSetpointWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupiedCoolingSetpoint(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedHeatingSetpointWithCompletion:") + public native void readAttributeOccupiedHeatingSetpoint(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedHeatingSetpointWithValue:completion:") + public native void writeAttributeOccupiedHeatingSetpoint(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedHeatingSetpointWithValue:params:completion:") + public native void writeAttributeOccupiedHeatingSetpoint(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupiedHeatingSetpointWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupiedHeatingSetpoint(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedCoolingSetpointWithCompletion:") + public native void readAttributeUnoccupiedCoolingSetpoint(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedCoolingSetpointWithValue:completion:") + public native void writeAttributeUnoccupiedCoolingSetpoint(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedCoolingSetpointWithValue:params:completion:") + public native void writeAttributeUnoccupiedCoolingSetpoint(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnoccupiedCoolingSetpointWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnoccupiedCoolingSetpoint(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedHeatingSetpointWithCompletion:") + public native void readAttributeUnoccupiedHeatingSetpoint(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedHeatingSetpointWithValue:completion:") + public native void writeAttributeUnoccupiedHeatingSetpoint(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedHeatingSetpointWithValue:params:completion:") + public native void writeAttributeUnoccupiedHeatingSetpoint(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnoccupiedHeatingSetpointWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnoccupiedHeatingSetpoint(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinHeatSetpointLimitWithCompletion:") + public native void readAttributeMinHeatSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinHeatSetpointLimitWithValue:completion:") + public native void writeAttributeMinHeatSetpointLimit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinHeatSetpointLimitWithValue:params:completion:") + public native void writeAttributeMinHeatSetpointLimit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinHeatSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinHeatSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxHeatSetpointLimitWithCompletion:") + public native void readAttributeMaxHeatSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxHeatSetpointLimitWithValue:completion:") + public native void writeAttributeMaxHeatSetpointLimit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxHeatSetpointLimitWithValue:params:completion:") + public native void writeAttributeMaxHeatSetpointLimit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxHeatSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxHeatSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinCoolSetpointLimitWithCompletion:") + public native void readAttributeMinCoolSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinCoolSetpointLimitWithValue:completion:") + public native void writeAttributeMinCoolSetpointLimit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinCoolSetpointLimitWithValue:params:completion:") + public native void writeAttributeMinCoolSetpointLimit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinCoolSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinCoolSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxCoolSetpointLimitWithCompletion:") + public native void readAttributeMaxCoolSetpointLimit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxCoolSetpointLimitWithValue:completion:") + public native void writeAttributeMaxCoolSetpointLimit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMaxCoolSetpointLimitWithValue:params:completion:") + public native void writeAttributeMaxCoolSetpointLimit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMaxCoolSetpointLimitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMaxCoolSetpointLimit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinSetpointDeadBandWithCompletion:") + public native void readAttributeMinSetpointDeadBand(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinSetpointDeadBandWithValue:completion:") + public native void writeAttributeMinSetpointDeadBand(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeMinSetpointDeadBandWithValue:params:completion:") + public native void writeAttributeMinSetpointDeadBand(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMinSetpointDeadBandWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMinSetpointDeadBand(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemoteSensingWithCompletion:") + public native void readAttributeRemoteSensing(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRemoteSensingWithValue:completion:") + public native void writeAttributeRemoteSensing(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRemoteSensingWithValue:params:completion:") + public native void writeAttributeRemoteSensing(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRemoteSensingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRemoteSensing(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeControlSequenceOfOperationWithCompletion:") + public native void readAttributeControlSequenceOfOperation(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeControlSequenceOfOperationWithValue:completion:") + public native void writeAttributeControlSequenceOfOperation(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeControlSequenceOfOperationWithValue:params:completion:") + public native void writeAttributeControlSequenceOfOperation(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeControlSequenceOfOperationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeControlSequenceOfOperation(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSystemModeWithCompletion:") + public native void readAttributeSystemMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSystemModeWithValue:completion:") + public native void writeAttributeSystemMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeSystemModeWithValue:params:completion:") + public native void writeAttributeSystemMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSystemModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSystemMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatRunningModeWithCompletion:") + public native void readAttributeThermostatRunningMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeThermostatRunningModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeThermostatRunningMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartOfWeekWithCompletion:") + public native void readAttributeStartOfWeek(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStartOfWeekWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStartOfWeek(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfWeeklyTransitionsWithCompletion:") + public native void readAttributeNumberOfWeeklyTransitions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfWeeklyTransitionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfWeeklyTransitions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfDailyTransitionsWithCompletion:") + public native void readAttributeNumberOfDailyTransitions(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfDailyTransitionsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfDailyTransitions(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldWithCompletion:") + public native void readAttributeTemperatureSetpointHold(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldWithValue:completion:") + public native void writeAttributeTemperatureSetpointHold(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldWithValue:params:completion:") + public native void writeAttributeTemperatureSetpointHold(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTemperatureSetpointHoldWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTemperatureSetpointHold(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldDurationWithCompletion:") + public native void readAttributeTemperatureSetpointHoldDuration(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldDurationWithValue:completion:") + public native void writeAttributeTemperatureSetpointHoldDuration(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldDurationWithValue:params:completion:") + public native void writeAttributeTemperatureSetpointHoldDuration(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTemperatureSetpointHoldDurationWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTemperatureSetpointHoldDuration(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatProgrammingOperationModeWithCompletion:") + public native void readAttributeThermostatProgrammingOperationMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeThermostatProgrammingOperationModeWithValue:completion:") + public native void writeAttributeThermostatProgrammingOperationMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeThermostatProgrammingOperationModeWithValue:params:completion:") + public native void writeAttributeThermostatProgrammingOperationMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeThermostatProgrammingOperationModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeThermostatProgrammingOperationMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatRunningStateWithCompletion:") + public native void readAttributeThermostatRunningState(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeThermostatRunningStateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeThermostatRunningState(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceWithCompletion:") + public native void readAttributeSetpointChangeSource(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSetpointChangeSourceWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSetpointChangeSource(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeAmountWithCompletion:") + public native void readAttributeSetpointChangeAmount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSetpointChangeAmountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSetpointChangeAmount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceTimestampWithCompletion:") + public native void readAttributeSetpointChangeSourceTimestamp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSetpointChangeSourceTimestampWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSetpointChangeSourceTimestamp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackWithCompletion:") + public native void readAttributeOccupiedSetback(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedSetbackWithValue:completion:") + public native void writeAttributeOccupiedSetback(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOccupiedSetbackWithValue:params:completion:") + public native void writeAttributeOccupiedSetback(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupiedSetbackWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupiedSetback(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMinWithCompletion:") + public native void readAttributeOccupiedSetbackMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupiedSetbackMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupiedSetbackMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMaxWithCompletion:") + public native void readAttributeOccupiedSetbackMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOccupiedSetbackMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOccupiedSetbackMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackWithCompletion:") + public native void readAttributeUnoccupiedSetback(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedSetbackWithValue:completion:") + public native void writeAttributeUnoccupiedSetback(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnoccupiedSetbackWithValue:params:completion:") + public native void writeAttributeUnoccupiedSetback(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnoccupiedSetbackWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnoccupiedSetback(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMinWithCompletion:") + public native void readAttributeUnoccupiedSetbackMin(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnoccupiedSetbackMinWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnoccupiedSetbackMin(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMaxWithCompletion:") + public native void readAttributeUnoccupiedSetbackMax(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnoccupiedSetbackMaxWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnoccupiedSetbackMax(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEmergencyHeatDeltaWithCompletion:") + public native void readAttributeEmergencyHeatDelta(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEmergencyHeatDeltaWithValue:completion:") + public native void writeAttributeEmergencyHeatDelta(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEmergencyHeatDeltaWithValue:params:completion:") + public native void writeAttributeEmergencyHeatDelta(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEmergencyHeatDeltaWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEmergencyHeatDelta(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACTypeWithCompletion:") + public native void readAttributeACType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACTypeWithValue:completion:") + public native void writeAttributeACType(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACTypeWithValue:params:completion:") + public native void writeAttributeACType(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCapacityWithCompletion:") + public native void readAttributeACCapacity(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCapacityWithValue:completion:") + public native void writeAttributeACCapacity(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCapacityWithValue:params:completion:") + public native void writeAttributeACCapacity(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACCapacityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACCapacity(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACRefrigerantTypeWithCompletion:") + public native void readAttributeACRefrigerantType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACRefrigerantTypeWithValue:completion:") + public native void writeAttributeACRefrigerantType(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACRefrigerantTypeWithValue:params:completion:") + public native void writeAttributeACRefrigerantType(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACRefrigerantTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACRefrigerantType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCompressorTypeWithCompletion:") + public native void readAttributeACCompressorType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCompressorTypeWithValue:completion:") + public native void writeAttributeACCompressorType(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCompressorTypeWithValue:params:completion:") + public native void writeAttributeACCompressorType(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACCompressorTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACCompressorType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACErrorCodeWithCompletion:") + public native void readAttributeACErrorCode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACErrorCodeWithValue:completion:") + public native void writeAttributeACErrorCode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACErrorCodeWithValue:params:completion:") + public native void writeAttributeACErrorCode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACErrorCodeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACErrorCode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACLouverPositionWithCompletion:") + public native void readAttributeACLouverPosition(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLouverPositionWithValue:completion:") + public native void writeAttributeACLouverPosition(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLouverPositionWithValue:params:completion:") + public native void writeAttributeACLouverPosition(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACLouverPositionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACLouverPosition(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCoilTemperatureWithCompletion:") + public native void readAttributeACCoilTemperature(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACCoilTemperatureWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACCoilTemperature(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCapacityformatWithCompletion:") + public native void readAttributeACCapacityformat(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCapacityformatWithValue:completion:") + public native void writeAttributeACCapacityformat(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACCapacityformatWithValue:params:completion:") + public native void writeAttributeACCapacityformat(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeACCapacityformatWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeACCapacityformat(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalTemperatureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocalTemperature(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOutdoorTemperatureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOutdoorTemperature(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupancyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupancy(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMinHeatSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAbsMinHeatSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMaxHeatSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAbsMaxHeatSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMinCoolSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAbsMinCoolSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAbsMaxCoolSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAbsMaxCoolSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePICoolingDemandWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePICoolingDemand(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIHeatingDemandWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePIHeatingDemand(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHVACSystemTypeConfigurationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHVACSystemTypeConfiguration(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalTemperatureCalibrationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLocalTemperatureCalibration(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedCoolingSetpointWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupiedCoolingSetpoint(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedHeatingSetpointWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupiedHeatingSetpoint(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedCoolingSetpointWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnoccupiedCoolingSetpoint(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedHeatingSetpointWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnoccupiedHeatingSetpoint(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinHeatSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinHeatSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxHeatSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxHeatSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinCoolSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinCoolSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMaxCoolSetpointLimitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMaxCoolSetpointLimit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMinSetpointDeadBandWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMinSetpointDeadBand(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRemoteSensingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRemoteSensing(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeControlSequenceOfOperationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeControlSequenceOfOperation(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSystemModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSystemMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatRunningModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeThermostatRunningMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStartOfWeekWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStartOfWeek(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfWeeklyTransitionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfWeeklyTransitions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfDailyTransitionsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfDailyTransitions(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTemperatureSetpointHold(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldDurationWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTemperatureSetpointHoldDuration(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatProgrammingOperationModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeThermostatProgrammingOperationMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeThermostatRunningStateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeThermostatRunningState(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSetpointChangeSource(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeAmountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSetpointChangeAmount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceTimestampWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSetpointChangeSourceTimestamp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupiedSetback(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupiedSetbackMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOccupiedSetbackMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnoccupiedSetback(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMinWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnoccupiedSetbackMin(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMaxWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnoccupiedSetbackMax(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEmergencyHeatDeltaWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEmergencyHeatDelta(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCapacityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACCapacity(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACRefrigerantTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACRefrigerantType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCompressorTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACCompressorType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACErrorCodeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACErrorCode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACLouverPositionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACLouverPosition(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCoilTemperatureWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACCoilTemperature(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACCapacityformatWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeACCapacityformat(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostatUserInterfaceConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostatUserInterfaceConfiguration.java new file mode 100644 index 000000000..8b2856a14 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThermostatUserInterfaceConfiguration.java @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterThermostatUserInterfaceConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterThermostatUserInterfaceConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterThermostatUserInterfaceConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterThermostatUserInterfaceConfiguration() {} + protected MTRBaseClusterThermostatUserInterfaceConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterThermostatUserInterfaceConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterThermostatUserInterfaceConfiguration(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureDisplayModeWithCompletion:") + public native void readAttributeTemperatureDisplayMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureDisplayModeWithValue:completion:") + public native void writeAttributeTemperatureDisplayMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureDisplayModeWithValue:params:completion:") + public native void writeAttributeTemperatureDisplayMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTemperatureDisplayModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTemperatureDisplayMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeKeypadLockoutWithCompletion:") + public native void readAttributeKeypadLockout(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeKeypadLockoutWithValue:completion:") + public native void writeAttributeKeypadLockout(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeKeypadLockoutWithValue:params:completion:") + public native void writeAttributeKeypadLockout(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeKeypadLockoutWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeKeypadLockout(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScheduleProgrammingVisibilityWithCompletion:") + public native void readAttributeScheduleProgrammingVisibility(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeScheduleProgrammingVisibilityWithValue:completion:") + public native void writeAttributeScheduleProgrammingVisibility(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeScheduleProgrammingVisibilityWithValue:params:completion:") + public native void writeAttributeScheduleProgrammingVisibility(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeScheduleProgrammingVisibilityWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeScheduleProgrammingVisibility(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureDisplayModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTemperatureDisplayMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeKeypadLockoutWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeKeypadLockout(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeScheduleProgrammingVisibilityWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeScheduleProgrammingVisibility(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThreadNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThreadNetworkDiagnostics.java new file mode 100644 index 000000000..46fb7f8a7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterThreadNetworkDiagnostics.java @@ -0,0 +1,1099 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterThreadNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterThreadNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterThreadNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterThreadNetworkDiagnostics() {} + protected MTRBaseClusterThreadNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterThreadNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterThreadNetworkDiagnostics(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:completion:") + public native void resetCounts(MTRThreadNetworkDiagnosticsClusterResetCountsParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithCompletion:") + public native void resetCounts(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelWithCompletion:") + public native void readAttributeChannel(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeChannelWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeChannel(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRoutingRoleWithCompletion:") + public native void readAttributeRoutingRole(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRoutingRoleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRoutingRole(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworkNameWithCompletion:") + public native void readAttributeNetworkName(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNetworkNameWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNetworkName(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePanIdWithCompletion:") + public native void readAttributePanId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePanIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePanId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExtendedPanIdWithCompletion:") + public native void readAttributeExtendedPanId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeExtendedPanIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeExtendedPanId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeshLocalPrefixWithCompletion:") + public native void readAttributeMeshLocalPrefix(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMeshLocalPrefixWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMeshLocalPrefix(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithCompletion:") + public native void readAttributeOverrunCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOverrunCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOverrunCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNeighborTableWithCompletion:") + public native void readAttributeNeighborTable(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNeighborTableWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNeighborTable(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRouteTableWithCompletion:") + public native void readAttributeRouteTable(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRouteTableWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRouteTable(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartitionIdWithCompletion:") + public native void readAttributePartitionId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePartitionIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePartitionId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWeightingWithCompletion:") + public native void readAttributeWeighting(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWeightingWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWeighting(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDataVersionWithCompletion:") + public native void readAttributeDataVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDataVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDataVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStableDataVersionWithCompletion:") + public native void readAttributeStableDataVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStableDataVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStableDataVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLeaderRouterIdWithCompletion:") + public native void readAttributeLeaderRouterId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLeaderRouterIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLeaderRouterId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDetachedRoleCountWithCompletion:") + public native void readAttributeDetachedRoleCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDetachedRoleCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDetachedRoleCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChildRoleCountWithCompletion:") + public native void readAttributeChildRoleCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeChildRoleCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeChildRoleCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRouterRoleCountWithCompletion:") + public native void readAttributeRouterRoleCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRouterRoleCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRouterRoleCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLeaderRoleCountWithCompletion:") + public native void readAttributeLeaderRoleCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLeaderRoleCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLeaderRoleCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttachAttemptCountWithCompletion:") + public native void readAttributeAttachAttemptCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttachAttemptCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttachAttemptCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartitionIdChangeCountWithCompletion:") + public native void readAttributePartitionIdChangeCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePartitionIdChangeCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePartitionIdChangeCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBetterPartitionAttachAttemptCountWithCompletion:") + public native void readAttributeBetterPartitionAttachAttemptCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBetterPartitionAttachAttemptCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBetterPartitionAttachAttemptCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeParentChangeCountWithCompletion:") + public native void readAttributeParentChangeCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeParentChangeCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeParentChangeCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxTotalCountWithCompletion:") + public native void readAttributeTxTotalCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxTotalCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxTotalCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxUnicastCountWithCompletion:") + public native void readAttributeTxUnicastCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxUnicastCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxUnicastCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBroadcastCountWithCompletion:") + public native void readAttributeTxBroadcastCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxBroadcastCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxBroadcastCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxAckRequestedCountWithCompletion:") + public native void readAttributeTxAckRequestedCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxAckRequestedCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxAckRequestedCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxAckedCountWithCompletion:") + public native void readAttributeTxAckedCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxAckedCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxAckedCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxNoAckRequestedCountWithCompletion:") + public native void readAttributeTxNoAckRequestedCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxNoAckRequestedCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxNoAckRequestedCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDataCountWithCompletion:") + public native void readAttributeTxDataCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxDataCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxDataCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDataPollCountWithCompletion:") + public native void readAttributeTxDataPollCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxDataPollCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxDataPollCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBeaconCountWithCompletion:") + public native void readAttributeTxBeaconCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxBeaconCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxBeaconCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBeaconRequestCountWithCompletion:") + public native void readAttributeTxBeaconRequestCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxBeaconRequestCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxBeaconRequestCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxOtherCountWithCompletion:") + public native void readAttributeTxOtherCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxOtherCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxOtherCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxRetryCountWithCompletion:") + public native void readAttributeTxRetryCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxRetryCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxRetryCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDirectMaxRetryExpiryCountWithCompletion:") + public native void readAttributeTxDirectMaxRetryExpiryCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxDirectMaxRetryExpiryCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxDirectMaxRetryExpiryCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxIndirectMaxRetryExpiryCountWithCompletion:") + public native void readAttributeTxIndirectMaxRetryExpiryCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxIndirectMaxRetryExpiryCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxIndirectMaxRetryExpiryCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrCcaCountWithCompletion:") + public native void readAttributeTxErrCcaCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxErrCcaCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxErrCcaCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrAbortCountWithCompletion:") + public native void readAttributeTxErrAbortCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxErrAbortCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxErrAbortCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrBusyChannelCountWithCompletion:") + public native void readAttributeTxErrBusyChannelCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTxErrBusyChannelCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTxErrBusyChannelCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxTotalCountWithCompletion:") + public native void readAttributeRxTotalCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxTotalCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxTotalCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxUnicastCountWithCompletion:") + public native void readAttributeRxUnicastCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxUnicastCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxUnicastCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBroadcastCountWithCompletion:") + public native void readAttributeRxBroadcastCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxBroadcastCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxBroadcastCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDataCountWithCompletion:") + public native void readAttributeRxDataCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxDataCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxDataCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDataPollCountWithCompletion:") + public native void readAttributeRxDataPollCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxDataPollCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxDataPollCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBeaconCountWithCompletion:") + public native void readAttributeRxBeaconCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxBeaconCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxBeaconCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBeaconRequestCountWithCompletion:") + public native void readAttributeRxBeaconRequestCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxBeaconRequestCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxBeaconRequestCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxOtherCountWithCompletion:") + public native void readAttributeRxOtherCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxOtherCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxOtherCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxAddressFilteredCountWithCompletion:") + public native void readAttributeRxAddressFilteredCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxAddressFilteredCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxAddressFilteredCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDestAddrFilteredCountWithCompletion:") + public native void readAttributeRxDestAddrFilteredCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxDestAddrFilteredCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxDestAddrFilteredCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDuplicatedCountWithCompletion:") + public native void readAttributeRxDuplicatedCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxDuplicatedCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxDuplicatedCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrNoFrameCountWithCompletion:") + public native void readAttributeRxErrNoFrameCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrNoFrameCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrNoFrameCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrUnknownNeighborCountWithCompletion:") + public native void readAttributeRxErrUnknownNeighborCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrUnknownNeighborCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrUnknownNeighborCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrInvalidSrcAddrCountWithCompletion:") + public native void readAttributeRxErrInvalidSrcAddrCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrInvalidSrcAddrCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrInvalidSrcAddrCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrSecCountWithCompletion:") + public native void readAttributeRxErrSecCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrSecCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrSecCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrFcsCountWithCompletion:") + public native void readAttributeRxErrFcsCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrFcsCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrFcsCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrOtherCountWithCompletion:") + public native void readAttributeRxErrOtherCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRxErrOtherCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRxErrOtherCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveTimestampWithCompletion:") + public native void readAttributeActiveTimestamp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveTimestampWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveTimestamp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePendingTimestampWithCompletion:") + public native void readAttributePendingTimestamp(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePendingTimestampWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePendingTimestamp(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDelayWithCompletion:") + public native void readAttributeDelay(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeDelayWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeDelay(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSecurityPolicyWithCompletion:") + public native void readAttributeSecurityPolicy(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSecurityPolicyWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSecurityPolicy(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelPage0MaskWithCompletion:") + public native void readAttributeChannelPage0Mask(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeChannelPage0MaskWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeChannelPage0Mask(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationalDatasetComponentsWithCompletion:") + public native void readAttributeOperationalDatasetComponents(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOperationalDatasetComponentsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOperationalDatasetComponents(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsListWithCompletion:") + public native void readAttributeActiveNetworkFaultsList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveNetworkFaultsListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveNetworkFaultsList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeChannel(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRoutingRoleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRoutingRole(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNetworkNameWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNetworkName(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePanIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePanId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeExtendedPanIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeExtendedPanId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMeshLocalPrefixWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMeshLocalPrefix(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOverrunCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNeighborTableWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNeighborTable(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRouteTableWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRouteTable(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartitionIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePartitionId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWeightingWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWeighting(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDataVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDataVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStableDataVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStableDataVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLeaderRouterIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLeaderRouterId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDetachedRoleCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDetachedRoleCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChildRoleCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeChildRoleCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRouterRoleCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRouterRoleCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLeaderRoleCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLeaderRoleCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttachAttemptCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttachAttemptCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartitionIdChangeCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePartitionIdChangeCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBetterPartitionAttachAttemptCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBetterPartitionAttachAttemptCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeParentChangeCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeParentChangeCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxTotalCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxTotalCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxUnicastCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxUnicastCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBroadcastCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxBroadcastCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxAckRequestedCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxAckRequestedCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxAckedCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxAckedCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxNoAckRequestedCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxNoAckRequestedCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDataCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxDataCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDataPollCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxDataPollCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBeaconCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxBeaconCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxBeaconRequestCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxBeaconRequestCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxOtherCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxOtherCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxRetryCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxRetryCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxDirectMaxRetryExpiryCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxDirectMaxRetryExpiryCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxIndirectMaxRetryExpiryCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxIndirectMaxRetryExpiryCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrCcaCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxErrCcaCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrAbortCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxErrAbortCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTxErrBusyChannelCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTxErrBusyChannelCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxTotalCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxTotalCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxUnicastCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxUnicastCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBroadcastCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxBroadcastCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDataCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxDataCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDataPollCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxDataPollCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBeaconCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxBeaconCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxBeaconRequestCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxBeaconRequestCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxOtherCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxOtherCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxAddressFilteredCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxAddressFilteredCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDestAddrFilteredCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxDestAddrFilteredCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxDuplicatedCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxDuplicatedCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrNoFrameCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrNoFrameCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrUnknownNeighborCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrUnknownNeighborCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrInvalidSrcAddrCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrInvalidSrcAddrCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrSecCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrSecCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrFcsCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrFcsCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRxErrOtherCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRxErrOtherCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveTimestampWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveTimestamp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePendingTimestampWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePendingTimestamp(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDelayWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeDelay(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSecurityPolicyWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSecurityPolicy(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelPage0MaskWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeChannelPage0Mask(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationalDatasetComponentsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOperationalDatasetComponents(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveNetworkFaultsList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTimeFormatLocalization.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTimeFormatLocalization.java new file mode 100644 index 000000000..536932424 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterTimeFormatLocalization.java @@ -0,0 +1,209 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterTimeFormatLocalization/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterTimeFormatLocalizationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterTimeFormatLocalization.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterTimeFormatLocalization() {} + protected MTRBaseClusterTimeFormatLocalization(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterTimeFormatLocalization(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterTimeFormatLocalization(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHourFormatWithCompletion:") + public native void readAttributeHourFormat(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeHourFormatWithValue:completion:") + public native void writeAttributeHourFormat(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeHourFormatWithValue:params:completion:") + public native void writeAttributeHourFormat(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeHourFormatWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeHourFormat(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCalendarTypeWithCompletion:") + public native void readAttributeActiveCalendarType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveCalendarTypeWithValue:completion:") + public native void writeAttributeActiveCalendarType(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeActiveCalendarTypeWithValue:params:completion:") + public native void writeAttributeActiveCalendarType(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeActiveCalendarTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeActiveCalendarType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedCalendarTypesWithCompletion:") + public native void readAttributeSupportedCalendarTypes(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSupportedCalendarTypesWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSupportedCalendarTypes(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHourFormatWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeHourFormat(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeActiveCalendarTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeActiveCalendarType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSupportedCalendarTypesWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSupportedCalendarTypes(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitLocalization.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitLocalization.java new file mode 100644 index 000000000..f205c4db0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitLocalization.java @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterUnitLocalization/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterUnitLocalizationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterUnitLocalization.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterUnitLocalization() {} + protected MTRBaseClusterUnitLocalization(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterUnitLocalization(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterUnitLocalization(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureUnitWithCompletion:") + public native void readAttributeTemperatureUnit(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureUnitWithValue:completion:") + public native void writeAttributeTemperatureUnit(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTemperatureUnitWithValue:params:completion:") + public native void writeAttributeTemperatureUnit(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTemperatureUnitWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTemperatureUnit(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTemperatureUnitWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTemperatureUnit(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitTesting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitTesting.java new file mode 100644 index 000000000..ce80ef8b0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUnitTesting.java @@ -0,0 +1,2329 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterUnitTesting/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterUnitTestingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterUnitTesting.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterUnitTesting() {} + protected MTRBaseClusterUnitTesting(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterUnitTesting(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterUnitTesting(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testWithParams:completion:") + public native void test(MTRUnitTestingClusterTestParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testWithCompletion:") + public native void test(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNotHandledWithParams:completion:") + public native void testNotHandled(MTRUnitTestingClusterTestNotHandledParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNotHandledWithCompletion:") + public native void testNotHandled(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSpecificWithParams:completion:") + public native void testSpecific(MTRUnitTestingClusterTestSpecificParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSpecificWithCompletion:") + public native void testSpecific(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testUnknownCommandWithParams:completion:") + public native void testUnknownCommand(MTRUnitTestingClusterTestUnknownCommandParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testUnknownCommandWithCompletion:") + public native void testUnknownCommand(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testAddArgumentsWithParams:completion:") + public native void testAddArguments(MTRUnitTestingClusterTestAddArgumentsParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSimpleArgumentRequestWithParams:completion:") + public native void testSimpleArgumentRequest(MTRUnitTestingClusterTestSimpleArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testStructArrayArgumentRequestWithParams:completion:") + public native void testStructArrayArgumentRequest(MTRUnitTestingClusterTestStructArrayArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testStructArgumentRequestWithParams:completion:") + public native void testStructArgumentRequest(MTRUnitTestingClusterTestStructArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNestedStructArgumentRequestWithParams:completion:") + public native void testNestedStructArgumentRequest(MTRUnitTestingClusterTestNestedStructArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListStructArgumentRequestWithParams:completion:") + public native void testListStructArgumentRequest(MTRUnitTestingClusterTestListStructArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListInt8UArgumentRequestWithParams:completion:") + public native void testListInt8UArgumentRequest(MTRUnitTestingClusterTestListInt8UArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNestedStructListArgumentRequestWithParams:completion:") + public native void testNestedStructListArgumentRequest(MTRUnitTestingClusterTestNestedStructListArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListNestedStructListArgumentRequestWithParams:completion:") + public native void testListNestedStructListArgumentRequest(MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListInt8UReverseRequestWithParams:completion:") + public native void testListInt8UReverseRequest(MTRUnitTestingClusterTestListInt8UReverseRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEnumsRequestWithParams:completion:") + public native void testEnumsRequest(MTRUnitTestingClusterTestEnumsRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNullableOptionalRequestWithParams:completion:") + public native void testNullableOptionalRequest(MTRUnitTestingClusterTestNullableOptionalRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testComplexNullableOptionalRequestWithParams:completion:") + public native void testComplexNullableOptionalRequest(MTRUnitTestingClusterTestComplexNullableOptionalRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "simpleStructEchoRequestWithParams:completion:") + public native void simpleStructEchoRequest(MTRUnitTestingClusterSimpleStructEchoRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "timedInvokeRequestWithParams:completion:") + public native void timedInvokeRequest(MTRUnitTestingClusterTimedInvokeRequestParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "timedInvokeRequestWithCompletion:") + public native void timedInvokeRequest(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSimpleOptionalArgumentRequestWithParams:completion:") + public native void testSimpleOptionalArgumentRequest(MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEmitTestEventRequestWithParams:completion:") + public native void testEmitTestEventRequest(MTRUnitTestingClusterTestEmitTestEventRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEmitTestFabricScopedEventRequestWithParams:completion:") + public native void testEmitTestFabricScopedEventRequest(MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBooleanWithCompletion:") + public native void readAttributeBoolean(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBooleanWithValue:completion:") + public native void writeAttributeBoolean(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBooleanWithValue:params:completion:") + public native void writeAttributeBoolean(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBooleanWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBoolean(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap8WithCompletion:") + public native void readAttributeBitmap8(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap8WithValue:completion:") + public native void writeAttributeBitmap8(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap8WithValue:params:completion:") + public native void writeAttributeBitmap8(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBitmap8WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBitmap8(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap16WithCompletion:") + public native void readAttributeBitmap16(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap16WithValue:completion:") + public native void writeAttributeBitmap16(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap16WithValue:params:completion:") + public native void writeAttributeBitmap16(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBitmap16WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBitmap16(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap32WithCompletion:") + public native void readAttributeBitmap32(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap32WithValue:completion:") + public native void writeAttributeBitmap32(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap32WithValue:params:completion:") + public native void writeAttributeBitmap32(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBitmap32WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBitmap32(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap64WithCompletion:") + public native void readAttributeBitmap64(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap64WithValue:completion:") + public native void writeAttributeBitmap64(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap64WithValue:params:completion:") + public native void writeAttributeBitmap64(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBitmap64WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBitmap64(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8uWithCompletion:") + public native void readAttributeInt8u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8uWithValue:completion:") + public native void writeAttributeInt8u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8uWithValue:params:completion:") + public native void writeAttributeInt8u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16uWithCompletion:") + public native void readAttributeInt16u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16uWithValue:completion:") + public native void writeAttributeInt16u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16uWithValue:params:completion:") + public native void writeAttributeInt16u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt16uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt16u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24uWithCompletion:") + public native void readAttributeInt24u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24uWithValue:completion:") + public native void writeAttributeInt24u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24uWithValue:params:completion:") + public native void writeAttributeInt24u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt24uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt24u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32uWithCompletion:") + public native void readAttributeInt32u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32uWithValue:completion:") + public native void writeAttributeInt32u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32uWithValue:params:completion:") + public native void writeAttributeInt32u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt32uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt32u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40uWithCompletion:") + public native void readAttributeInt40u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40uWithValue:completion:") + public native void writeAttributeInt40u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40uWithValue:params:completion:") + public native void writeAttributeInt40u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt40uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt40u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48uWithCompletion:") + public native void readAttributeInt48u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48uWithValue:completion:") + public native void writeAttributeInt48u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48uWithValue:params:completion:") + public native void writeAttributeInt48u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt48uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt48u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56uWithCompletion:") + public native void readAttributeInt56u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56uWithValue:completion:") + public native void writeAttributeInt56u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56uWithValue:params:completion:") + public native void writeAttributeInt56u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt56uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt56u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64uWithCompletion:") + public native void readAttributeInt64u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64uWithValue:completion:") + public native void writeAttributeInt64u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64uWithValue:params:completion:") + public native void writeAttributeInt64u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt64uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt64u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8sWithCompletion:") + public native void readAttributeInt8s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8sWithValue:completion:") + public native void writeAttributeInt8s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8sWithValue:params:completion:") + public native void writeAttributeInt8s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt8sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt8s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16sWithCompletion:") + public native void readAttributeInt16s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16sWithValue:completion:") + public native void writeAttributeInt16s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16sWithValue:params:completion:") + public native void writeAttributeInt16s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt16sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt16s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24sWithCompletion:") + public native void readAttributeInt24s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24sWithValue:completion:") + public native void writeAttributeInt24s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24sWithValue:params:completion:") + public native void writeAttributeInt24s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt24sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt24s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32sWithCompletion:") + public native void readAttributeInt32s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32sWithValue:completion:") + public native void writeAttributeInt32s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32sWithValue:params:completion:") + public native void writeAttributeInt32s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt32sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt32s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40sWithCompletion:") + public native void readAttributeInt40s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40sWithValue:completion:") + public native void writeAttributeInt40s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40sWithValue:params:completion:") + public native void writeAttributeInt40s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt40sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt40s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48sWithCompletion:") + public native void readAttributeInt48s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48sWithValue:completion:") + public native void writeAttributeInt48s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48sWithValue:params:completion:") + public native void writeAttributeInt48s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt48sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt48s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56sWithCompletion:") + public native void readAttributeInt56s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56sWithValue:completion:") + public native void writeAttributeInt56s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56sWithValue:params:completion:") + public native void writeAttributeInt56s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt56sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt56s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64sWithCompletion:") + public native void readAttributeInt64s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64sWithValue:completion:") + public native void writeAttributeInt64s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64sWithValue:params:completion:") + public native void writeAttributeInt64s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInt64sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInt64s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum8WithCompletion:") + public native void readAttributeEnum8(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum8WithValue:completion:") + public native void writeAttributeEnum8(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum8WithValue:params:completion:") + public native void writeAttributeEnum8(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnum8WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnum8(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum16WithCompletion:") + public native void readAttributeEnum16(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum16WithValue:completion:") + public native void writeAttributeEnum16(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum16WithValue:params:completion:") + public native void writeAttributeEnum16(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnum16WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnum16(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatSingleWithCompletion:") + public native void readAttributeFloatSingle(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatSingleWithValue:completion:") + public native void writeAttributeFloatSingle(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatSingleWithValue:params:completion:") + public native void writeAttributeFloatSingle(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFloatSingleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFloatSingle(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatDoubleWithCompletion:") + public native void readAttributeFloatDouble(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatDoubleWithValue:completion:") + public native void writeAttributeFloatDouble(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatDoubleWithValue:params:completion:") + public native void writeAttributeFloatDouble(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFloatDoubleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFloatDouble(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOctetStringWithCompletion:") + public native void readAttributeOctetString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOctetStringWithValue:completion:") + public native void writeAttributeOctetString(NSData value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOctetStringWithValue:params:completion:") + public native void writeAttributeOctetString(NSData value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListInt8uWithCompletion:") + public native void readAttributeListInt8u(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListInt8uWithValue:completion:") + public native void writeAttributeListInt8u(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListInt8uWithValue:params:completion:") + public native void writeAttributeListInt8u(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListOctetStringWithCompletion:") + public native void readAttributeListOctetString(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListOctetStringWithValue:completion:") + public native void writeAttributeListOctetString(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListOctetStringWithValue:params:completion:") + public native void writeAttributeListOctetString(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListStructOctetStringWithCompletion:") + public native void readAttributeListStructOctetString(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListStructOctetStringWithValue:completion:") + public native void writeAttributeListStructOctetString(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListStructOctetStringWithValue:params:completion:") + public native void writeAttributeListStructOctetString(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListStructOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListStructOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongOctetStringWithCompletion:") + public native void readAttributeLongOctetString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongOctetStringWithValue:completion:") + public native void writeAttributeLongOctetString(NSData value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongOctetStringWithValue:params:completion:") + public native void writeAttributeLongOctetString(NSData value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLongOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLongOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCharStringWithCompletion:") + public native void readAttributeCharString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCharStringWithValue:completion:") + public native void writeAttributeCharString(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCharStringWithValue:params:completion:") + public native void writeAttributeCharString(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCharStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCharString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongCharStringWithCompletion:") + public native void readAttributeLongCharString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongCharStringWithValue:completion:") + public native void writeAttributeLongCharString(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongCharStringWithValue:params:completion:") + public native void writeAttributeLongCharString(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLongCharStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLongCharString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochUsWithCompletion:") + public native void readAttributeEpochUs(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochUsWithValue:completion:") + public native void writeAttributeEpochUs(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochUsWithValue:params:completion:") + public native void writeAttributeEpochUs(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEpochUsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEpochUs(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochSWithCompletion:") + public native void readAttributeEpochS(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochSWithValue:completion:") + public native void writeAttributeEpochS(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochSWithValue:params:completion:") + public native void writeAttributeEpochS(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEpochSWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEpochS(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIdWithCompletion:") + public native void readAttributeVendorId(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeVendorIdWithValue:completion:") + public native void writeAttributeVendorId(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeVendorIdWithValue:params:completion:") + public native void writeAttributeVendorId(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeVendorIdWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeVendorId(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListNullablesAndOptionalsStructWithCompletion:") + public native void readAttributeListNullablesAndOptionalsStruct(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListNullablesAndOptionalsStructWithValue:completion:") + public native void writeAttributeListNullablesAndOptionalsStruct(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListNullablesAndOptionalsStructWithValue:params:completion:") + public native void writeAttributeListNullablesAndOptionalsStruct(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListNullablesAndOptionalsStructWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListNullablesAndOptionalsStruct(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnumAttrWithCompletion:") + public native void readAttributeEnumAttr(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnumAttrWithValue:completion:") + public native void writeAttributeEnumAttr(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnumAttrWithValue:params:completion:") + public native void writeAttributeEnumAttr(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEnumAttrWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEnumAttr(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStructAttrWithCompletion:") + public native void readAttributeStructAttr(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStructAttrWithValue:completion:") + public native void writeAttributeStructAttr(MTRUnitTestingClusterSimpleStruct value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStructAttrWithValue:params:completion:") + public native void writeAttributeStructAttr(MTRUnitTestingClusterSimpleStruct value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeStructAttrWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeStructAttr(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8uWithCompletion:") + public native void readAttributeRangeRestrictedInt8u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8uWithValue:completion:") + public native void writeAttributeRangeRestrictedInt8u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8uWithValue:params:completion:") + public native void writeAttributeRangeRestrictedInt8u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRangeRestrictedInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRangeRestrictedInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8sWithCompletion:") + public native void readAttributeRangeRestrictedInt8s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8sWithValue:completion:") + public native void writeAttributeRangeRestrictedInt8s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8sWithValue:params:completion:") + public native void writeAttributeRangeRestrictedInt8s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRangeRestrictedInt8sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRangeRestrictedInt8s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16uWithCompletion:") + public native void readAttributeRangeRestrictedInt16u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16uWithValue:completion:") + public native void writeAttributeRangeRestrictedInt16u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16uWithValue:params:completion:") + public native void writeAttributeRangeRestrictedInt16u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRangeRestrictedInt16uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRangeRestrictedInt16u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16sWithCompletion:") + public native void readAttributeRangeRestrictedInt16s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16sWithValue:completion:") + public native void writeAttributeRangeRestrictedInt16s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16sWithValue:params:completion:") + public native void writeAttributeRangeRestrictedInt16s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRangeRestrictedInt16sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRangeRestrictedInt16s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListLongOctetStringWithCompletion:") + public native void readAttributeListLongOctetString(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListLongOctetStringWithValue:completion:") + public native void writeAttributeListLongOctetString(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListLongOctetStringWithValue:params:completion:") + public native void writeAttributeListLongOctetString(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListLongOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListLongOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListFabricScopedWithParams:completion:") + public native void readAttributeListFabricScoped(MTRReadParams params, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListFabricScopedWithValue:completion:") + public native void writeAttributeListFabricScoped(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListFabricScopedWithValue:params:completion:") + public native void writeAttributeListFabricScoped(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeListFabricScopedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeListFabricScoped(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTimedWriteBooleanWithCompletion:") + public native void readAttributeTimedWriteBoolean(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTimedWriteBooleanWithValue:completion:") + public native void writeAttributeTimedWriteBoolean(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTimedWriteBooleanWithValue:params:completion:") + public native void writeAttributeTimedWriteBoolean(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTimedWriteBooleanWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTimedWriteBoolean(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneralErrorBooleanWithCompletion:") + public native void readAttributeGeneralErrorBoolean(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGeneralErrorBooleanWithValue:completion:") + public native void writeAttributeGeneralErrorBoolean(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGeneralErrorBooleanWithValue:params:completion:") + public native void writeAttributeGeneralErrorBoolean(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneralErrorBooleanWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneralErrorBoolean(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterErrorBooleanWithCompletion:") + public native void readAttributeClusterErrorBoolean(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeClusterErrorBooleanWithValue:completion:") + public native void writeAttributeClusterErrorBoolean(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeClusterErrorBooleanWithValue:params:completion:") + public native void writeAttributeClusterErrorBoolean(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterErrorBooleanWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterErrorBoolean(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnsupportedWithCompletion:") + public native void readAttributeUnsupported(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnsupportedWithValue:completion:") + public native void writeAttributeUnsupported(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnsupportedWithValue:params:completion:") + public native void writeAttributeUnsupported(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeUnsupportedWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeUnsupported(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBooleanWithCompletion:") + public native void readAttributeNullableBoolean(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBooleanWithValue:completion:") + public native void writeAttributeNullableBoolean(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBooleanWithValue:params:completion:") + public native void writeAttributeNullableBoolean(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableBooleanWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableBoolean(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap8WithCompletion:") + public native void readAttributeNullableBitmap8(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap8WithValue:completion:") + public native void writeAttributeNullableBitmap8(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap8WithValue:params:completion:") + public native void writeAttributeNullableBitmap8(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableBitmap8WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableBitmap8(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap16WithCompletion:") + public native void readAttributeNullableBitmap16(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap16WithValue:completion:") + public native void writeAttributeNullableBitmap16(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap16WithValue:params:completion:") + public native void writeAttributeNullableBitmap16(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableBitmap16WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableBitmap16(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap32WithCompletion:") + public native void readAttributeNullableBitmap32(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap32WithValue:completion:") + public native void writeAttributeNullableBitmap32(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap32WithValue:params:completion:") + public native void writeAttributeNullableBitmap32(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableBitmap32WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableBitmap32(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap64WithCompletion:") + public native void readAttributeNullableBitmap64(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap64WithValue:completion:") + public native void writeAttributeNullableBitmap64(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap64WithValue:params:completion:") + public native void writeAttributeNullableBitmap64(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableBitmap64WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableBitmap64(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8uWithCompletion:") + public native void readAttributeNullableInt8u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8uWithValue:completion:") + public native void writeAttributeNullableInt8u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8uWithValue:params:completion:") + public native void writeAttributeNullableInt8u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16uWithCompletion:") + public native void readAttributeNullableInt16u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16uWithValue:completion:") + public native void writeAttributeNullableInt16u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16uWithValue:params:completion:") + public native void writeAttributeNullableInt16u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt16uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt16u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24uWithCompletion:") + public native void readAttributeNullableInt24u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24uWithValue:completion:") + public native void writeAttributeNullableInt24u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24uWithValue:params:completion:") + public native void writeAttributeNullableInt24u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt24uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt24u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32uWithCompletion:") + public native void readAttributeNullableInt32u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32uWithValue:completion:") + public native void writeAttributeNullableInt32u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32uWithValue:params:completion:") + public native void writeAttributeNullableInt32u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt32uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt32u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40uWithCompletion:") + public native void readAttributeNullableInt40u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40uWithValue:completion:") + public native void writeAttributeNullableInt40u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40uWithValue:params:completion:") + public native void writeAttributeNullableInt40u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt40uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt40u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48uWithCompletion:") + public native void readAttributeNullableInt48u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48uWithValue:completion:") + public native void writeAttributeNullableInt48u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48uWithValue:params:completion:") + public native void writeAttributeNullableInt48u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt48uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt48u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56uWithCompletion:") + public native void readAttributeNullableInt56u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56uWithValue:completion:") + public native void writeAttributeNullableInt56u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56uWithValue:params:completion:") + public native void writeAttributeNullableInt56u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt56uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt56u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64uWithCompletion:") + public native void readAttributeNullableInt64u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64uWithValue:completion:") + public native void writeAttributeNullableInt64u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64uWithValue:params:completion:") + public native void writeAttributeNullableInt64u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt64uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt64u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8sWithCompletion:") + public native void readAttributeNullableInt8s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8sWithValue:completion:") + public native void writeAttributeNullableInt8s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8sWithValue:params:completion:") + public native void writeAttributeNullableInt8s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt8sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt8s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16sWithCompletion:") + public native void readAttributeNullableInt16s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16sWithValue:completion:") + public native void writeAttributeNullableInt16s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16sWithValue:params:completion:") + public native void writeAttributeNullableInt16s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt16sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt16s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24sWithCompletion:") + public native void readAttributeNullableInt24s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24sWithValue:completion:") + public native void writeAttributeNullableInt24s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24sWithValue:params:completion:") + public native void writeAttributeNullableInt24s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt24sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt24s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32sWithCompletion:") + public native void readAttributeNullableInt32s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32sWithValue:completion:") + public native void writeAttributeNullableInt32s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32sWithValue:params:completion:") + public native void writeAttributeNullableInt32s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt32sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt32s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40sWithCompletion:") + public native void readAttributeNullableInt40s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40sWithValue:completion:") + public native void writeAttributeNullableInt40s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40sWithValue:params:completion:") + public native void writeAttributeNullableInt40s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt40sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt40s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48sWithCompletion:") + public native void readAttributeNullableInt48s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48sWithValue:completion:") + public native void writeAttributeNullableInt48s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48sWithValue:params:completion:") + public native void writeAttributeNullableInt48s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt48sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt48s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56sWithCompletion:") + public native void readAttributeNullableInt56s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56sWithValue:completion:") + public native void writeAttributeNullableInt56s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56sWithValue:params:completion:") + public native void writeAttributeNullableInt56s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt56sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt56s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64sWithCompletion:") + public native void readAttributeNullableInt64s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64sWithValue:completion:") + public native void writeAttributeNullableInt64s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64sWithValue:params:completion:") + public native void writeAttributeNullableInt64s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableInt64sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableInt64s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum8WithCompletion:") + public native void readAttributeNullableEnum8(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum8WithValue:completion:") + public native void writeAttributeNullableEnum8(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum8WithValue:params:completion:") + public native void writeAttributeNullableEnum8(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableEnum8WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableEnum8(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum16WithCompletion:") + public native void readAttributeNullableEnum16(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum16WithValue:completion:") + public native void writeAttributeNullableEnum16(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum16WithValue:params:completion:") + public native void writeAttributeNullableEnum16(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableEnum16WithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableEnum16(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatSingleWithCompletion:") + public native void readAttributeNullableFloatSingle(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatSingleWithValue:completion:") + public native void writeAttributeNullableFloatSingle(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatSingleWithValue:params:completion:") + public native void writeAttributeNullableFloatSingle(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableFloatSingleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableFloatSingle(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatDoubleWithCompletion:") + public native void readAttributeNullableFloatDouble(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatDoubleWithValue:completion:") + public native void writeAttributeNullableFloatDouble(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatDoubleWithValue:params:completion:") + public native void writeAttributeNullableFloatDouble(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableFloatDoubleWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableFloatDouble(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableOctetStringWithCompletion:") + public native void readAttributeNullableOctetString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableOctetStringWithValue:completion:") + public native void writeAttributeNullableOctetString(NSData value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableOctetStringWithValue:params:completion:") + public native void writeAttributeNullableOctetString(NSData value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableOctetStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableOctetString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableCharStringWithCompletion:") + public native void readAttributeNullableCharString(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableCharStringWithValue:completion:") + public native void writeAttributeNullableCharString(String value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableCharStringWithValue:params:completion:") + public native void writeAttributeNullableCharString(String value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableCharStringWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableCharString(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnumAttrWithCompletion:") + public native void readAttributeNullableEnumAttr(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnumAttrWithValue:completion:") + public native void writeAttributeNullableEnumAttr(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnumAttrWithValue:params:completion:") + public native void writeAttributeNullableEnumAttr(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableEnumAttrWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableEnumAttr(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableStructWithCompletion:") + public native void readAttributeNullableStruct(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableStructWithValue:completion:") + public native void writeAttributeNullableStruct(MTRUnitTestingClusterSimpleStruct value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableStructWithValue:params:completion:") + public native void writeAttributeNullableStruct(MTRUnitTestingClusterSimpleStruct value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableStructWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableStruct(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8uWithCompletion:") + public native void readAttributeNullableRangeRestrictedInt8u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8uWithValue:completion:") + public native void writeAttributeNullableRangeRestrictedInt8u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8uWithValue:params:completion:") + public native void writeAttributeNullableRangeRestrictedInt8u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableRangeRestrictedInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableRangeRestrictedInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8sWithCompletion:") + public native void readAttributeNullableRangeRestrictedInt8s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8sWithValue:completion:") + public native void writeAttributeNullableRangeRestrictedInt8s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8sWithValue:params:completion:") + public native void writeAttributeNullableRangeRestrictedInt8s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableRangeRestrictedInt8sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableRangeRestrictedInt8s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16uWithCompletion:") + public native void readAttributeNullableRangeRestrictedInt16u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16uWithValue:completion:") + public native void writeAttributeNullableRangeRestrictedInt16u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16uWithValue:params:completion:") + public native void writeAttributeNullableRangeRestrictedInt16u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableRangeRestrictedInt16uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableRangeRestrictedInt16u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16sWithCompletion:") + public native void readAttributeNullableRangeRestrictedInt16s(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16sWithValue:completion:") + public native void writeAttributeNullableRangeRestrictedInt16s(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16sWithValue:params:completion:") + public native void writeAttributeNullableRangeRestrictedInt16s(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNullableRangeRestrictedInt16sWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNullableRangeRestrictedInt16s(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWriteOnlyInt8uWithCompletion:") + public native void readAttributeWriteOnlyInt8u(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWriteOnlyInt8uWithValue:completion:") + public native void writeAttributeWriteOnlyInt8u(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWriteOnlyInt8uWithValue:params:completion:") + public native void writeAttributeWriteOnlyInt8u(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWriteOnlyInt8uWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWriteOnlyInt8u(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBooleanWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBoolean(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap8WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBitmap8(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap16WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBitmap16(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap32WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBitmap32(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap64WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBitmap64(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt16u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt24u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt32u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt40u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt48u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt56u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt64u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt8s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt16s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt24s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt32s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt40s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt48s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt56s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInt64s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum8WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnum8(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum16WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnum16(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatSingleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFloatSingle(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatDoubleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFloatDouble(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListStructOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListStructOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLongOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCharStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCharString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongCharStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLongCharString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochUsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEpochUs(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochSWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEpochS(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIdWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeVendorId(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListNullablesAndOptionalsStructWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListNullablesAndOptionalsStruct(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnumAttrWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEnumAttr(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStructAttrWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeStructAttr(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRangeRestrictedInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRangeRestrictedInt8s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRangeRestrictedInt16u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRangeRestrictedInt16s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListLongOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListLongOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListFabricScopedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeListFabricScoped(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTimedWriteBooleanWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTimedWriteBoolean(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneralErrorBooleanWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneralErrorBoolean(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterErrorBooleanWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterErrorBoolean(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnsupportedWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeUnsupported(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBooleanWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableBoolean(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap8WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableBitmap8(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap16WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableBitmap16(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap32WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableBitmap32(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap64WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableBitmap64(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt16u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt24u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt32u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt40u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt48u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt56u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt64u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt8s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt16s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt24s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt32s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt40s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt48s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt56s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableInt64s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum8WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableEnum8(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum16WithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableEnum16(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatSingleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableFloatSingle(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatDoubleWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableFloatDouble(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableOctetStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableOctetString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableCharStringWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableCharString(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnumAttrWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableEnumAttr(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableStructWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableStruct(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableRangeRestrictedInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableRangeRestrictedInt8s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableRangeRestrictedInt16u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16sWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNullableRangeRestrictedInt16s(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWriteOnlyInt8uWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWriteOnlyInt8u(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUserLabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUserLabel.java new file mode 100644 index 000000000..65cc72dfe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterUserLabel.java @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterUserLabel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterUserLabelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterUserLabel.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterUserLabel() {} + protected MTRBaseClusterUserLabel(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterUserLabel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterUserLabel(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLabelListWithCompletion:") + public native void readAttributeLabelList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLabelListWithValue:completion:") + public native void writeAttributeLabelList(NSArray value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLabelListWithValue:params:completion:") + public native void writeAttributeLabelList(NSArray value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeLabelListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeLabelList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLabelListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeLabelList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWakeOnLAN.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWakeOnLAN.java new file mode 100644 index 000000000..1ade49be6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWakeOnLAN.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterWakeOnLAN/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterWakeOnLANPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterWakeOnLAN.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterWakeOnLAN() {} + protected MTRBaseClusterWakeOnLAN(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterWakeOnLAN(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterWakeOnLAN(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMACAddressWithCompletion:") + public native void readAttributeMACAddress(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeMACAddressWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMACAddress(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMACAddressWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMACAddress(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWiFiNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWiFiNetworkDiagnostics.java new file mode 100644 index 000000000..5a531e4de --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWiFiNetworkDiagnostics.java @@ -0,0 +1,349 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterWiFiNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterWiFiNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterWiFiNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterWiFiNetworkDiagnostics() {} + protected MTRBaseClusterWiFiNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterWiFiNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterWiFiNetworkDiagnostics(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:completion:") + public native void resetCounts(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithCompletion:") + public native void resetCounts(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBSSIDWithCompletion:") + public native void readAttributeBSSID(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBSSIDWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBSSID(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSecurityTypeWithCompletion:") + public native void readAttributeSecurityType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSecurityTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSecurityType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiFiVersionWithCompletion:") + public native void readAttributeWiFiVersion(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeWiFiVersionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeWiFiVersion(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelNumberWithCompletion:") + public native void readAttributeChannelNumber(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeChannelNumberWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeChannelNumber(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRSSIWithCompletion:") + public native void readAttributeRSSI(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeRSSIWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeRSSI(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBeaconLostCountWithCompletion:") + public native void readAttributeBeaconLostCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBeaconLostCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBeaconLostCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBeaconRxCountWithCompletion:") + public native void readAttributeBeaconRxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeBeaconRxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeBeaconRxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketMulticastRxCountWithCompletion:") + public native void readAttributePacketMulticastRxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketMulticastRxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketMulticastRxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketMulticastTxCountWithCompletion:") + public native void readAttributePacketMulticastTxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketMulticastTxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketMulticastTxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketUnicastRxCountWithCompletion:") + public native void readAttributePacketUnicastRxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketUnicastRxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketUnicastRxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketUnicastTxCountWithCompletion:") + public native void readAttributePacketUnicastTxCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePacketUnicastTxCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePacketUnicastTxCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentMaxRateWithCompletion:") + public native void readAttributeCurrentMaxRate(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentMaxRateWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentMaxRate(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithCompletion:") + public native void readAttributeOverrunCount(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOverrunCountWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOverrunCount(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBSSIDWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBSSID(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSecurityTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSecurityType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWiFiVersionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeWiFiVersion(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeChannelNumberWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeChannelNumber(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRSSIWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeRSSI(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBeaconLostCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBeaconLostCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBeaconRxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeBeaconRxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketMulticastRxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketMulticastRxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketMulticastTxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketMulticastTxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketUnicastRxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketUnicastRxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePacketUnicastTxCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePacketUnicastTxCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentMaxRateWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentMaxRate(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOverrunCountWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOverrunCount(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWindowCovering.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWindowCovering.java new file mode 100644 index 000000000..6275acce0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseClusterWindowCovering.java @@ -0,0 +1,534 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseClusterWindowCovering/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRBaseClusterWindowCoveringPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseClusterWindowCovering.class); }/**/ + /**//**/ + /**/ + protected MTRBaseClusterWindowCovering() {} + protected MTRBaseClusterWindowCovering(Handle h, long handle) { super(h, handle); } + protected MTRBaseClusterWindowCovering(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRBaseClusterWindowCovering(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRBaseDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "upOrOpenWithParams:completion:") + public native void upOrOpen(MTRWindowCoveringClusterUpOrOpenParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "upOrOpenWithCompletion:") + public native void upOrOpen(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "downOrCloseWithParams:completion:") + public native void downOrClose(MTRWindowCoveringClusterDownOrCloseParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "downOrCloseWithCompletion:") + public native void downOrClose(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMotionWithParams:completion:") + public native void stopMotion(MTRWindowCoveringClusterStopMotionParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMotionWithCompletion:") + public native void stopMotion(@Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToLiftValueWithParams:completion:") + public native void goToLiftValue(MTRWindowCoveringClusterGoToLiftValueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToLiftPercentageWithParams:completion:") + public native void goToLiftPercentage(MTRWindowCoveringClusterGoToLiftPercentageParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToTiltValueWithParams:completion:") + public native void goToTiltValue(MTRWindowCoveringClusterGoToTiltValueParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToTiltPercentageWithParams:completion:") + public native void goToTiltPercentage(MTRWindowCoveringClusterGoToTiltPercentageParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTypeWithCompletion:") + public native void readAttributeType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitLiftWithCompletion:") + public native void readAttributePhysicalClosedLimitLift(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalClosedLimitLiftWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalClosedLimitLift(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitTiltWithCompletion:") + public native void readAttributePhysicalClosedLimitTilt(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributePhysicalClosedLimitTiltWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributePhysicalClosedLimitTilt(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftWithCompletion:") + public native void readAttributeCurrentPositionLift(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionLiftWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionLift(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltWithCompletion:") + public native void readAttributeCurrentPositionTilt(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionTiltWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionTilt(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsLiftWithCompletion:") + public native void readAttributeNumberOfActuationsLift(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfActuationsLiftWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfActuationsLift(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsTiltWithCompletion:") + public native void readAttributeNumberOfActuationsTilt(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeNumberOfActuationsTiltWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeNumberOfActuationsTilt(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeConfigStatusWithCompletion:") + public native void readAttributeConfigStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeConfigStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeConfigStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercentageWithCompletion:") + public native void readAttributeCurrentPositionLiftPercentage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionLiftPercentageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionLiftPercentage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercentageWithCompletion:") + public native void readAttributeCurrentPositionTiltPercentage(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionTiltPercentageWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionTiltPercentage(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationalStatusWithCompletion:") + public native void readAttributeOperationalStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeOperationalStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeOperationalStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetPositionLiftPercent100thsWithCompletion:") + public native void readAttributeTargetPositionLiftPercent100ths(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTargetPositionLiftPercent100thsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTargetPositionLiftPercent100ths(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetPositionTiltPercent100thsWithCompletion:") + public native void readAttributeTargetPositionTiltPercent100ths(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeTargetPositionTiltPercent100thsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeTargetPositionTiltPercent100ths(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEndProductTypeWithCompletion:") + public native void readAttributeEndProductType(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeEndProductTypeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeEndProductType(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercent100thsWithCompletion:") + public native void readAttributeCurrentPositionLiftPercent100ths(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionLiftPercent100thsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionLiftPercent100ths(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercent100thsWithCompletion:") + public native void readAttributeCurrentPositionTiltPercent100ths(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeCurrentPositionTiltPercent100thsWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeCurrentPositionTiltPercent100ths(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitLiftWithCompletion:") + public native void readAttributeInstalledOpenLimitLift(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstalledOpenLimitLiftWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstalledOpenLimitLift(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitLiftWithCompletion:") + public native void readAttributeInstalledClosedLimitLift(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstalledClosedLimitLiftWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstalledClosedLimitLift(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitTiltWithCompletion:") + public native void readAttributeInstalledOpenLimitTilt(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstalledOpenLimitTiltWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstalledOpenLimitTilt(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitTiltWithCompletion:") + public native void readAttributeInstalledClosedLimitTilt(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeInstalledClosedLimitTiltWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeInstalledClosedLimitTilt(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeModeWithCompletion:") + public native void readAttributeMode(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeModeWithValue:completion:") + public native void writeAttributeMode(NSNumber value, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeModeWithValue:params:completion:") + public native void writeAttributeMode(NSNumber value, MTRWriteParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeModeWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeMode(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSafetyStatusWithCompletion:") + public native void readAttributeSafetyStatus(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeSafetyStatusWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeSafetyStatus(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithCompletion:") + public native void readAttributeGeneratedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeGeneratedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithCompletion:") + public native void readAttributeAcceptedCommandList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAcceptedCommandList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithCompletion:") + public native void readAttributeAttributeList(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeAttributeListWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeAttributeList(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2, NSError> reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithCompletion:") + public native void readAttributeFeatureMap(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeFeatureMapWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeFeatureMap(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithCompletion:") + public native void readAttributeClusterRevision(@Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:reportHandler:") + public native void subscribeAttributeClusterRevision(MTRSubscribeParams params, @Block Runnable subscriptionEstablished, @Block VoidBlock2 reportHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitLiftWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalClosedLimitLift(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitTiltWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributePhysicalClosedLimitTilt(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionLift(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionTilt(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsLiftWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfActuationsLift(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsTiltWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeNumberOfActuationsTilt(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeConfigStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeConfigStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercentageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionLiftPercentage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercentageWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionTiltPercentage(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOperationalStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeOperationalStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetPositionLiftPercent100thsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTargetPositionLiftPercent100ths(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTargetPositionTiltPercent100thsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeTargetPositionTiltPercent100ths(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEndProductTypeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeEndProductType(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercent100thsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionLiftPercent100ths(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercent100thsWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeCurrentPositionTiltPercent100ths(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitLiftWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstalledOpenLimitLift(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitLiftWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstalledClosedLimitLift(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitTiltWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstalledOpenLimitTilt(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitTiltWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeInstalledClosedLimitTilt(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeModeWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeMode(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSafetyStatusWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeSafetyStatus(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeGeneratedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAcceptedCommandList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeAttributeList(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeFeatureMap(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithClusterStateCache:endpoint:queue:completion:") + public static native void readAttributeClusterRevision(MTRClusterStateCacheContainer clusterStateCacheContainer, NSNumber endpoint, DispatchQueue queue, @Block VoidBlock2 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseDevice.java new file mode 100644 index 000000000..985a5e3a1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBaseDevice.java @@ -0,0 +1,193 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBaseDevice/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBaseDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBaseDevice.class); }/**/ + /**//**/ + /**/ + protected MTRBaseDevice() {} + protected MTRBaseDevice(Handle h, long handle) { super(h, handle); } + protected MTRBaseDevice(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sessionTransportType") + public native MTRTransportType getSessionTransportType(); + /**/ + /**//**/ + /**/ + @Library("Matter") + public static class Values { + static { Bro.bind(Values.class); } + + @GlobalValue(symbol="MTRAttributePathKey", optional=true) + public static native NSString MTRAttributePathKey(); + @GlobalValue(symbol="MTRCommandPathKey", optional=true) + public static native NSString MTRCommandPathKey(); + @GlobalValue(symbol="MTREventPathKey", optional=true) + public static native NSString MTREventPathKey(); + @GlobalValue(symbol="MTRDataKey", optional=true) + public static native NSString MTRDataKey(); + @GlobalValue(symbol="MTRErrorKey", optional=true) + public static native NSString MTRErrorKey(); + @GlobalValue(symbol="MTRTypeKey", optional=true) + public static native NSString MTRTypeKey(); + @GlobalValue(symbol="MTRValueKey", optional=true) + public static native NSString MTRValueKey(); + @GlobalValue(symbol="MTRContextTagKey", optional=true) + public static native NSString MTRContextTagKey(); + @GlobalValue(symbol="MTRSignedIntegerValueType", optional=true) + public static native NSString MTRSignedIntegerValueType(); + @GlobalValue(symbol="MTRUnsignedIntegerValueType", optional=true) + public static native NSString MTRUnsignedIntegerValueType(); + @GlobalValue(symbol="MTRBooleanValueType", optional=true) + public static native NSString MTRBooleanValueType(); + @GlobalValue(symbol="MTRUTF8StringValueType", optional=true) + public static native NSString MTRUTF8StringValueType(); + @GlobalValue(symbol="MTROctetStringValueType", optional=true) + public static native NSString MTROctetStringValueType(); + @GlobalValue(symbol="MTRFloatValueType", optional=true) + public static native NSString MTRFloatValueType(); + @GlobalValue(symbol="MTRDoubleValueType", optional=true) + public static native NSString MTRDoubleValueType(); + @GlobalValue(symbol="MTRNullValueType", optional=true) + public static native NSString MTRNullValueType(); + @GlobalValue(symbol="MTRStructureValueType", optional=true) + public static native NSString MTRStructureValueType(); + @GlobalValue(symbol="MTRArrayValueType", optional=true) + public static native NSString MTRArrayValueType(); + /** + * @since Available in iOS 16.5 and later. + */ + @GlobalValue(symbol="MTREventNumberKey", optional=true) + public static native NSString MTREventNumberKey(); + /** + * @since Available in iOS 16.5 and later. + */ + @GlobalValue(symbol="MTREventPriorityKey", optional=true) + public static native NSString MTREventPriorityKey(); + /** + * @since Available in iOS 16.5 and later. + */ + @GlobalValue(symbol="MTREventTimeTypeKey", optional=true) + public static native NSString MTREventTimeTypeKey(); + /** + * @since Available in iOS 16.5 and later. + */ + @GlobalValue(symbol="MTREventSystemUpTimeKey", optional=true) + public static native NSString MTREventSystemUpTimeKey(); + /** + * @since Available in iOS 16.5 and later. + */ + @GlobalValue(symbol="MTREventTimestampDateKey", optional=true) + public static native NSString MTREventTimestampDateKey(); + } + + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeWithQueue:params:clusterStateCacheContainer:attributeReportHandler:eventReportHandler:errorHandler:subscriptionEstablished:resubscriptionScheduled:") + public native void subscribe(DispatchQueue queue, MTRSubscribeParams params, MTRClusterStateCacheContainer clusterStateCacheContainer, @Block VoidBlock1> attributeReportHandler, @Block VoidBlock1> eventReportHandler, @Block VoidBlock1 errorHandler, @Block Runnable subscriptionEstablished, @Block VoidBlock2 resubscriptionScheduled); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributesWithEndpointID:clusterID:attributeID:params:queue:completion:") + public native void readAttributes(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, MTRReadParams params, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributePaths:eventPaths:params:queue:completion:") + public native void readAttributePaths(NSArray attributePaths, NSArray eventPaths, MTRReadParams params, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWithEndpointID:clusterID:attributeID:value:timedWriteTimeout:queue:completion:") + public native void writeAttribute(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, NSObject value, NSNumber timeoutMs, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "invokeCommandWithEndpointID:clusterID:commandID:commandFields:timedInvokeTimeout:queue:completion:") + public native void invokeCommand(NSNumber endpointID, NSNumber clusterID, NSNumber commandID, NSObject commandFields, NSNumber timeoutMs, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeToAttributesWithEndpointID:clusterID:attributeID:params:queue:reportHandler:subscriptionEstablished:") + public native void subscribeToAttributes(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, MTRSubscribeParams params, DispatchQueue queue, @Block VoidBlock2, NSError> reportHandler, @Block Runnable subscriptionEstablished); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "subscribeToAttributePaths:eventPaths:params:queue:reportHandler:subscriptionEstablished:resubscriptionScheduled:") + public native void subscribeToAttributePaths(NSArray attributePaths, NSArray eventPaths, MTRSubscribeParams params, DispatchQueue queue, @Block VoidBlock2, NSError> reportHandler, @Block Runnable subscriptionEstablished, @Block VoidBlock2 resubscriptionScheduled); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deregisterReportHandlersWithQueue:completion:") + public native void deregisterReportHandlers(DispatchQueue queue, @Block Runnable completion); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "openCommissioningWindowWithSetupPasscode:discriminator:duration:queue:completion:") + public native void openCommissioningWindow(NSNumber setupPasscode, NSNumber discriminator, NSNumber duration, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "openCommissioningWindowWithDiscriminator:duration:queue:completion:") + public native void openCommissioningWindow(NSNumber discriminator, NSNumber duration, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readEventsWithEndpointID:clusterID:eventID:params:queue:completion:") + public native void readEvents(NSNumber endpointID, NSNumber clusterID, NSNumber eventID, MTRReadParams params, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "subscribeToEventsWithEndpointID:clusterID:eventID:params:queue:reportHandler:subscriptionEstablished:") + public native void subscribeToEvents(NSNumber endpointID, NSNumber clusterID, NSNumber eventID, MTRSubscribeParams params, DispatchQueue queue, @Block VoidBlock2, NSError> reportHandler, @Block Runnable subscriptionEstablished); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceWithNodeID:controller:") + public static native MTRBaseDevice createDevice(NSNumber nodeID, MTRDeviceController controller); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterCapabilityMinimaStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterCapabilityMinimaStruct.java new file mode 100644 index 000000000..8c61fb7cf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterCapabilityMinimaStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterCapabilityMinimaStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterCapabilityMinimaStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterCapabilityMinimaStruct.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterCapabilityMinimaStruct() {} + protected MTRBasicInformationClusterCapabilityMinimaStruct(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterCapabilityMinimaStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "caseSessionsPerFabric") + public native NSNumber getCaseSessionsPerFabric(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCaseSessionsPerFabric:") + public native void setCaseSessionsPerFabric(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "subscriptionsPerFabric") + public native NSNumber getSubscriptionsPerFabric(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSubscriptionsPerFabric:") + public native void setSubscriptionsPerFabric(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterLeaveEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterLeaveEvent.java new file mode 100644 index 000000000..5f4ce32e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterLeaveEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterLeaveEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterLeaveEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterLeaveEvent.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterLeaveEvent() {} + protected MTRBasicInformationClusterLeaveEvent(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterLeaveEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterProductAppearanceStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterProductAppearanceStruct.java new file mode 100644 index 000000000..afe13213c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterProductAppearanceStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterProductAppearanceStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterProductAppearanceStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterProductAppearanceStruct.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterProductAppearanceStruct() {} + protected MTRBasicInformationClusterProductAppearanceStruct(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterProductAppearanceStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "finish") + public native NSNumber getFinish(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFinish:") + public native void setFinish(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "primaryColor") + public native NSNumber getPrimaryColor(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPrimaryColor:") + public native void setPrimaryColor(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterReachableChangedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterReachableChangedEvent.java new file mode 100644 index 000000000..426199083 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterReachableChangedEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterReachableChangedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterReachableChangedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterReachableChangedEvent.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterReachableChangedEvent() {} + protected MTRBasicInformationClusterReachableChangedEvent(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterReachableChangedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "reachableNewValue") + public native NSNumber getReachableNewValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReachableNewValue:") + public native void setReachableNewValue(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterShutDownEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterShutDownEvent.java new file mode 100644 index 000000000..717551f61 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterShutDownEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterShutDownEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterShutDownEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterShutDownEvent.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterShutDownEvent() {} + protected MTRBasicInformationClusterShutDownEvent(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterShutDownEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterStartUpEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterStartUpEvent.java new file mode 100644 index 000000000..b5870ce79 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationClusterStartUpEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBasicInformationClusterStartUpEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBasicInformationClusterStartUpEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBasicInformationClusterStartUpEvent.class); }/**/ + /**//**/ + /**/ + public MTRBasicInformationClusterStartUpEvent() {} + protected MTRBasicInformationClusterStartUpEvent(Handle h, long handle) { super(h, handle); } + protected MTRBasicInformationClusterStartUpEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationColor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationColor.java new file mode 100644 index 000000000..2180476e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationColor.java @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRBasicInformationColor/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Black(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Navy(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Green(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Teal(3L), + /** + * @since Available in iOS 17.0 and later. + */ + Maroon(4L), + /** + * @since Available in iOS 17.0 and later. + */ + Purple(5L), + /** + * @since Available in iOS 17.0 and later. + */ + Olive(6L), + /** + * @since Available in iOS 17.0 and later. + */ + Gray(7L), + /** + * @since Available in iOS 17.0 and later. + */ + Blue(8L), + /** + * @since Available in iOS 17.0 and later. + */ + Lime(9L), + /** + * @since Available in iOS 17.0 and later. + */ + Aqua(10L), + /** + * @since Available in iOS 17.0 and later. + */ + Red(11L), + /** + * @since Available in iOS 17.0 and later. + */ + Fuchsia(12L), + /** + * @since Available in iOS 17.0 and later. + */ + Yellow(13L), + /** + * @since Available in iOS 17.0 and later. + */ + White(14L), + /** + * @since Available in iOS 17.0 and later. + */ + Nickel(15L), + /** + * @since Available in iOS 17.0 and later. + */ + Chrome(16L), + /** + * @since Available in iOS 17.0 and later. + */ + Brass(17L), + /** + * @since Available in iOS 17.0 and later. + */ + Copper(18L), + /** + * @since Available in iOS 17.0 and later. + */ + Silver(19L), + /** + * @since Available in iOS 17.0 and later. + */ + Gold(20L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRBasicInformationColor/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRBasicInformationColor/**/ valueOf(long n) { + for (/**/MTRBasicInformationColor/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRBasicInformationColor/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationProductFinish.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationProductFinish.java new file mode 100644 index 000000000..c50e7dea6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBasicInformationProductFinish.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRBasicInformationProductFinish/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Other(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Matte(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Satin(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Polished(3L), + /** + * @since Available in iOS 17.0 and later. + */ + Rugged(4L), + /** + * @since Available in iOS 17.0 and later. + */ + Fabric(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRBasicInformationProductFinish/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRBasicInformationProductFinish/**/ valueOf(long n) { + for (/**/MTRBasicInformationProductFinish/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRBasicInformationProductFinish/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBindingClusterTargetStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBindingClusterTargetStruct.java new file mode 100644 index 000000000..e65b65204 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBindingClusterTargetStruct.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBindingClusterTargetStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBindingClusterTargetStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBindingClusterTargetStruct.class); }/**/ + /**//**/ + /**/ + public MTRBindingClusterTargetStruct() {} + protected MTRBindingClusterTargetStruct(Handle h, long handle) { super(h, handle); } + protected MTRBindingClusterTargetStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "node") + public native NSNumber getNode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNode:") + public native void setNode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "group") + public native NSNumber getGroup(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroup:") + public native void setGroup(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndpoint:") + public native void setEndpoint(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "cluster") + public native NSNumber getCluster(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCluster:") + public native void setCluster(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBooleanStateClusterStateChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBooleanStateClusterStateChangeEvent.java new file mode 100644 index 000000000..aa5a30389 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBooleanStateClusterStateChangeEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBooleanStateClusterStateChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBooleanStateClusterStateChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBooleanStateClusterStateChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRBooleanStateClusterStateChangeEvent() {} + protected MTRBooleanStateClusterStateChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRBooleanStateClusterStateChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stateValue") + public native NSNumber getStateValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStateValue:") + public native void setStateValue(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterLeaveEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterLeaveEvent.java new file mode 100644 index 000000000..5e2b5a442 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterLeaveEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBridgedDeviceBasicInformationClusterLeaveEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBridgedDeviceBasicInformationClusterLeaveEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBridgedDeviceBasicInformationClusterLeaveEvent.class); }/**/ + /**//**/ + /**/ + public MTRBridgedDeviceBasicInformationClusterLeaveEvent() {} + protected MTRBridgedDeviceBasicInformationClusterLeaveEvent(Handle h, long handle) { super(h, handle); } + protected MTRBridgedDeviceBasicInformationClusterLeaveEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct.java new file mode 100644 index 000000000..982c8d9b6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBridgedDeviceBasicInformationClusterProductAppearanceStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct.class); }/**/ + /**//**/ + /**/ + public MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct() {} + protected MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct(Handle h, long handle) { super(h, handle); } + protected MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "finish") + public native NSNumber getFinish(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFinish:") + public native void setFinish(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "primaryColor") + public native NSNumber getPrimaryColor(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPrimaryColor:") + public native void setPrimaryColor(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterReachableChangedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterReachableChangedEvent.java new file mode 100644 index 000000000..894953076 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterReachableChangedEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBridgedDeviceBasicInformationClusterReachableChangedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBridgedDeviceBasicInformationClusterReachableChangedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBridgedDeviceBasicInformationClusterReachableChangedEvent.class); }/**/ + /**//**/ + /**/ + public MTRBridgedDeviceBasicInformationClusterReachableChangedEvent() {} + protected MTRBridgedDeviceBasicInformationClusterReachableChangedEvent(Handle h, long handle) { super(h, handle); } + protected MTRBridgedDeviceBasicInformationClusterReachableChangedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "reachableNewValue") + public native NSNumber getReachableNewValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReachableNewValue:") + public native void setReachableNewValue(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterShutDownEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterShutDownEvent.java new file mode 100644 index 000000000..1493f6f8b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterShutDownEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBridgedDeviceBasicInformationClusterShutDownEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBridgedDeviceBasicInformationClusterShutDownEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBridgedDeviceBasicInformationClusterShutDownEvent.class); }/**/ + /**//**/ + /**/ + public MTRBridgedDeviceBasicInformationClusterShutDownEvent() {} + protected MTRBridgedDeviceBasicInformationClusterShutDownEvent(Handle h, long handle) { super(h, handle); } + protected MTRBridgedDeviceBasicInformationClusterShutDownEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterStartUpEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterStartUpEvent.java new file mode 100644 index 000000000..6549a3f4b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationClusterStartUpEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRBridgedDeviceBasicInformationClusterStartUpEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRBridgedDeviceBasicInformationClusterStartUpEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRBridgedDeviceBasicInformationClusterStartUpEvent.class); }/**/ + /**//**/ + /**/ + public MTRBridgedDeviceBasicInformationClusterStartUpEvent() {} + protected MTRBridgedDeviceBasicInformationClusterStartUpEvent(Handle h, long handle) { super(h, handle); } + protected MTRBridgedDeviceBasicInformationClusterStartUpEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationColor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationColor.java new file mode 100644 index 000000000..0fa8d2576 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationColor.java @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRBridgedDeviceBasicInformationColor/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Black(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Navy(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Green(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Teal(3L), + /** + * @since Available in iOS 17.0 and later. + */ + Maroon(4L), + /** + * @since Available in iOS 17.0 and later. + */ + Purple(5L), + /** + * @since Available in iOS 17.0 and later. + */ + Olive(6L), + /** + * @since Available in iOS 17.0 and later. + */ + Gray(7L), + /** + * @since Available in iOS 17.0 and later. + */ + Blue(8L), + /** + * @since Available in iOS 17.0 and later. + */ + Lime(9L), + /** + * @since Available in iOS 17.0 and later. + */ + Aqua(10L), + /** + * @since Available in iOS 17.0 and later. + */ + Red(11L), + /** + * @since Available in iOS 17.0 and later. + */ + Fuchsia(12L), + /** + * @since Available in iOS 17.0 and later. + */ + Yellow(13L), + /** + * @since Available in iOS 17.0 and later. + */ + White(14L), + /** + * @since Available in iOS 17.0 and later. + */ + Nickel(15L), + /** + * @since Available in iOS 17.0 and later. + */ + Chrome(16L), + /** + * @since Available in iOS 17.0 and later. + */ + Brass(17L), + /** + * @since Available in iOS 17.0 and later. + */ + Copper(18L), + /** + * @since Available in iOS 17.0 and later. + */ + Silver(19L), + /** + * @since Available in iOS 17.0 and later. + */ + Gold(20L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRBridgedDeviceBasicInformationColor/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRBridgedDeviceBasicInformationColor/**/ valueOf(long n) { + for (/**/MTRBridgedDeviceBasicInformationColor/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRBridgedDeviceBasicInformationColor/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationProductFinish.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationProductFinish.java new file mode 100644 index 000000000..eff14cd1d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRBridgedDeviceBasicInformationProductFinish.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRBridgedDeviceBasicInformationProductFinish/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Other(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Matte(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Satin(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Polished(3L), + /** + * @since Available in iOS 17.0 and later. + */ + Rugged(4L), + /** + * @since Available in iOS 17.0 and later. + */ + Fabric(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRBridgedDeviceBasicInformationProductFinish/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRBridgedDeviceBasicInformationProductFinish/**/ valueOf(long n) { + for (/**/MTRBridgedDeviceBasicInformationProductFinish/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRBridgedDeviceBasicInformationProductFinish/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificateInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificateInfo.java new file mode 100644 index 000000000..cf2579f41 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificateInfo.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCertificateInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRCertificateInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCertificateInfo.class); }/**/ + /**//**/ + /**/ + protected MTRCertificateInfo() {} + protected MTRCertificateInfo(Handle h, long handle) { super(h, handle); } + protected MTRCertificateInfo(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithTLVBytes:") + public MTRCertificateInfo(NSData bytes) { super((SkipInit) null); initObject(init(bytes)); } + /**/ + /**/ + @Property(selector = "issuer") + public native MTRDistinguishedNameInfo getIssuer(); + @Property(selector = "subject") + public native MTRDistinguishedNameInfo getSubject(); + @Property(selector = "notBefore") + public native NSDate getNotBefore(); + @Property(selector = "notAfter") + public native NSDate getNotAfter(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithTLVBytes:") + protected native @Pointer long init(NSData bytes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificates.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificates.java new file mode 100644 index 000000000..a364c7230 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCertificates.java @@ -0,0 +1,174 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCertificates/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRCertificatesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCertificates.class); }/**/ + /**//**/ + /**/ + protected MTRCertificates() {} + protected MTRCertificates(Handle h, long handle) { super(h, handle); } + protected MTRCertificates(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.6 and later. + */ + public static NSData createRootCertificate(MTRKeypair keypair, NSNumber issuerID, NSNumber fabricID, NSDateInterval validityPeriod) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createRootCertificate(keypair, issuerID, fabricID, validityPeriod, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.6 and later. + */ + @Method(selector = "createRootCertificate:issuerID:fabricID:validityPeriod:error:") + private static native NSData createRootCertificate(MTRKeypair keypair, NSNumber issuerID, NSNumber fabricID, NSDateInterval validityPeriod, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public static NSData createRootCertificate(MTRKeypair keypair, NSNumber issuerID, NSNumber fabricID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createRootCertificate(keypair, issuerID, fabricID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "createRootCertificate:issuerID:fabricID:error:") + private static native NSData createRootCertificate(MTRKeypair keypair, NSNumber issuerID, NSNumber fabricID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.6 and later. + */ + public static NSData createIntermediateCertificate(MTRKeypair rootKeypair, NSData rootCertificate, SecKey intermediatePublicKey, NSNumber issuerID, NSNumber fabricID, NSDateInterval validityPeriod) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createIntermediateCertificate(rootKeypair, rootCertificate, intermediatePublicKey, issuerID, fabricID, validityPeriod, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.6 and later. + */ + @Method(selector = "createIntermediateCertificate:rootCertificate:intermediatePublicKey:issuerID:fabricID:validityPeriod:error:") + private static native NSData createIntermediateCertificate(MTRKeypair rootKeypair, NSData rootCertificate, SecKey intermediatePublicKey, NSNumber issuerID, NSNumber fabricID, NSDateInterval validityPeriod, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public static NSData createIntermediateCertificate(MTRKeypair rootKeypair, NSData rootCertificate, SecKey intermediatePublicKey, NSNumber issuerID, NSNumber fabricID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createIntermediateCertificate(rootKeypair, rootCertificate, intermediatePublicKey, issuerID, fabricID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "createIntermediateCertificate:rootCertificate:intermediatePublicKey:issuerID:fabricID:error:") + private static native NSData createIntermediateCertificate(MTRKeypair rootKeypair, NSData rootCertificate, SecKey intermediatePublicKey, NSNumber issuerID, NSNumber fabricID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.6 and later. + */ + public static NSData createOperationalCertificate(MTRKeypair signingKeypair, NSData signingCertificate, SecKey operationalPublicKey, NSNumber fabricID, NSNumber nodeID, NSSet caseAuthenticatedTags, NSDateInterval validityPeriod) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createOperationalCertificate(signingKeypair, signingCertificate, operationalPublicKey, fabricID, nodeID, caseAuthenticatedTags, validityPeriod, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.6 and later. + */ + @Method(selector = "createOperationalCertificate:signingCertificate:operationalPublicKey:fabricID:nodeID:caseAuthenticatedTags:validityPeriod:error:") + private static native NSData createOperationalCertificate(MTRKeypair signingKeypair, NSData signingCertificate, SecKey operationalPublicKey, NSNumber fabricID, NSNumber nodeID, NSSet caseAuthenticatedTags, NSDateInterval validityPeriod, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public static NSData createOperationalCertificate(MTRKeypair signingKeypair, NSData signingCertificate, SecKey operationalPublicKey, NSNumber fabricID, NSNumber nodeID, NSSet caseAuthenticatedTags) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createOperationalCertificate(signingKeypair, signingCertificate, operationalPublicKey, fabricID, nodeID, caseAuthenticatedTags, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "createOperationalCertificate:signingCertificate:operationalPublicKey:fabricID:nodeID:caseAuthenticatedTags:error:") + private static native NSData createOperationalCertificate(MTRKeypair signingKeypair, NSData signingCertificate, SecKey operationalPublicKey, NSNumber fabricID, NSNumber nodeID, NSSet caseAuthenticatedTags, NSError.NSErrorPtr error); + @Method(selector = "keypair:matchesCertificate:") + public static native boolean keypairMatchesCertificate(MTRKeypair keypair, NSData certificate); + @Method(selector = "isCertificate:equalTo:") + public static native boolean isCertificateEquals(NSData certificate1, NSData certificate2); + public static NSData createCertificateSigningRequest(MTRKeypair keypair) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = createCertificateSigningRequest(keypair, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "createCertificateSigningRequest:error:") + private static native NSData createCertificateSigningRequest(MTRKeypair keypair, NSError.NSErrorPtr error); + @Method(selector = "convertX509Certificate:") + public static native NSData convertX509Certificate(NSData x509Certificate); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "convertMatterCertificate:") + public static native NSData convertMatterCertificate(NSData matterCertificate); + /** + * @since Available in iOS 16.4 and later. + */ + public static NSData publicKeyFromCSR(NSData csr) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = publicKeyFromCSR(csr, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "publicKeyFromCSR:error:") + private static native NSData publicKeyFromCSR(NSData csr, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelByNumberParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelByNumberParams.java new file mode 100644 index 000000000..b4de46c6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelByNumberParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterChangeChannelByNumberParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterChangeChannelByNumberParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterChangeChannelByNumberParams.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterChangeChannelByNumberParams() {} + protected MTRChannelClusterChangeChannelByNumberParams(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterChangeChannelByNumberParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "majorNumber") + public native NSNumber getMajorNumber(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMajorNumber:") + public native void setMajorNumber(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "minorNumber") + public native NSNumber getMinorNumber(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMinorNumber:") + public native void setMinorNumber(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelParams.java new file mode 100644 index 000000000..10685986f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterChangeChannelParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterChangeChannelParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterChangeChannelParams.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterChangeChannelParams() {} + protected MTRChannelClusterChangeChannelParams(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterChangeChannelParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "match") + public native String getMatch(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMatch:") + public native void setMatch(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelResponseParams.java new file mode 100644 index 000000000..17eb36e1f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChangeChannelResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterChangeChannelResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterChangeChannelResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterChangeChannelResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterChangeChannelResponseParams() {} + protected MTRChannelClusterChangeChannelResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterChangeChannelResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRChannelClusterChangeChannelResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChannelInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChannelInfoStruct.java new file mode 100644 index 000000000..42e72fb66 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterChannelInfoStruct.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterChannelInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterChannelInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterChannelInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterChannelInfoStruct() {} + protected MTRChannelClusterChannelInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterChannelInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "majorNumber") + public native NSNumber getMajorNumber(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMajorNumber:") + public native void setMajorNumber(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "minorNumber") + public native NSNumber getMinorNumber(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMinorNumber:") + public native void setMinorNumber(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "callSign") + public native String getCallSign(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCallSign:") + public native void setCallSign(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "affiliateCallSign") + public native String getAffiliateCallSign(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAffiliateCallSign:") + public native void setAffiliateCallSign(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterLineupInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterLineupInfoStruct.java new file mode 100644 index 000000000..f0603524a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterLineupInfoStruct.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterLineupInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterLineupInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterLineupInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterLineupInfoStruct() {} + protected MTRChannelClusterLineupInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterLineupInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "operatorName") + public native String getOperatorName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOperatorName:") + public native void setOperatorName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "lineupName") + public native String getLineupName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLineupName:") + public native void setLineupName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "postalCode") + public native String getPostalCode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPostalCode:") + public native void setPostalCode(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "lineupInfoType") + public native NSNumber getLineupInfoType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLineupInfoType:") + public native void setLineupInfoType(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterSkipChannelParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterSkipChannelParams.java new file mode 100644 index 000000000..ac4435508 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelClusterSkipChannelParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRChannelClusterSkipChannelParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRChannelClusterSkipChannelParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRChannelClusterSkipChannelParams.class); }/**/ + /**//**/ + /**/ + public MTRChannelClusterSkipChannelParams() {} + protected MTRChannelClusterSkipChannelParams(Handle h, long handle) { super(h, handle); } + protected MTRChannelClusterSkipChannelParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getCount") + public native NSNumber getCount(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCount:") + public native void setCount(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelFeature.java new file mode 100644 index 000000000..df88e041f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelFeature.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRChannelFeature/**/ extends Bits*/MTRChannelFeature/**/> { + /**/ + public static final MTRChannelFeature None = new MTRChannelFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRChannelFeature ChannelList = new MTRChannelFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRChannelFeature LineupInfo = new MTRChannelFeature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRChannelFeature/**/[] values = _values(/**/MTRChannelFeature/**/.class); + + public /**/MTRChannelFeature/**/(long value) { super(value); } + private /**/MTRChannelFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRChannelFeature/**/ wrap(long value, long mask) { + return new /**/MTRChannelFeature/**/(value, mask); + } + protected /**/MTRChannelFeature/**/[] _values() { + return values; + } + public static /**/MTRChannelFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelLineupInfoType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelLineupInfoType.java new file mode 100644 index 000000000..795e7e6fb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelLineupInfoType.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRChannelLineupInfoType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + MSO(0L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRChannelLineupInfoType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRChannelLineupInfoType/**/ valueOf(long n) { + for (/**/MTRChannelLineupInfoType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRChannelLineupInfoType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelStatus.java new file mode 100644 index 000000000..649159850 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRChannelStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRChannelStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + MultipleMatches(1L), + /** + * @since Available in iOS 16.1 and later. + */ + NoMatches(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRChannelStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRChannelStatus/**/ valueOf(long n) { + for (/**/MTRChannelStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRChannelStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCluster.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCluster.java new file mode 100644 index 000000000..ac066d294 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCluster.java @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCluster/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRClusterPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCluster.class); }/**/ + /**//**/ + /**/ + protected MTRCluster() {} + protected MTRCluster(Handle h, long handle) { super(h, handle); } + protected MTRCluster(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccessControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccessControl.java new file mode 100644 index 000000000..ae3f95e9a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccessControl.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterAccessControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterAccessControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterAccessControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterAccessControl() {} + protected MTRClusterAccessControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterAccessControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterAccessControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeACLWithParams:") + public native NSDictionary readAttributeACL(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLWithValue:expectedValueInterval:") + public native void writeAttributeACL(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeACLWithValue:expectedValueInterval:params:") + public native void writeAttributeACL(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeExtensionWithParams:") + public native NSDictionary readAttributeExtension(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeExtensionWithValue:expectedValueInterval:") + public native void writeAttributeExtension(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeExtensionWithValue:expectedValueInterval:params:") + public native void writeAttributeExtension(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSubjectsPerAccessControlEntryWithParams:") + public native NSDictionary readAttributeSubjectsPerAccessControlEntry(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTargetsPerAccessControlEntryWithParams:") + public native NSDictionary readAttributeTargetsPerAccessControlEntry(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAccessControlEntriesPerFabricWithParams:") + public native NSDictionary readAttributeAccessControlEntriesPerFabric(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccountLogin.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccountLogin.java new file mode 100644 index 000000000..e39b2eb87 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAccountLogin.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterAccountLogin/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterAccountLoginPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterAccountLogin.class); }/**/ + /**//**/ + /**/ + protected MTRClusterAccountLogin() {} + protected MTRClusterAccountLogin(Handle h, long handle) { super(h, handle); } + protected MTRClusterAccountLogin(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterAccountLogin(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getSetupPINWithParams:expectedValues:expectedValueInterval:completion:") + public native void getSetupPIN(MTRAccountLoginClusterGetSetupPINParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "loginWithParams:expectedValues:expectedValueInterval:completion:") + public native void login(MTRAccountLoginClusterLoginParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "logoutWithParams:expectedValues:expectedValueInterval:completion:") + public native void logout(MTRAccountLoginClusterLogoutParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "logoutWithExpectedValues:expectedValueInterval:completion:") + public native void logout(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterActions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterActions.java new file mode 100644 index 000000000..d6aaf3816 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterActions.java @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterActions/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterActionsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterActions.class); }/**/ + /**//**/ + /**/ + protected MTRClusterActions() {} + protected MTRClusterActions(Handle h, long handle) { super(h, handle); } + protected MTRClusterActions(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterActions(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "instantActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void instantAction(MTRActionsClusterInstantActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "instantActionWithTransitionWithParams:expectedValues:expectedValueInterval:completion:") + public native void instantActionWithTransition(MTRActionsClusterInstantActionWithTransitionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void startAction(MTRActionsClusterStartActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startActionWithDurationWithParams:expectedValues:expectedValueInterval:completion:") + public native void startActionWithDuration(MTRActionsClusterStartActionWithDurationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void stopAction(MTRActionsClusterStopActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void pauseAction(MTRActionsClusterPauseActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseActionWithDurationWithParams:expectedValues:expectedValueInterval:completion:") + public native void pauseActionWithDuration(MTRActionsClusterPauseActionWithDurationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resumeActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void resumeAction(MTRActionsClusterResumeActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enableActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void enableAction(MTRActionsClusterEnableActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enableActionWithDurationWithParams:expectedValues:expectedValueInterval:completion:") + public native void enableActionWithDuration(MTRActionsClusterEnableActionWithDurationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "disableActionWithParams:expectedValues:expectedValueInterval:completion:") + public native void disableAction(MTRActionsClusterDisableActionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "disableActionWithDurationWithParams:expectedValues:expectedValueInterval:completion:") + public native void disableActionWithDuration(MTRActionsClusterDisableActionWithDurationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActionListWithParams:") + public native NSDictionary readAttributeActionList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEndpointListsWithParams:") + public native NSDictionary readAttributeEndpointLists(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSetupURLWithParams:") + public native NSDictionary readAttributeSetupURL(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAdministratorCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAdministratorCommissioning.java new file mode 100644 index 000000000..683ec8f27 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAdministratorCommissioning.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterAdministratorCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterAdministratorCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterAdministratorCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRClusterAdministratorCommissioning() {} + protected MTRClusterAdministratorCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRClusterAdministratorCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterAdministratorCommissioning(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "openCommissioningWindowWithParams:expectedValues:expectedValueInterval:completion:") + public native void openCommissioningWindow(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "openBasicCommissioningWindowWithParams:expectedValues:expectedValueInterval:completion:") + public native void openBasicCommissioningWindow(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "revokeCommissioningWithParams:expectedValues:expectedValueInterval:completion:") + public native void revokeCommissioning(MTRAdministratorCommissioningClusterRevokeCommissioningParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "revokeCommissioningWithExpectedValues:expectedValueInterval:completion:") + public native void revokeCommissioning(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWindowStatusWithParams:") + public native NSDictionary readAttributeWindowStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAdminFabricIndexWithParams:") + public native NSDictionary readAttributeAdminFabricIndex(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAdminVendorIdWithParams:") + public native NSDictionary readAttributeAdminVendorId(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationBasic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationBasic.java new file mode 100644 index 000000000..8ff242b05 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationBasic.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterApplicationBasic/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterApplicationBasicPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterApplicationBasic.class); }/**/ + /**//**/ + /**/ + protected MTRClusterApplicationBasic() {} + protected MTRClusterApplicationBasic(Handle h, long handle) { super(h, handle); } + protected MTRClusterApplicationBasic(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterApplicationBasic(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeVendorNameWithParams:") + public native NSDictionary readAttributeVendorName(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeVendorIDWithParams:") + public native NSDictionary readAttributeVendorID(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApplicationNameWithParams:") + public native NSDictionary readAttributeApplicationName(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeProductIDWithParams:") + public native NSDictionary readAttributeProductID(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApplicationWithParams:") + public native NSDictionary readAttributeApplication(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStatusWithParams:") + public native NSDictionary readAttributeStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApplicationVersionWithParams:") + public native NSDictionary readAttributeApplicationVersion(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAllowedVendorListWithParams:") + public native NSDictionary readAttributeAllowedVendorList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationLauncher.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationLauncher.java new file mode 100644 index 000000000..d089a4206 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterApplicationLauncher.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterApplicationLauncher/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterApplicationLauncherPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterApplicationLauncher.class); }/**/ + /**//**/ + /**/ + protected MTRClusterApplicationLauncher() {} + protected MTRClusterApplicationLauncher(Handle h, long handle) { super(h, handle); } + protected MTRClusterApplicationLauncher(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterApplicationLauncher(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchAppWithParams:expectedValues:expectedValueInterval:completion:") + public native void launchApp(MTRApplicationLauncherClusterLaunchAppParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopAppWithParams:expectedValues:expectedValueInterval:completion:") + public native void stopApp(MTRApplicationLauncherClusterStopAppParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideAppWithParams:expectedValues:expectedValueInterval:completion:") + public native void hideApp(MTRApplicationLauncherClusterHideAppParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCatalogListWithParams:") + public native NSDictionary readAttributeCatalogList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentAppWithParams:") + public native NSDictionary readAttributeCurrentApp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeCurrentAppWithValue:expectedValueInterval:") + public native void writeAttributeCurrentApp(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeCurrentAppWithValue:expectedValueInterval:params:") + public native void writeAttributeCurrentApp(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAudioOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAudioOutput.java new file mode 100644 index 000000000..a701743fc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterAudioOutput.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterAudioOutput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterAudioOutputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterAudioOutput.class); }/**/ + /**//**/ + /**/ + protected MTRClusterAudioOutput() {} + protected MTRClusterAudioOutput(Handle h, long handle) { super(h, handle); } + protected MTRClusterAudioOutput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterAudioOutput(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "selectOutputWithParams:expectedValues:expectedValueInterval:completion:") + public native void selectOutput(MTRAudioOutputClusterSelectOutputParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "renameOutputWithParams:expectedValues:expectedValueInterval:completion:") + public native void renameOutput(MTRAudioOutputClusterRenameOutputParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOutputListWithParams:") + public native NSDictionary readAttributeOutputList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentOutputWithParams:") + public native NSDictionary readAttributeCurrentOutput(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBallastConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBallastConfiguration.java new file mode 100644 index 000000000..cd78b5769 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBallastConfiguration.java @@ -0,0 +1,264 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBallastConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBallastConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBallastConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBallastConfiguration() {} + protected MTRClusterBallastConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRClusterBallastConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBallastConfiguration(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalMinLevelWithParams:") + public native NSDictionary readAttributePhysicalMinLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalMaxLevelWithParams:") + public native NSDictionary readAttributePhysicalMaxLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBallastStatusWithParams:") + public native NSDictionary readAttributeBallastStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinLevelWithParams:") + public native NSDictionary readAttributeMinLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinLevelWithValue:expectedValueInterval:") + public native void writeAttributeMinLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinLevelWithValue:expectedValueInterval:params:") + public native void writeAttributeMinLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxLevelWithParams:") + public native NSDictionary readAttributeMaxLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxLevelWithValue:expectedValueInterval:") + public native void writeAttributeMaxLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxLevelWithValue:expectedValueInterval:params:") + public native void writeAttributeMaxLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeIntrinsicBallastFactorWithParams:") + public native NSDictionary readAttributeIntrinsicBallastFactor(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIntrinsicBallastFactorWithValue:expectedValueInterval:") + public native void writeAttributeIntrinsicBallastFactor(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeIntrinsicBallastFactorWithValue:expectedValueInterval:params:") + public native void writeAttributeIntrinsicBallastFactor(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBallastFactorAdjustmentWithParams:") + public native NSDictionary readAttributeBallastFactorAdjustment(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBallastFactorAdjustmentWithValue:expectedValueInterval:") + public native void writeAttributeBallastFactorAdjustment(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBallastFactorAdjustmentWithValue:expectedValueInterval:params:") + public native void writeAttributeBallastFactorAdjustment(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampQuantityWithParams:") + public native NSDictionary readAttributeLampQuantity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampTypeWithParams:") + public native NSDictionary readAttributeLampType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampTypeWithValue:expectedValueInterval:") + public native void writeAttributeLampType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampTypeWithValue:expectedValueInterval:params:") + public native void writeAttributeLampType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampManufacturerWithParams:") + public native NSDictionary readAttributeLampManufacturer(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampManufacturerWithValue:expectedValueInterval:") + public native void writeAttributeLampManufacturer(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampManufacturerWithValue:expectedValueInterval:params:") + public native void writeAttributeLampManufacturer(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampRatedHoursWithParams:") + public native NSDictionary readAttributeLampRatedHours(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampRatedHoursWithValue:expectedValueInterval:") + public native void writeAttributeLampRatedHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampRatedHoursWithValue:expectedValueInterval:params:") + public native void writeAttributeLampRatedHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampBurnHoursWithParams:") + public native NSDictionary readAttributeLampBurnHours(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursWithValue:expectedValueInterval:") + public native void writeAttributeLampBurnHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursWithValue:expectedValueInterval:params:") + public native void writeAttributeLampBurnHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampAlarmModeWithParams:") + public native NSDictionary readAttributeLampAlarmMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampAlarmModeWithValue:expectedValueInterval:") + public native void writeAttributeLampAlarmMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampAlarmModeWithValue:expectedValueInterval:params:") + public native void writeAttributeLampAlarmMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLampBurnHoursTripPointWithParams:") + public native NSDictionary readAttributeLampBurnHoursTripPoint(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursTripPointWithValue:expectedValueInterval:") + public native void writeAttributeLampBurnHoursTripPoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLampBurnHoursTripPointWithValue:expectedValueInterval:params:") + public native void writeAttributeLampBurnHoursTripPoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBarrierControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBarrierControl.java new file mode 100644 index 000000000..72dad3820 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBarrierControl.java @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBarrierControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBarrierControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBarrierControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBarrierControl() {} + protected MTRClusterBarrierControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterBarrierControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBarrierControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlGoToPercentWithParams:expectedValues:expectedValueInterval:completion:") + public native void barrierControlGoToPercent(MTRBarrierControlClusterBarrierControlGoToPercentParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlStopWithParams:expectedValues:expectedValueInterval:completion:") + public native void barrierControlStop(MTRBarrierControlClusterBarrierControlStopParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "barrierControlStopWithExpectedValues:expectedValueInterval:completion:") + public native void barrierControlStop(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierMovingStateWithParams:") + public native NSDictionary readAttributeBarrierMovingState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierSafetyStatusWithParams:") + public native NSDictionary readAttributeBarrierSafetyStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierCapabilitiesWithParams:") + public native NSDictionary readAttributeBarrierCapabilities(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierOpenEventsWithParams:") + public native NSDictionary readAttributeBarrierOpenEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierOpenEventsWithValue:expectedValueInterval:") + public native void writeAttributeBarrierOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierOpenEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierCloseEventsWithParams:") + public native NSDictionary readAttributeBarrierCloseEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCloseEventsWithValue:expectedValueInterval:") + public native void writeAttributeBarrierCloseEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCloseEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierCloseEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierCommandOpenEventsWithParams:") + public native NSDictionary readAttributeBarrierCommandOpenEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCommandOpenEventsWithValue:expectedValueInterval:") + public native void writeAttributeBarrierCommandOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCommandOpenEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierCommandOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierCommandCloseEventsWithParams:") + public native NSDictionary readAttributeBarrierCommandCloseEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCommandCloseEventsWithValue:expectedValueInterval:") + public native void writeAttributeBarrierCommandCloseEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierCommandCloseEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierCommandCloseEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierOpenPeriodWithParams:") + public native NSDictionary readAttributeBarrierOpenPeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierOpenPeriodWithValue:expectedValueInterval:") + public native void writeAttributeBarrierOpenPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierOpenPeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierOpenPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierClosePeriodWithParams:") + public native NSDictionary readAttributeBarrierClosePeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierClosePeriodWithValue:expectedValueInterval:") + public native void writeAttributeBarrierClosePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBarrierClosePeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeBarrierClosePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBarrierPositionWithParams:") + public native NSDictionary readAttributeBarrierPosition(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBasicInformation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBasicInformation.java new file mode 100644 index 000000000..c9bb7ac39 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBasicInformation.java @@ -0,0 +1,229 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBasicInformation/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBasicInformationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBasicInformation.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBasicInformation() {} + protected MTRClusterBasicInformation(Handle h, long handle) { super(h, handle); } + protected MTRClusterBasicInformation(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBasicInformation(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDataModelRevisionWithParams:") + public native NSDictionary readAttributeDataModelRevision(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithParams:") + public native NSDictionary readAttributeVendorName(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithParams:") + public native NSDictionary readAttributeVendorID(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithParams:") + public native NSDictionary readAttributeProductName(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductIDWithParams:") + public native NSDictionary readAttributeProductID(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithParams:") + public native NSDictionary readAttributeNodeLabel(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:expectedValueInterval:") + public native void writeAttributeNodeLabel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:expectedValueInterval:params:") + public native void writeAttributeNodeLabel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocationWithParams:") + public native NSDictionary readAttributeLocation(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocationWithValue:expectedValueInterval:") + public native void writeAttributeLocation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocationWithValue:expectedValueInterval:params:") + public native void writeAttributeLocation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithParams:") + public native NSDictionary readAttributeHardwareVersion(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithParams:") + public native NSDictionary readAttributeHardwareVersionString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithParams:") + public native NSDictionary readAttributeSoftwareVersion(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithParams:") + public native NSDictionary readAttributeSoftwareVersionString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithParams:") + public native NSDictionary readAttributeManufacturingDate(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithParams:") + public native NSDictionary readAttributePartNumber(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithParams:") + public native NSDictionary readAttributeProductURL(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithParams:") + public native NSDictionary readAttributeProductLabel(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithParams:") + public native NSDictionary readAttributeSerialNumber(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLocalConfigDisabledWithParams:") + public native NSDictionary readAttributeLocalConfigDisabled(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalConfigDisabledWithValue:expectedValueInterval:") + public native void writeAttributeLocalConfigDisabled(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLocalConfigDisabledWithValue:expectedValueInterval:params:") + public native void writeAttributeLocalConfigDisabled(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithParams:") + public native NSDictionary readAttributeReachable(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithParams:") + public native NSDictionary readAttributeUniqueID(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCapabilityMinimaWithParams:") + public native NSDictionary readAttributeCapabilityMinima(MTRReadParams params); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithParams:") + public native NSDictionary readAttributeProductAppearance(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinaryInputBasic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinaryInputBasic.java new file mode 100644 index 000000000..46dcf8d82 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinaryInputBasic.java @@ -0,0 +1,199 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBinaryInputBasic/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBinaryInputBasicPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBinaryInputBasic.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBinaryInputBasic() {} + protected MTRClusterBinaryInputBasic(Handle h, long handle) { super(h, handle); } + protected MTRClusterBinaryInputBasic(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBinaryInputBasic(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveTextWithParams:") + public native NSDictionary readAttributeActiveText(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveTextWithValue:expectedValueInterval:") + public native void writeAttributeActiveText(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveTextWithValue:expectedValueInterval:params:") + public native void writeAttributeActiveText(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDescriptionWithParams:") + public native NSDictionary readAttributeDescription(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDescriptionWithValue:expectedValueInterval:") + public native void writeAttributeDescription(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDescriptionWithValue:expectedValueInterval:params:") + public native void writeAttributeDescription(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInactiveTextWithParams:") + public native NSDictionary readAttributeInactiveText(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeInactiveTextWithValue:expectedValueInterval:") + public native void writeAttributeInactiveText(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeInactiveTextWithValue:expectedValueInterval:params:") + public native void writeAttributeInactiveText(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOutOfServiceWithParams:") + public native NSDictionary readAttributeOutOfService(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOutOfServiceWithValue:expectedValueInterval:") + public native void writeAttributeOutOfService(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOutOfServiceWithValue:expectedValueInterval:params:") + public native void writeAttributeOutOfService(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePolarityWithParams:") + public native NSDictionary readAttributePolarity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePresentValueWithParams:") + public native NSDictionary readAttributePresentValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePresentValueWithValue:expectedValueInterval:") + public native void writeAttributePresentValue(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePresentValueWithValue:expectedValueInterval:params:") + public native void writeAttributePresentValue(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReliabilityWithParams:") + public native NSDictionary readAttributeReliability(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeReliabilityWithValue:expectedValueInterval:") + public native void writeAttributeReliability(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeReliabilityWithValue:expectedValueInterval:params:") + public native void writeAttributeReliability(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStatusFlagsWithParams:") + public native NSDictionary readAttributeStatusFlags(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApplicationTypeWithParams:") + public native NSDictionary readAttributeApplicationType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinding.java new file mode 100644 index 000000000..ff985a12a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBinding.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBinding/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBindingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBinding.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBinding() {} + protected MTRClusterBinding(Handle h, long handle) { super(h, handle); } + protected MTRClusterBinding(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBinding(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBindingWithParams:") + public native NSDictionary readAttributeBinding(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBindingWithValue:expectedValueInterval:") + public native void writeAttributeBinding(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBindingWithValue:expectedValueInterval:params:") + public native void writeAttributeBinding(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBooleanState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBooleanState.java new file mode 100644 index 000000000..451700ad6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBooleanState.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBooleanState/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBooleanStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBooleanState.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBooleanState() {} + protected MTRClusterBooleanState(Handle h, long handle) { super(h, handle); } + protected MTRClusterBooleanState(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBooleanState(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStateValueWithParams:") + public native NSDictionary readAttributeStateValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBridgedDeviceBasicInformation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBridgedDeviceBasicInformation.java new file mode 100644 index 000000000..1a372f5c4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterBridgedDeviceBasicInformation.java @@ -0,0 +1,184 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterBridgedDeviceBasicInformation/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterBridgedDeviceBasicInformationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterBridgedDeviceBasicInformation.class); }/**/ + /**//**/ + /**/ + protected MTRClusterBridgedDeviceBasicInformation() {} + protected MTRClusterBridgedDeviceBasicInformation(Handle h, long handle) { super(h, handle); } + protected MTRClusterBridgedDeviceBasicInformation(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterBridgedDeviceBasicInformation(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorNameWithParams:") + public native NSDictionary readAttributeVendorName(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIDWithParams:") + public native NSDictionary readAttributeVendorID(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductNameWithParams:") + public native NSDictionary readAttributeProductName(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNodeLabelWithParams:") + public native NSDictionary readAttributeNodeLabel(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:expectedValueInterval:") + public native void writeAttributeNodeLabel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNodeLabelWithValue:expectedValueInterval:params:") + public native void writeAttributeNodeLabel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionWithParams:") + public native NSDictionary readAttributeHardwareVersion(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeHardwareVersionStringWithParams:") + public native NSDictionary readAttributeHardwareVersionString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionWithParams:") + public native NSDictionary readAttributeSoftwareVersion(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSoftwareVersionStringWithParams:") + public native NSDictionary readAttributeSoftwareVersionString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeManufacturingDateWithParams:") + public native NSDictionary readAttributeManufacturingDate(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePartNumberWithParams:") + public native NSDictionary readAttributePartNumber(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductURLWithParams:") + public native NSDictionary readAttributeProductURL(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeProductLabelWithParams:") + public native NSDictionary readAttributeProductLabel(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeSerialNumberWithParams:") + public native NSDictionary readAttributeSerialNumber(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeReachableWithParams:") + public native NSDictionary readAttributeReachable(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUniqueIDWithParams:") + public native NSDictionary readAttributeUniqueID(MTRReadParams params); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "readAttributeProductAppearanceWithParams:") + public native NSDictionary readAttributeProductAppearance(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterChannel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterChannel.java new file mode 100644 index 000000000..8e74412c4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterChannel.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterChannel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterChannelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterChannel.class); }/**/ + /**//**/ + /**/ + protected MTRClusterChannel() {} + protected MTRClusterChannel(Handle h, long handle) { super(h, handle); } + protected MTRClusterChannel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterChannel(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeChannelWithParams:expectedValues:expectedValueInterval:completion:") + public native void changeChannel(MTRChannelClusterChangeChannelParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeChannelByNumberWithParams:expectedValues:expectedValueInterval:completion:") + public native void changeChannelByNumber(MTRChannelClusterChangeChannelByNumberParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipChannelWithParams:expectedValues:expectedValueInterval:completion:") + public native void skipChannel(MTRChannelClusterSkipChannelParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeChannelListWithParams:") + public native NSDictionary readAttributeChannelList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLineupWithParams:") + public native NSDictionary readAttributeLineup(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentChannelWithParams:") + public native NSDictionary readAttributeCurrentChannel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterColorControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterColorControl.java new file mode 100644 index 000000000..bc2ebd4b8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterColorControl.java @@ -0,0 +1,579 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterColorControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterColorControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterColorControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterColorControl() {} + protected MTRClusterColorControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterColorControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterColorControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToHue(MTRColorControlClusterMoveToHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveHue(MTRColorControlClusterMoveHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void stepHue(MTRColorControlClusterStepHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToSaturationWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToSaturation(MTRColorControlClusterMoveToSaturationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveSaturationWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveSaturation(MTRColorControlClusterMoveSaturationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepSaturationWithParams:expectedValues:expectedValueInterval:completion:") + public native void stepSaturation(MTRColorControlClusterStepSaturationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToHueAndSaturationWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToHueAndSaturation(MTRColorControlClusterMoveToHueAndSaturationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToColorWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToColor(MTRColorControlClusterMoveToColorParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveColorWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveColor(MTRColorControlClusterMoveColorParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepColorWithParams:expectedValues:expectedValueInterval:completion:") + public native void stepColor(MTRColorControlClusterStepColorParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToColorTemperatureWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToColorTemperature(MTRColorControlClusterMoveToColorTemperatureParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveToHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedMoveToHue(MTRColorControlClusterEnhancedMoveToHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedMoveHue(MTRColorControlClusterEnhancedMoveHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedStepHueWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedStepHue(MTRColorControlClusterEnhancedStepHueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedMoveToHueAndSaturationWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedMoveToHueAndSaturation(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "colorLoopSetWithParams:expectedValues:expectedValueInterval:completion:") + public native void colorLoopSet(MTRColorControlClusterColorLoopSetParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMoveStepWithParams:expectedValues:expectedValueInterval:completion:") + public native void stopMoveStep(MTRColorControlClusterStopMoveStepParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveColorTemperatureWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveColorTemperature(MTRColorControlClusterMoveColorTemperatureParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepColorTemperatureWithParams:expectedValues:expectedValueInterval:completion:") + public native void stepColorTemperature(MTRColorControlClusterStepColorTemperatureParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentHueWithParams:") + public native NSDictionary readAttributeCurrentHue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentSaturationWithParams:") + public native NSDictionary readAttributeCurrentSaturation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithParams:") + public native NSDictionary readAttributeRemainingTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentXWithParams:") + public native NSDictionary readAttributeCurrentX(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentYWithParams:") + public native NSDictionary readAttributeCurrentY(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDriftCompensationWithParams:") + public native NSDictionary readAttributeDriftCompensation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCompensationTextWithParams:") + public native NSDictionary readAttributeCompensationText(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorTemperatureMiredsWithParams:") + public native NSDictionary readAttributeColorTemperatureMireds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorModeWithParams:") + public native NSDictionary readAttributeColorMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOptionsWithParams:") + public native NSDictionary readAttributeOptions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:expectedValueInterval:") + public native void writeAttributeOptions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:expectedValueInterval:params:") + public native void writeAttributeOptions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfPrimariesWithParams:") + public native NSDictionary readAttributeNumberOfPrimaries(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary1XWithParams:") + public native NSDictionary readAttributePrimary1X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary1YWithParams:") + public native NSDictionary readAttributePrimary1Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary1IntensityWithParams:") + public native NSDictionary readAttributePrimary1Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary2XWithParams:") + public native NSDictionary readAttributePrimary2X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary2YWithParams:") + public native NSDictionary readAttributePrimary2Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary2IntensityWithParams:") + public native NSDictionary readAttributePrimary2Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary3XWithParams:") + public native NSDictionary readAttributePrimary3X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary3YWithParams:") + public native NSDictionary readAttributePrimary3Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary3IntensityWithParams:") + public native NSDictionary readAttributePrimary3Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary4XWithParams:") + public native NSDictionary readAttributePrimary4X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary4YWithParams:") + public native NSDictionary readAttributePrimary4Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary4IntensityWithParams:") + public native NSDictionary readAttributePrimary4Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary5XWithParams:") + public native NSDictionary readAttributePrimary5X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary5YWithParams:") + public native NSDictionary readAttributePrimary5Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary5IntensityWithParams:") + public native NSDictionary readAttributePrimary5Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary6XWithParams:") + public native NSDictionary readAttributePrimary6X(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary6YWithParams:") + public native NSDictionary readAttributePrimary6Y(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePrimary6IntensityWithParams:") + public native NSDictionary readAttributePrimary6Intensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWhitePointXWithParams:") + public native NSDictionary readAttributeWhitePointX(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWhitePointXWithValue:expectedValueInterval:") + public native void writeAttributeWhitePointX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWhitePointXWithValue:expectedValueInterval:params:") + public native void writeAttributeWhitePointX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWhitePointYWithParams:") + public native NSDictionary readAttributeWhitePointY(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWhitePointYWithValue:expectedValueInterval:") + public native void writeAttributeWhitePointY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWhitePointYWithValue:expectedValueInterval:params:") + public native void writeAttributeWhitePointY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointRXWithParams:") + public native NSDictionary readAttributeColorPointRX(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRXWithValue:expectedValueInterval:") + public native void writeAttributeColorPointRX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRXWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointRX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointRYWithParams:") + public native NSDictionary readAttributeColorPointRY(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRYWithValue:expectedValueInterval:") + public native void writeAttributeColorPointRY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRYWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointRY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointRIntensityWithParams:") + public native NSDictionary readAttributeColorPointRIntensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRIntensityWithValue:expectedValueInterval:") + public native void writeAttributeColorPointRIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointRIntensityWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointRIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointGXWithParams:") + public native NSDictionary readAttributeColorPointGX(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGXWithValue:expectedValueInterval:") + public native void writeAttributeColorPointGX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGXWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointGX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointGYWithParams:") + public native NSDictionary readAttributeColorPointGY(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGYWithValue:expectedValueInterval:") + public native void writeAttributeColorPointGY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGYWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointGY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointGIntensityWithParams:") + public native NSDictionary readAttributeColorPointGIntensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGIntensityWithValue:expectedValueInterval:") + public native void writeAttributeColorPointGIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointGIntensityWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointGIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointBXWithParams:") + public native NSDictionary readAttributeColorPointBX(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBXWithValue:expectedValueInterval:") + public native void writeAttributeColorPointBX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBXWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointBX(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointBYWithParams:") + public native NSDictionary readAttributeColorPointBY(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBYWithValue:expectedValueInterval:") + public native void writeAttributeColorPointBY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBYWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointBY(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorPointBIntensityWithParams:") + public native NSDictionary readAttributeColorPointBIntensity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBIntensityWithValue:expectedValueInterval:") + public native void writeAttributeColorPointBIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeColorPointBIntensityWithValue:expectedValueInterval:params:") + public native void writeAttributeColorPointBIntensity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnhancedCurrentHueWithParams:") + public native NSDictionary readAttributeEnhancedCurrentHue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnhancedColorModeWithParams:") + public native NSDictionary readAttributeEnhancedColorMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorLoopActiveWithParams:") + public native NSDictionary readAttributeColorLoopActive(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorLoopDirectionWithParams:") + public native NSDictionary readAttributeColorLoopDirection(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorLoopTimeWithParams:") + public native NSDictionary readAttributeColorLoopTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorLoopStartEnhancedHueWithParams:") + public native NSDictionary readAttributeColorLoopStartEnhancedHue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorLoopStoredEnhancedHueWithParams:") + public native NSDictionary readAttributeColorLoopStoredEnhancedHue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorCapabilitiesWithParams:") + public native NSDictionary readAttributeColorCapabilities(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMinMiredsWithParams:") + public native NSDictionary readAttributeColorTempPhysicalMinMireds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeColorTempPhysicalMaxMiredsWithParams:") + public native NSDictionary readAttributeColorTempPhysicalMaxMireds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCoupleColorTempToLevelMinMiredsWithParams:") + public native NSDictionary readAttributeCoupleColorTempToLevelMinMireds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartUpColorTemperatureMiredsWithParams:") + public native NSDictionary readAttributeStartUpColorTemperatureMireds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpColorTemperatureMiredsWithValue:expectedValueInterval:") + public native void writeAttributeStartUpColorTemperatureMireds(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpColorTemperatureMiredsWithValue:expectedValueInterval:params:") + public native void writeAttributeStartUpColorTemperatureMireds(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterContentLauncher.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterContentLauncher.java new file mode 100644 index 000000000..abe10812f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterContentLauncher.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterContentLauncher/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterContentLauncherPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterContentLauncher.class); }/**/ + /**//**/ + /**/ + protected MTRClusterContentLauncher() {} + protected MTRClusterContentLauncher(Handle h, long handle) { super(h, handle); } + protected MTRClusterContentLauncher(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterContentLauncher(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchContentWithParams:expectedValues:expectedValueInterval:completion:") + public native void launchContent(MTRContentLauncherClusterLaunchContentParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "launchURLWithParams:expectedValues:expectedValueInterval:completion:") + public native void launchURL(MTRContentLauncherClusterLaunchURLParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptHeaderWithParams:") + public native NSDictionary readAttributeAcceptHeader(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedStreamingProtocolsWithParams:") + public native NSDictionary readAttributeSupportedStreamingProtocols(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSupportedStreamingProtocolsWithValue:expectedValueInterval:") + public native void writeAttributeSupportedStreamingProtocols(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSupportedStreamingProtocolsWithValue:expectedValueInterval:params:") + public native void writeAttributeSupportedStreamingProtocols(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDescriptor.java new file mode 100644 index 000000000..299a5a829 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDescriptor.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterDescriptor/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterDescriptor.class); }/**/ + /**//**/ + /**/ + protected MTRClusterDescriptor() {} + protected MTRClusterDescriptor(Handle h, long handle) { super(h, handle); } + protected MTRClusterDescriptor(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterDescriptor(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDeviceTypeListWithParams:") + public native NSDictionary readAttributeDeviceTypeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeServerListWithParams:") + public native NSDictionary readAttributeServerList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClientListWithParams:") + public native NSDictionary readAttributeClientList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePartsListWithParams:") + public native NSDictionary readAttributePartsList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDiagnosticLogs.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDiagnosticLogs.java new file mode 100644 index 000000000..398d89b2f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDiagnosticLogs.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterDiagnosticLogs/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterDiagnosticLogsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterDiagnosticLogs.class); }/**/ + /**//**/ + /**/ + protected MTRClusterDiagnosticLogs() {} + protected MTRClusterDiagnosticLogs(Handle h, long handle) { super(h, handle); } + protected MTRClusterDiagnosticLogs(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterDiagnosticLogs(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "retrieveLogsRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void retrieveLogsRequest(MTRDiagnosticLogsClusterRetrieveLogsRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDoorLock.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDoorLock.java new file mode 100644 index 000000000..299a3993c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterDoorLock.java @@ -0,0 +1,544 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterDoorLock/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterDoorLockPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterDoorLock.class); }/**/ + /**//**/ + /**/ + protected MTRClusterDoorLock() {} + protected MTRClusterDoorLock(Handle h, long handle) { super(h, handle); } + protected MTRClusterDoorLock(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterDoorLock(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "lockDoorWithParams:expectedValues:expectedValueInterval:completion:") + public native void lockDoor(MTRDoorLockClusterLockDoorParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "unlockDoorWithParams:expectedValues:expectedValueInterval:completion:") + public native void unlockDoor(MTRDoorLockClusterUnlockDoorParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "unlockWithTimeoutWithParams:expectedValues:expectedValueInterval:completion:") + public native void unlockWithTimeout(MTRDoorLockClusterUnlockWithTimeoutParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setWeekDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void setWeekDaySchedule(MTRDoorLockClusterSetWeekDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getWeekDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void getWeekDaySchedule(MTRDoorLockClusterGetWeekDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeekDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearWeekDaySchedule(MTRDoorLockClusterClearWeekDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setYearDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void setYearDaySchedule(MTRDoorLockClusterSetYearDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getYearDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void getYearDaySchedule(MTRDoorLockClusterGetYearDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearYearDayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearYearDaySchedule(MTRDoorLockClusterClearYearDayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setHolidayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void setHolidaySchedule(MTRDoorLockClusterSetHolidayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getHolidayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void getHolidaySchedule(MTRDoorLockClusterGetHolidayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearHolidayScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearHolidaySchedule(MTRDoorLockClusterClearHolidayScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setUserWithParams:expectedValues:expectedValueInterval:completion:") + public native void setUser(MTRDoorLockClusterSetUserParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getUserWithParams:expectedValues:expectedValueInterval:completion:") + public native void getUser(MTRDoorLockClusterGetUserParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearUserWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearUser(MTRDoorLockClusterClearUserParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setCredentialWithParams:expectedValues:expectedValueInterval:completion:") + public native void setCredential(MTRDoorLockClusterSetCredentialParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getCredentialStatusWithParams:expectedValues:expectedValueInterval:completion:") + public native void getCredentialStatus(MTRDoorLockClusterGetCredentialStatusParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearCredentialWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearCredential(MTRDoorLockClusterClearCredentialParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLockStateWithParams:") + public native NSDictionary readAttributeLockState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLockTypeWithParams:") + public native NSDictionary readAttributeLockType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActuatorEnabledWithParams:") + public native NSDictionary readAttributeActuatorEnabled(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDoorStateWithParams:") + public native NSDictionary readAttributeDoorState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDoorOpenEventsWithParams:") + public native NSDictionary readAttributeDoorOpenEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDoorOpenEventsWithValue:expectedValueInterval:") + public native void writeAttributeDoorOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDoorOpenEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeDoorOpenEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDoorClosedEventsWithParams:") + public native NSDictionary readAttributeDoorClosedEvents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDoorClosedEventsWithValue:expectedValueInterval:") + public native void writeAttributeDoorClosedEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDoorClosedEventsWithValue:expectedValueInterval:params:") + public native void writeAttributeDoorClosedEvents(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOpenPeriodWithParams:") + public native NSDictionary readAttributeOpenPeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOpenPeriodWithValue:expectedValueInterval:") + public native void writeAttributeOpenPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOpenPeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeOpenPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfTotalUsersSupportedWithParams:") + public native NSDictionary readAttributeNumberOfTotalUsersSupported(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfPINUsersSupportedWithParams:") + public native NSDictionary readAttributeNumberOfPINUsersSupported(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfRFIDUsersSupportedWithParams:") + public native NSDictionary readAttributeNumberOfRFIDUsersSupported(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:") + public native NSDictionary readAttributeNumberOfWeekDaySchedulesSupportedPerUser(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:") + public native NSDictionary readAttributeNumberOfYearDaySchedulesSupportedPerUser(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfHolidaySchedulesSupportedWithParams:") + public native NSDictionary readAttributeNumberOfHolidaySchedulesSupported(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxPINCodeLengthWithParams:") + public native NSDictionary readAttributeMaxPINCodeLength(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinPINCodeLengthWithParams:") + public native NSDictionary readAttributeMinPINCodeLength(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxRFIDCodeLengthWithParams:") + public native NSDictionary readAttributeMaxRFIDCodeLength(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinRFIDCodeLengthWithParams:") + public native NSDictionary readAttributeMinRFIDCodeLength(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCredentialRulesSupportWithParams:") + public native NSDictionary readAttributeCredentialRulesSupport(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfCredentialsSupportedPerUserWithParams:") + public native NSDictionary readAttributeNumberOfCredentialsSupportedPerUser(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLanguageWithParams:") + public native NSDictionary readAttributeLanguage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLanguageWithValue:expectedValueInterval:") + public native void writeAttributeLanguage(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLanguageWithValue:expectedValueInterval:params:") + public native void writeAttributeLanguage(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLEDSettingsWithParams:") + public native NSDictionary readAttributeLEDSettings(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLEDSettingsWithValue:expectedValueInterval:") + public native void writeAttributeLEDSettings(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLEDSettingsWithValue:expectedValueInterval:params:") + public native void writeAttributeLEDSettings(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAutoRelockTimeWithParams:") + public native NSDictionary readAttributeAutoRelockTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAutoRelockTimeWithValue:expectedValueInterval:") + public native void writeAttributeAutoRelockTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAutoRelockTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeAutoRelockTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSoundVolumeWithParams:") + public native NSDictionary readAttributeSoundVolume(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSoundVolumeWithValue:expectedValueInterval:") + public native void writeAttributeSoundVolume(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSoundVolumeWithValue:expectedValueInterval:params:") + public native void writeAttributeSoundVolume(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOperatingModeWithParams:") + public native NSDictionary readAttributeOperatingMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOperatingModeWithValue:expectedValueInterval:") + public native void writeAttributeOperatingMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOperatingModeWithValue:expectedValueInterval:params:") + public native void writeAttributeOperatingMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedOperatingModesWithParams:") + public native NSDictionary readAttributeSupportedOperatingModes(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDefaultConfigurationRegisterWithParams:") + public native NSDictionary readAttributeDefaultConfigurationRegister(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnableLocalProgrammingWithParams:") + public native NSDictionary readAttributeEnableLocalProgramming(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableLocalProgrammingWithValue:expectedValueInterval:") + public native void writeAttributeEnableLocalProgramming(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableLocalProgrammingWithValue:expectedValueInterval:params:") + public native void writeAttributeEnableLocalProgramming(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnableOneTouchLockingWithParams:") + public native NSDictionary readAttributeEnableOneTouchLocking(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableOneTouchLockingWithValue:expectedValueInterval:") + public native void writeAttributeEnableOneTouchLocking(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableOneTouchLockingWithValue:expectedValueInterval:params:") + public native void writeAttributeEnableOneTouchLocking(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnableInsideStatusLEDWithParams:") + public native NSDictionary readAttributeEnableInsideStatusLED(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableInsideStatusLEDWithValue:expectedValueInterval:") + public native void writeAttributeEnableInsideStatusLED(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnableInsideStatusLEDWithValue:expectedValueInterval:params:") + public native void writeAttributeEnableInsideStatusLED(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEnablePrivacyModeButtonWithParams:") + public native NSDictionary readAttributeEnablePrivacyModeButton(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnablePrivacyModeButtonWithValue:expectedValueInterval:") + public native void writeAttributeEnablePrivacyModeButton(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEnablePrivacyModeButtonWithValue:expectedValueInterval:params:") + public native void writeAttributeEnablePrivacyModeButton(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLocalProgrammingFeaturesWithParams:") + public native NSDictionary readAttributeLocalProgrammingFeatures(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLocalProgrammingFeaturesWithValue:expectedValueInterval:") + public native void writeAttributeLocalProgrammingFeatures(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLocalProgrammingFeaturesWithValue:expectedValueInterval:params:") + public native void writeAttributeLocalProgrammingFeatures(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWrongCodeEntryLimitWithParams:") + public native NSDictionary readAttributeWrongCodeEntryLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWrongCodeEntryLimitWithValue:expectedValueInterval:") + public native void writeAttributeWrongCodeEntryLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWrongCodeEntryLimitWithValue:expectedValueInterval:params:") + public native void writeAttributeWrongCodeEntryLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUserCodeTemporaryDisableTimeWithParams:") + public native NSDictionary readAttributeUserCodeTemporaryDisableTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUserCodeTemporaryDisableTimeWithValue:expectedValueInterval:") + public native void writeAttributeUserCodeTemporaryDisableTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUserCodeTemporaryDisableTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeUserCodeTemporaryDisableTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSendPINOverTheAirWithParams:") + public native NSDictionary readAttributeSendPINOverTheAir(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSendPINOverTheAirWithValue:expectedValueInterval:") + public native void writeAttributeSendPINOverTheAir(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSendPINOverTheAirWithValue:expectedValueInterval:params:") + public native void writeAttributeSendPINOverTheAir(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRequirePINforRemoteOperationWithParams:") + public native NSDictionary readAttributeRequirePINforRemoteOperation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRequirePINforRemoteOperationWithValue:expectedValueInterval:") + public native void writeAttributeRequirePINforRemoteOperation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRequirePINforRemoteOperationWithValue:expectedValueInterval:params:") + public native void writeAttributeRequirePINforRemoteOperation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeExpiringUserTimeoutWithParams:") + public native NSDictionary readAttributeExpiringUserTimeout(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeExpiringUserTimeoutWithValue:expectedValueInterval:") + public native void writeAttributeExpiringUserTimeout(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeExpiringUserTimeoutWithValue:expectedValueInterval:params:") + public native void writeAttributeExpiringUserTimeout(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterElectricalMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterElectricalMeasurement.java new file mode 100644 index 000000000..c590fdb81 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterElectricalMeasurement.java @@ -0,0 +1,829 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterElectricalMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterElectricalMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterElectricalMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterElectricalMeasurement() {} + protected MTRClusterElectricalMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterElectricalMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterElectricalMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getProfileInfoCommandWithParams:expectedValues:expectedValueInterval:completion:") + public native void getProfileInfoCommand(MTRElectricalMeasurementClusterGetProfileInfoCommandParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getProfileInfoCommandWithExpectedValues:expectedValueInterval:completion:") + public native void getProfileInfoCommand(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getMeasurementProfileCommandWithParams:expectedValues:expectedValueInterval:completion:") + public native void getMeasurementProfileCommand(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasurementTypeWithParams:") + public native NSDictionary readAttributeMeasurementType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcVoltageWithParams:") + public native NSDictionary readAttributeDcVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcVoltageMinWithParams:") + public native NSDictionary readAttributeDcVoltageMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcVoltageMaxWithParams:") + public native NSDictionary readAttributeDcVoltageMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcCurrentWithParams:") + public native NSDictionary readAttributeDcCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcCurrentMinWithParams:") + public native NSDictionary readAttributeDcCurrentMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcCurrentMaxWithParams:") + public native NSDictionary readAttributeDcCurrentMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcPowerWithParams:") + public native NSDictionary readAttributeDcPower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcPowerMinWithParams:") + public native NSDictionary readAttributeDcPowerMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcPowerMaxWithParams:") + public native NSDictionary readAttributeDcPowerMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcVoltageMultiplierWithParams:") + public native NSDictionary readAttributeDcVoltageMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcVoltageDivisorWithParams:") + public native NSDictionary readAttributeDcVoltageDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcCurrentMultiplierWithParams:") + public native NSDictionary readAttributeDcCurrentMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcCurrentDivisorWithParams:") + public native NSDictionary readAttributeDcCurrentDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcPowerMultiplierWithParams:") + public native NSDictionary readAttributeDcPowerMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDcPowerDivisorWithParams:") + public native NSDictionary readAttributeDcPowerDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcFrequencyWithParams:") + public native NSDictionary readAttributeAcFrequency(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcFrequencyMinWithParams:") + public native NSDictionary readAttributeAcFrequencyMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcFrequencyMaxWithParams:") + public native NSDictionary readAttributeAcFrequencyMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNeutralCurrentWithParams:") + public native NSDictionary readAttributeNeutralCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTotalActivePowerWithParams:") + public native NSDictionary readAttributeTotalActivePower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTotalReactivePowerWithParams:") + public native NSDictionary readAttributeTotalReactivePower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTotalApparentPowerWithParams:") + public native NSDictionary readAttributeTotalApparentPower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured1stHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured1stHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured3rdHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured3rdHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured5thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured5thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured7thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured7thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured9thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured9thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasured11thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasured11thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase1stHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase1stHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase3rdHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase5thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase5thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase7thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase7thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase9thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase9thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredPhase11thHarmonicCurrentWithParams:") + public native NSDictionary readAttributeMeasuredPhase11thHarmonicCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcFrequencyMultiplierWithParams:") + public native NSDictionary readAttributeAcFrequencyMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcFrequencyDivisorWithParams:") + public native NSDictionary readAttributeAcFrequencyDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerMultiplierWithParams:") + public native NSDictionary readAttributePowerMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerDivisorWithParams:") + public native NSDictionary readAttributePowerDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeHarmonicCurrentMultiplierWithParams:") + public native NSDictionary readAttributeHarmonicCurrentMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhaseHarmonicCurrentMultiplierWithParams:") + public native NSDictionary readAttributePhaseHarmonicCurrentMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstantaneousVoltageWithParams:") + public native NSDictionary readAttributeInstantaneousVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstantaneousLineCurrentWithParams:") + public native NSDictionary readAttributeInstantaneousLineCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstantaneousActiveCurrentWithParams:") + public native NSDictionary readAttributeInstantaneousActiveCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstantaneousReactiveCurrentWithParams:") + public native NSDictionary readAttributeInstantaneousReactiveCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstantaneousPowerWithParams:") + public native NSDictionary readAttributeInstantaneousPower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageWithParams:") + public native NSDictionary readAttributeRmsVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinWithParams:") + public native NSDictionary readAttributeRmsVoltageMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxWithParams:") + public native NSDictionary readAttributeRmsVoltageMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentWithParams:") + public native NSDictionary readAttributeRmsCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinWithParams:") + public native NSDictionary readAttributeRmsCurrentMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxWithParams:") + public native NSDictionary readAttributeRmsCurrentMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerWithParams:") + public native NSDictionary readAttributeActivePower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMinWithParams:") + public native NSDictionary readAttributeActivePowerMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMaxWithParams:") + public native NSDictionary readAttributeActivePowerMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReactivePowerWithParams:") + public native NSDictionary readAttributeReactivePower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApparentPowerWithParams:") + public native NSDictionary readAttributeApparentPower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerFactorWithParams:") + public native NSDictionary readAttributePowerFactor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodWithParams:") + public native NSDictionary readAttributeAverageRmsVoltageMeasurementPeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:expectedValueInterval:") + public native void writeAttributeAverageRmsVoltageMeasurementPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeAverageRmsVoltageMeasurementPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterWithParams:") + public native NSDictionary readAttributeAverageRmsUnderVoltageCounter(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAverageRmsUnderVoltageCounterWithValue:expectedValueInterval:") + public native void writeAttributeAverageRmsUnderVoltageCounter(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAverageRmsUnderVoltageCounterWithValue:expectedValueInterval:params:") + public native void writeAttributeAverageRmsUnderVoltageCounter(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodWithParams:") + public native NSDictionary readAttributeRmsExtremeOverVoltagePeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsExtremeOverVoltagePeriodWithValue:expectedValueInterval:") + public native void writeAttributeRmsExtremeOverVoltagePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsExtremeOverVoltagePeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeRmsExtremeOverVoltagePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodWithParams:") + public native NSDictionary readAttributeRmsExtremeUnderVoltagePeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsExtremeUnderVoltagePeriodWithValue:expectedValueInterval:") + public native void writeAttributeRmsExtremeUnderVoltagePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsExtremeUnderVoltagePeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeRmsExtremeUnderVoltagePeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodWithParams:") + public native NSDictionary readAttributeRmsVoltageSagPeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSagPeriodWithValue:expectedValueInterval:") + public native void writeAttributeRmsVoltageSagPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSagPeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeRmsVoltageSagPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodWithParams:") + public native NSDictionary readAttributeRmsVoltageSwellPeriod(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSwellPeriodWithValue:expectedValueInterval:") + public native void writeAttributeRmsVoltageSwellPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRmsVoltageSwellPeriodWithValue:expectedValueInterval:params:") + public native void writeAttributeRmsVoltageSwellPeriod(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcVoltageMultiplierWithParams:") + public native NSDictionary readAttributeAcVoltageMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcVoltageDivisorWithParams:") + public native NSDictionary readAttributeAcVoltageDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcCurrentMultiplierWithParams:") + public native NSDictionary readAttributeAcCurrentMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcCurrentDivisorWithParams:") + public native NSDictionary readAttributeAcCurrentDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcPowerMultiplierWithParams:") + public native NSDictionary readAttributeAcPowerMultiplier(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcPowerDivisorWithParams:") + public native NSDictionary readAttributeAcPowerDivisor(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOverloadAlarmsMaskWithParams:") + public native NSDictionary readAttributeOverloadAlarmsMask(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOverloadAlarmsMaskWithValue:expectedValueInterval:") + public native void writeAttributeOverloadAlarmsMask(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOverloadAlarmsMaskWithValue:expectedValueInterval:params:") + public native void writeAttributeOverloadAlarmsMask(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeVoltageOverloadWithParams:") + public native NSDictionary readAttributeVoltageOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentOverloadWithParams:") + public native NSDictionary readAttributeCurrentOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcOverloadAlarmsMaskWithParams:") + public native NSDictionary readAttributeAcOverloadAlarmsMask(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAcOverloadAlarmsMaskWithValue:expectedValueInterval:") + public native void writeAttributeAcOverloadAlarmsMask(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeAcOverloadAlarmsMaskWithValue:expectedValueInterval:params:") + public native void writeAttributeAcOverloadAlarmsMask(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcVoltageOverloadWithParams:") + public native NSDictionary readAttributeAcVoltageOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcCurrentOverloadWithParams:") + public native NSDictionary readAttributeAcCurrentOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcActivePowerOverloadWithParams:") + public native NSDictionary readAttributeAcActivePowerOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcReactivePowerOverloadWithParams:") + public native NSDictionary readAttributeAcReactivePowerOverload(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageWithParams:") + public native NSDictionary readAttributeAverageRmsOverVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageWithParams:") + public native NSDictionary readAttributeAverageRmsUnderVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltageWithParams:") + public native NSDictionary readAttributeRmsExtremeOverVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltageWithParams:") + public native NSDictionary readAttributeRmsExtremeUnderVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagWithParams:") + public native NSDictionary readAttributeRmsVoltageSag(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellWithParams:") + public native NSDictionary readAttributeRmsVoltageSwell(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseBWithParams:") + public native NSDictionary readAttributeLineCurrentPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseBWithParams:") + public native NSDictionary readAttributeActiveCurrentPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseBWithParams:") + public native NSDictionary readAttributeReactiveCurrentPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseBWithParams:") + public native NSDictionary readAttributeRmsVoltagePhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseBWithParams:") + public native NSDictionary readAttributeRmsVoltageMinPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseBWithParams:") + public native NSDictionary readAttributeRmsVoltageMaxPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseBWithParams:") + public native NSDictionary readAttributeRmsCurrentPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseBWithParams:") + public native NSDictionary readAttributeRmsCurrentMinPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseBWithParams:") + public native NSDictionary readAttributeRmsCurrentMaxPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseBWithParams:") + public native NSDictionary readAttributeActivePowerPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseBWithParams:") + public native NSDictionary readAttributeActivePowerMinPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseBWithParams:") + public native NSDictionary readAttributeActivePowerMaxPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseBWithParams:") + public native NSDictionary readAttributeReactivePowerPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseBWithParams:") + public native NSDictionary readAttributeApparentPowerPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseBWithParams:") + public native NSDictionary readAttributePowerFactorPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:") + public native NSDictionary readAttributeAverageRmsVoltageMeasurementPeriodPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseBWithParams:") + public native NSDictionary readAttributeAverageRmsOverVoltageCounterPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:") + public native NSDictionary readAttributeAverageRmsUnderVoltageCounterPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:") + public native NSDictionary readAttributeRmsExtremeOverVoltagePeriodPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:") + public native NSDictionary readAttributeRmsExtremeUnderVoltagePeriodPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseBWithParams:") + public native NSDictionary readAttributeRmsVoltageSagPeriodPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseBWithParams:") + public native NSDictionary readAttributeRmsVoltageSwellPeriodPhaseB(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLineCurrentPhaseCWithParams:") + public native NSDictionary readAttributeLineCurrentPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveCurrentPhaseCWithParams:") + public native NSDictionary readAttributeActiveCurrentPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReactiveCurrentPhaseCWithParams:") + public native NSDictionary readAttributeReactiveCurrentPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltagePhaseCWithParams:") + public native NSDictionary readAttributeRmsVoltagePhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMinPhaseCWithParams:") + public native NSDictionary readAttributeRmsVoltageMinPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageMaxPhaseCWithParams:") + public native NSDictionary readAttributeRmsVoltageMaxPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentPhaseCWithParams:") + public native NSDictionary readAttributeRmsCurrentPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMinPhaseCWithParams:") + public native NSDictionary readAttributeRmsCurrentMinPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsCurrentMaxPhaseCWithParams:") + public native NSDictionary readAttributeRmsCurrentMaxPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerPhaseCWithParams:") + public native NSDictionary readAttributeActivePowerPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMinPhaseCWithParams:") + public native NSDictionary readAttributeActivePowerMinPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActivePowerMaxPhaseCWithParams:") + public native NSDictionary readAttributeActivePowerMaxPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeReactivePowerPhaseCWithParams:") + public native NSDictionary readAttributeReactivePowerPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeApparentPowerPhaseCWithParams:") + public native NSDictionary readAttributeApparentPowerPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerFactorPhaseCWithParams:") + public native NSDictionary readAttributePowerFactorPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:") + public native NSDictionary readAttributeAverageRmsVoltageMeasurementPeriodPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsOverVoltageCounterPhaseCWithParams:") + public native NSDictionary readAttributeAverageRmsOverVoltageCounterPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:") + public native NSDictionary readAttributeAverageRmsUnderVoltageCounterPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:") + public native NSDictionary readAttributeRmsExtremeOverVoltagePeriodPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:") + public native NSDictionary readAttributeRmsExtremeUnderVoltagePeriodPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSagPeriodPhaseCWithParams:") + public native NSDictionary readAttributeRmsVoltageSagPeriodPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRmsVoltageSwellPeriodPhaseCWithParams:") + public native NSDictionary readAttributeRmsVoltageSwellPeriodPhaseC(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterEthernetNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterEthernetNetworkDiagnostics.java new file mode 100644 index 000000000..c85031f96 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterEthernetNetworkDiagnostics.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterEthernetNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterEthernetNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterEthernetNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRClusterEthernetNetworkDiagnostics() {} + protected MTRClusterEthernetNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRClusterEthernetNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterEthernetNetworkDiagnostics(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:expectedValues:expectedValueInterval:completion:") + public native void resetCounts(MTREthernetNetworkDiagnosticsClusterResetCountsParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithExpectedValues:expectedValueInterval:completion:") + public native void resetCounts(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePHYRateWithParams:") + public native NSDictionary readAttributePHYRate(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFullDuplexWithParams:") + public native NSDictionary readAttributeFullDuplex(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketRxCountWithParams:") + public native NSDictionary readAttributePacketRxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketTxCountWithParams:") + public native NSDictionary readAttributePacketTxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxErrCountWithParams:") + public native NSDictionary readAttributeTxErrCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCollisionCountWithParams:") + public native NSDictionary readAttributeCollisionCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOverrunCountWithParams:") + public native NSDictionary readAttributeOverrunCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCarrierDetectWithParams:") + public native NSDictionary readAttributeCarrierDetect(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTimeSinceResetWithParams:") + public native NSDictionary readAttributeTimeSinceReset(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFanControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFanControl.java new file mode 100644 index 000000000..fdfeecfec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFanControl.java @@ -0,0 +1,209 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterFanControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterFanControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterFanControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterFanControl() {} + protected MTRClusterFanControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterFanControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterFanControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFanModeWithParams:") + public native NSDictionary readAttributeFanMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeFanModeWithValue:expectedValueInterval:") + public native void writeAttributeFanMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeFanModeWithValue:expectedValueInterval:params:") + public native void writeAttributeFanMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFanModeSequenceWithParams:") + public native NSDictionary readAttributeFanModeSequence(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeFanModeSequenceWithValue:expectedValueInterval:") + public native void writeAttributeFanModeSequence(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeFanModeSequenceWithValue:expectedValueInterval:params:") + public native void writeAttributeFanModeSequence(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePercentSettingWithParams:") + public native NSDictionary readAttributePercentSetting(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePercentSettingWithValue:expectedValueInterval:") + public native void writeAttributePercentSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePercentSettingWithValue:expectedValueInterval:params:") + public native void writeAttributePercentSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePercentCurrentWithParams:") + public native NSDictionary readAttributePercentCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSpeedMaxWithParams:") + public native NSDictionary readAttributeSpeedMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSpeedSettingWithParams:") + public native NSDictionary readAttributeSpeedSetting(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSpeedSettingWithValue:expectedValueInterval:") + public native void writeAttributeSpeedSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSpeedSettingWithValue:expectedValueInterval:params:") + public native void writeAttributeSpeedSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSpeedCurrentWithParams:") + public native NSDictionary readAttributeSpeedCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRockSupportWithParams:") + public native NSDictionary readAttributeRockSupport(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRockSettingWithParams:") + public native NSDictionary readAttributeRockSetting(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRockSettingWithValue:expectedValueInterval:") + public native void writeAttributeRockSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRockSettingWithValue:expectedValueInterval:params:") + public native void writeAttributeRockSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWindSupportWithParams:") + public native NSDictionary readAttributeWindSupport(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWindSettingWithParams:") + public native NSDictionary readAttributeWindSetting(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWindSettingWithValue:expectedValueInterval:") + public native void writeAttributeWindSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeWindSettingWithValue:expectedValueInterval:params:") + public native void writeAttributeWindSetting(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFixedLabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFixedLabel.java new file mode 100644 index 000000000..f13cafd6a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFixedLabel.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterFixedLabel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterFixedLabelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterFixedLabel.class); }/**/ + /**//**/ + /**/ + protected MTRClusterFixedLabel() {} + protected MTRClusterFixedLabel(Handle h, long handle) { super(h, handle); } + protected MTRClusterFixedLabel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterFixedLabel(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLabelListWithParams:") + public native NSDictionary readAttributeLabelList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFlowMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFlowMeasurement.java new file mode 100644 index 000000000..53de0ec79 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterFlowMeasurement.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterFlowMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterFlowMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterFlowMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterFlowMeasurement() {} + protected MTRClusterFlowMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterFlowMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterFlowMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithParams:") + public native NSDictionary readAttributeMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithParams:") + public native NSDictionary readAttributeMinMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithParams:") + public native NSDictionary readAttributeMaxMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeToleranceWithParams:") + public native NSDictionary readAttributeTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralCommissioning.java new file mode 100644 index 000000000..9aff0be02 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralCommissioning.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterGeneralCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterGeneralCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterGeneralCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRClusterGeneralCommissioning() {} + protected MTRClusterGeneralCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRClusterGeneralCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterGeneralCommissioning(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "armFailSafeWithParams:expectedValues:expectedValueInterval:completion:") + public native void armFailSafe(MTRGeneralCommissioningClusterArmFailSafeParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setRegulatoryConfigWithParams:expectedValues:expectedValueInterval:completion:") + public native void setRegulatoryConfig(MTRGeneralCommissioningClusterSetRegulatoryConfigParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commissioningCompleteWithParams:expectedValues:expectedValueInterval:completion:") + public native void commissioningComplete(MTRGeneralCommissioningClusterCommissioningCompleteParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commissioningCompleteWithExpectedValues:expectedValueInterval:completion:") + public native void commissioningComplete(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBreadcrumbWithParams:") + public native NSDictionary readAttributeBreadcrumb(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBreadcrumbWithValue:expectedValueInterval:") + public native void writeAttributeBreadcrumb(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeBreadcrumbWithValue:expectedValueInterval:params:") + public native void writeAttributeBreadcrumb(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBasicCommissioningInfoWithParams:") + public native NSDictionary readAttributeBasicCommissioningInfo(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRegulatoryConfigWithParams:") + public native NSDictionary readAttributeRegulatoryConfig(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLocationCapabilityWithParams:") + public native NSDictionary readAttributeLocationCapability(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportsConcurrentConnectionWithParams:") + public native NSDictionary readAttributeSupportsConcurrentConnection(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralDiagnostics.java new file mode 100644 index 000000000..76f88ebf7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGeneralDiagnostics.java @@ -0,0 +1,144 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterGeneralDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterGeneralDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterGeneralDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRClusterGeneralDiagnostics() {} + protected MTRClusterGeneralDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRClusterGeneralDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterGeneralDiagnostics(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEventTriggerWithParams:expectedValues:expectedValueInterval:completion:") + public native void testEventTrigger(MTRGeneralDiagnosticsClusterTestEventTriggerParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNetworkInterfacesWithParams:") + public native NSDictionary readAttributeNetworkInterfaces(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRebootCountWithParams:") + public native NSDictionary readAttributeRebootCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUpTimeWithParams:") + public native NSDictionary readAttributeUpTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTotalOperationalHoursWithParams:") + public native NSDictionary readAttributeTotalOperationalHours(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBootReasonWithParams:") + public native NSDictionary readAttributeBootReason(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveHardwareFaultsWithParams:") + public native NSDictionary readAttributeActiveHardwareFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveRadioFaultsWithParams:") + public native NSDictionary readAttributeActiveRadioFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsWithParams:") + public native NSDictionary readAttributeActiveNetworkFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTestEventTriggersEnabledWithParams:") + public native NSDictionary readAttributeTestEventTriggersEnabled(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroupKeyManagement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroupKeyManagement.java new file mode 100644 index 000000000..aa8e719b6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroupKeyManagement.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterGroupKeyManagement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterGroupKeyManagementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterGroupKeyManagement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterGroupKeyManagement() {} + protected MTRClusterGroupKeyManagement(Handle h, long handle) { super(h, handle); } + protected MTRClusterGroupKeyManagement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterGroupKeyManagement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetWriteWithParams:expectedValues:expectedValueInterval:completion:") + public native void keySetWrite(MTRGroupKeyManagementClusterKeySetWriteParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetReadWithParams:expectedValues:expectedValueInterval:completion:") + public native void keySetRead(MTRGroupKeyManagementClusterKeySetReadParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetRemoveWithParams:expectedValues:expectedValueInterval:completion:") + public native void keySetRemove(MTRGroupKeyManagementClusterKeySetRemoveParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "keySetReadAllIndicesWithParams:expectedValues:expectedValueInterval:completion:") + public native void keySetReadAllIndices(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "keySetReadAllIndicesWithExpectedValues:expectedValueInterval:completion:") + public native void keySetReadAllIndices(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGroupKeyMapWithParams:") + public native NSDictionary readAttributeGroupKeyMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeGroupKeyMapWithValue:expectedValueInterval:") + public native void writeAttributeGroupKeyMap(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeGroupKeyMapWithValue:expectedValueInterval:params:") + public native void writeAttributeGroupKeyMap(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGroupTableWithParams:") + public native NSDictionary readAttributeGroupTable(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxGroupsPerFabricWithParams:") + public native NSDictionary readAttributeMaxGroupsPerFabric(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxGroupKeysPerFabricWithParams:") + public native NSDictionary readAttributeMaxGroupKeysPerFabric(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroups.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroups.java new file mode 100644 index 000000000..8f02c6468 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterGroups.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterGroups/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterGroupsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterGroups.class); }/**/ + /**//**/ + /**/ + protected MTRClusterGroups() {} + protected MTRClusterGroups(Handle h, long handle) { super(h, handle); } + protected MTRClusterGroups(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterGroups(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addGroupWithParams:expectedValues:expectedValueInterval:completion:") + public native void addGroup(MTRGroupsClusterAddGroupParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "viewGroupWithParams:expectedValues:expectedValueInterval:completion:") + public native void viewGroup(MTRGroupsClusterViewGroupParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getGroupMembershipWithParams:expectedValues:expectedValueInterval:completion:") + public native void getGroupMembership(MTRGroupsClusterGetGroupMembershipParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeGroupWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeGroup(MTRGroupsClusterRemoveGroupParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllGroupsWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeAllGroups(MTRGroupsClusterRemoveAllGroupsParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllGroupsWithExpectedValues:expectedValueInterval:completion:") + public native void removeAllGroups(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addGroupIfIdentifyingWithParams:expectedValues:expectedValueInterval:completion:") + public native void addGroupIfIdentifying(MTRGroupsClusterAddGroupIfIdentifyingParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNameSupportWithParams:") + public native NSDictionary readAttributeNameSupport(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIDType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIDType.java new file mode 100644 index 000000000..b041ec24f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIDType.java @@ -0,0 +1,345 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedIntMarshaler.class)/**/ +public enum /**/MTRClusterIDType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeIdentifyID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeGroupsID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeScenesID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOnOffID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOnOffSwitchConfigurationID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeLevelControlID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBinaryInputBasicID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypePulseWidthModulationID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeDescriptorID(29L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBindingID(30L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeAccessControlID(31L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeActionsID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBasicInformationID(40L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOTASoftwareUpdateProviderID(41L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOTASoftwareUpdateRequestorID(42L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeLocalizationConfigurationID(43L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeTimeFormatLocalizationID(44L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeUnitLocalizationID(45L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypePowerSourceConfigurationID(46L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypePowerSourceID(47L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeGeneralCommissioningID(48L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeNetworkCommissioningID(49L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeDiagnosticLogsID(50L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeGeneralDiagnosticsID(51L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeSoftwareDiagnosticsID(52L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeThreadNetworkDiagnosticsID(53L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeWiFiNetworkDiagnosticsID(54L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeEthernetNetworkDiagnosticsID(55L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeTimeSynchronizationID(56L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBridgedDeviceBasicInformationID(57L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeSwitchID(59L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeAdministratorCommissioningID(60L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOperationalCredentialsID(62L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeGroupKeyManagementID(63L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeFixedLabelID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeUserLabelID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeProxyConfigurationID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeProxyDiscoveryID(67L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeProxyValidID(68L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBooleanStateID(69L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeModeSelectID(80L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeDoorLockID(257L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeWindowCoveringID(258L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBarrierControlID(259L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypePumpConfigurationAndControlID(512L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeThermostatID(513L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeFanControlID(514L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeThermostatUserInterfaceConfigurationID(516L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeColorControlID(768L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeBallastConfigurationID(769L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeIlluminanceMeasurementID(1024L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeTemperatureMeasurementID(1026L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypePressureMeasurementID(1027L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeFlowMeasurementID(1028L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeRelativeHumidityMeasurementID(1029L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeOccupancySensingID(1030L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeWakeOnLANID(1283L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeChannelID(1284L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeTargetNavigatorID(1285L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeMediaPlaybackID(1286L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeMediaInputID(1287L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeLowPowerID(1288L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeKeypadInputID(1289L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeContentLauncherID(1290L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeAudioOutputID(1291L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeApplicationLauncherID(1292L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeApplicationBasicID(1293L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeAccountLoginID(1294L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeElectricalMeasurementID(2820L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeUnitTestingID(4294048773L), + /** + * @since Available in iOS 16.4 and later. + */ + IDTypeFaultInjectionID(4294048774L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRClusterIDType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRClusterIDType/**/ valueOf(long n) { + for (/**/MTRClusterIDType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRClusterIDType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIdentify.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIdentify.java new file mode 100644 index 000000000..05e3e5572 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIdentify.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterIdentify/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterIdentifyPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterIdentify.class); }/**/ + /**//**/ + /**/ + protected MTRClusterIdentify() {} + protected MTRClusterIdentify(Handle h, long handle) { super(h, handle); } + protected MTRClusterIdentify(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterIdentify(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "identifyWithParams:expectedValues:expectedValueInterval:completion:") + public native void identify(MTRIdentifyClusterIdentifyParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "triggerEffectWithParams:expectedValues:expectedValueInterval:completion:") + public native void triggerEffect(MTRIdentifyClusterTriggerEffectParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeIdentifyTimeWithParams:") + public native NSDictionary readAttributeIdentifyTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeIdentifyTimeWithValue:expectedValueInterval:") + public native void writeAttributeIdentifyTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeIdentifyTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeIdentifyTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeIdentifyTypeWithParams:") + public native NSDictionary readAttributeIdentifyType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIlluminanceMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIlluminanceMeasurement.java new file mode 100644 index 000000000..379fad24a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterIlluminanceMeasurement.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterIlluminanceMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterIlluminanceMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterIlluminanceMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterIlluminanceMeasurement() {} + protected MTRClusterIlluminanceMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterIlluminanceMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterIlluminanceMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithParams:") + public native NSDictionary readAttributeMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithParams:") + public native NSDictionary readAttributeMinMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithParams:") + public native NSDictionary readAttributeMaxMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeToleranceWithParams:") + public native NSDictionary readAttributeTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLightSensorTypeWithParams:") + public native NSDictionary readAttributeLightSensorType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterKeypadInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterKeypadInput.java new file mode 100644 index 000000000..e4e030944 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterKeypadInput.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterKeypadInput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterKeypadInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterKeypadInput.class); }/**/ + /**//**/ + /**/ + protected MTRClusterKeypadInput() {} + protected MTRClusterKeypadInput(Handle h, long handle) { super(h, handle); } + protected MTRClusterKeypadInput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterKeypadInput(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sendKeyWithParams:expectedValues:expectedValueInterval:completion:") + public native void sendKey(MTRKeypadInputClusterSendKeyParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLevelControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLevelControl.java new file mode 100644 index 000000000..73ca8c46a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLevelControl.java @@ -0,0 +1,279 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterLevelControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterLevelControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterLevelControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterLevelControl() {} + protected MTRClusterLevelControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterLevelControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterLevelControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToLevelWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToLevel(MTRLevelControlClusterMoveToLevelParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveWithParams:expectedValues:expectedValueInterval:completion:") + public native void move(MTRLevelControlClusterMoveParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepWithParams:expectedValues:expectedValueInterval:completion:") + public native void step(MTRLevelControlClusterStepParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithParams:expectedValues:expectedValueInterval:completion:") + public native void stop(MTRLevelControlClusterStopParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToLevelWithOnOffWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToLevelWithOnOff(MTRLevelControlClusterMoveToLevelWithOnOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveWithOnOffWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveWithOnOff(MTRLevelControlClusterMoveWithOnOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stepWithOnOffWithParams:expectedValues:expectedValueInterval:completion:") + public native void stepWithOnOff(MTRLevelControlClusterStepWithOnOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithOnOffWithParams:expectedValues:expectedValueInterval:completion:") + public native void stopWithOnOff(MTRLevelControlClusterStopWithOnOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "moveToClosestFrequencyWithParams:expectedValues:expectedValueInterval:completion:") + public native void moveToClosestFrequency(MTRLevelControlClusterMoveToClosestFrequencyParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentLevelWithParams:") + public native NSDictionary readAttributeCurrentLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRemainingTimeWithParams:") + public native NSDictionary readAttributeRemainingTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinLevelWithParams:") + public native NSDictionary readAttributeMinLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxLevelWithParams:") + public native NSDictionary readAttributeMaxLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentFrequencyWithParams:") + public native NSDictionary readAttributeCurrentFrequency(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinFrequencyWithParams:") + public native NSDictionary readAttributeMinFrequency(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxFrequencyWithParams:") + public native NSDictionary readAttributeMaxFrequency(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOptionsWithParams:") + public native NSDictionary readAttributeOptions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:expectedValueInterval:") + public native void writeAttributeOptions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOptionsWithValue:expectedValueInterval:params:") + public native void writeAttributeOptions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnOffTransitionTimeWithParams:") + public native NSDictionary readAttributeOnOffTransitionTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnOffTransitionTimeWithValue:expectedValueInterval:") + public native void writeAttributeOnOffTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnOffTransitionTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeOnOffTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnLevelWithParams:") + public native NSDictionary readAttributeOnLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnLevelWithValue:expectedValueInterval:") + public native void writeAttributeOnLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnLevelWithValue:expectedValueInterval:params:") + public native void writeAttributeOnLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnTransitionTimeWithParams:") + public native NSDictionary readAttributeOnTransitionTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnTransitionTimeWithValue:expectedValueInterval:") + public native void writeAttributeOnTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnTransitionTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeOnTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOffTransitionTimeWithParams:") + public native NSDictionary readAttributeOffTransitionTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOffTransitionTimeWithValue:expectedValueInterval:") + public native void writeAttributeOffTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOffTransitionTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeOffTransitionTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDefaultMoveRateWithParams:") + public native NSDictionary readAttributeDefaultMoveRate(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDefaultMoveRateWithValue:expectedValueInterval:") + public native void writeAttributeDefaultMoveRate(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeDefaultMoveRateWithValue:expectedValueInterval:params:") + public native void writeAttributeDefaultMoveRate(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartUpCurrentLevelWithParams:") + public native NSDictionary readAttributeStartUpCurrentLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpCurrentLevelWithValue:expectedValueInterval:") + public native void writeAttributeStartUpCurrentLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpCurrentLevelWithValue:expectedValueInterval:params:") + public native void writeAttributeStartUpCurrentLevel(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLocalizationConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLocalizationConfiguration.java new file mode 100644 index 000000000..b242e5160 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLocalizationConfiguration.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterLocalizationConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterLocalizationConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterLocalizationConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRClusterLocalizationConfiguration() {} + protected MTRClusterLocalizationConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRClusterLocalizationConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterLocalizationConfiguration(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveLocaleWithParams:") + public native NSDictionary readAttributeActiveLocale(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveLocaleWithValue:expectedValueInterval:") + public native void writeAttributeActiveLocale(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveLocaleWithValue:expectedValueInterval:params:") + public native void writeAttributeActiveLocale(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedLocalesWithParams:") + public native NSDictionary readAttributeSupportedLocales(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLowPower.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLowPower.java new file mode 100644 index 000000000..7c9ef0f90 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterLowPower.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterLowPower/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterLowPowerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterLowPower.class); }/**/ + /**//**/ + /**/ + protected MTRClusterLowPower() {} + protected MTRClusterLowPower(Handle h, long handle) { super(h, handle); } + protected MTRClusterLowPower(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterLowPower(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sleepWithParams:expectedValues:expectedValueInterval:completion:") + public native void sleep(MTRLowPowerClusterSleepParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sleepWithExpectedValues:expectedValueInterval:completion:") + public native void sleep(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaInput.java new file mode 100644 index 000000000..fd5252a8c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaInput.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterMediaInput/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterMediaInputPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterMediaInput.class); }/**/ + /**//**/ + /**/ + protected MTRClusterMediaInput() {} + protected MTRClusterMediaInput(Handle h, long handle) { super(h, handle); } + protected MTRClusterMediaInput(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterMediaInput(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "selectInputWithParams:expectedValues:expectedValueInterval:completion:") + public native void selectInput(MTRMediaInputClusterSelectInputParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "showInputStatusWithParams:expectedValues:expectedValueInterval:completion:") + public native void showInputStatus(MTRMediaInputClusterShowInputStatusParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "showInputStatusWithExpectedValues:expectedValueInterval:completion:") + public native void showInputStatus(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideInputStatusWithParams:expectedValues:expectedValueInterval:completion:") + public native void hideInputStatus(MTRMediaInputClusterHideInputStatusParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "hideInputStatusWithExpectedValues:expectedValueInterval:completion:") + public native void hideInputStatus(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "renameInputWithParams:expectedValues:expectedValueInterval:completion:") + public native void renameInput(MTRMediaInputClusterRenameInputParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInputListWithParams:") + public native NSDictionary readAttributeInputList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentInputWithParams:") + public native NSDictionary readAttributeCurrentInput(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaPlayback.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaPlayback.java new file mode 100644 index 000000000..b42d5a87c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterMediaPlayback.java @@ -0,0 +1,224 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterMediaPlayback/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterMediaPlaybackPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterMediaPlayback.class); }/**/ + /**//**/ + /**/ + protected MTRClusterMediaPlayback() {} + protected MTRClusterMediaPlayback(Handle h, long handle) { super(h, handle); } + protected MTRClusterMediaPlayback(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterMediaPlayback(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "playWithParams:expectedValues:expectedValueInterval:completion:") + public native void play(MTRMediaPlaybackClusterPlayParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "playWithExpectedValues:expectedValueInterval:completion:") + public native void play(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseWithParams:expectedValues:expectedValueInterval:completion:") + public native void pause(MTRMediaPlaybackClusterPauseParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "pauseWithExpectedValues:expectedValueInterval:completion:") + public native void pause(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithParams:expectedValues:expectedValueInterval:completion:") + public native void stop(MTRMediaPlaybackClusterStopParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopWithExpectedValues:expectedValueInterval:completion:") + public native void stop(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startOverWithParams:expectedValues:expectedValueInterval:completion:") + public native void startOver(MTRMediaPlaybackClusterStartOverParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "startOverWithExpectedValues:expectedValueInterval:completion:") + public native void startOver(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "previousWithParams:expectedValues:expectedValueInterval:completion:") + public native void previous(MTRMediaPlaybackClusterPreviousParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "previousWithExpectedValues:expectedValueInterval:completion:") + public native void previous(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "nextWithParams:expectedValues:expectedValueInterval:completion:") + public native void next(MTRMediaPlaybackClusterNextParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "nextWithExpectedValues:expectedValueInterval:completion:") + public native void next(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "rewindWithParams:expectedValues:expectedValueInterval:completion:") + public native void rewind(MTRMediaPlaybackClusterRewindParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "rewindWithExpectedValues:expectedValueInterval:completion:") + public native void rewind(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "fastForwardWithParams:expectedValues:expectedValueInterval:completion:") + public native void fastForward(MTRMediaPlaybackClusterFastForwardParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "fastForwardWithExpectedValues:expectedValueInterval:completion:") + public native void fastForward(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipForwardWithParams:expectedValues:expectedValueInterval:completion:") + public native void skipForward(MTRMediaPlaybackClusterSkipForwardParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "skipBackwardWithParams:expectedValues:expectedValueInterval:completion:") + public native void skipBackward(MTRMediaPlaybackClusterSkipBackwardParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "seekWithParams:expectedValues:expectedValueInterval:completion:") + public native void seek(MTRMediaPlaybackClusterSeekParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentStateWithParams:") + public native NSDictionary readAttributeCurrentState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartTimeWithParams:") + public native NSDictionary readAttributeStartTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDurationWithParams:") + public native NSDictionary readAttributeDuration(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSampledPositionWithParams:") + public native NSDictionary readAttributeSampledPosition(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePlaybackSpeedWithParams:") + public native NSDictionary readAttributePlaybackSpeed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSeekRangeEndWithParams:") + public native NSDictionary readAttributeSeekRangeEnd(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSeekRangeStartWithParams:") + public native NSDictionary readAttributeSeekRangeStart(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterModeSelect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterModeSelect.java new file mode 100644 index 000000000..086befb01 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterModeSelect.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterModeSelect/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterModeSelectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterModeSelect.class); }/**/ + /**//**/ + /**/ + protected MTRClusterModeSelect() {} + protected MTRClusterModeSelect(Handle h, long handle) { super(h, handle); } + protected MTRClusterModeSelect(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterModeSelect(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "changeToModeWithParams:expectedValues:expectedValueInterval:completion:") + public native void changeToMode(MTRModeSelectClusterChangeToModeParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDescriptionWithParams:") + public native NSDictionary readAttributeDescription(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStandardNamespaceWithParams:") + public native NSDictionary readAttributeStandardNamespace(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedModesWithParams:") + public native NSDictionary readAttributeSupportedModes(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentModeWithParams:") + public native NSDictionary readAttributeCurrentMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartUpModeWithParams:") + public native NSDictionary readAttributeStartUpMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpModeWithValue:expectedValueInterval:") + public native void writeAttributeStartUpMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpModeWithValue:expectedValueInterval:params:") + public native void writeAttributeStartUpMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnModeWithParams:") + public native NSDictionary readAttributeOnMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnModeWithValue:expectedValueInterval:") + public native void writeAttributeOnMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnModeWithValue:expectedValueInterval:params:") + public native void writeAttributeOnMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterNetworkCommissioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterNetworkCommissioning.java new file mode 100644 index 000000000..792ea7f31 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterNetworkCommissioning.java @@ -0,0 +1,174 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterNetworkCommissioning/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterNetworkCommissioningPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterNetworkCommissioning.class); }/**/ + /**//**/ + /**/ + protected MTRClusterNetworkCommissioning() {} + protected MTRClusterNetworkCommissioning(Handle h, long handle) { super(h, handle); } + protected MTRClusterNetworkCommissioning(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterNetworkCommissioning(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "scanNetworksWithParams:expectedValues:expectedValueInterval:completion:") + public native void scanNetworks(MTRNetworkCommissioningClusterScanNetworksParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addOrUpdateWiFiNetworkWithParams:expectedValues:expectedValueInterval:completion:") + public native void addOrUpdateWiFiNetwork(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addOrUpdateThreadNetworkWithParams:expectedValues:expectedValueInterval:completion:") + public native void addOrUpdateThreadNetwork(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeNetworkWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeNetwork(MTRNetworkCommissioningClusterRemoveNetworkParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "connectNetworkWithParams:expectedValues:expectedValueInterval:completion:") + public native void connectNetwork(MTRNetworkCommissioningClusterConnectNetworkParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "reorderNetworkWithParams:expectedValues:expectedValueInterval:completion:") + public native void reorderNetwork(MTRNetworkCommissioningClusterReorderNetworkParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxNetworksWithParams:") + public native NSDictionary readAttributeMaxNetworks(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNetworksWithParams:") + public native NSDictionary readAttributeNetworks(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeScanMaxTimeSecondsWithParams:") + public native NSDictionary readAttributeScanMaxTimeSeconds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeConnectMaxTimeSecondsWithParams:") + public native NSDictionary readAttributeConnectMaxTimeSeconds(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInterfaceEnabledWithParams:") + public native NSDictionary readAttributeInterfaceEnabled(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeInterfaceEnabledWithValue:expectedValueInterval:") + public native void writeAttributeInterfaceEnabled(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeInterfaceEnabledWithValue:expectedValueInterval:params:") + public native void writeAttributeInterfaceEnabled(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLastNetworkingStatusWithParams:") + public native NSDictionary readAttributeLastNetworkingStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLastNetworkIDWithParams:") + public native NSDictionary readAttributeLastNetworkID(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLastConnectErrorValueWithParams:") + public native NSDictionary readAttributeLastConnectErrorValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateProvider.java new file mode 100644 index 000000000..b09129112 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateProvider.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOTASoftwareUpdateProvider/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOTASoftwareUpdateProviderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOTASoftwareUpdateProvider.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOTASoftwareUpdateProvider() {} + protected MTRClusterOTASoftwareUpdateProvider(Handle h, long handle) { super(h, handle); } + protected MTRClusterOTASoftwareUpdateProvider(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOTASoftwareUpdateProvider(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "queryImageWithParams:expectedValues:expectedValueInterval:completion:") + public native void queryImage(MTROTASoftwareUpdateProviderClusterQueryImageParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "applyUpdateRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void applyUpdateRequest(MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "notifyUpdateAppliedWithParams:expectedValues:expectedValueInterval:completion:") + public native void notifyUpdateApplied(MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateRequestor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateRequestor.java new file mode 100644 index 000000000..4f4da5837 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOTASoftwareUpdateRequestor.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOTASoftwareUpdateRequestor/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOTASoftwareUpdateRequestorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOTASoftwareUpdateRequestor.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOTASoftwareUpdateRequestor() {} + protected MTRClusterOTASoftwareUpdateRequestor(Handle h, long handle) { super(h, handle); } + protected MTRClusterOTASoftwareUpdateRequestor(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOTASoftwareUpdateRequestor(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "announceOTAProviderWithParams:expectedValues:expectedValueInterval:completion:") + public native void announceOTAProvider(MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeDefaultOTAProvidersWithParams:") + public native NSDictionary readAttributeDefaultOTAProviders(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultOTAProvidersWithValue:expectedValueInterval:") + public native void writeAttributeDefaultOTAProviders(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeDefaultOTAProvidersWithValue:expectedValueInterval:params:") + public native void writeAttributeDefaultOTAProviders(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdatePossibleWithParams:") + public native NSDictionary readAttributeUpdatePossible(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateWithParams:") + public native NSDictionary readAttributeUpdateState(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUpdateStateProgressWithParams:") + public native NSDictionary readAttributeUpdateStateProgress(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOccupancySensing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOccupancySensing.java new file mode 100644 index 000000000..686813b71 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOccupancySensing.java @@ -0,0 +1,244 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOccupancySensing/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOccupancySensingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOccupancySensing.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOccupancySensing() {} + protected MTRClusterOccupancySensing(Handle h, long handle) { super(h, handle); } + protected MTRClusterOccupancySensing(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOccupancySensing(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupancyWithParams:") + public native NSDictionary readAttributeOccupancy(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeWithParams:") + public native NSDictionary readAttributeOccupancySensorType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupancySensorTypeBitmapWithParams:") + public native NSDictionary readAttributeOccupancySensorTypeBitmap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIROccupiedToUnoccupiedDelayWithParams:") + public native NSDictionary readAttributePIROccupiedToUnoccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIROccupiedToUnoccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributePIROccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIROccupiedToUnoccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributePIROccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedDelayWithParams:") + public native NSDictionary readAttributePIRUnoccupiedToOccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributePIRUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributePIRUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributePIRUnoccupiedToOccupiedThresholdWithParams:") + public native NSDictionary readAttributePIRUnoccupiedToOccupiedThreshold(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:") + public native void writeAttributePIRUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:params:") + public native void writeAttributePIRUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:") + public native NSDictionary readAttributeUltrasonicOccupiedToUnoccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributeUltrasonicOccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributeUltrasonicOccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:") + public native NSDictionary readAttributeUltrasonicUnoccupiedToOccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:") + public native NSDictionary readAttributeUltrasonicUnoccupiedToOccupiedThreshold(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:params:") + public native void writeAttributeUltrasonicUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:") + public native NSDictionary readAttributePhysicalContactOccupiedToUnoccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributePhysicalContactOccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributePhysicalContactOccupiedToUnoccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:") + public native NSDictionary readAttributePhysicalContactUnoccupiedToOccupiedDelay(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:expectedValueInterval:params:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedDelay(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:") + public native NSDictionary readAttributePhysicalContactUnoccupiedToOccupiedThreshold(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:expectedValueInterval:params:") + public native void writeAttributePhysicalContactUnoccupiedToOccupiedThreshold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOff.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOff.java new file mode 100644 index 000000000..ddb632c10 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOff.java @@ -0,0 +1,199 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOnOff/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOnOffPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOnOff.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOnOff() {} + protected MTRClusterOnOff(Handle h, long handle) { super(h, handle); } + protected MTRClusterOnOff(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOnOff(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithParams:expectedValues:expectedValueInterval:completion:") + public native void off(MTROnOffClusterOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithExpectedValues:expectedValueInterval:completion:") + public native void off(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithParams:expectedValues:expectedValueInterval:completion:") + public native void on(MTROnOffClusterOnParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithExpectedValues:expectedValueInterval:completion:") + public native void on(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "toggleWithParams:expectedValues:expectedValueInterval:completion:") + public native void toggle(MTROnOffClusterToggleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "toggleWithExpectedValues:expectedValueInterval:completion:") + public native void toggle(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "offWithEffectWithParams:expectedValues:expectedValueInterval:completion:") + public native void offWithEffect(MTROnOffClusterOffWithEffectParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithRecallGlobalSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void onWithRecallGlobalScene(MTROnOffClusterOnWithRecallGlobalSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithRecallGlobalSceneWithExpectedValues:expectedValueInterval:completion:") + public native void onWithRecallGlobalScene(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "onWithTimedOffWithParams:expectedValues:expectedValueInterval:completion:") + public native void onWithTimedOff(MTROnOffClusterOnWithTimedOffParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnOffWithParams:") + public native NSDictionary readAttributeOnOff(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGlobalSceneControlWithParams:") + public native NSDictionary readAttributeGlobalSceneControl(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOnTimeWithParams:") + public native NSDictionary readAttributeOnTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnTimeWithValue:expectedValueInterval:") + public native void writeAttributeOnTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOnTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeOnTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOffWaitTimeWithParams:") + public native NSDictionary readAttributeOffWaitTime(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOffWaitTimeWithValue:expectedValueInterval:") + public native void writeAttributeOffWaitTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOffWaitTimeWithValue:expectedValueInterval:params:") + public native void writeAttributeOffWaitTime(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartUpOnOffWithParams:") + public native NSDictionary readAttributeStartUpOnOff(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpOnOffWithValue:expectedValueInterval:") + public native void writeAttributeStartUpOnOff(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeStartUpOnOffWithValue:expectedValueInterval:params:") + public native void writeAttributeStartUpOnOff(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOffSwitchConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOffSwitchConfiguration.java new file mode 100644 index 000000000..328ac5351 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOnOffSwitchConfiguration.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOnOffSwitchConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOnOffSwitchConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOnOffSwitchConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOnOffSwitchConfiguration() {} + protected MTRClusterOnOffSwitchConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRClusterOnOffSwitchConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOnOffSwitchConfiguration(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSwitchTypeWithParams:") + public native NSDictionary readAttributeSwitchType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSwitchActionsWithParams:") + public native NSDictionary readAttributeSwitchActions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSwitchActionsWithValue:expectedValueInterval:") + public native void writeAttributeSwitchActions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSwitchActionsWithValue:expectedValueInterval:params:") + public native void writeAttributeSwitchActions(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOperationalCredentials.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOperationalCredentials.java new file mode 100644 index 000000000..1ea77c223 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterOperationalCredentials.java @@ -0,0 +1,164 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterOperationalCredentials/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterOperationalCredentialsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterOperationalCredentials.class); }/**/ + /**//**/ + /**/ + protected MTRClusterOperationalCredentials() {} + protected MTRClusterOperationalCredentials(Handle h, long handle) { super(h, handle); } + protected MTRClusterOperationalCredentials(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterOperationalCredentials(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "attestationRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void attestationRequest(MTROperationalCredentialsClusterAttestationRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "certificateChainRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void certificateChainRequest(MTROperationalCredentialsClusterCertificateChainRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "CSRRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void CSRRequest(MTROperationalCredentialsClusterCSRRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addNOCWithParams:expectedValues:expectedValueInterval:completion:") + public native void addNOC(MTROperationalCredentialsClusterAddNOCParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "updateNOCWithParams:expectedValues:expectedValueInterval:completion:") + public native void updateNOC(MTROperationalCredentialsClusterUpdateNOCParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "updateFabricLabelWithParams:expectedValues:expectedValueInterval:completion:") + public native void updateFabricLabel(MTROperationalCredentialsClusterUpdateFabricLabelParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeFabricWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeFabric(MTROperationalCredentialsClusterRemoveFabricParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addTrustedRootCertificateWithParams:expectedValues:expectedValueInterval:completion:") + public native void addTrustedRootCertificate(MTROperationalCredentialsClusterAddTrustedRootCertificateParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNOCsWithParams:") + public native NSDictionary readAttributeNOCs(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFabricsWithParams:") + public native NSDictionary readAttributeFabrics(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedFabricsWithParams:") + public native NSDictionary readAttributeSupportedFabrics(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCommissionedFabricsWithParams:") + public native NSDictionary readAttributeCommissionedFabrics(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTrustedRootCertificatesWithParams:") + public native NSDictionary readAttributeTrustedRootCertificates(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentFabricIndexWithParams:") + public native NSDictionary readAttributeCurrentFabricIndex(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPath.java new file mode 100644 index 000000000..608fe89ae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPath.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterPath/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRClusterPathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterPath.class); }/**/ + /**//**/ + /**/ + protected MTRClusterPath() {} + protected MTRClusterPath(Handle h, long handle) { super(h, handle); } + protected MTRClusterPath(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + @Property(selector = "cluster") + public native NSNumber getCluster(); + /**/ + /**//**/ + /**/ + @Method(selector = "clusterPathWithEndpointID:clusterID:") + public static native MTRClusterPath createClusterPath(NSNumber endpointID, NSNumber clusterID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSource.java new file mode 100644 index 000000000..29b7c19ad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSource.java @@ -0,0 +1,249 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterPowerSource/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterPowerSourcePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterPowerSource.class); }/**/ + /**//**/ + /**/ + protected MTRClusterPowerSource() {} + protected MTRClusterPowerSource(Handle h, long handle) { super(h, handle); } + protected MTRClusterPowerSource(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterPowerSource(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStatusWithParams:") + public native NSDictionary readAttributeStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOrderWithParams:") + public native NSDictionary readAttributeOrder(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDescriptionWithParams:") + public native NSDictionary readAttributeDescription(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputVoltageWithParams:") + public native NSDictionary readAttributeWiredAssessedInputVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredAssessedInputFrequencyWithParams:") + public native NSDictionary readAttributeWiredAssessedInputFrequency(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredCurrentTypeWithParams:") + public native NSDictionary readAttributeWiredCurrentType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredAssessedCurrentWithParams:") + public native NSDictionary readAttributeWiredAssessedCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredNominalVoltageWithParams:") + public native NSDictionary readAttributeWiredNominalVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredMaximumCurrentWithParams:") + public native NSDictionary readAttributeWiredMaximumCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiredPresentWithParams:") + public native NSDictionary readAttributeWiredPresent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveWiredFaultsWithParams:") + public native NSDictionary readAttributeActiveWiredFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatVoltageWithParams:") + public native NSDictionary readAttributeBatVoltage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatPercentRemainingWithParams:") + public native NSDictionary readAttributeBatPercentRemaining(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatTimeRemainingWithParams:") + public native NSDictionary readAttributeBatTimeRemaining(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatChargeLevelWithParams:") + public native NSDictionary readAttributeBatChargeLevel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatReplacementNeededWithParams:") + public native NSDictionary readAttributeBatReplacementNeeded(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatReplaceabilityWithParams:") + public native NSDictionary readAttributeBatReplaceability(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatPresentWithParams:") + public native NSDictionary readAttributeBatPresent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveBatFaultsWithParams:") + public native NSDictionary readAttributeActiveBatFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatReplacementDescriptionWithParams:") + public native NSDictionary readAttributeBatReplacementDescription(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatCommonDesignationWithParams:") + public native NSDictionary readAttributeBatCommonDesignation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatANSIDesignationWithParams:") + public native NSDictionary readAttributeBatANSIDesignation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatIECDesignationWithParams:") + public native NSDictionary readAttributeBatIECDesignation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatApprovedChemistryWithParams:") + public native NSDictionary readAttributeBatApprovedChemistry(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatCapacityWithParams:") + public native NSDictionary readAttributeBatCapacity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatQuantityWithParams:") + public native NSDictionary readAttributeBatQuantity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatChargeStateWithParams:") + public native NSDictionary readAttributeBatChargeState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatTimeToFullChargeWithParams:") + public native NSDictionary readAttributeBatTimeToFullCharge(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatFunctionalWhileChargingWithParams:") + public native NSDictionary readAttributeBatFunctionalWhileCharging(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBatChargingCurrentWithParams:") + public native NSDictionary readAttributeBatChargingCurrent(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveBatChargeFaultsWithParams:") + public native NSDictionary readAttributeActiveBatChargeFaults(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSourceConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSourceConfiguration.java new file mode 100644 index 000000000..bbff1e932 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPowerSourceConfiguration.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterPowerSourceConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterPowerSourceConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterPowerSourceConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRClusterPowerSourceConfiguration() {} + protected MTRClusterPowerSourceConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRClusterPowerSourceConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterPowerSourceConfiguration(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSourcesWithParams:") + public native NSDictionary readAttributeSources(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPressureMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPressureMeasurement.java new file mode 100644 index 000000000..873dc99bb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPressureMeasurement.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterPressureMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterPressureMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterPressureMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterPressureMeasurement() {} + protected MTRClusterPressureMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterPressureMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterPressureMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithParams:") + public native NSDictionary readAttributeMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithParams:") + public native NSDictionary readAttributeMinMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithParams:") + public native NSDictionary readAttributeMaxMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeToleranceWithParams:") + public native NSDictionary readAttributeTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeScaledValueWithParams:") + public native NSDictionary readAttributeScaledValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinScaledValueWithParams:") + public native NSDictionary readAttributeMinScaledValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxScaledValueWithParams:") + public native NSDictionary readAttributeMaxScaledValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeScaledToleranceWithParams:") + public native NSDictionary readAttributeScaledTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeScaleWithParams:") + public native NSDictionary readAttributeScale(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPumpConfigurationAndControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPumpConfigurationAndControl.java new file mode 100644 index 000000000..ce0bb63a0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterPumpConfigurationAndControl.java @@ -0,0 +1,249 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterPumpConfigurationAndControl/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterPumpConfigurationAndControlPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterPumpConfigurationAndControl.class); }/**/ + /**//**/ + /**/ + protected MTRClusterPumpConfigurationAndControl() {} + protected MTRClusterPumpConfigurationAndControl(Handle h, long handle) { super(h, handle); } + protected MTRClusterPumpConfigurationAndControl(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterPumpConfigurationAndControl(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxPressureWithParams:") + public native NSDictionary readAttributeMaxPressure(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxSpeedWithParams:") + public native NSDictionary readAttributeMaxSpeed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxFlowWithParams:") + public native NSDictionary readAttributeMaxFlow(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinConstPressureWithParams:") + public native NSDictionary readAttributeMinConstPressure(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxConstPressureWithParams:") + public native NSDictionary readAttributeMaxConstPressure(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinCompPressureWithParams:") + public native NSDictionary readAttributeMinCompPressure(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxCompPressureWithParams:") + public native NSDictionary readAttributeMaxCompPressure(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinConstSpeedWithParams:") + public native NSDictionary readAttributeMinConstSpeed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxConstSpeedWithParams:") + public native NSDictionary readAttributeMaxConstSpeed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinConstFlowWithParams:") + public native NSDictionary readAttributeMinConstFlow(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxConstFlowWithParams:") + public native NSDictionary readAttributeMaxConstFlow(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinConstTempWithParams:") + public native NSDictionary readAttributeMinConstTemp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxConstTempWithParams:") + public native NSDictionary readAttributeMaxConstTemp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePumpStatusWithParams:") + public native NSDictionary readAttributePumpStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEffectiveOperationModeWithParams:") + public native NSDictionary readAttributeEffectiveOperationMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEffectiveControlModeWithParams:") + public native NSDictionary readAttributeEffectiveControlMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCapacityWithParams:") + public native NSDictionary readAttributeCapacity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSpeedWithParams:") + public native NSDictionary readAttributeSpeed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLifetimeRunningHoursWithParams:") + public native NSDictionary readAttributeLifetimeRunningHours(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLifetimeRunningHoursWithValue:expectedValueInterval:") + public native void writeAttributeLifetimeRunningHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLifetimeRunningHoursWithValue:expectedValueInterval:params:") + public native void writeAttributeLifetimeRunningHours(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePowerWithParams:") + public native NSDictionary readAttributePower(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLifetimeEnergyConsumedWithParams:") + public native NSDictionary readAttributeLifetimeEnergyConsumed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLifetimeEnergyConsumedWithValue:expectedValueInterval:") + public native void writeAttributeLifetimeEnergyConsumed(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLifetimeEnergyConsumedWithValue:expectedValueInterval:params:") + public native void writeAttributeLifetimeEnergyConsumed(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOperationModeWithParams:") + public native NSDictionary readAttributeOperationMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOperationModeWithValue:expectedValueInterval:") + public native void writeAttributeOperationMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOperationModeWithValue:expectedValueInterval:params:") + public native void writeAttributeOperationMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeControlModeWithParams:") + public native NSDictionary readAttributeControlMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeControlModeWithValue:expectedValueInterval:") + public native void writeAttributeControlMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeControlModeWithValue:expectedValueInterval:params:") + public native void writeAttributeControlMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterRelativeHumidityMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterRelativeHumidityMeasurement.java new file mode 100644 index 000000000..01b9f306a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterRelativeHumidityMeasurement.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterRelativeHumidityMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterRelativeHumidityMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterRelativeHumidityMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterRelativeHumidityMeasurement() {} + protected MTRClusterRelativeHumidityMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterRelativeHumidityMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterRelativeHumidityMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithParams:") + public native NSDictionary readAttributeMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithParams:") + public native NSDictionary readAttributeMinMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithParams:") + public native NSDictionary readAttributeMaxMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeToleranceWithParams:") + public native NSDictionary readAttributeTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterScenes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterScenes.java new file mode 100644 index 000000000..f6f3927c4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterScenes.java @@ -0,0 +1,174 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterScenes/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterScenesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterScenes.class); }/**/ + /**//**/ + /**/ + protected MTRClusterScenes() {} + protected MTRClusterScenes(Handle h, long handle) { super(h, handle); } + protected MTRClusterScenes(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterScenes(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "addSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void addScene(MTRScenesClusterAddSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "viewSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void viewScene(MTRScenesClusterViewSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeScene(MTRScenesClusterRemoveSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "removeAllScenesWithParams:expectedValues:expectedValueInterval:completion:") + public native void removeAllScenes(MTRScenesClusterRemoveAllScenesParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "storeSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void storeScene(MTRScenesClusterStoreSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "recallSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void recallScene(MTRScenesClusterRecallSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getSceneMembershipWithParams:expectedValues:expectedValueInterval:completion:") + public native void getSceneMembership(MTRScenesClusterGetSceneMembershipParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedAddSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedAddScene(MTRScenesClusterEnhancedAddSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "enhancedViewSceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void enhancedViewScene(MTRScenesClusterEnhancedViewSceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "copySceneWithParams:expectedValues:expectedValueInterval:completion:") + public native void copyScene(MTRScenesClusterCopySceneParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSceneCountWithParams:") + public native NSDictionary readAttributeSceneCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentSceneWithParams:") + public native NSDictionary readAttributeCurrentScene(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentGroupWithParams:") + public native NSDictionary readAttributeCurrentGroup(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSceneValidWithParams:") + public native NSDictionary readAttributeSceneValid(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNameSupportWithParams:") + public native NSDictionary readAttributeNameSupport(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLastConfiguredByWithParams:") + public native NSDictionary readAttributeLastConfiguredBy(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSoftwareDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSoftwareDiagnostics.java new file mode 100644 index 000000000..a4ba62fbc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSoftwareDiagnostics.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterSoftwareDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterSoftwareDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterSoftwareDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRClusterSoftwareDiagnostics() {} + protected MTRClusterSoftwareDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRClusterSoftwareDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterSoftwareDiagnostics(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetWatermarksWithParams:expectedValues:expectedValueInterval:completion:") + public native void resetWatermarks(MTRSoftwareDiagnosticsClusterResetWatermarksParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetWatermarksWithExpectedValues:expectedValueInterval:completion:") + public native void resetWatermarks(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeThreadMetricsWithParams:") + public native NSDictionary readAttributeThreadMetrics(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentHeapFreeWithParams:") + public native NSDictionary readAttributeCurrentHeapFree(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentHeapUsedWithParams:") + public native NSDictionary readAttributeCurrentHeapUsed(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentHeapHighWatermarkWithParams:") + public native NSDictionary readAttributeCurrentHeapHighWatermark(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterStateCacheContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterStateCacheContainer.java new file mode 100644 index 000000000..06378b097 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterStateCacheContainer.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterStateCacheContainer/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRClusterStateCacheContainerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterStateCacheContainer.class); }/**/ + /**//**/ + /**/ + public MTRClusterStateCacheContainer() {} + protected MTRClusterStateCacheContainer(Handle h, long handle) { super(h, handle); } + protected MTRClusterStateCacheContainer(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "readAttributesWithEndpointID:clusterID:attributeID:queue:completion:") + public native void readAttributes(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSwitch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSwitch.java new file mode 100644 index 000000000..53a6d210a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterSwitch.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterSwitch/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterSwitchPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterSwitch.class); }/**/ + /**//**/ + /**/ + protected MTRClusterSwitch() {} + protected MTRClusterSwitch(Handle h, long handle) { super(h, handle); } + protected MTRClusterSwitch(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterSwitch(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfPositionsWithParams:") + public native NSDictionary readAttributeNumberOfPositions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionWithParams:") + public native NSDictionary readAttributeCurrentPosition(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMultiPressMaxWithParams:") + public native NSDictionary readAttributeMultiPressMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTargetNavigator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTargetNavigator.java new file mode 100644 index 000000000..c06a57794 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTargetNavigator.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterTargetNavigator/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterTargetNavigatorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterTargetNavigator.class); }/**/ + /**//**/ + /**/ + protected MTRClusterTargetNavigator() {} + protected MTRClusterTargetNavigator(Handle h, long handle) { super(h, handle); } + protected MTRClusterTargetNavigator(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterTargetNavigator(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "navigateTargetWithParams:expectedValues:expectedValueInterval:completion:") + public native void navigateTarget(MTRTargetNavigatorClusterNavigateTargetParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTargetListWithParams:") + public native NSDictionary readAttributeTargetList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentTargetWithParams:") + public native NSDictionary readAttributeCurrentTarget(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTemperatureMeasurement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTemperatureMeasurement.java new file mode 100644 index 000000000..f294e6730 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTemperatureMeasurement.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterTemperatureMeasurement/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterTemperatureMeasurementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterTemperatureMeasurement.class); }/**/ + /**//**/ + /**/ + protected MTRClusterTemperatureMeasurement() {} + protected MTRClusterTemperatureMeasurement(Handle h, long handle) { super(h, handle); } + protected MTRClusterTemperatureMeasurement(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterTemperatureMeasurement(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeasuredValueWithParams:") + public native NSDictionary readAttributeMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinMeasuredValueWithParams:") + public native NSDictionary readAttributeMinMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxMeasuredValueWithParams:") + public native NSDictionary readAttributeMaxMeasuredValue(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeToleranceWithParams:") + public native NSDictionary readAttributeTolerance(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostat.java new file mode 100644 index 000000000..699ba2633 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostat.java @@ -0,0 +1,634 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterThermostat/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterThermostatPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterThermostat.class); }/**/ + /**//**/ + /**/ + protected MTRClusterThermostat() {} + protected MTRClusterThermostat(Handle h, long handle) { super(h, handle); } + protected MTRClusterThermostat(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterThermostat(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setpointRaiseLowerWithParams:expectedValues:expectedValueInterval:completion:") + public native void setpointRaiseLower(MTRThermostatClusterSetpointRaiseLowerParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setWeeklyScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void setWeeklySchedule(MTRThermostatClusterSetWeeklyScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "getWeeklyScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void getWeeklySchedule(MTRThermostatClusterGetWeeklyScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeeklyScheduleWithParams:expectedValues:expectedValueInterval:completion:") + public native void clearWeeklySchedule(MTRThermostatClusterClearWeeklyScheduleParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "clearWeeklyScheduleWithExpectedValues:expectedValueInterval:completion:") + public native void clearWeeklySchedule(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLocalTemperatureWithParams:") + public native NSDictionary readAttributeLocalTemperature(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOutdoorTemperatureWithParams:") + public native NSDictionary readAttributeOutdoorTemperature(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupancyWithParams:") + public native NSDictionary readAttributeOccupancy(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAbsMinHeatSetpointLimitWithParams:") + public native NSDictionary readAttributeAbsMinHeatSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAbsMaxHeatSetpointLimitWithParams:") + public native NSDictionary readAttributeAbsMaxHeatSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAbsMinCoolSetpointLimitWithParams:") + public native NSDictionary readAttributeAbsMinCoolSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAbsMaxCoolSetpointLimitWithParams:") + public native NSDictionary readAttributeAbsMaxCoolSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePICoolingDemandWithParams:") + public native NSDictionary readAttributePICoolingDemand(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePIHeatingDemandWithParams:") + public native NSDictionary readAttributePIHeatingDemand(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeHVACSystemTypeConfigurationWithParams:") + public native NSDictionary readAttributeHVACSystemTypeConfiguration(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeHVACSystemTypeConfigurationWithValue:expectedValueInterval:") + public native void writeAttributeHVACSystemTypeConfiguration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeHVACSystemTypeConfigurationWithValue:expectedValueInterval:params:") + public native void writeAttributeHVACSystemTypeConfiguration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLocalTemperatureCalibrationWithParams:") + public native NSDictionary readAttributeLocalTemperatureCalibration(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLocalTemperatureCalibrationWithValue:expectedValueInterval:") + public native void writeAttributeLocalTemperatureCalibration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLocalTemperatureCalibrationWithValue:expectedValueInterval:params:") + public native void writeAttributeLocalTemperatureCalibration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupiedCoolingSetpointWithParams:") + public native NSDictionary readAttributeOccupiedCoolingSetpoint(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedCoolingSetpointWithValue:expectedValueInterval:") + public native void writeAttributeOccupiedCoolingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedCoolingSetpointWithValue:expectedValueInterval:params:") + public native void writeAttributeOccupiedCoolingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupiedHeatingSetpointWithParams:") + public native NSDictionary readAttributeOccupiedHeatingSetpoint(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedHeatingSetpointWithValue:expectedValueInterval:") + public native void writeAttributeOccupiedHeatingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedHeatingSetpointWithValue:expectedValueInterval:params:") + public native void writeAttributeOccupiedHeatingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUnoccupiedCoolingSetpointWithParams:") + public native NSDictionary readAttributeUnoccupiedCoolingSetpoint(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedCoolingSetpointWithValue:expectedValueInterval:") + public native void writeAttributeUnoccupiedCoolingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedCoolingSetpointWithValue:expectedValueInterval:params:") + public native void writeAttributeUnoccupiedCoolingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUnoccupiedHeatingSetpointWithParams:") + public native NSDictionary readAttributeUnoccupiedHeatingSetpoint(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedHeatingSetpointWithValue:expectedValueInterval:") + public native void writeAttributeUnoccupiedHeatingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedHeatingSetpointWithValue:expectedValueInterval:params:") + public native void writeAttributeUnoccupiedHeatingSetpoint(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinHeatSetpointLimitWithParams:") + public native NSDictionary readAttributeMinHeatSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinHeatSetpointLimitWithValue:expectedValueInterval:") + public native void writeAttributeMinHeatSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinHeatSetpointLimitWithValue:expectedValueInterval:params:") + public native void writeAttributeMinHeatSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxHeatSetpointLimitWithParams:") + public native NSDictionary readAttributeMaxHeatSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxHeatSetpointLimitWithValue:expectedValueInterval:") + public native void writeAttributeMaxHeatSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxHeatSetpointLimitWithValue:expectedValueInterval:params:") + public native void writeAttributeMaxHeatSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinCoolSetpointLimitWithParams:") + public native NSDictionary readAttributeMinCoolSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinCoolSetpointLimitWithValue:expectedValueInterval:") + public native void writeAttributeMinCoolSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinCoolSetpointLimitWithValue:expectedValueInterval:params:") + public native void writeAttributeMinCoolSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMaxCoolSetpointLimitWithParams:") + public native NSDictionary readAttributeMaxCoolSetpointLimit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxCoolSetpointLimitWithValue:expectedValueInterval:") + public native void writeAttributeMaxCoolSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMaxCoolSetpointLimitWithValue:expectedValueInterval:params:") + public native void writeAttributeMaxCoolSetpointLimit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMinSetpointDeadBandWithParams:") + public native NSDictionary readAttributeMinSetpointDeadBand(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinSetpointDeadBandWithValue:expectedValueInterval:") + public native void writeAttributeMinSetpointDeadBand(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeMinSetpointDeadBandWithValue:expectedValueInterval:params:") + public native void writeAttributeMinSetpointDeadBand(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRemoteSensingWithParams:") + public native NSDictionary readAttributeRemoteSensing(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRemoteSensingWithValue:expectedValueInterval:") + public native void writeAttributeRemoteSensing(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeRemoteSensingWithValue:expectedValueInterval:params:") + public native void writeAttributeRemoteSensing(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeControlSequenceOfOperationWithParams:") + public native NSDictionary readAttributeControlSequenceOfOperation(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeControlSequenceOfOperationWithValue:expectedValueInterval:") + public native void writeAttributeControlSequenceOfOperation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeControlSequenceOfOperationWithValue:expectedValueInterval:params:") + public native void writeAttributeControlSequenceOfOperation(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSystemModeWithParams:") + public native NSDictionary readAttributeSystemMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSystemModeWithValue:expectedValueInterval:") + public native void writeAttributeSystemMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeSystemModeWithValue:expectedValueInterval:params:") + public native void writeAttributeSystemMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeThermostatRunningModeWithParams:") + public native NSDictionary readAttributeThermostatRunningMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStartOfWeekWithParams:") + public native NSDictionary readAttributeStartOfWeek(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfWeeklyTransitionsWithParams:") + public native NSDictionary readAttributeNumberOfWeeklyTransitions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfDailyTransitionsWithParams:") + public native NSDictionary readAttributeNumberOfDailyTransitions(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldWithParams:") + public native NSDictionary readAttributeTemperatureSetpointHold(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldWithValue:expectedValueInterval:") + public native void writeAttributeTemperatureSetpointHold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldWithValue:expectedValueInterval:params:") + public native void writeAttributeTemperatureSetpointHold(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTemperatureSetpointHoldDurationWithParams:") + public native NSDictionary readAttributeTemperatureSetpointHoldDuration(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldDurationWithValue:expectedValueInterval:") + public native void writeAttributeTemperatureSetpointHoldDuration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureSetpointHoldDurationWithValue:expectedValueInterval:params:") + public native void writeAttributeTemperatureSetpointHoldDuration(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeThermostatProgrammingOperationModeWithParams:") + public native NSDictionary readAttributeThermostatProgrammingOperationMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeThermostatProgrammingOperationModeWithValue:expectedValueInterval:") + public native void writeAttributeThermostatProgrammingOperationMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeThermostatProgrammingOperationModeWithValue:expectedValueInterval:params:") + public native void writeAttributeThermostatProgrammingOperationMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeThermostatRunningStateWithParams:") + public native NSDictionary readAttributeThermostatRunningState(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceWithParams:") + public native NSDictionary readAttributeSetpointChangeSource(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSetpointChangeAmountWithParams:") + public native NSDictionary readAttributeSetpointChangeAmount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSetpointChangeSourceTimestampWithParams:") + public native NSDictionary readAttributeSetpointChangeSourceTimestamp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackWithParams:") + public native NSDictionary readAttributeOccupiedSetback(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedSetbackWithValue:expectedValueInterval:") + public native void writeAttributeOccupiedSetback(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeOccupiedSetbackWithValue:expectedValueInterval:params:") + public native void writeAttributeOccupiedSetback(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMinWithParams:") + public native NSDictionary readAttributeOccupiedSetbackMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOccupiedSetbackMaxWithParams:") + public native NSDictionary readAttributeOccupiedSetbackMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackWithParams:") + public native NSDictionary readAttributeUnoccupiedSetback(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedSetbackWithValue:expectedValueInterval:") + public native void writeAttributeUnoccupiedSetback(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeUnoccupiedSetbackWithValue:expectedValueInterval:params:") + public native void writeAttributeUnoccupiedSetback(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMinWithParams:") + public native NSDictionary readAttributeUnoccupiedSetbackMin(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeUnoccupiedSetbackMaxWithParams:") + public native NSDictionary readAttributeUnoccupiedSetbackMax(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEmergencyHeatDeltaWithParams:") + public native NSDictionary readAttributeEmergencyHeatDelta(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEmergencyHeatDeltaWithValue:expectedValueInterval:") + public native void writeAttributeEmergencyHeatDelta(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeEmergencyHeatDeltaWithValue:expectedValueInterval:params:") + public native void writeAttributeEmergencyHeatDelta(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACTypeWithParams:") + public native NSDictionary readAttributeACType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACTypeWithValue:expectedValueInterval:") + public native void writeAttributeACType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACTypeWithValue:expectedValueInterval:params:") + public native void writeAttributeACType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACCapacityWithParams:") + public native NSDictionary readAttributeACCapacity(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCapacityWithValue:expectedValueInterval:") + public native void writeAttributeACCapacity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCapacityWithValue:expectedValueInterval:params:") + public native void writeAttributeACCapacity(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACRefrigerantTypeWithParams:") + public native NSDictionary readAttributeACRefrigerantType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACRefrigerantTypeWithValue:expectedValueInterval:") + public native void writeAttributeACRefrigerantType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACRefrigerantTypeWithValue:expectedValueInterval:params:") + public native void writeAttributeACRefrigerantType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACCompressorTypeWithParams:") + public native NSDictionary readAttributeACCompressorType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCompressorTypeWithValue:expectedValueInterval:") + public native void writeAttributeACCompressorType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCompressorTypeWithValue:expectedValueInterval:params:") + public native void writeAttributeACCompressorType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACErrorCodeWithParams:") + public native NSDictionary readAttributeACErrorCode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACErrorCodeWithValue:expectedValueInterval:") + public native void writeAttributeACErrorCode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACErrorCodeWithValue:expectedValueInterval:params:") + public native void writeAttributeACErrorCode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACLouverPositionWithParams:") + public native NSDictionary readAttributeACLouverPosition(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACLouverPositionWithValue:expectedValueInterval:") + public native void writeAttributeACLouverPosition(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACLouverPositionWithValue:expectedValueInterval:params:") + public native void writeAttributeACLouverPosition(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACCoilTemperatureWithParams:") + public native NSDictionary readAttributeACCoilTemperature(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeACCapacityformatWithParams:") + public native NSDictionary readAttributeACCapacityformat(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCapacityformatWithValue:expectedValueInterval:") + public native void writeAttributeACCapacityformat(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeACCapacityformatWithValue:expectedValueInterval:params:") + public native void writeAttributeACCapacityformat(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostatUserInterfaceConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostatUserInterfaceConfiguration.java new file mode 100644 index 000000000..02afe08aa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThermostatUserInterfaceConfiguration.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterThermostatUserInterfaceConfiguration/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterThermostatUserInterfaceConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterThermostatUserInterfaceConfiguration.class); }/**/ + /**//**/ + /**/ + protected MTRClusterThermostatUserInterfaceConfiguration() {} + protected MTRClusterThermostatUserInterfaceConfiguration(Handle h, long handle) { super(h, handle); } + protected MTRClusterThermostatUserInterfaceConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterThermostatUserInterfaceConfiguration(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTemperatureDisplayModeWithParams:") + public native NSDictionary readAttributeTemperatureDisplayMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureDisplayModeWithValue:expectedValueInterval:") + public native void writeAttributeTemperatureDisplayMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureDisplayModeWithValue:expectedValueInterval:params:") + public native void writeAttributeTemperatureDisplayMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeKeypadLockoutWithParams:") + public native NSDictionary readAttributeKeypadLockout(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeKeypadLockoutWithValue:expectedValueInterval:") + public native void writeAttributeKeypadLockout(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeKeypadLockoutWithValue:expectedValueInterval:params:") + public native void writeAttributeKeypadLockout(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeScheduleProgrammingVisibilityWithParams:") + public native NSDictionary readAttributeScheduleProgrammingVisibility(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeScheduleProgrammingVisibilityWithValue:expectedValueInterval:") + public native void writeAttributeScheduleProgrammingVisibility(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeScheduleProgrammingVisibilityWithValue:expectedValueInterval:params:") + public native void writeAttributeScheduleProgrammingVisibility(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThreadNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThreadNetworkDiagnostics.java new file mode 100644 index 000000000..be7ef9db2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterThreadNetworkDiagnostics.java @@ -0,0 +1,419 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterThreadNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterThreadNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterThreadNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRClusterThreadNetworkDiagnostics() {} + protected MTRClusterThreadNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRClusterThreadNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterThreadNetworkDiagnostics(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:expectedValues:expectedValueInterval:completion:") + public native void resetCounts(MTRThreadNetworkDiagnosticsClusterResetCountsParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithExpectedValues:expectedValueInterval:completion:") + public native void resetCounts(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeChannelWithParams:") + public native NSDictionary readAttributeChannel(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRoutingRoleWithParams:") + public native NSDictionary readAttributeRoutingRole(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNetworkNameWithParams:") + public native NSDictionary readAttributeNetworkName(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePanIdWithParams:") + public native NSDictionary readAttributePanId(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeExtendedPanIdWithParams:") + public native NSDictionary readAttributeExtendedPanId(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeMeshLocalPrefixWithParams:") + public native NSDictionary readAttributeMeshLocalPrefix(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOverrunCountWithParams:") + public native NSDictionary readAttributeOverrunCount(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNeighborTableWithParams:") + public native NSDictionary readAttributeNeighborTable(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRouteTableWithParams:") + public native NSDictionary readAttributeRouteTable(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePartitionIdWithParams:") + public native NSDictionary readAttributePartitionId(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWeightingWithParams:") + public native NSDictionary readAttributeWeighting(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDataVersionWithParams:") + public native NSDictionary readAttributeDataVersion(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeStableDataVersionWithParams:") + public native NSDictionary readAttributeStableDataVersion(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLeaderRouterIdWithParams:") + public native NSDictionary readAttributeLeaderRouterId(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDetachedRoleCountWithParams:") + public native NSDictionary readAttributeDetachedRoleCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeChildRoleCountWithParams:") + public native NSDictionary readAttributeChildRoleCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRouterRoleCountWithParams:") + public native NSDictionary readAttributeRouterRoleCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLeaderRoleCountWithParams:") + public native NSDictionary readAttributeLeaderRoleCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttachAttemptCountWithParams:") + public native NSDictionary readAttributeAttachAttemptCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePartitionIdChangeCountWithParams:") + public native NSDictionary readAttributePartitionIdChangeCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBetterPartitionAttachAttemptCountWithParams:") + public native NSDictionary readAttributeBetterPartitionAttachAttemptCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeParentChangeCountWithParams:") + public native NSDictionary readAttributeParentChangeCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxTotalCountWithParams:") + public native NSDictionary readAttributeTxTotalCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxUnicastCountWithParams:") + public native NSDictionary readAttributeTxUnicastCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxBroadcastCountWithParams:") + public native NSDictionary readAttributeTxBroadcastCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxAckRequestedCountWithParams:") + public native NSDictionary readAttributeTxAckRequestedCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxAckedCountWithParams:") + public native NSDictionary readAttributeTxAckedCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxNoAckRequestedCountWithParams:") + public native NSDictionary readAttributeTxNoAckRequestedCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxDataCountWithParams:") + public native NSDictionary readAttributeTxDataCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxDataPollCountWithParams:") + public native NSDictionary readAttributeTxDataPollCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxBeaconCountWithParams:") + public native NSDictionary readAttributeTxBeaconCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxBeaconRequestCountWithParams:") + public native NSDictionary readAttributeTxBeaconRequestCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxOtherCountWithParams:") + public native NSDictionary readAttributeTxOtherCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxRetryCountWithParams:") + public native NSDictionary readAttributeTxRetryCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxDirectMaxRetryExpiryCountWithParams:") + public native NSDictionary readAttributeTxDirectMaxRetryExpiryCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxIndirectMaxRetryExpiryCountWithParams:") + public native NSDictionary readAttributeTxIndirectMaxRetryExpiryCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxErrCcaCountWithParams:") + public native NSDictionary readAttributeTxErrCcaCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxErrAbortCountWithParams:") + public native NSDictionary readAttributeTxErrAbortCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTxErrBusyChannelCountWithParams:") + public native NSDictionary readAttributeTxErrBusyChannelCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxTotalCountWithParams:") + public native NSDictionary readAttributeRxTotalCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxUnicastCountWithParams:") + public native NSDictionary readAttributeRxUnicastCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxBroadcastCountWithParams:") + public native NSDictionary readAttributeRxBroadcastCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxDataCountWithParams:") + public native NSDictionary readAttributeRxDataCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxDataPollCountWithParams:") + public native NSDictionary readAttributeRxDataPollCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxBeaconCountWithParams:") + public native NSDictionary readAttributeRxBeaconCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxBeaconRequestCountWithParams:") + public native NSDictionary readAttributeRxBeaconRequestCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxOtherCountWithParams:") + public native NSDictionary readAttributeRxOtherCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxAddressFilteredCountWithParams:") + public native NSDictionary readAttributeRxAddressFilteredCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxDestAddrFilteredCountWithParams:") + public native NSDictionary readAttributeRxDestAddrFilteredCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxDuplicatedCountWithParams:") + public native NSDictionary readAttributeRxDuplicatedCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrNoFrameCountWithParams:") + public native NSDictionary readAttributeRxErrNoFrameCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrUnknownNeighborCountWithParams:") + public native NSDictionary readAttributeRxErrUnknownNeighborCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrInvalidSrcAddrCountWithParams:") + public native NSDictionary readAttributeRxErrInvalidSrcAddrCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrSecCountWithParams:") + public native NSDictionary readAttributeRxErrSecCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrFcsCountWithParams:") + public native NSDictionary readAttributeRxErrFcsCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeRxErrOtherCountWithParams:") + public native NSDictionary readAttributeRxErrOtherCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveTimestampWithParams:") + public native NSDictionary readAttributeActiveTimestamp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePendingTimestampWithParams:") + public native NSDictionary readAttributePendingTimestamp(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeDelayWithParams:") + public native NSDictionary readAttributeDelay(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSecurityPolicyWithParams:") + public native NSDictionary readAttributeSecurityPolicy(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeChannelPage0MaskWithParams:") + public native NSDictionary readAttributeChannelPage0Mask(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOperationalDatasetComponentsWithParams:") + public native NSDictionary readAttributeOperationalDatasetComponents(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveNetworkFaultsListWithParams:") + public native NSDictionary readAttributeActiveNetworkFaultsList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTimeFormatLocalization.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTimeFormatLocalization.java new file mode 100644 index 000000000..bfaf24e4f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterTimeFormatLocalization.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterTimeFormatLocalization/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterTimeFormatLocalizationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterTimeFormatLocalization.class); }/**/ + /**//**/ + /**/ + protected MTRClusterTimeFormatLocalization() {} + protected MTRClusterTimeFormatLocalization(Handle h, long handle) { super(h, handle); } + protected MTRClusterTimeFormatLocalization(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterTimeFormatLocalization(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeHourFormatWithParams:") + public native NSDictionary readAttributeHourFormat(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeHourFormatWithValue:expectedValueInterval:") + public native void writeAttributeHourFormat(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeHourFormatWithValue:expectedValueInterval:params:") + public native void writeAttributeHourFormat(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeActiveCalendarTypeWithParams:") + public native NSDictionary readAttributeActiveCalendarType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveCalendarTypeWithValue:expectedValueInterval:") + public native void writeAttributeActiveCalendarType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeActiveCalendarTypeWithValue:expectedValueInterval:params:") + public native void writeAttributeActiveCalendarType(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSupportedCalendarTypesWithParams:") + public native NSDictionary readAttributeSupportedCalendarTypes(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitLocalization.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitLocalization.java new file mode 100644 index 000000000..fefcb4e74 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitLocalization.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterUnitLocalization/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterUnitLocalizationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterUnitLocalization.class); }/**/ + /**//**/ + /**/ + protected MTRClusterUnitLocalization() {} + protected MTRClusterUnitLocalization(Handle h, long handle) { super(h, handle); } + protected MTRClusterUnitLocalization(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterUnitLocalization(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTemperatureUnitWithParams:") + public native NSDictionary readAttributeTemperatureUnit(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureUnitWithValue:expectedValueInterval:") + public native void writeAttributeTemperatureUnit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeTemperatureUnitWithValue:expectedValueInterval:params:") + public native void writeAttributeTemperatureUnit(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitTesting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitTesting.java new file mode 100644 index 000000000..a4def4e02 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUnitTesting.java @@ -0,0 +1,1459 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterUnitTesting/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterUnitTestingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterUnitTesting.class); }/**/ + /**//**/ + /**/ + protected MTRClusterUnitTesting() {} + protected MTRClusterUnitTesting(Handle h, long handle) { super(h, handle); } + protected MTRClusterUnitTesting(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterUnitTesting(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testWithParams:expectedValues:expectedValueInterval:completion:") + public native void test(MTRUnitTestingClusterTestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testWithExpectedValues:expectedValueInterval:completion:") + public native void test(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNotHandledWithParams:expectedValues:expectedValueInterval:completion:") + public native void testNotHandled(MTRUnitTestingClusterTestNotHandledParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNotHandledWithExpectedValues:expectedValueInterval:completion:") + public native void testNotHandled(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSpecificWithParams:expectedValues:expectedValueInterval:completion:") + public native void testSpecific(MTRUnitTestingClusterTestSpecificParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSpecificWithExpectedValues:expectedValueInterval:completion:") + public native void testSpecific(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testUnknownCommandWithParams:expectedValues:expectedValueInterval:completion:") + public native void testUnknownCommand(MTRUnitTestingClusterTestUnknownCommandParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testUnknownCommandWithExpectedValues:expectedValueInterval:completion:") + public native void testUnknownCommand(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testAddArgumentsWithParams:expectedValues:expectedValueInterval:completion:") + public native void testAddArguments(MTRUnitTestingClusterTestAddArgumentsParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSimpleArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testSimpleArgumentRequest(MTRUnitTestingClusterTestSimpleArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testStructArrayArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testStructArrayArgumentRequest(MTRUnitTestingClusterTestStructArrayArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testStructArgumentRequest(MTRUnitTestingClusterTestStructArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNestedStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testNestedStructArgumentRequest(MTRUnitTestingClusterTestNestedStructArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testListStructArgumentRequest(MTRUnitTestingClusterTestListStructArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListInt8UArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testListInt8UArgumentRequest(MTRUnitTestingClusterTestListInt8UArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNestedStructListArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testNestedStructListArgumentRequest(MTRUnitTestingClusterTestNestedStructListArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListNestedStructListArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testListNestedStructListArgumentRequest(MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testListInt8UReverseRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testListInt8UReverseRequest(MTRUnitTestingClusterTestListInt8UReverseRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEnumsRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testEnumsRequest(MTRUnitTestingClusterTestEnumsRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testNullableOptionalRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testNullableOptionalRequest(MTRUnitTestingClusterTestNullableOptionalRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testComplexNullableOptionalRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testComplexNullableOptionalRequest(MTRUnitTestingClusterTestComplexNullableOptionalRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "simpleStructEchoRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void simpleStructEchoRequest(MTRUnitTestingClusterSimpleStructEchoRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "timedInvokeRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void timedInvokeRequest(MTRUnitTestingClusterTimedInvokeRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "timedInvokeRequestWithExpectedValues:expectedValueInterval:completion:") + public native void timedInvokeRequest(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testSimpleOptionalArgumentRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testSimpleOptionalArgumentRequest(MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEmitTestEventRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testEmitTestEventRequest(MTRUnitTestingClusterTestEmitTestEventRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "testEmitTestFabricScopedEventRequestWithParams:expectedValues:expectedValueInterval:completion:") + public native void testEmitTestFabricScopedEventRequest(MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBooleanWithParams:") + public native NSDictionary readAttributeBoolean(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBooleanWithValue:expectedValueInterval:") + public native void writeAttributeBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBooleanWithValue:expectedValueInterval:params:") + public native void writeAttributeBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap8WithParams:") + public native NSDictionary readAttributeBitmap8(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap8WithValue:expectedValueInterval:") + public native void writeAttributeBitmap8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap8WithValue:expectedValueInterval:params:") + public native void writeAttributeBitmap8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap16WithParams:") + public native NSDictionary readAttributeBitmap16(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap16WithValue:expectedValueInterval:") + public native void writeAttributeBitmap16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap16WithValue:expectedValueInterval:params:") + public native void writeAttributeBitmap16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap32WithParams:") + public native NSDictionary readAttributeBitmap32(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap32WithValue:expectedValueInterval:") + public native void writeAttributeBitmap32(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap32WithValue:expectedValueInterval:params:") + public native void writeAttributeBitmap32(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBitmap64WithParams:") + public native NSDictionary readAttributeBitmap64(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap64WithValue:expectedValueInterval:") + public native void writeAttributeBitmap64(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeBitmap64WithValue:expectedValueInterval:params:") + public native void writeAttributeBitmap64(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8uWithParams:") + public native NSDictionary readAttributeInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8uWithValue:expectedValueInterval:") + public native void writeAttributeInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16uWithParams:") + public native NSDictionary readAttributeInt16u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16uWithValue:expectedValueInterval:") + public native void writeAttributeInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24uWithParams:") + public native NSDictionary readAttributeInt24u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24uWithValue:expectedValueInterval:") + public native void writeAttributeInt24u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt24u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32uWithParams:") + public native NSDictionary readAttributeInt32u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32uWithValue:expectedValueInterval:") + public native void writeAttributeInt32u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt32u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40uWithParams:") + public native NSDictionary readAttributeInt40u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40uWithValue:expectedValueInterval:") + public native void writeAttributeInt40u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt40u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48uWithParams:") + public native NSDictionary readAttributeInt48u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48uWithValue:expectedValueInterval:") + public native void writeAttributeInt48u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt48u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56uWithParams:") + public native NSDictionary readAttributeInt56u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56uWithValue:expectedValueInterval:") + public native void writeAttributeInt56u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt56u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64uWithParams:") + public native NSDictionary readAttributeInt64u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64uWithValue:expectedValueInterval:") + public native void writeAttributeInt64u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64uWithValue:expectedValueInterval:params:") + public native void writeAttributeInt64u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt8sWithParams:") + public native NSDictionary readAttributeInt8s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8sWithValue:expectedValueInterval:") + public native void writeAttributeInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt8sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt16sWithParams:") + public native NSDictionary readAttributeInt16s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16sWithValue:expectedValueInterval:") + public native void writeAttributeInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt16sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt24sWithParams:") + public native NSDictionary readAttributeInt24s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24sWithValue:expectedValueInterval:") + public native void writeAttributeInt24s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt24sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt24s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt32sWithParams:") + public native NSDictionary readAttributeInt32s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32sWithValue:expectedValueInterval:") + public native void writeAttributeInt32s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt32sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt32s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt40sWithParams:") + public native NSDictionary readAttributeInt40s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40sWithValue:expectedValueInterval:") + public native void writeAttributeInt40s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt40sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt40s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt48sWithParams:") + public native NSDictionary readAttributeInt48s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48sWithValue:expectedValueInterval:") + public native void writeAttributeInt48s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt48sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt48s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt56sWithParams:") + public native NSDictionary readAttributeInt56s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56sWithValue:expectedValueInterval:") + public native void writeAttributeInt56s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt56sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt56s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeInt64sWithParams:") + public native NSDictionary readAttributeInt64s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64sWithValue:expectedValueInterval:") + public native void writeAttributeInt64s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeInt64sWithValue:expectedValueInterval:params:") + public native void writeAttributeInt64s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum8WithParams:") + public native NSDictionary readAttributeEnum8(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum8WithValue:expectedValueInterval:") + public native void writeAttributeEnum8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum8WithValue:expectedValueInterval:params:") + public native void writeAttributeEnum8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnum16WithParams:") + public native NSDictionary readAttributeEnum16(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum16WithValue:expectedValueInterval:") + public native void writeAttributeEnum16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnum16WithValue:expectedValueInterval:params:") + public native void writeAttributeEnum16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatSingleWithParams:") + public native NSDictionary readAttributeFloatSingle(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatSingleWithValue:expectedValueInterval:") + public native void writeAttributeFloatSingle(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatSingleWithValue:expectedValueInterval:params:") + public native void writeAttributeFloatSingle(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFloatDoubleWithParams:") + public native NSDictionary readAttributeFloatDouble(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatDoubleWithValue:expectedValueInterval:") + public native void writeAttributeFloatDouble(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeFloatDoubleWithValue:expectedValueInterval:params:") + public native void writeAttributeFloatDouble(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeOctetStringWithParams:") + public native NSDictionary readAttributeOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListInt8uWithParams:") + public native NSDictionary readAttributeListInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListInt8uWithValue:expectedValueInterval:") + public native void writeAttributeListInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeListInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListOctetStringWithParams:") + public native NSDictionary readAttributeListOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeListOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeListOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListStructOctetStringWithParams:") + public native NSDictionary readAttributeListStructOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListStructOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeListStructOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListStructOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeListStructOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongOctetStringWithParams:") + public native NSDictionary readAttributeLongOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeLongOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeLongOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeCharStringWithParams:") + public native NSDictionary readAttributeCharString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCharStringWithValue:expectedValueInterval:") + public native void writeAttributeCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeCharStringWithValue:expectedValueInterval:params:") + public native void writeAttributeCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeLongCharStringWithParams:") + public native NSDictionary readAttributeLongCharString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongCharStringWithValue:expectedValueInterval:") + public native void writeAttributeLongCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeLongCharStringWithValue:expectedValueInterval:params:") + public native void writeAttributeLongCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochUsWithParams:") + public native NSDictionary readAttributeEpochUs(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochUsWithValue:expectedValueInterval:") + public native void writeAttributeEpochUs(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochUsWithValue:expectedValueInterval:params:") + public native void writeAttributeEpochUs(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEpochSWithParams:") + public native NSDictionary readAttributeEpochS(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochSWithValue:expectedValueInterval:") + public native void writeAttributeEpochS(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEpochSWithValue:expectedValueInterval:params:") + public native void writeAttributeEpochS(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeVendorIdWithParams:") + public native NSDictionary readAttributeVendorId(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeVendorIdWithValue:expectedValueInterval:") + public native void writeAttributeVendorId(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeVendorIdWithValue:expectedValueInterval:params:") + public native void writeAttributeVendorId(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListNullablesAndOptionalsStructWithParams:") + public native NSDictionary readAttributeListNullablesAndOptionalsStruct(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListNullablesAndOptionalsStructWithValue:expectedValueInterval:") + public native void writeAttributeListNullablesAndOptionalsStruct(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListNullablesAndOptionalsStructWithValue:expectedValueInterval:params:") + public native void writeAttributeListNullablesAndOptionalsStruct(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeEnumAttrWithParams:") + public native NSDictionary readAttributeEnumAttr(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnumAttrWithValue:expectedValueInterval:") + public native void writeAttributeEnumAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeEnumAttrWithValue:expectedValueInterval:params:") + public native void writeAttributeEnumAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeStructAttrWithParams:") + public native NSDictionary readAttributeStructAttr(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStructAttrWithValue:expectedValueInterval:") + public native void writeAttributeStructAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeStructAttrWithValue:expectedValueInterval:params:") + public native void writeAttributeStructAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8uWithParams:") + public native NSDictionary readAttributeRangeRestrictedInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8uWithValue:expectedValueInterval:") + public native void writeAttributeRangeRestrictedInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeRangeRestrictedInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt8sWithParams:") + public native NSDictionary readAttributeRangeRestrictedInt8s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8sWithValue:expectedValueInterval:") + public native void writeAttributeRangeRestrictedInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt8sWithValue:expectedValueInterval:params:") + public native void writeAttributeRangeRestrictedInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16uWithParams:") + public native NSDictionary readAttributeRangeRestrictedInt16u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16uWithValue:expectedValueInterval:") + public native void writeAttributeRangeRestrictedInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16uWithValue:expectedValueInterval:params:") + public native void writeAttributeRangeRestrictedInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRangeRestrictedInt16sWithParams:") + public native NSDictionary readAttributeRangeRestrictedInt16s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16sWithValue:expectedValueInterval:") + public native void writeAttributeRangeRestrictedInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeRangeRestrictedInt16sWithValue:expectedValueInterval:params:") + public native void writeAttributeRangeRestrictedInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListLongOctetStringWithParams:") + public native NSDictionary readAttributeListLongOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListLongOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeListLongOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListLongOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeListLongOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeListFabricScopedWithParams:") + public native NSDictionary readAttributeListFabricScoped(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListFabricScopedWithValue:expectedValueInterval:") + public native void writeAttributeListFabricScoped(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeListFabricScopedWithValue:expectedValueInterval:params:") + public native void writeAttributeListFabricScoped(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeTimedWriteBooleanWithParams:") + public native NSDictionary readAttributeTimedWriteBoolean(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTimedWriteBooleanWithValue:expectedValueInterval:") + public native void writeAttributeTimedWriteBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeTimedWriteBooleanWithValue:expectedValueInterval:params:") + public native void writeAttributeTimedWriteBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneralErrorBooleanWithParams:") + public native NSDictionary readAttributeGeneralErrorBoolean(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGeneralErrorBooleanWithValue:expectedValueInterval:") + public native void writeAttributeGeneralErrorBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeGeneralErrorBooleanWithValue:expectedValueInterval:params:") + public native void writeAttributeGeneralErrorBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterErrorBooleanWithParams:") + public native NSDictionary readAttributeClusterErrorBoolean(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeClusterErrorBooleanWithValue:expectedValueInterval:") + public native void writeAttributeClusterErrorBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeClusterErrorBooleanWithValue:expectedValueInterval:params:") + public native void writeAttributeClusterErrorBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeUnsupportedWithParams:") + public native NSDictionary readAttributeUnsupported(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnsupportedWithValue:expectedValueInterval:") + public native void writeAttributeUnsupported(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeUnsupportedWithValue:expectedValueInterval:params:") + public native void writeAttributeUnsupported(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBooleanWithParams:") + public native NSDictionary readAttributeNullableBoolean(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBooleanWithValue:expectedValueInterval:") + public native void writeAttributeNullableBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBooleanWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableBoolean(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap8WithParams:") + public native NSDictionary readAttributeNullableBitmap8(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap8WithValue:expectedValueInterval:") + public native void writeAttributeNullableBitmap8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap8WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableBitmap8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap16WithParams:") + public native NSDictionary readAttributeNullableBitmap16(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap16WithValue:expectedValueInterval:") + public native void writeAttributeNullableBitmap16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap16WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableBitmap16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap32WithParams:") + public native NSDictionary readAttributeNullableBitmap32(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap32WithValue:expectedValueInterval:") + public native void writeAttributeNullableBitmap32(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap32WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableBitmap32(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableBitmap64WithParams:") + public native NSDictionary readAttributeNullableBitmap64(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap64WithValue:expectedValueInterval:") + public native void writeAttributeNullableBitmap64(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableBitmap64WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableBitmap64(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8uWithParams:") + public native NSDictionary readAttributeNullableInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16uWithParams:") + public native NSDictionary readAttributeNullableInt16u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24uWithParams:") + public native NSDictionary readAttributeNullableInt24u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt24u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt24u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32uWithParams:") + public native NSDictionary readAttributeNullableInt32u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt32u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt32u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40uWithParams:") + public native NSDictionary readAttributeNullableInt40u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt40u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt40u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48uWithParams:") + public native NSDictionary readAttributeNullableInt48u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt48u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt48u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56uWithParams:") + public native NSDictionary readAttributeNullableInt56u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt56u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt56u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64uWithParams:") + public native NSDictionary readAttributeNullableInt64u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64uWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt64u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt64u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt8sWithParams:") + public native NSDictionary readAttributeNullableInt8s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt8sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt16sWithParams:") + public native NSDictionary readAttributeNullableInt16s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt16sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt24sWithParams:") + public native NSDictionary readAttributeNullableInt24s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt24s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt24sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt24s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt32sWithParams:") + public native NSDictionary readAttributeNullableInt32s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt32s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt32sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt32s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt40sWithParams:") + public native NSDictionary readAttributeNullableInt40s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt40s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt40sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt40s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt48sWithParams:") + public native NSDictionary readAttributeNullableInt48s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt48s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt48sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt48s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt56sWithParams:") + public native NSDictionary readAttributeNullableInt56s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt56s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt56sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt56s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableInt64sWithParams:") + public native NSDictionary readAttributeNullableInt64s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64sWithValue:expectedValueInterval:") + public native void writeAttributeNullableInt64s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableInt64sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableInt64s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum8WithParams:") + public native NSDictionary readAttributeNullableEnum8(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum8WithValue:expectedValueInterval:") + public native void writeAttributeNullableEnum8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum8WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableEnum8(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnum16WithParams:") + public native NSDictionary readAttributeNullableEnum16(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum16WithValue:expectedValueInterval:") + public native void writeAttributeNullableEnum16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnum16WithValue:expectedValueInterval:params:") + public native void writeAttributeNullableEnum16(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatSingleWithParams:") + public native NSDictionary readAttributeNullableFloatSingle(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatSingleWithValue:expectedValueInterval:") + public native void writeAttributeNullableFloatSingle(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatSingleWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableFloatSingle(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableFloatDoubleWithParams:") + public native NSDictionary readAttributeNullableFloatDouble(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatDoubleWithValue:expectedValueInterval:") + public native void writeAttributeNullableFloatDouble(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableFloatDoubleWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableFloatDouble(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableOctetStringWithParams:") + public native NSDictionary readAttributeNullableOctetString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableOctetStringWithValue:expectedValueInterval:") + public native void writeAttributeNullableOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableOctetStringWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableOctetString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableCharStringWithParams:") + public native NSDictionary readAttributeNullableCharString(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableCharStringWithValue:expectedValueInterval:") + public native void writeAttributeNullableCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableCharStringWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableCharString(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableEnumAttrWithParams:") + public native NSDictionary readAttributeNullableEnumAttr(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnumAttrWithValue:expectedValueInterval:") + public native void writeAttributeNullableEnumAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableEnumAttrWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableEnumAttr(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableStructWithParams:") + public native NSDictionary readAttributeNullableStruct(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableStructWithValue:expectedValueInterval:") + public native void writeAttributeNullableStruct(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableStructWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableStruct(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8uWithParams:") + public native NSDictionary readAttributeNullableRangeRestrictedInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8uWithValue:expectedValueInterval:") + public native void writeAttributeNullableRangeRestrictedInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableRangeRestrictedInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt8sWithParams:") + public native NSDictionary readAttributeNullableRangeRestrictedInt8s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8sWithValue:expectedValueInterval:") + public native void writeAttributeNullableRangeRestrictedInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt8sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableRangeRestrictedInt8s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16uWithParams:") + public native NSDictionary readAttributeNullableRangeRestrictedInt16u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16uWithValue:expectedValueInterval:") + public native void writeAttributeNullableRangeRestrictedInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16uWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableRangeRestrictedInt16u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeNullableRangeRestrictedInt16sWithParams:") + public native NSDictionary readAttributeNullableRangeRestrictedInt16s(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16sWithValue:expectedValueInterval:") + public native void writeAttributeNullableRangeRestrictedInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeNullableRangeRestrictedInt16sWithValue:expectedValueInterval:params:") + public native void writeAttributeNullableRangeRestrictedInt16s(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeWriteOnlyInt8uWithParams:") + public native NSDictionary readAttributeWriteOnlyInt8u(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWriteOnlyInt8uWithValue:expectedValueInterval:") + public native void writeAttributeWriteOnlyInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "writeAttributeWriteOnlyInt8uWithValue:expectedValueInterval:params:") + public native void writeAttributeWriteOnlyInt8u(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUserLabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUserLabel.java new file mode 100644 index 000000000..c7218dc55 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterUserLabel.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterUserLabel/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterUserLabelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterUserLabel.class); }/**/ + /**//**/ + /**/ + protected MTRClusterUserLabel() {} + protected MTRClusterUserLabel(Handle h, long handle) { super(h, handle); } + protected MTRClusterUserLabel(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterUserLabel(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeLabelListWithParams:") + public native NSDictionary readAttributeLabelList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLabelListWithValue:expectedValueInterval:") + public native void writeAttributeLabelList(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeLabelListWithValue:expectedValueInterval:params:") + public native void writeAttributeLabelList(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWakeOnLAN.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWakeOnLAN.java new file mode 100644 index 000000000..253f0ffbe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWakeOnLAN.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterWakeOnLAN/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterWakeOnLANPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterWakeOnLAN.class); }/**/ + /**//**/ + /**/ + protected MTRClusterWakeOnLAN() {} + protected MTRClusterWakeOnLAN(Handle h, long handle) { super(h, handle); } + protected MTRClusterWakeOnLAN(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterWakeOnLAN(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeMACAddressWithParams:") + public native NSDictionary readAttributeMACAddress(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWiFiNetworkDiagnostics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWiFiNetworkDiagnostics.java new file mode 100644 index 000000000..240935aed --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWiFiNetworkDiagnostics.java @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterWiFiNetworkDiagnostics/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterWiFiNetworkDiagnosticsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterWiFiNetworkDiagnostics.class); }/**/ + /**//**/ + /**/ + protected MTRClusterWiFiNetworkDiagnostics() {} + protected MTRClusterWiFiNetworkDiagnostics(Handle h, long handle) { super(h, handle); } + protected MTRClusterWiFiNetworkDiagnostics(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterWiFiNetworkDiagnostics(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithParams:expectedValues:expectedValueInterval:completion:") + public native void resetCounts(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "resetCountsWithExpectedValues:expectedValueInterval:completion:") + public native void resetCounts(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeBSSIDWithParams:") + public native NSDictionary readAttributeBSSID(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSecurityTypeWithParams:") + public native NSDictionary readAttributeSecurityType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeWiFiVersionWithParams:") + public native NSDictionary readAttributeWiFiVersion(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeChannelNumberWithParams:") + public native NSDictionary readAttributeChannelNumber(MTRReadParams params); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "readAttributeRSSIWithParams:") + public native NSDictionary readAttributeRSSI(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBeaconLostCountWithParams:") + public native NSDictionary readAttributeBeaconLostCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeBeaconRxCountWithParams:") + public native NSDictionary readAttributeBeaconRxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketMulticastRxCountWithParams:") + public native NSDictionary readAttributePacketMulticastRxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketMulticastTxCountWithParams:") + public native NSDictionary readAttributePacketMulticastTxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketUnicastRxCountWithParams:") + public native NSDictionary readAttributePacketUnicastRxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePacketUnicastTxCountWithParams:") + public native NSDictionary readAttributePacketUnicastTxCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentMaxRateWithParams:") + public native NSDictionary readAttributeCurrentMaxRate(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOverrunCountWithParams:") + public native NSDictionary readAttributeOverrunCount(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWindowCovering.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWindowCovering.java new file mode 100644 index 000000000..6550bdaef --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRClusterWindowCovering.java @@ -0,0 +1,264 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRClusterWindowCovering/**/ + extends /**/MTRCluster/**/ + /**//**/ { + + /**/public static class MTRClusterWindowCoveringPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRClusterWindowCovering.class); }/**/ + /**//**/ + /**/ + protected MTRClusterWindowCovering() {} + protected MTRClusterWindowCovering(Handle h, long handle) { super(h, handle); } + protected MTRClusterWindowCovering(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + public MTRClusterWindowCovering(MTRDevice device, NSNumber endpointID, DispatchQueue queue) { super((SkipInit) null); initObject(init(device, endpointID, queue)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithDevice:endpointID:queue:") + protected native @Pointer long init(MTRDevice device, NSNumber endpointID, DispatchQueue queue); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "upOrOpenWithParams:expectedValues:expectedValueInterval:completion:") + public native void upOrOpen(MTRWindowCoveringClusterUpOrOpenParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "upOrOpenWithExpectedValues:expectedValueInterval:completion:") + public native void upOrOpen(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "downOrCloseWithParams:expectedValues:expectedValueInterval:completion:") + public native void downOrClose(MTRWindowCoveringClusterDownOrCloseParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "downOrCloseWithExpectedValues:expectedValueInterval:completion:") + public native void downOrClose(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMotionWithParams:expectedValues:expectedValueInterval:completion:") + public native void stopMotion(MTRWindowCoveringClusterStopMotionParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "stopMotionWithExpectedValues:expectedValueInterval:completion:") + public native void stopMotion(NSArray expectedValues, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToLiftValueWithParams:expectedValues:expectedValueInterval:completion:") + public native void goToLiftValue(MTRWindowCoveringClusterGoToLiftValueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToLiftPercentageWithParams:expectedValues:expectedValueInterval:completion:") + public native void goToLiftPercentage(MTRWindowCoveringClusterGoToLiftPercentageParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToTiltValueWithParams:expectedValues:expectedValueInterval:completion:") + public native void goToTiltValue(MTRWindowCoveringClusterGoToTiltValueParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "goToTiltPercentageWithParams:expectedValues:expectedValueInterval:completion:") + public native void goToTiltPercentage(MTRWindowCoveringClusterGoToTiltPercentageParams params, NSArray expectedDataValueDictionaries, NSNumber expectedValueIntervalMs, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTypeWithParams:") + public native NSDictionary readAttributeType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitLiftWithParams:") + public native NSDictionary readAttributePhysicalClosedLimitLift(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributePhysicalClosedLimitTiltWithParams:") + public native NSDictionary readAttributePhysicalClosedLimitTilt(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftWithParams:") + public native NSDictionary readAttributeCurrentPositionLift(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltWithParams:") + public native NSDictionary readAttributeCurrentPositionTilt(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsLiftWithParams:") + public native NSDictionary readAttributeNumberOfActuationsLift(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeNumberOfActuationsTiltWithParams:") + public native NSDictionary readAttributeNumberOfActuationsTilt(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeConfigStatusWithParams:") + public native NSDictionary readAttributeConfigStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercentageWithParams:") + public native NSDictionary readAttributeCurrentPositionLiftPercentage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercentageWithParams:") + public native NSDictionary readAttributeCurrentPositionTiltPercentage(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeOperationalStatusWithParams:") + public native NSDictionary readAttributeOperationalStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTargetPositionLiftPercent100thsWithParams:") + public native NSDictionary readAttributeTargetPositionLiftPercent100ths(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeTargetPositionTiltPercent100thsWithParams:") + public native NSDictionary readAttributeTargetPositionTiltPercent100ths(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeEndProductTypeWithParams:") + public native NSDictionary readAttributeEndProductType(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionLiftPercent100thsWithParams:") + public native NSDictionary readAttributeCurrentPositionLiftPercent100ths(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeCurrentPositionTiltPercent100thsWithParams:") + public native NSDictionary readAttributeCurrentPositionTiltPercent100ths(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitLiftWithParams:") + public native NSDictionary readAttributeInstalledOpenLimitLift(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitLiftWithParams:") + public native NSDictionary readAttributeInstalledClosedLimitLift(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstalledOpenLimitTiltWithParams:") + public native NSDictionary readAttributeInstalledOpenLimitTilt(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeInstalledClosedLimitTiltWithParams:") + public native NSDictionary readAttributeInstalledClosedLimitTilt(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeModeWithParams:") + public native NSDictionary readAttributeMode(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeModeWithValue:expectedValueInterval:") + public native void writeAttributeMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "writeAttributeModeWithValue:expectedValueInterval:params:") + public native void writeAttributeMode(NSDictionary dataValueDictionary, NSNumber expectedValueIntervalMs, MTRWriteParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeSafetyStatusWithParams:") + public native NSDictionary readAttributeSafetyStatus(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeGeneratedCommandListWithParams:") + public native NSDictionary readAttributeGeneratedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAcceptedCommandListWithParams:") + public native NSDictionary readAttributeAcceptedCommandList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeAttributeListWithParams:") + public native NSDictionary readAttributeAttributeList(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeFeatureMapWithParams:") + public native NSDictionary readAttributeFeatureMap(MTRReadParams params); + /** + * @since Available in iOS 16.1 and later. + */ + @Method(selector = "readAttributeClusterRevisionWithParams:") + public native NSDictionary readAttributeClusterRevision(MTRReadParams params); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterColorLoopSetParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterColorLoopSetParams.java new file mode 100644 index 000000000..a255891b3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterColorLoopSetParams.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterColorLoopSetParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterColorLoopSetParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterColorLoopSetParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterColorLoopSetParams() {} + protected MTRColorControlClusterColorLoopSetParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterColorLoopSetParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "updateFlags") + public native NSNumber getUpdateFlags(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUpdateFlags:") + public native void setUpdateFlags(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "action") + public native NSNumber getAction(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAction:") + public native void setAction(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "direction") + public native NSNumber getDirection(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDirection:") + public native void setDirection(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "time") + public native NSNumber getTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTime:") + public native void setTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startHue") + public native NSNumber getStartHue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartHue:") + public native void setStartHue(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveHueParams.java new file mode 100644 index 000000000..7d014d991 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveHueParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterEnhancedMoveHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterEnhancedMoveHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterEnhancedMoveHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterEnhancedMoveHueParams() {} + protected MTRColorControlClusterEnhancedMoveHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterEnhancedMoveHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueAndSaturationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueAndSaturationParams.java new file mode 100644 index 000000000..f76d959bc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueAndSaturationParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterEnhancedMoveToHueAndSaturationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterEnhancedMoveToHueAndSaturationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterEnhancedMoveToHueAndSaturationParams() {} + protected MTRColorControlClusterEnhancedMoveToHueAndSaturationParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterEnhancedMoveToHueAndSaturationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "enhancedHue") + public native NSNumber getEnhancedHue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEnhancedHue:") + public native void setEnhancedHue(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "saturation") + public native NSNumber getSaturation(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSaturation:") + public native void setSaturation(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueParams.java new file mode 100644 index 000000000..7e351cdca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedMoveToHueParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterEnhancedMoveToHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterEnhancedMoveToHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterEnhancedMoveToHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterEnhancedMoveToHueParams() {} + protected MTRColorControlClusterEnhancedMoveToHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterEnhancedMoveToHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "enhancedHue") + public native NSNumber getEnhancedHue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEnhancedHue:") + public native void setEnhancedHue(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "direction") + public native NSNumber getDirection(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDirection:") + public native void setDirection(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedStepHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedStepHueParams.java new file mode 100644 index 000000000..f39a16d06 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterEnhancedStepHueParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterEnhancedStepHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterEnhancedStepHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterEnhancedStepHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterEnhancedStepHueParams() {} + protected MTRColorControlClusterEnhancedStepHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterEnhancedStepHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorParams.java new file mode 100644 index 000000000..7ec2f4e61 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveColorParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveColorParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveColorParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveColorParams() {} + protected MTRColorControlClusterMoveColorParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveColorParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rateX") + public native NSNumber getRateX(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRateX:") + public native void setRateX(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rateY") + public native NSNumber getRateY(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRateY:") + public native void setRateY(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorTemperatureParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorTemperatureParams.java new file mode 100644 index 000000000..350189c72 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveColorTemperatureParams.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveColorTemperatureParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveColorTemperatureParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveColorTemperatureParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveColorTemperatureParams() {} + protected MTRColorControlClusterMoveColorTemperatureParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveColorTemperatureParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorTemperatureMinimumMireds") + public native NSNumber getColorTemperatureMinimumMireds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorTemperatureMinimumMireds:") + public native void setColorTemperatureMinimumMireds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorTemperatureMaximumMireds") + public native NSNumber getColorTemperatureMaximumMireds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorTemperatureMaximumMireds:") + public native void setColorTemperatureMaximumMireds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveHueParams.java new file mode 100644 index 000000000..fe92b6b18 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveHueParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveHueParams() {} + protected MTRColorControlClusterMoveHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveSaturationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveSaturationParams.java new file mode 100644 index 000000000..9f69debff --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveSaturationParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveSaturationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveSaturationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveSaturationParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveSaturationParams() {} + protected MTRColorControlClusterMoveSaturationParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveSaturationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorParams.java new file mode 100644 index 000000000..badf6a6c0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveToColorParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveToColorParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveToColorParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveToColorParams() {} + protected MTRColorControlClusterMoveToColorParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveToColorParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorX") + public native NSNumber getColorX(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorX:") + public native void setColorX(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorY") + public native NSNumber getColorY(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorY:") + public native void setColorY(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorTemperatureParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorTemperatureParams.java new file mode 100644 index 000000000..cf7004792 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToColorTemperatureParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveToColorTemperatureParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveToColorTemperatureParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveToColorTemperatureParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveToColorTemperatureParams() {} + protected MTRColorControlClusterMoveToColorTemperatureParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveToColorTemperatureParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "colorTemperatureMireds") + public native NSNumber getColorTemperatureMireds(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setColorTemperatureMireds:") + public native void setColorTemperatureMireds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueAndSaturationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueAndSaturationParams.java new file mode 100644 index 000000000..dbc657f97 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueAndSaturationParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveToHueAndSaturationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveToHueAndSaturationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveToHueAndSaturationParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveToHueAndSaturationParams() {} + protected MTRColorControlClusterMoveToHueAndSaturationParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveToHueAndSaturationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "hue") + public native NSNumber getHue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHue:") + public native void setHue(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "saturation") + public native NSNumber getSaturation(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSaturation:") + public native void setSaturation(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueParams.java new file mode 100644 index 000000000..f379b6b60 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToHueParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveToHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveToHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveToHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveToHueParams() {} + protected MTRColorControlClusterMoveToHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveToHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "hue") + public native NSNumber getHue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHue:") + public native void setHue(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "direction") + public native NSNumber getDirection(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDirection:") + public native void setDirection(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToSaturationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToSaturationParams.java new file mode 100644 index 000000000..85d829321 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterMoveToSaturationParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterMoveToSaturationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterMoveToSaturationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterMoveToSaturationParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterMoveToSaturationParams() {} + protected MTRColorControlClusterMoveToSaturationParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterMoveToSaturationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "saturation") + public native NSNumber getSaturation(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSaturation:") + public native void setSaturation(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorParams.java new file mode 100644 index 000000000..e9194f3cb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterStepColorParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterStepColorParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterStepColorParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterStepColorParams() {} + protected MTRColorControlClusterStepColorParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterStepColorParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepX") + public native NSNumber getStepX(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepX:") + public native void setStepX(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepY") + public native NSNumber getStepY(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepY:") + public native void setStepY(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorTemperatureParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorTemperatureParams.java new file mode 100644 index 000000000..e84174fd9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepColorTemperatureParams.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterStepColorTemperatureParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterStepColorTemperatureParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterStepColorTemperatureParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterStepColorTemperatureParams() {} + protected MTRColorControlClusterStepColorTemperatureParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterStepColorTemperatureParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorTemperatureMinimumMireds") + public native NSNumber getColorTemperatureMinimumMireds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorTemperatureMinimumMireds:") + public native void setColorTemperatureMinimumMireds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "colorTemperatureMaximumMireds") + public native NSNumber getColorTemperatureMaximumMireds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setColorTemperatureMaximumMireds:") + public native void setColorTemperatureMaximumMireds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepHueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepHueParams.java new file mode 100644 index 000000000..f2a065093 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepHueParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterStepHueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterStepHueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterStepHueParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterStepHueParams() {} + protected MTRColorControlClusterStepHueParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterStepHueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepSaturationParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepSaturationParams.java new file mode 100644 index 000000000..f90a551f4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStepSaturationParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterStepSaturationParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterStepSaturationParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterStepSaturationParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterStepSaturationParams() {} + protected MTRColorControlClusterStepSaturationParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterStepSaturationParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStopMoveStepParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStopMoveStepParams.java new file mode 100644 index 000000000..03df339c8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlClusterStopMoveStepParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRColorControlClusterStopMoveStepParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRColorControlClusterStopMoveStepParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRColorControlClusterStopMoveStepParams.class); }/**/ + /**//**/ + /**/ + public MTRColorControlClusterStopMoveStepParams() {} + protected MTRColorControlClusterStopMoveStepParams(Handle h, long handle) { super(h, handle); } + protected MTRColorControlClusterStopMoveStepParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorCapabilities.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorCapabilities.java new file mode 100644 index 000000000..53a2688aa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorCapabilities.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRColorControlColorCapabilities/**/ extends Bits*/MTRColorControlColorCapabilities/**/> { + /**/ + public static final MTRColorControlColorCapabilities None = new MTRColorControlColorCapabilities(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorCapabilities HueSaturationSupported = new MTRColorControlColorCapabilities(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorCapabilities EnhancedHueSupported = new MTRColorControlColorCapabilities(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorCapabilities ColorLoopSupported = new MTRColorControlColorCapabilities(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorCapabilities XYAttributesSupported = new MTRColorControlColorCapabilities(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorCapabilities ColorTemperatureSupported = new MTRColorControlColorCapabilities(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRColorControlColorCapabilities/**/[] values = _values(/**/MTRColorControlColorCapabilities/**/.class); + + public /**/MTRColorControlColorCapabilities/**/(long value) { super(value); } + private /**/MTRColorControlColorCapabilities/**/(long value, long mask) { super(value, mask); } + protected /**/MTRColorControlColorCapabilities/**/ wrap(long value, long mask) { + return new /**/MTRColorControlColorCapabilities/**/(value, mask); + } + protected /**/MTRColorControlColorCapabilities/**/[] _values() { + return values; + } + public static /**/MTRColorControlColorCapabilities/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopAction.java new file mode 100644 index 000000000..02727eee4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopAction.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlColorLoopAction/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Deactivate(0L), + /** + * @since Available in iOS 16.1 and later. + */ + ActivateFromColorLoopStartEnhancedHue(1L), + /** + * @since Available in iOS 16.1 and later. + */ + ActivateFromEnhancedCurrentHue(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlColorLoopAction/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlColorLoopAction/**/ valueOf(long n) { + for (/**/MTRColorControlColorLoopAction/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlColorLoopAction/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopDirection.java new file mode 100644 index 000000000..32a6a9d6f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopDirection.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlColorLoopDirection/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + DecrementHue(0L), + /** + * @since Available in iOS 16.1 and later. + */ + IncrementHue(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlColorLoopDirection/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlColorLoopDirection/**/ valueOf(long n) { + for (/**/MTRColorControlColorLoopDirection/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlColorLoopDirection/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopUpdateFlags.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopUpdateFlags.java new file mode 100644 index 000000000..760c91055 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorLoopUpdateFlags.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRColorControlColorLoopUpdateFlags/**/ extends Bits*/MTRColorControlColorLoopUpdateFlags/**/> { + /**/ + public static final MTRColorControlColorLoopUpdateFlags None = new MTRColorControlColorLoopUpdateFlags(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorLoopUpdateFlags UpdateAction = new MTRColorControlColorLoopUpdateFlags(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorLoopUpdateFlags UpdateDirection = new MTRColorControlColorLoopUpdateFlags(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorLoopUpdateFlags UpdateTime = new MTRColorControlColorLoopUpdateFlags(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlColorLoopUpdateFlags UpdateStartHue = new MTRColorControlColorLoopUpdateFlags(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRColorControlColorLoopUpdateFlags/**/[] values = _values(/**/MTRColorControlColorLoopUpdateFlags/**/.class); + + public /**/MTRColorControlColorLoopUpdateFlags/**/(long value) { super(value); } + private /**/MTRColorControlColorLoopUpdateFlags/**/(long value, long mask) { super(value, mask); } + protected /**/MTRColorControlColorLoopUpdateFlags/**/ wrap(long value, long mask) { + return new /**/MTRColorControlColorLoopUpdateFlags/**/(value, mask); + } + protected /**/MTRColorControlColorLoopUpdateFlags/**/[] _values() { + return values; + } + public static /**/MTRColorControlColorLoopUpdateFlags/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorMode.java new file mode 100644 index 000000000..85af5aa9c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlColorMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlColorMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + CurrentHueAndCurrentSaturation(0L), + /** + * @since Available in iOS 16.1 and later. + */ + CurrentXAndCurrentY(1L), + /** + * @since Available in iOS 16.1 and later. + */ + ColorTemperature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlColorMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlColorMode/**/ valueOf(long n) { + for (/**/MTRColorControlColorMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlColorMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlFeature.java new file mode 100644 index 000000000..285b80efa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlFeature.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRColorControlFeature/**/ extends Bits*/MTRColorControlFeature/**/> { + /**/ + public static final MTRColorControlFeature None = new MTRColorControlFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlFeature HueAndSaturation = new MTRColorControlFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlFeature EnhancedHue = new MTRColorControlFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlFeature ColorLoop = new MTRColorControlFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlFeature XY = new MTRColorControlFeature(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRColorControlFeature ColorTemperature = new MTRColorControlFeature(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRColorControlFeature/**/[] values = _values(/**/MTRColorControlFeature/**/.class); + + public /**/MTRColorControlFeature/**/(long value) { super(value); } + private /**/MTRColorControlFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRColorControlFeature/**/ wrap(long value, long mask) { + return new /**/MTRColorControlFeature/**/(value, mask); + } + protected /**/MTRColorControlFeature/**/[] _values() { + return values; + } + public static /**/MTRColorControlFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueDirection.java new file mode 100644 index 000000000..4f888ad6e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueDirection.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlHueDirection/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + ShortestDistance(0L), + /** + * @since Available in iOS 16.1 and later. + */ + LongestDistance(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Up(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlHueDirection/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlHueDirection/**/ valueOf(long n) { + for (/**/MTRColorControlHueDirection/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlHueDirection/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueMoveMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueMoveMode.java new file mode 100644 index 000000000..7b2fd6f01 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueMoveMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlHueMoveMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Stop(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Up(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlHueMoveMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlHueMoveMode/**/ valueOf(long n) { + for (/**/MTRColorControlHueMoveMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlHueMoveMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueStepMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueStepMode.java new file mode 100644 index 000000000..ba9b19204 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlHueStepMode.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlHueStepMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Up(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlHueStepMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlHueStepMode/**/ valueOf(long n) { + for (/**/MTRColorControlHueStepMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlHueStepMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationMoveMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationMoveMode.java new file mode 100644 index 000000000..a67bf41d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationMoveMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlSaturationMoveMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Stop(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Up(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlSaturationMoveMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlSaturationMoveMode/**/ valueOf(long n) { + for (/**/MTRColorControlSaturationMoveMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlSaturationMoveMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationStepMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationStepMode.java new file mode 100644 index 000000000..586e05d68 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRColorControlSaturationStepMode.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRColorControlSaturationStepMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Up(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRColorControlSaturationStepMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRColorControlSaturationStepMode/**/ valueOf(long n) { + for (/**/MTRColorControlSaturationStepMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRColorControlSaturationStepMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandIDType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandIDType.java new file mode 100644 index 000000000..644e55cb0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandIDType.java @@ -0,0 +1,1037 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/MTRCommandIDType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterIdentifyCommandIdentifyID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterIdentifyCommandTriggerEffectID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandAddGroupID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandAddGroupResponseID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandViewGroupID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandViewGroupResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandGetGroupMembershipID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandGetGroupMembershipResponseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandRemoveGroupID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandRemoveGroupResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandRemoveAllGroupsID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupsCommandAddGroupIfIdentifyingID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandAddSceneID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandAddSceneResponseID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandViewSceneID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandViewSceneResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandRemoveSceneID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandRemoveSceneResponseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandRemoveAllScenesID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandRemoveAllScenesResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandStoreSceneID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandStoreSceneResponseID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandRecallSceneID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandGetSceneMembershipID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandGetSceneMembershipResponseID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandEnhancedAddSceneID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandEnhancedAddSceneResponseID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandEnhancedViewSceneID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandEnhancedViewSceneResponseID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandCopySceneID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterScenesCommandCopySceneResponseID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandOffID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandOnID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandToggleID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandOffWithEffectID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandOnWithRecallGlobalSceneID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOnOffCommandOnWithTimedOffID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandMoveToLevelID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandMoveID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandStepID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandStopID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandMoveToLevelWithOnOffID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandMoveWithOnOffID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandStepWithOnOffID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandStopWithOnOffID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLevelControlCommandMoveToClosestFrequencyID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandInstantActionID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandInstantActionWithTransitionID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandStartActionID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandStartActionWithDurationID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandStopActionID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandPauseActionID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandPauseActionWithDurationID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandResumeActionID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandEnableActionID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandEnableActionWithDurationID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandDisableActionID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterActionsCommandDisableActionWithDurationID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateProviderCommandQueryImageID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateProviderCommandQueryImageResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateProviderCommandApplyUpdateRequestID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateProviderCommandApplyUpdateResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateProviderCommandNotifyUpdateAppliedID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOTASoftwareUpdateRequestorCommandAnnounceOTAProviderID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandArmFailSafeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandArmFailSafeResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandSetRegulatoryConfigID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandSetRegulatoryConfigResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandCommissioningCompleteID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralCommissioningCommandCommissioningCompleteResponseID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandScanNetworksID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandScanNetworksResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandAddOrUpdateWiFiNetworkID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandAddOrUpdateThreadNetworkID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandRemoveNetworkID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandNetworkConfigResponseID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandConnectNetworkID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandConnectNetworkResponseID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterNetworkCommissioningCommandReorderNetworkID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDiagnosticLogsCommandRetrieveLogsRequestID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDiagnosticLogsCommandRetrieveLogsResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGeneralDiagnosticsCommandTestEventTriggerID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterSoftwareDiagnosticsCommandResetWatermarksID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThreadNetworkDiagnosticsCommandResetCountsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWiFiNetworkDiagnosticsCommandResetCountsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterEthernetNetworkDiagnosticsCommandResetCountsID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterTimeSynchronizationCommandSetUtcTimeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAdministratorCommissioningCommandOpenCommissioningWindowID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAdministratorCommissioningCommandOpenBasicCommissioningWindowID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAdministratorCommissioningCommandRevokeCommissioningID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandAttestationRequestID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandAttestationResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandCertificateChainRequestID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandCertificateChainResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandCSRRequestID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandCSRResponseID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandAddNOCID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandUpdateNOCID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandNOCResponseID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandUpdateFabricLabelID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandRemoveFabricID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterOperationalCredentialsCommandAddTrustedRootCertificateID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetWriteID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetReadID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetReadResponseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetRemoveID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetReadAllIndicesID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterGroupKeyManagementCommandKeySetReadAllIndicesResponseID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterModeSelectCommandChangeToModeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandLockDoorID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandUnlockDoorID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandUnlockWithTimeoutID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetWeekDayScheduleID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetWeekDayScheduleID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetWeekDayScheduleResponseID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandClearWeekDayScheduleID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetYearDayScheduleID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetYearDayScheduleID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetYearDayScheduleResponseID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandClearYearDayScheduleID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetHolidayScheduleID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetHolidayScheduleID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetHolidayScheduleResponseID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandClearHolidayScheduleID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetUserID(26L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetUserID(27L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetUserResponseID(28L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandClearUserID(29L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetCredentialID(34L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandSetCredentialResponseID(35L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetCredentialStatusID(36L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandGetCredentialStatusResponseID(37L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterDoorLockCommandClearCredentialID(38L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandUpOrOpenID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandDownOrCloseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandStopMotionID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandGoToLiftValueID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandGoToLiftPercentageID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandGoToTiltValueID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterWindowCoveringCommandGoToTiltPercentageID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterBarrierControlCommandBarrierControlGoToPercentID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterBarrierControlCommandBarrierControlStopID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThermostatCommandSetpointRaiseLowerID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThermostatCommandGetWeeklyScheduleResponseID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThermostatCommandSetWeeklyScheduleID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThermostatCommandGetWeeklyScheduleID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterThermostatCommandClearWeeklyScheduleID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveToHueID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveHueID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandStepHueID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveToSaturationID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveSaturationID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandStepSaturationID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveToHueAndSaturationID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveToColorID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveColorID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandStepColorID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveToColorTemperatureID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandEnhancedMoveToHueID(64L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandEnhancedMoveHueID(65L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandEnhancedStepHueID(66L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandEnhancedMoveToHueAndSaturationID(67L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandColorLoopSetID(68L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandStopMoveStepID(71L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandMoveColorTemperatureID(75L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterColorControlCommandStepColorTemperatureID(76L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterChannelCommandChangeChannelID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterChannelCommandChangeChannelResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterChannelCommandChangeChannelByNumberID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterChannelCommandSkipChannelID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterTargetNavigatorCommandNavigateTargetID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterTargetNavigatorCommandNavigateTargetResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandPlayID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandPauseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandStopID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandStartOverID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandPreviousID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandNextID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandRewindID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandFastForwardID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandSkipForwardID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandSkipBackwardID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandPlaybackResponseID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaPlaybackCommandSeekID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaInputCommandSelectInputID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaInputCommandShowInputStatusID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaInputCommandHideInputStatusID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterMediaInputCommandRenameInputID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterLowPowerCommandSleepID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterKeypadInputCommandSendKeyID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterKeypadInputCommandSendKeyResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterContentLauncherCommandLaunchContentID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterContentLauncherCommandLaunchURLID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterContentLauncherCommandLauncherResponseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAudioOutputCommandSelectOutputID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAudioOutputCommandRenameOutputID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterApplicationLauncherCommandLaunchAppID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterApplicationLauncherCommandStopAppID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterApplicationLauncherCommandHideAppID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterApplicationLauncherCommandLauncherResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAccountLoginCommandGetSetupPINID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAccountLoginCommandGetSetupPINResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAccountLoginCommandLoginID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterAccountLoginCommandLogoutID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterElectricalMeasurementCommandGetProfileInfoResponseCommandID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterElectricalMeasurementCommandGetProfileInfoCommandID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterElectricalMeasurementCommandGetMeasurementProfileResponseCommandID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterElectricalMeasurementCommandGetMeasurementProfileCommandID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestSpecificResponseID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestNotHandledID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestAddArgumentsResponseID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestSpecificID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestSimpleArgumentResponseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestUnknownCommandID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestStructArrayArgumentResponseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestAddArgumentsID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestListInt8UReverseResponseID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestSimpleArgumentRequestID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEnumsResponseID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestStructArrayArgumentRequestID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestNullableOptionalResponseID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestStructArgumentRequestID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestComplexNullableOptionalResponseID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestNestedStructArgumentRequestID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandBooleanResponseID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestListStructArgumentRequestID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandSimpleStructResponseID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestListInt8UArgumentRequestID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEmitTestEventResponseID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestNestedStructListArgumentRequestID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEmitTestFabricScopedEventResponseID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestListNestedStructListArgumentRequestID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestListInt8UReverseRequestID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEnumsRequestID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestNullableOptionalRequestID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestComplexNullableOptionalRequestID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandSimpleStructEchoRequestID(17L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTimedInvokeRequestID(18L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestSimpleOptionalArgumentRequestID(19L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEmitTestEventRequestID(20L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterUnitTestingCommandTestEmitTestFabricScopedEventRequestID(21L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterFaultInjectionCommandFailAtFaultID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ommandIDTypeClusterFaultInjectionCommandFailRandomlyAtFaultID(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRCommandIDType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRCommandIDType/**/ valueOf(long n) { + for (/**/MTRCommandIDType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRCommandIDType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandPath.java new file mode 100644 index 000000000..d3bd8a00b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommandPath.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCommandPath/**/ + extends /**/MTRClusterPath/**/ + /**//**/ { + + /**/public static class MTRCommandPathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCommandPath.class); }/**/ + /**//**/ + /**/ + protected MTRCommandPath() {} + protected MTRCommandPath(Handle h, long handle) { super(h, handle); } + protected MTRCommandPath(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + public MTRCommandPath(NSNumber endpointID, NSNumber clusterID, NSNumber commandID) { super((Handle) null, create(endpointID, clusterID, commandID)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "command") + public native NSNumber getCommand(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commandPathWithEndpointID:clusterID:commandID:") + protected static native @Pointer long create(NSNumber endpointID, NSNumber clusterID, NSNumber commandID); + @Method(selector = "clusterPathWithEndpointID:clusterID:") + public static native MTRClusterPath createClusterPath(NSNumber endpointID, NSNumber clusterID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegate.java new file mode 100644 index 000000000..e7a0d4666 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegate.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/MTRCommissionableBrowserDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "controller:didFindCommissionableDevice:") + void didFindCommissionableDevice(MTRDeviceController controller, MTRCommissionableBrowserResult device); + @Method(selector = "controller:didRemoveCommissionableDevice:") + void didRemoveCommissionableDevice(MTRDeviceController controller, MTRCommissionableBrowserResult device); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegateAdapter.java new file mode 100644 index 000000000..5989f93c0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserDelegateAdapter.java @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRCommissionableBrowserDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRCommissionableBrowserDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("controller:didFindCommissionableDevice:") + public void didFindCommissionableDevice(MTRDeviceController controller, MTRCommissionableBrowserResult device) {} + @NotImplemented("controller:didRemoveCommissionableDevice:") + public void didRemoveCommissionableDevice(MTRDeviceController controller, MTRCommissionableBrowserResult device) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserResult.java new file mode 100644 index 000000000..b7216ccd2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissionableBrowserResult.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCommissionableBrowserResult/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRCommissionableBrowserResultPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCommissionableBrowserResult.class); }/**/ + /**//**/ + /**/ + public MTRCommissionableBrowserResult() {} + protected MTRCommissionableBrowserResult(Handle h, long handle) { super(h, handle); } + protected MTRCommissionableBrowserResult(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "instanceName") + public native String getInstanceName(); + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + @Property(selector = "productID") + public native NSNumber getProductID(); + @Property(selector = "discriminator") + public native NSNumber getDiscriminator(); + @Property(selector = "commissioningMode") + public native boolean isCommissioningMode(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningFlow.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningFlow.java new file mode 100644 index 000000000..45249248a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningFlow.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTRCommissioningFlow/**/ implements ValuedEnum { + /**/ + Standard(0L), + UserActionRequired(1L), + Custom(2L), + Invalid(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRCommissioningFlow/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRCommissioningFlow/**/ valueOf(long n) { + for (/**/MTRCommissioningFlow/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRCommissioningFlow/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningParameters.java new file mode 100644 index 000000000..0a12e1bf4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningParameters.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRCommissioningParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRCommissioningParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRCommissioningParameters.class); }/**/ + /**//**/ + /**/ + public MTRCommissioningParameters() {} + protected MTRCommissioningParameters(Handle h, long handle) { super(h, handle); } + protected MTRCommissioningParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "csrNonce") + public native NSData getCsrNonce(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCsrNonce:") + public native void setCsrNonce(NSData v); + @Property(selector = "attestationNonce") + public native NSData getAttestationNonce(); + @Property(selector = "setAttestationNonce:") + public native void setAttestationNonce(NSData v); + @Property(selector = "wifiSSID") + public native NSData getWifiSSID(); + @Property(selector = "setWifiSSID:") + public native void setWifiSSID(NSData v); + @Property(selector = "wifiCredentials") + public native NSData getWifiCredentials(); + @Property(selector = "setWifiCredentials:") + public native void setWifiCredentials(NSData v); + @Property(selector = "threadOperationalDataset") + public native NSData getThreadOperationalDataset(); + @Property(selector = "setThreadOperationalDataset:") + public native void setThreadOperationalDataset(NSData v); + @Property(selector = "deviceAttestationDelegate") + public native MTRDeviceAttestationDelegate getDeviceAttestationDelegate(); + @Property(selector = "setDeviceAttestationDelegate:") + public native void setDeviceAttestationDelegate(MTRDeviceAttestationDelegate v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "failSafeTimeout") + public native NSNumber getFailSafeTimeout(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFailSafeTimeout:") + public native void setFailSafeTimeout(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "skipCommissioningComplete") + public native boolean isSkipCommissioningComplete(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSkipCommissioningComplete:") + public native void setSkipCommissioningComplete(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "countryCode") + public native String getCountryCode(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setCountryCode:") + public native void setCountryCode(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningStatus.java new file mode 100644 index 000000000..e3f114882 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRCommissioningStatus.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTRCommissioningStatus/**/ implements ValuedEnum { + /**/ + Unknown(0L), + Success(1L), + Failed(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRCommissioningStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRCommissioningStatus/**/ valueOf(long n) { + for (/**/MTRCommissioningStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRCommissioningStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterAdditionalInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterAdditionalInfoStruct.java new file mode 100644 index 000000000..e71a0ecf1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterAdditionalInfoStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterAdditionalInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterAdditionalInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterAdditionalInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterAdditionalInfoStruct() {} + protected MTRContentLauncherClusterAdditionalInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterAdditionalInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native String getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterBrandingInformationStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterBrandingInformationStruct.java new file mode 100644 index 000000000..d54499f35 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterBrandingInformationStruct.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterBrandingInformationStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterBrandingInformationStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterBrandingInformationStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterBrandingInformationStruct() {} + protected MTRContentLauncherClusterBrandingInformationStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterBrandingInformationStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "providerName") + public native String getProviderName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProviderName:") + public native void setProviderName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "background") + public native MTRContentLauncherClusterStyleInformationStruct getBackground(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setBackground:") + public native void setBackground(MTRContentLauncherClusterStyleInformationStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "logo") + public native MTRContentLauncherClusterStyleInformationStruct getLogo(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLogo:") + public native void setLogo(MTRContentLauncherClusterStyleInformationStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "progressBar") + public native MTRContentLauncherClusterStyleInformationStruct getProgressBar(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProgressBar:") + public native void setProgressBar(MTRContentLauncherClusterStyleInformationStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "splash") + public native MTRContentLauncherClusterStyleInformationStruct getSplash(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSplash:") + public native void setSplash(MTRContentLauncherClusterStyleInformationStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "waterMark") + public native MTRContentLauncherClusterStyleInformationStruct getWaterMark(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setWaterMark:") + public native void setWaterMark(MTRContentLauncherClusterStyleInformationStruct v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterContentSearchStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterContentSearchStruct.java new file mode 100644 index 000000000..9aa4fb6fe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterContentSearchStruct.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterContentSearchStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterContentSearchStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterContentSearchStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterContentSearchStruct() {} + protected MTRContentLauncherClusterContentSearchStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterContentSearchStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "parameterList") + public native NSArray getParameterList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setParameterList:") + public native void setParameterList(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterDimensionStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterDimensionStruct.java new file mode 100644 index 000000000..df6cc095e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterDimensionStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterDimensionStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterDimensionStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterDimensionStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterDimensionStruct() {} + protected MTRContentLauncherClusterDimensionStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterDimensionStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "width") + public native NSNumber getWidth(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setWidth:") + public native void setWidth(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "height") + public native NSNumber getHeight(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setHeight:") + public native void setHeight(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "metric") + public native NSNumber getMetric(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMetric:") + public native void setMetric(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchContentParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchContentParams.java new file mode 100644 index 000000000..065ca2691 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchContentParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterLaunchContentParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterLaunchContentParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterLaunchContentParams.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterLaunchContentParams() {} + protected MTRContentLauncherClusterLaunchContentParams(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterLaunchContentParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "search") + public native MTRContentLauncherClusterContentSearchStruct getSearch(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSearch:") + public native void setSearch(MTRContentLauncherClusterContentSearchStruct v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "autoPlay") + public native NSNumber getAutoPlay(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAutoPlay:") + public native void setAutoPlay(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchURLParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchURLParams.java new file mode 100644 index 000000000..b8d9b0363 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLaunchURLParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterLaunchURLParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterLaunchURLParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterLaunchURLParams.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterLaunchURLParams() {} + protected MTRContentLauncherClusterLaunchURLParams(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterLaunchURLParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "contentURL") + public native String getContentURL(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setContentURL:") + public native void setContentURL(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "displayString") + public native String getDisplayString(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDisplayString:") + public native void setDisplayString(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "brandingInformation") + public native MTRContentLauncherClusterBrandingInformationStruct getBrandingInformation(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBrandingInformation:") + public native void setBrandingInformation(MTRContentLauncherClusterBrandingInformationStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLauncherResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLauncherResponseParams.java new file mode 100644 index 000000000..da25f70ef --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterLauncherResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterLauncherResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterLauncherResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterLauncherResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterLauncherResponseParams() {} + protected MTRContentLauncherClusterLauncherResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterLauncherResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRContentLauncherClusterLauncherResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterParameterStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterParameterStruct.java new file mode 100644 index 000000000..46cf6fec4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterParameterStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterParameterStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterParameterStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterParameterStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterParameterStruct() {} + protected MTRContentLauncherClusterParameterStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterParameterStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native String getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "externalIDList") + public native NSArray getExternalIDList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setExternalIDList:") + public native void setExternalIDList(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterStyleInformationStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterStyleInformationStruct.java new file mode 100644 index 000000000..feec95c09 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherClusterStyleInformationStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRContentLauncherClusterStyleInformationStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRContentLauncherClusterStyleInformationStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRContentLauncherClusterStyleInformationStruct.class); }/**/ + /**//**/ + /**/ + public MTRContentLauncherClusterStyleInformationStruct() {} + protected MTRContentLauncherClusterStyleInformationStruct(Handle h, long handle) { super(h, handle); } + protected MTRContentLauncherClusterStyleInformationStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "imageURL") + public native String getImageURL(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setImageURL:") + public native void setImageURL(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "color") + public native String getColor(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setColor:") + public native void setColor(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "size") + public native MTRContentLauncherClusterDimensionStruct getSize(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSize:") + public native void setSize(MTRContentLauncherClusterDimensionStruct v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherContentLaunchStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherContentLaunchStatus.java new file mode 100644 index 000000000..3fbab9030 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherContentLaunchStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRContentLauncherContentLaunchStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + UrlNotAvailable(1L), + /** + * @since Available in iOS 16.1 and later. + */ + AuthFailed(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRContentLauncherContentLaunchStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRContentLauncherContentLaunchStatus/**/ valueOf(long n) { + for (/**/MTRContentLauncherContentLaunchStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRContentLauncherContentLaunchStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherFeature.java new file mode 100644 index 000000000..16bca9ed9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherFeature.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRContentLauncherFeature/**/ extends Bits*/MTRContentLauncherFeature/**/> { + /**/ + public static final MTRContentLauncherFeature None = new MTRContentLauncherFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRContentLauncherFeature ContentSearch = new MTRContentLauncherFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRContentLauncherFeature URLPlayback = new MTRContentLauncherFeature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRContentLauncherFeature/**/[] values = _values(/**/MTRContentLauncherFeature/**/.class); + + public /**/MTRContentLauncherFeature/**/(long value) { super(value); } + private /**/MTRContentLauncherFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRContentLauncherFeature/**/ wrap(long value, long mask) { + return new /**/MTRContentLauncherFeature/**/(value, mask); + } + protected /**/MTRContentLauncherFeature/**/[] _values() { + return values; + } + public static /**/MTRContentLauncherFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherMetricType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherMetricType.java new file mode 100644 index 000000000..339b2a529 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherMetricType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRContentLauncherMetricType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Pixels(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Percentage(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRContentLauncherMetricType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRContentLauncherMetricType/**/ valueOf(long n) { + for (/**/MTRContentLauncherMetricType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRContentLauncherMetricType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherParameter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherParameter.java new file mode 100644 index 000000000..e09937442 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherParameter.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRContentLauncherParameter/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Actor(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Channel(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Character(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Director(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Event(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Franchise(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Genre(6L), + /** + * @since Available in iOS 16.1 and later. + */ + League(7L), + /** + * @since Available in iOS 16.1 and later. + */ + Popularity(8L), + /** + * @since Available in iOS 16.1 and later. + */ + Provider(9L), + /** + * @since Available in iOS 16.1 and later. + */ + Sport(10L), + /** + * @since Available in iOS 16.1 and later. + */ + SportsTeam(11L), + /** + * @since Available in iOS 16.1 and later. + */ + Type(12L), + /** + * @since Available in iOS 16.4 and later. + */ + Video(13L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRContentLauncherParameter/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRContentLauncherParameter/**/ valueOf(long n) { + for (/**/MTRContentLauncherParameter/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRContentLauncherParameter/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherSupportedStreamingProtocol.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherSupportedStreamingProtocol.java new file mode 100644 index 000000000..52a2dba83 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRContentLauncherSupportedStreamingProtocol.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRContentLauncherSupportedStreamingProtocol/**/ extends Bits*/MTRContentLauncherSupportedStreamingProtocol/**/> { + /**/ + public static final MTRContentLauncherSupportedStreamingProtocol None = new MTRContentLauncherSupportedStreamingProtocol(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRContentLauncherSupportedStreamingProtocol DASH = new MTRContentLauncherSupportedStreamingProtocol(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRContentLauncherSupportedStreamingProtocol HLS = new MTRContentLauncherSupportedStreamingProtocol(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRContentLauncherSupportedStreamingProtocol/**/[] values = _values(/**/MTRContentLauncherSupportedStreamingProtocol/**/.class); + + public /**/MTRContentLauncherSupportedStreamingProtocol/**/(long value) { super(value); } + private /**/MTRContentLauncherSupportedStreamingProtocol/**/(long value, long mask) { super(value, mask); } + protected /**/MTRContentLauncherSupportedStreamingProtocol/**/ wrap(long value, long mask) { + return new /**/MTRContentLauncherSupportedStreamingProtocol/**/(value, mask); + } + protected /**/MTRContentLauncherSupportedStreamingProtocol/**/[] _values() { + return values; + } + public static /**/MTRContentLauncherSupportedStreamingProtocol/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDescriptorClusterDeviceTypeStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDescriptorClusterDeviceTypeStruct.java new file mode 100644 index 000000000..c7079ed1b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDescriptorClusterDeviceTypeStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.2 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDescriptorClusterDeviceTypeStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDescriptorClusterDeviceTypeStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDescriptorClusterDeviceTypeStruct.class); }/**/ + /**//**/ + /**/ + public MTRDescriptorClusterDeviceTypeStruct() {} + protected MTRDescriptorClusterDeviceTypeStruct(Handle h, long handle) { super(h, handle); } + protected MTRDescriptorClusterDeviceTypeStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "deviceType") + public native NSNumber getDeviceType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDeviceType:") + public native void setDeviceType(NSNumber v); + /** + * @since Available in iOS 16.2 and later. + */ + @Property(selector = "revision") + public native NSNumber getRevision(); + /** + * @since Available in iOS 16.2 and later. + */ + @Property(selector = "setRevision:") + public native void setRevision(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDevice.java new file mode 100644 index 000000000..436ab97c9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDevice.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDevice/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDevicePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDevice.class); }/**/ + /**//**/ + /**/ + protected MTRDevice() {} + protected MTRDevice(Handle h, long handle) { super(h, handle); } + protected MTRDevice(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + public MTRDevice(NSNumber nodeID, MTRDeviceController controller) { super((Handle) null, create(nodeID, controller)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "state") + public native MTRDeviceState getState(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "estimatedStartTime") + public native NSDate getEstimatedStartTime(); + /**/ + /**//**/ + /**/ + @Method(selector = "setDelegate:queue:") + public native void setDelegate(MTRDeviceDelegate delegate, DispatchQueue queue); + @Method(selector = "readAttributeWithEndpointID:clusterID:attributeID:params:") + public native NSDictionary readAttribute(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, MTRReadParams params); + @Method(selector = "writeAttributeWithEndpointID:clusterID:attributeID:value:expectedValueInterval:timedWriteTimeout:") + public native void writeAttribute(NSNumber endpointID, NSNumber clusterID, NSNumber attributeID, NSObject value, NSNumber expectedValueInterval, NSNumber timeout); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "invokeCommandWithEndpointID:clusterID:commandID:commandFields:expectedValues:expectedValueInterval:timedInvokeTimeout:queue:completion:") + public native void invokeCommand(NSNumber endpointID, NSNumber clusterID, NSNumber commandID, NSObject commandFields, NSArray expectedValues, NSNumber expectedValueInterval, NSNumber timeout, DispatchQueue queue, @Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "openCommissioningWindowWithSetupPasscode:discriminator:duration:queue:completion:") + public native void openCommissioningWindow(NSNumber setupPasscode, NSNumber discriminator, NSNumber duration, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "openCommissioningWindowWithDiscriminator:duration:queue:completion:") + public native void openCommissioningWindow(NSNumber discriminator, NSNumber duration, DispatchQueue queue, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceWithNodeID:controller:") + protected static native @Pointer long create(NSNumber nodeID, MTRDeviceController controller); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegate.java new file mode 100644 index 000000000..3e964b8f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegate.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ interface /**/MTRDeviceAttestationDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceAttestationCompletedForController:opaqueDeviceHandle:attestationDeviceInfo:error:") + void deviceAttestationCompleted(MTRDeviceController controller, VoidPtr opaqueDeviceHandle, MTRDeviceAttestationDeviceInfo attestationDeviceInfo, NSError error); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceAttestationFailedForController:opaqueDeviceHandle:error:") + void deviceAttestationFailed(MTRDeviceController controller, VoidPtr opaqueDeviceHandle, NSError error); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegateAdapter.java new file mode 100644 index 000000000..dd3f0e548 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDelegateAdapter.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRDeviceAttestationDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRDeviceAttestationDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("deviceAttestationCompletedForController:opaqueDeviceHandle:attestationDeviceInfo:error:") + public void deviceAttestationCompleted(MTRDeviceController controller, VoidPtr opaqueDeviceHandle, MTRDeviceAttestationDeviceInfo attestationDeviceInfo, NSError error) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("deviceAttestationFailedForController:opaqueDeviceHandle:error:") + public void deviceAttestationFailed(MTRDeviceController controller, VoidPtr opaqueDeviceHandle, NSError error) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDeviceInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDeviceInfo.java new file mode 100644 index 000000000..0859ba1f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationDeviceInfo.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceAttestationDeviceInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceAttestationDeviceInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceAttestationDeviceInfo.class); }/**/ + /**//**/ + /**/ + protected MTRDeviceAttestationDeviceInfo() {} + protected MTRDeviceAttestationDeviceInfo(Handle h, long handle) { super(h, handle); } + protected MTRDeviceAttestationDeviceInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "productID") + public native NSNumber getProductID(); + /** + * @since Available in iOS 16.6 and later. + */ + @Property(selector = "basicInformationVendorID") + public native NSNumber getBasicInformationVendorID(); + /** + * @since Available in iOS 16.6 and later. + */ + @Property(selector = "basicInformationProductID") + public native NSNumber getBasicInformationProductID(); + @Property(selector = "dacCertificate") + public native NSData getDacCertificate(); + @Property(selector = "dacPAICertificate") + public native NSData getDacPAICertificate(); + @Property(selector = "certificateDeclaration") + public native NSData getCertificateDeclaration(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationInfo.java new file mode 100644 index 000000000..5337f889d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceAttestationInfo.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceAttestationInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceAttestationInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceAttestationInfo.class); }/**/ + /**//**/ + /**/ + public MTRDeviceAttestationInfo() {} + protected MTRDeviceAttestationInfo(Handle h, long handle) { super(h, handle); } + protected MTRDeviceAttestationInfo(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDeviceAttestationChallenge:nonce:elementsTLV:elementsSignature:deviceAttestationCertificate:productAttestationIntermediateCertificate:certificationDeclaration:firmwareInfo:") + public MTRDeviceAttestationInfo(NSData challenge, NSData nonce, NSData elementsTLV, NSData elementsSignature, NSData deviceAttestationCertificate, NSData processAttestationIntermediateCertificate, NSData certificationDeclaration, NSData firmwareInfo) { super((SkipInit) null); initObject(init(challenge, nonce, elementsTLV, elementsSignature, deviceAttestationCertificate, processAttestationIntermediateCertificate, certificationDeclaration, firmwareInfo)); } + /**/ + /**/ + @Property(selector = "challenge") + public native NSData getChallenge(); + @Property(selector = "nonce") + public native NSData getNonce(); + @Property(selector = "elementsTLV") + public native NSData getElementsTLV(); + @Property(selector = "elementsSignature") + public native NSData getElementsSignature(); + @Property(selector = "deviceAttestationCertificate") + public native NSData getDeviceAttestationCertificate(); + @Property(selector = "productAttestationIntermediateCertificate") + public native NSData getProductAttestationIntermediateCertificate(); + @Property(selector = "certificationDeclaration") + public native NSData getCertificationDeclaration(); + @Property(selector = "firmwareInfo") + public native NSData getFirmwareInfo(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDeviceAttestationChallenge:nonce:elementsTLV:elementsSignature:deviceAttestationCertificate:productAttestationIntermediateCertificate:certificationDeclaration:firmwareInfo:") + protected native @Pointer long init(NSData challenge, NSData nonce, NSData elementsTLV, NSData elementsSignature, NSData deviceAttestationCertificate, NSData processAttestationIntermediateCertificate, NSData certificationDeclaration, NSData firmwareInfo); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceController.java new file mode 100644 index 000000000..bb1d518f5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceController.java @@ -0,0 +1,209 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceController/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceControllerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceController.class); }/**/ + /**//**/ + /**/ + protected MTRDeviceController() {} + protected MTRDeviceController(Handle h, long handle) { super(h, handle); } + protected MTRDeviceController(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isRunning") + public native boolean isRunning(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "controllerNodeID") + public native NSNumber getControllerNodeID(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.2 and later. + */ + public boolean setupCommissioningSession(MTRSetupPayload payload, NSNumber newNodeID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = setupCommissioningSession(payload, newNodeID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "setupCommissioningSessionWithPayload:newNodeID:error:") + private native boolean setupCommissioningSession(MTRSetupPayload payload, NSNumber newNodeID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + public boolean setupCommissioningSession(MTRCommissionableBrowserResult discoveredDevice, MTRSetupPayload payload, NSNumber newNodeID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = setupCommissioningSession(discoveredDevice, payload, newNodeID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setupCommissioningSessionWithDiscoveredDevice:payload:newNodeID:error:") + private native boolean setupCommissioningSession(MTRCommissionableBrowserResult discoveredDevice, MTRSetupPayload payload, NSNumber newNodeID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public boolean commissionNode(NSNumber nodeID, MTRCommissioningParameters commissioningParams) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = commissionNode(nodeID, commissioningParams, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "commissionNodeWithID:commissioningParams:error:") + private native boolean commissionNode(NSNumber nodeID, MTRCommissioningParameters commissioningParams, NSError.NSErrorPtr error); + public boolean continueCommissioning(VoidPtr opaqueDeviceHandle, boolean ignoreAttestationFailure) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = continueCommissioning(opaqueDeviceHandle, ignoreAttestationFailure, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "continueCommissioningDevice:ignoreAttestationFailure:error:") + private native boolean continueCommissioning(VoidPtr opaqueDeviceHandle, boolean ignoreAttestationFailure, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public boolean cancelCommissioning(NSNumber nodeID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = cancelCommissioning(nodeID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "cancelCommissioningForNodeID:error:") + private native boolean cancelCommissioning(NSNumber nodeID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + public MTRBaseDevice deviceBeingCommissioned(NSNumber nodeID) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + MTRBaseDevice result = deviceBeingCommissioned(nodeID, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceBeingCommissionedWithNodeID:error:") + private native MTRBaseDevice deviceBeingCommissioned(NSNumber nodeID, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "preWarmCommissioningSession") + public native void preWarmCommissioningSession(); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "setDeviceControllerDelegate:queue:") + public native void setDeviceControllerDelegate(MTRDeviceControllerDelegate delegate, DispatchQueue queue); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "startBrowseForCommissionables:queue:") + public native boolean startBrowse(MTRCommissionableBrowserDelegate delegate, DispatchQueue queue); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "stopBrowseForCommissionables") + public native boolean stopBrowseForCommissionables(); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "attestationChallengeForDeviceID:") + public native NSData attestationChallengeForDeviceID(NSNumber deviceID); + @Method(selector = "shutdown") + public native void shutdown(); + /** + * @since Available in iOS 16.4 and later. + */ + public static NSData computePASEVerifier(NSNumber setupPasscode, NSNumber iterations, NSData salt) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSData result = computePASEVerifier(setupPasscode, iterations, salt, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "computePASEVerifierForSetupPasscode:iterations:salt:error:") + private static native NSData computePASEVerifier(NSNumber setupPasscode, NSNumber iterations, NSData salt, NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "sharedControllerWithID:xpcConnectBlock:") + public static native MTRDeviceController getSharedController(NSObject controllerID, @Block Block0 xpcConnectBlock); + @Method(selector = "encodeXPCResponseValues:") + public static native NSArray encodeXPCResponseValues(NSArray values); + @Method(selector = "decodeXPCResponseValues:") + public static native NSArray decodeXPCResponseValues(NSArray values); + @Method(selector = "encodeXPCReadParams:") + public static native NSDictionary encodeXPCReadParams(MTRReadParams params); + @Method(selector = "decodeXPCReadParams:") + public static native MTRReadParams decodeXPCReadParams(NSDictionary params); + @Method(selector = "encodeXPCSubscribeParams:") + public static native NSDictionary encodeXPCSubscribeParams(MTRSubscribeParams params); + @Method(selector = "decodeXPCSubscribeParams:") + public static native MTRSubscribeParams decodeXPCSubscribeParams(NSDictionary params); + /** + * @since Available in iOS 16.5 and later. + */ + @Method(selector = "xpcInterfaceForServerProtocol") + public static native NSXPCInterface xpcInterfaceForServerProtocol(); + /** + * @since Available in iOS 16.5 and later. + */ + @Method(selector = "xpcInterfaceForClientProtocol") + public static native NSXPCInterface xpcInterfaceForClientProtocol(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocol.java similarity index 80% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementName.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocol.java index ea19cebba..166b42eb8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCPhysicalInputElementName.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocol.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.matter; /**/ import java.io.*; @@ -29,15 +29,14 @@ import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.security.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ interface /**/GCPhysicalInputElementName/**/ +/**/public/**/ interface /**/MTRDeviceControllerClientProtocol/**/ /**/extends NSObjectProtocol/**/ { /**/ @@ -49,7 +48,8 @@ /**/ /**/ - + @Method(selector = "handleReportWithController:nodeId:values:error:") + void handleReport(NSObject controller, long nodeId, NSObject values, NSError error); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementNameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocolAdapter.java similarity index 73% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementNameAdapter.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocolAdapter.java index dd4a0f585..58f1c531b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementNameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerClientProtocolAdapter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.matter; /**/ import java.io.*; @@ -29,16 +29,15 @@ import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.security.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ class /**/GCDirectionPadElementNameAdapter/**/ - extends /**/GCPhysicalInputElementNameAdapter/**/ - /**/implements GCDirectionPadElementName/**/ { +/**/public/**/ class /**/MTRDeviceControllerClientProtocolAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRDeviceControllerClientProtocol/**/ { /**/ /**/ @@ -51,6 +50,7 @@ /**/ /**//**/ /**/ - + @NotImplemented("handleReportWithController:nodeId:values:error:") + public void handleReport(NSObject controller, long nodeId, NSObject values, NSError error) {} /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegate.java new file mode 100644 index 000000000..70d99f12a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegate.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/MTRDeviceControllerDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "controller:statusUpdate:") + void statusUpdate(MTRDeviceController controller, MTRCommissioningStatus status); + @Method(selector = "controller:commissioningSessionEstablishmentDone:") + void commissioningSessionEstablishmentDone(MTRDeviceController controller, NSError error); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "controller:commissioningComplete:nodeID:") + void commissioningComplete(MTRDeviceController controller, NSError error, NSNumber nodeID); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "controller:readCommissioningInfo:") + void readCommissioningInfo(MTRDeviceController controller, MTRProductIdentity info); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegateAdapter.java new file mode 100644 index 000000000..632aff87a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerDelegateAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRDeviceControllerDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRDeviceControllerDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("controller:statusUpdate:") + public void statusUpdate(MTRDeviceController controller, MTRCommissioningStatus status) {} + @NotImplemented("controller:commissioningSessionEstablishmentDone:") + public void commissioningSessionEstablishmentDone(MTRDeviceController controller, NSError error) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("controller:commissioningComplete:nodeID:") + public void commissioningComplete(MTRDeviceController controller, NSError error, NSNumber nodeID) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("controller:readCommissioningInfo:") + public void readCommissioningInfo(MTRDeviceController controller, MTRProductIdentity info) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactory.java new file mode 100644 index 000000000..9b91700b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactory.java @@ -0,0 +1,90 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceControllerFactory/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceControllerFactoryPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceControllerFactory.class); }/**/ + /**//**/ + /**/ + protected MTRDeviceControllerFactory() {} + protected MTRDeviceControllerFactory(Handle h, long handle) { super(h, handle); } + protected MTRDeviceControllerFactory(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isRunning") + public native boolean isRunning(); + @Property(selector = "knownFabrics") + public native NSArray getKnownFabrics(); + /**/ + /**//**/ + /**/ + public boolean startControllerFactory(MTRDeviceControllerFactoryParams startupParams) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = startControllerFactory(startupParams, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "startControllerFactory:error:") + private native boolean startControllerFactory(MTRDeviceControllerFactoryParams startupParams, NSError.NSErrorPtr error); + @Method(selector = "stopControllerFactory") + public native void stopControllerFactory(); + public MTRDeviceController createControllerOnExistingFabric(MTRDeviceControllerStartupParams startupParams) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + MTRDeviceController result = createControllerOnExistingFabric(startupParams, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "createControllerOnExistingFabric:error:") + private native MTRDeviceController createControllerOnExistingFabric(MTRDeviceControllerStartupParams startupParams, NSError.NSErrorPtr error); + public MTRDeviceController createControllerOnNewFabric(MTRDeviceControllerStartupParams startupParams) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + MTRDeviceController result = createControllerOnNewFabric(startupParams, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "createControllerOnNewFabric:error:") + private native MTRDeviceController createControllerOnNewFabric(MTRDeviceControllerStartupParams startupParams, NSError.NSErrorPtr error); + @Method(selector = "sharedInstance") + public static native MTRDeviceControllerFactory sharedInstance(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactoryParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactoryParams.java new file mode 100644 index 000000000..bbda233f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerFactoryParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceControllerFactoryParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceControllerFactoryParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceControllerFactoryParams.class); }/**/ + /**//**/ + /**/ + protected MTRDeviceControllerFactoryParams() {} + protected MTRDeviceControllerFactoryParams(Handle h, long handle) { super(h, handle); } + protected MTRDeviceControllerFactoryParams(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithStorage:") + public MTRDeviceControllerFactoryParams(MTRStorage storage) { super((SkipInit) null); initObject(init(storage)); } + /**/ + /**/ + @Property(selector = "storage") + public native MTRStorage getStorage(); + @Property(selector = "otaProviderDelegate") + public native MTROTAProviderDelegate getOtaProviderDelegate(); + @Property(selector = "setOtaProviderDelegate:") + public native void setOtaProviderDelegate(MTROTAProviderDelegate v); + @Property(selector = "productAttestationAuthorityCertificates") + public native NSArray getProductAttestationAuthorityCertificates(); + @Property(selector = "setProductAttestationAuthorityCertificates:") + public native void setProductAttestationAuthorityCertificates(NSArray v); + @Property(selector = "certificationDeclarationCertificates") + public native NSArray getCertificationDeclarationCertificates(); + @Property(selector = "setCertificationDeclarationCertificates:") + public native void setCertificationDeclarationCertificates(NSArray v); + @Property(selector = "port") + public native NSNumber getPort(); + @Property(selector = "setPort:") + public native void setPort(NSNumber v); + @Property(selector = "shouldStartServer") + public native boolean shouldStartServer(); + @Property(selector = "setShouldStartServer:") + public native void setShouldStartServer(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithStorage:") + protected native @Pointer long init(MTRStorage storage); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocol.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocol.java new file mode 100644 index 000000000..d1d8cba52 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocol.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ interface /**/MTRDeviceControllerServerProtocol/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "getAnyDeviceControllerWithCompletion:") + void getAnyDeviceController(@Block VoidBlock2 completion); + @Method(selector = "readAttributeWithController:nodeId:endpointId:clusterId:attributeId:params:completion:") + void readAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSDictionary params, @Block VoidBlock2 completion); + @Method(selector = "writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:timedWriteTimeout:completion:") + void writeAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSObject value, NSNumber timeoutMs, @Block VoidBlock2 completion); + @Method(selector = "invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:timedInvokeTimeout:completion:") + void invokeCommand(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber commandId, NSObject fields, NSNumber timeoutMs, @Block VoidBlock2 completion); + @Method(selector = "subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:params:establishedHandler:") + void subscribeAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSNumber minInterval, NSNumber maxInterval, NSDictionary params, @Block Runnable establishedHandler); + @Method(selector = "stopReportsWithController:nodeId:completion:") + void stopReports(NSObject controller, long nodeId, @Block Runnable completion); + @Method(selector = "subscribeWithController:nodeId:minInterval:maxInterval:params:shouldCache:completion:") + void subscribe(NSObject controller, long nodeId, NSNumber minInterval, NSNumber maxInterval, NSDictionary params, boolean shouldCache, @Block VoidBlock1 completion); + @Method(selector = "readAttributeCacheWithController:nodeId:endpointId:clusterId:attributeId:completion:") + void readAttributeCache(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, @Block VoidBlock2 completion); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocolAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocolAdapter.java new file mode 100644 index 000000000..d3908a6bf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerServerProtocolAdapter.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRDeviceControllerServerProtocolAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRDeviceControllerServerProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("getAnyDeviceControllerWithCompletion:") + public void getAnyDeviceController(@Block VoidBlock2 completion) {} + @NotImplemented("readAttributeWithController:nodeId:endpointId:clusterId:attributeId:params:completion:") + public void readAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSDictionary params, @Block VoidBlock2 completion) {} + @NotImplemented("writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:timedWriteTimeout:completion:") + public void writeAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSObject value, NSNumber timeoutMs, @Block VoidBlock2 completion) {} + @NotImplemented("invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:timedInvokeTimeout:completion:") + public void invokeCommand(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber commandId, NSObject fields, NSNumber timeoutMs, @Block VoidBlock2 completion) {} + @NotImplemented("subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:params:establishedHandler:") + public void subscribeAttribute(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, NSNumber minInterval, NSNumber maxInterval, NSDictionary params, @Block Runnable establishedHandler) {} + @NotImplemented("stopReportsWithController:nodeId:completion:") + public void stopReports(NSObject controller, long nodeId, @Block Runnable completion) {} + @NotImplemented("subscribeWithController:nodeId:minInterval:maxInterval:params:shouldCache:completion:") + public void subscribe(NSObject controller, long nodeId, NSNumber minInterval, NSNumber maxInterval, NSDictionary params, boolean shouldCache, @Block VoidBlock1 completion) {} + @NotImplemented("readAttributeCacheWithController:nodeId:endpointId:clusterId:attributeId:completion:") + public void readAttributeCache(NSObject controller, long nodeId, NSNumber endpointId, NSNumber clusterId, NSNumber attributeId, @Block VoidBlock2 completion) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerStartupParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerStartupParams.java new file mode 100644 index 000000000..b52a5611a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceControllerStartupParams.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDeviceControllerStartupParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDeviceControllerStartupParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDeviceControllerStartupParams.class); }/**/ + /**//**/ + /**/ + protected MTRDeviceControllerStartupParams() {} + protected MTRDeviceControllerStartupParams(Handle h, long handle) { super(h, handle); } + protected MTRDeviceControllerStartupParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIPK:fabricID:nocSigner:") + public MTRDeviceControllerStartupParams(NSData ipk, NSNumber fabricID, MTRKeypair nocSigner) { super((SkipInit) null); initObject(init(ipk, fabricID, nocSigner)); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIPK:operationalKeypair:operationalCertificate:intermediateCertificate:rootCertificate:") + public MTRDeviceControllerStartupParams(NSData ipk, MTRKeypair operationalKeypair, NSData operationalCertificate, NSData intermediateCertificate, NSData rootCertificate) { super((SkipInit) null); initObject(init(ipk, operationalKeypair, operationalCertificate, intermediateCertificate, rootCertificate)); } + /**/ + /**/ + @Property(selector = "nocSigner") + public native MTRKeypair getNocSigner(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricID") + public native NSNumber getFabricID(); + @Property(selector = "ipk") + public native NSData getIpk(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nodeID") + public native NSNumber getNodeID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNodeID:") + public native void setNodeID(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "caseAuthenticatedTags") + public native NSSet getCaseAuthenticatedTags(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setCaseAuthenticatedTags:") + public native void setCaseAuthenticatedTags(NSSet v); + @Property(selector = "rootCertificate") + public native NSData getRootCertificate(); + @Property(selector = "setRootCertificate:") + public native void setRootCertificate(NSData v); + @Property(selector = "intermediateCertificate") + public native NSData getIntermediateCertificate(); + @Property(selector = "setIntermediateCertificate:") + public native void setIntermediateCertificate(NSData v); + @Property(selector = "operationalCertificate") + public native NSData getOperationalCertificate(); + @Property(selector = "operationalKeypair") + public native MTRKeypair getOperationalKeypair(); + @Property(selector = "setOperationalKeypair:") + public native void setOperationalKeypair(MTRKeypair v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "operationalCertificateIssuer") + public native MTROperationalCertificateIssuer getOperationalCertificateIssuer(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOperationalCertificateIssuer:") + public native void setOperationalCertificateIssuer(MTROperationalCertificateIssuer v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "operationalCertificateIssuerQueue") + public native DispatchQueue getOperationalCertificateIssuerQueue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOperationalCertificateIssuerQueue:") + public native void setOperationalCertificateIssuerQueue(DispatchQueue v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIPK:fabricID:nocSigner:") + protected native @Pointer long init(NSData ipk, NSNumber fabricID, MTRKeypair nocSigner); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIPK:operationalKeypair:operationalCertificate:intermediateCertificate:rootCertificate:") + protected native @Pointer long init(NSData ipk, MTRKeypair operationalKeypair, NSData operationalCertificate, NSData intermediateCertificate, NSData rootCertificate); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegate.java new file mode 100644 index 000000000..6c5cfab0d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegate.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ interface /**/MTRDeviceDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "device:stateChanged:") + void stateChanged(MTRDevice device, MTRDeviceState state); + @Method(selector = "device:receivedAttributeReport:") + void receivedAttributeReport(MTRDevice device, NSArray attributeReport); + @Method(selector = "device:receivedEventReport:") + void receivedEventReport(MTRDevice device, NSArray eventReport); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "deviceBecameActive:") + void deviceBecameActive(MTRDevice device); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegateAdapter.java new file mode 100644 index 000000000..50083e232 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceDelegateAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRDeviceDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRDeviceDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("device:stateChanged:") + public void stateChanged(MTRDevice device, MTRDeviceState state) {} + @NotImplemented("device:receivedAttributeReport:") + public void receivedAttributeReport(MTRDevice device, NSArray attributeReport) {} + @NotImplemented("device:receivedEventReport:") + public void receivedEventReport(MTRDevice device, NSArray eventReport) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("deviceBecameActive:") + public void deviceBecameActive(MTRDevice device) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceState.java new file mode 100644 index 000000000..46e3c6425 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDeviceState.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTRDeviceState/**/ implements ValuedEnum { + /**/ + Unknown(0L), + Reachable(1L), + Unreachable(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDeviceState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDeviceState/**/ valueOf(long n) { + for (/**/MTRDeviceState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDeviceState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsRequestParams.java new file mode 100644 index 000000000..c19b6a747 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsRequestParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDiagnosticLogsClusterRetrieveLogsRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDiagnosticLogsClusterRetrieveLogsRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDiagnosticLogsClusterRetrieveLogsRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRDiagnosticLogsClusterRetrieveLogsRequestParams() {} + protected MTRDiagnosticLogsClusterRetrieveLogsRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRDiagnosticLogsClusterRetrieveLogsRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "intent") + public native NSNumber getIntent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIntent:") + public native void setIntent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "requestedProtocol") + public native NSNumber getRequestedProtocol(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRequestedProtocol:") + public native void setRequestedProtocol(NSNumber v); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "transferFileDesignator") + public native String getTransferFileDesignator(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setTransferFileDesignator:") + public native void setTransferFileDesignator(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsResponseParams.java new file mode 100644 index 000000000..a2967b960 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsClusterRetrieveLogsResponseParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDiagnosticLogsClusterRetrieveLogsResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDiagnosticLogsClusterRetrieveLogsResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDiagnosticLogsClusterRetrieveLogsResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDiagnosticLogsClusterRetrieveLogsResponseParams() {} + protected MTRDiagnosticLogsClusterRetrieveLogsResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDiagnosticLogsClusterRetrieveLogsResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDiagnosticLogsClusterRetrieveLogsResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "logContent") + public native NSData getLogContent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLogContent:") + public native void setLogContent(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "utcTimeStamp") + public native NSNumber getUtcTimeStamp(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUtcTimeStamp:") + public native void setUtcTimeStamp(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "timeSinceBoot") + public native NSNumber getTimeSinceBoot(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTimeSinceBoot:") + public native void setTimeSinceBoot(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsIntent.java new file mode 100644 index 000000000..2163b713f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsIntent.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDiagnosticLogsIntent/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + EndUserSupport(0L), + /** + * @since Available in iOS 16.5 and later. + */ + NetworkDiag(1L), + /** + * @since Available in iOS 16.5 and later. + */ + CrashLogs(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDiagnosticLogsIntent/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDiagnosticLogsIntent/**/ valueOf(long n) { + for (/**/MTRDiagnosticLogsIntent/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDiagnosticLogsIntent/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsStatus.java new file mode 100644 index 000000000..8cc17ad0b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsStatus.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDiagnosticLogsStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.5 and later. + */ + Exhausted(1L), + /** + * @since Available in iOS 16.5 and later. + */ + NoLogs(2L), + /** + * @since Available in iOS 16.5 and later. + */ + Busy(3L), + /** + * @since Available in iOS 16.5 and later. + */ + Denied(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDiagnosticLogsStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDiagnosticLogsStatus/**/ valueOf(long n) { + for (/**/MTRDiagnosticLogsStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDiagnosticLogsStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsTransferProtocol.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsTransferProtocol.java new file mode 100644 index 000000000..2479eaae6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiagnosticLogsTransferProtocol.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDiagnosticLogsTransferProtocol/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + ResponsePayload(0L), + /** + * @since Available in iOS 16.5 and later. + */ + BDX(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDiagnosticLogsTransferProtocol/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDiagnosticLogsTransferProtocol/**/ valueOf(long n) { + for (/**/MTRDiagnosticLogsTransferProtocol/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDiagnosticLogsTransferProtocol/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiscoveryCapabilities.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiscoveryCapabilities.java new file mode 100644 index 000000000..623a75e88 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDiscoveryCapabilities.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/MTRDiscoveryCapabilities/**/ extends Bits*/MTRDiscoveryCapabilities/**/> { + /**/ + public static final MTRDiscoveryCapabilities Unknown = new MTRDiscoveryCapabilities(0L); + public static final MTRDiscoveryCapabilities SoftAP = new MTRDiscoveryCapabilities(1L); + public static final MTRDiscoveryCapabilities BLE = new MTRDiscoveryCapabilities(2L); + public static final MTRDiscoveryCapabilities OnNetwork = new MTRDiscoveryCapabilities(4L); + public static final MTRDiscoveryCapabilities AllMask = new MTRDiscoveryCapabilities(7L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDiscoveryCapabilities/**/[] values = _values(/**/MTRDiscoveryCapabilities/**/.class); + + public /**/MTRDiscoveryCapabilities/**/(long value) { super(value); } + private /**/MTRDiscoveryCapabilities/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDiscoveryCapabilities/**/ wrap(long value, long mask) { + return new /**/MTRDiscoveryCapabilities/**/(value, mask); + } + protected /**/MTRDiscoveryCapabilities/**/[] _values() { + return values; + } + public static /**/MTRDiscoveryCapabilities/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDistinguishedNameInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDistinguishedNameInfo.java new file mode 100644 index 000000000..d2921188a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDistinguishedNameInfo.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDistinguishedNameInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDistinguishedNameInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDistinguishedNameInfo.class); }/**/ + /**//**/ + /**/ + protected MTRDistinguishedNameInfo() {} + protected MTRDistinguishedNameInfo(Handle h, long handle) { super(h, handle); } + protected MTRDistinguishedNameInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "nodeID") + public native NSNumber getNodeID(); + @Property(selector = "fabricID") + public native NSNumber getFabricID(); + @Property(selector = "rootCACertificateID") + public native NSNumber getRootCACertificateID(); + @Property(selector = "intermediateCACertificateID") + public native NSNumber getIntermediateCACertificateID(); + @Property(selector = "caseAuthenticatedTags") + public native NSSet getCaseAuthenticatedTags(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockAlarmCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockAlarmCode.java new file mode 100644 index 000000000..79378ec29 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockAlarmCode.java @@ -0,0 +1,95 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockAlarmCode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + LockJammed(0L), + /** + * @since Available in iOS 16.4 and later. + */ + LockFactoryReset(1L), + /** + * @since Available in iOS 16.4 and later. + */ + LockRadioPowerCycled(3L), + /** + * @since Available in iOS 16.4 and later. + */ + WrongCodeEntryLimit(4L), + /** + * @since Available in iOS 16.4 and later. + */ + FrontEsceutcheonRemoved(5L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorForcedOpen(6L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorAjar(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ForcedUser(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockAlarmCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockAlarmCode/**/ valueOf(long n) { + for (/**/MTRDoorLockAlarmCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockAlarmCode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearCredentialParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearCredentialParams.java new file mode 100644 index 000000000..224986be4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearCredentialParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterClearCredentialParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterClearCredentialParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterClearCredentialParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterClearCredentialParams() {} + protected MTRDoorLockClusterClearCredentialParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterClearCredentialParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credential") + public native MTRDoorLockClusterCredentialStruct getCredential(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredential:") + public native void setCredential(MTRDoorLockClusterCredentialStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearHolidayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearHolidayScheduleParams.java new file mode 100644 index 000000000..e0aaaab9b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearHolidayScheduleParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterClearHolidayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterClearHolidayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterClearHolidayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterClearHolidayScheduleParams() {} + protected MTRDoorLockClusterClearHolidayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterClearHolidayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "holidayIndex") + public native NSNumber getHolidayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHolidayIndex:") + public native void setHolidayIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearUserParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearUserParams.java new file mode 100644 index 000000000..756906b4c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearUserParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterClearUserParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterClearUserParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterClearUserParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterClearUserParams() {} + protected MTRDoorLockClusterClearUserParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterClearUserParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearWeekDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearWeekDayScheduleParams.java new file mode 100644 index 000000000..be0cb247e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearWeekDayScheduleParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterClearWeekDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterClearWeekDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterClearWeekDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterClearWeekDayScheduleParams() {} + protected MTRDoorLockClusterClearWeekDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterClearWeekDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "weekDayIndex") + public native NSNumber getWeekDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setWeekDayIndex:") + public native void setWeekDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearYearDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearYearDayScheduleParams.java new file mode 100644 index 000000000..941da6db9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterClearYearDayScheduleParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterClearYearDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterClearYearDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterClearYearDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterClearYearDayScheduleParams() {} + protected MTRDoorLockClusterClearYearDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterClearYearDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "yearDayIndex") + public native NSNumber getYearDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setYearDayIndex:") + public native void setYearDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterCredentialStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterCredentialStruct.java new file mode 100644 index 000000000..47fd9eec0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterCredentialStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterCredentialStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterCredentialStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterCredentialStruct.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterCredentialStruct() {} + protected MTRDoorLockClusterCredentialStruct(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterCredentialStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "credentialType") + public native NSNumber getCredentialType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCredentialType:") + public native void setCredentialType(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "credentialIndex") + public native NSNumber getCredentialIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCredentialIndex:") + public native void setCredentialIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorLockAlarmEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorLockAlarmEvent.java new file mode 100644 index 000000000..69bd1153d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorLockAlarmEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterDoorLockAlarmEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterDoorLockAlarmEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterDoorLockAlarmEvent.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterDoorLockAlarmEvent() {} + protected MTRDoorLockClusterDoorLockAlarmEvent(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterDoorLockAlarmEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "alarmCode") + public native NSNumber getAlarmCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAlarmCode:") + public native void setAlarmCode(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorStateChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorStateChangeEvent.java new file mode 100644 index 000000000..a2d03b114 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterDoorStateChangeEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterDoorStateChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterDoorStateChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterDoorStateChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterDoorStateChangeEvent() {} + protected MTRDoorLockClusterDoorStateChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterDoorStateChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "doorState") + public native NSNumber getDoorState(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDoorState:") + public native void setDoorState(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusParams.java new file mode 100644 index 000000000..b732cd638 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetCredentialStatusParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetCredentialStatusParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetCredentialStatusParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetCredentialStatusParams() {} + protected MTRDoorLockClusterGetCredentialStatusParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetCredentialStatusParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credential") + public native MTRDoorLockClusterCredentialStruct getCredential(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredential:") + public native void setCredential(MTRDoorLockClusterCredentialStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusResponseParams.java new file mode 100644 index 000000000..600413095 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetCredentialStatusResponseParams.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetCredentialStatusResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetCredentialStatusResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetCredentialStatusResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetCredentialStatusResponseParams() {} + protected MTRDoorLockClusterGetCredentialStatusResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetCredentialStatusResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterGetCredentialStatusResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentialExists") + public native NSNumber getCredentialExists(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentialExists:") + public native void setCredentialExists(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "creatorFabricIndex") + public native NSNumber getCreatorFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCreatorFabricIndex:") + public native void setCreatorFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "lastModifiedFabricIndex") + public native NSNumber getLastModifiedFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLastModifiedFabricIndex:") + public native void setLastModifiedFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nextCredentialIndex") + public native NSNumber getNextCredentialIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNextCredentialIndex:") + public native void setNextCredentialIndex(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleParams.java new file mode 100644 index 000000000..8bbe33f2b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetHolidayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetHolidayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetHolidayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetHolidayScheduleParams() {} + protected MTRDoorLockClusterGetHolidayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetHolidayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "holidayIndex") + public native NSNumber getHolidayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHolidayIndex:") + public native void setHolidayIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleResponseParams.java new file mode 100644 index 000000000..1bbed1553 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetHolidayScheduleResponseParams.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetHolidayScheduleResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetHolidayScheduleResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetHolidayScheduleResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetHolidayScheduleResponseParams() {} + protected MTRDoorLockClusterGetHolidayScheduleResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetHolidayScheduleResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterGetHolidayScheduleResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "holidayIndex") + public native NSNumber getHolidayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHolidayIndex:") + public native void setHolidayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localStartTime") + public native NSNumber getLocalStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalStartTime:") + public native void setLocalStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localEndTime") + public native NSNumber getLocalEndTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalEndTime:") + public native void setLocalEndTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operatingMode") + public native NSNumber getOperatingMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperatingMode:") + public native void setOperatingMode(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserParams.java new file mode 100644 index 000000000..26555192a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetUserParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetUserParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetUserParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetUserParams() {} + protected MTRDoorLockClusterGetUserParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetUserParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserResponseParams.java new file mode 100644 index 000000000..9c0cb6824 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetUserResponseParams.java @@ -0,0 +1,174 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetUserResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetUserResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetUserResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetUserResponseParams() {} + protected MTRDoorLockClusterGetUserResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetUserResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterGetUserResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userName") + public native String getUserName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserName:") + public native void setUserName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "userUniqueID") + public native NSNumber getUserUniqueID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUserUniqueID:") + public native void setUserUniqueID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userStatus") + public native NSNumber getUserStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserStatus:") + public native void setUserStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userType") + public native NSNumber getUserType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserType:") + public native void setUserType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentialRule") + public native NSNumber getCredentialRule(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentialRule:") + public native void setCredentialRule(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentials") + public native NSArray getCredentials(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentials:") + public native void setCredentials(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "creatorFabricIndex") + public native NSNumber getCreatorFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCreatorFabricIndex:") + public native void setCreatorFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "lastModifiedFabricIndex") + public native NSNumber getLastModifiedFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLastModifiedFabricIndex:") + public native void setLastModifiedFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nextUserIndex") + public native NSNumber getNextUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNextUserIndex:") + public native void setNextUserIndex(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleParams.java new file mode 100644 index 000000000..7b159a91e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetWeekDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetWeekDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetWeekDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetWeekDayScheduleParams() {} + protected MTRDoorLockClusterGetWeekDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetWeekDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "weekDayIndex") + public native NSNumber getWeekDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setWeekDayIndex:") + public native void setWeekDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleResponseParams.java new file mode 100644 index 000000000..4172737d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetWeekDayScheduleResponseParams.java @@ -0,0 +1,154 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetWeekDayScheduleResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetWeekDayScheduleResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetWeekDayScheduleResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetWeekDayScheduleResponseParams() {} + protected MTRDoorLockClusterGetWeekDayScheduleResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetWeekDayScheduleResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterGetWeekDayScheduleResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "weekDayIndex") + public native NSNumber getWeekDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setWeekDayIndex:") + public native void setWeekDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "daysMask") + public native NSNumber getDaysMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDaysMask:") + public native void setDaysMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startHour") + public native NSNumber getStartHour(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartHour:") + public native void setStartHour(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startMinute") + public native NSNumber getStartMinute(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartMinute:") + public native void setStartMinute(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endHour") + public native NSNumber getEndHour(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndHour:") + public native void setEndHour(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endMinute") + public native NSNumber getEndMinute(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndMinute:") + public native void setEndMinute(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleParams.java new file mode 100644 index 000000000..5b2f994bb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetYearDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetYearDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetYearDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetYearDayScheduleParams() {} + protected MTRDoorLockClusterGetYearDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetYearDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "yearDayIndex") + public native NSNumber getYearDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setYearDayIndex:") + public native void setYearDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleResponseParams.java new file mode 100644 index 000000000..4bd7440e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterGetYearDayScheduleResponseParams.java @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterGetYearDayScheduleResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterGetYearDayScheduleResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterGetYearDayScheduleResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterGetYearDayScheduleResponseParams() {} + protected MTRDoorLockClusterGetYearDayScheduleResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterGetYearDayScheduleResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterGetYearDayScheduleResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "yearDayIndex") + public native NSNumber getYearDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setYearDayIndex:") + public native void setYearDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localStartTime") + public native NSNumber getLocalStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalStartTime:") + public native void setLocalStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localEndTime") + public native NSNumber getLocalEndTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalEndTime:") + public native void setLocalEndTime(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockDoorParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockDoorParams.java new file mode 100644 index 000000000..17a66db50 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockDoorParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterLockDoorParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterLockDoorParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterLockDoorParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterLockDoorParams() {} + protected MTRDoorLockClusterLockDoorParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterLockDoorParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "pinCode") + public native NSData getPinCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPinCode:") + public native void setPinCode(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationErrorEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationErrorEvent.java new file mode 100644 index 000000000..fe3f84776 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationErrorEvent.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterLockOperationErrorEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterLockOperationErrorEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterLockOperationErrorEvent.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterLockOperationErrorEvent() {} + protected MTRDoorLockClusterLockOperationErrorEvent(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterLockOperationErrorEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "lockOperationType") + public native NSNumber getLockOperationType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLockOperationType:") + public native void setLockOperationType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationSource") + public native NSNumber getOperationSource(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationSource:") + public native void setOperationSource(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationError") + public native NSNumber getOperationError(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationError:") + public native void setOperationError(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sourceNode") + public native NSNumber getSourceNode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSourceNode:") + public native void setSourceNode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentials") + public native NSArray getCredentials(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentials:") + public native void setCredentials(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationEvent.java new file mode 100644 index 000000000..12b751f17 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockOperationEvent.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterLockOperationEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterLockOperationEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterLockOperationEvent.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterLockOperationEvent() {} + protected MTRDoorLockClusterLockOperationEvent(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterLockOperationEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "lockOperationType") + public native NSNumber getLockOperationType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLockOperationType:") + public native void setLockOperationType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationSource") + public native NSNumber getOperationSource(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationSource:") + public native void setOperationSource(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sourceNode") + public native NSNumber getSourceNode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSourceNode:") + public native void setSourceNode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentials") + public native NSArray getCredentials(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentials:") + public native void setCredentials(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockUserChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockUserChangeEvent.java new file mode 100644 index 000000000..0b3f0f30b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterLockUserChangeEvent.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterLockUserChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterLockUserChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterLockUserChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterLockUserChangeEvent() {} + protected MTRDoorLockClusterLockUserChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterLockUserChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "lockDataType") + public native NSNumber getLockDataType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLockDataType:") + public native void setLockDataType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "dataOperationType") + public native NSNumber getDataOperationType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDataOperationType:") + public native void setDataOperationType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationSource") + public native NSNumber getOperationSource(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationSource:") + public native void setOperationSource(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sourceNode") + public native NSNumber getSourceNode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSourceNode:") + public native void setSourceNode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "dataIndex") + public native NSNumber getDataIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDataIndex:") + public native void setDataIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialParams.java new file mode 100644 index 000000000..6899a07bf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialParams.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetCredentialParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetCredentialParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetCredentialParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetCredentialParams() {} + protected MTRDoorLockClusterSetCredentialParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetCredentialParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationType") + public native NSNumber getOperationType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationType:") + public native void setOperationType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credential") + public native MTRDoorLockClusterCredentialStruct getCredential(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredential:") + public native void setCredential(MTRDoorLockClusterCredentialStruct v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentialData") + public native NSData getCredentialData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentialData:") + public native void setCredentialData(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userStatus") + public native NSNumber getUserStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserStatus:") + public native void setUserStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userType") + public native NSNumber getUserType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserType:") + public native void setUserType(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialResponseParams.java new file mode 100644 index 000000000..989c5e25f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetCredentialResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetCredentialResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetCredentialResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetCredentialResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetCredentialResponseParams() {} + protected MTRDoorLockClusterSetCredentialResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetCredentialResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRDoorLockClusterSetCredentialResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nextCredentialIndex") + public native NSNumber getNextCredentialIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNextCredentialIndex:") + public native void setNextCredentialIndex(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetHolidayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetHolidayScheduleParams.java new file mode 100644 index 000000000..3623e9bc2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetHolidayScheduleParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetHolidayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetHolidayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetHolidayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetHolidayScheduleParams() {} + protected MTRDoorLockClusterSetHolidayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetHolidayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "holidayIndex") + public native NSNumber getHolidayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHolidayIndex:") + public native void setHolidayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localStartTime") + public native NSNumber getLocalStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalStartTime:") + public native void setLocalStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localEndTime") + public native NSNumber getLocalEndTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalEndTime:") + public native void setLocalEndTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operatingMode") + public native NSNumber getOperatingMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperatingMode:") + public native void setOperatingMode(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetUserParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetUserParams.java new file mode 100644 index 000000000..52433df48 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetUserParams.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetUserParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetUserParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetUserParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetUserParams() {} + protected MTRDoorLockClusterSetUserParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetUserParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationType") + public native NSNumber getOperationType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationType:") + public native void setOperationType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userName") + public native String getUserName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserName:") + public native void setUserName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "userUniqueID") + public native NSNumber getUserUniqueID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUserUniqueID:") + public native void setUserUniqueID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userStatus") + public native NSNumber getUserStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserStatus:") + public native void setUserStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userType") + public native NSNumber getUserType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserType:") + public native void setUserType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentialRule") + public native NSNumber getCredentialRule(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentialRule:") + public native void setCredentialRule(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetWeekDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetWeekDayScheduleParams.java new file mode 100644 index 000000000..d78d6be4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetWeekDayScheduleParams.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetWeekDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetWeekDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetWeekDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetWeekDayScheduleParams() {} + protected MTRDoorLockClusterSetWeekDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetWeekDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "weekDayIndex") + public native NSNumber getWeekDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setWeekDayIndex:") + public native void setWeekDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "daysMask") + public native NSNumber getDaysMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDaysMask:") + public native void setDaysMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startHour") + public native NSNumber getStartHour(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartHour:") + public native void setStartHour(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startMinute") + public native NSNumber getStartMinute(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartMinute:") + public native void setStartMinute(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endHour") + public native NSNumber getEndHour(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndHour:") + public native void setEndHour(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endMinute") + public native NSNumber getEndMinute(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndMinute:") + public native void setEndMinute(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetYearDayScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetYearDayScheduleParams.java new file mode 100644 index 000000000..b17fedb31 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterSetYearDayScheduleParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterSetYearDayScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterSetYearDayScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterSetYearDayScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterSetYearDayScheduleParams() {} + protected MTRDoorLockClusterSetYearDayScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterSetYearDayScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "yearDayIndex") + public native NSNumber getYearDayIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setYearDayIndex:") + public native void setYearDayIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "userIndex") + public native NSNumber getUserIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUserIndex:") + public native void setUserIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localStartTime") + public native NSNumber getLocalStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalStartTime:") + public native void setLocalStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "localEndTime") + public native NSNumber getLocalEndTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLocalEndTime:") + public native void setLocalEndTime(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockDoorParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockDoorParams.java new file mode 100644 index 000000000..9b45dc8cf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockDoorParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterUnlockDoorParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterUnlockDoorParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterUnlockDoorParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterUnlockDoorParams() {} + protected MTRDoorLockClusterUnlockDoorParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterUnlockDoorParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "pinCode") + public native NSData getPinCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPinCode:") + public native void setPinCode(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockWithTimeoutParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockWithTimeoutParams.java new file mode 100644 index 000000000..6e0e76763 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockClusterUnlockWithTimeoutParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRDoorLockClusterUnlockWithTimeoutParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRDoorLockClusterUnlockWithTimeoutParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRDoorLockClusterUnlockWithTimeoutParams.class); }/**/ + /**//**/ + /**/ + public MTRDoorLockClusterUnlockWithTimeoutParams() {} + protected MTRDoorLockClusterUnlockWithTimeoutParams(Handle h, long handle) { super(h, handle); } + protected MTRDoorLockClusterUnlockWithTimeoutParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "timeout") + public native NSNumber getTimeout(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTimeout:") + public native void setTimeout(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "pinCode") + public native NSData getPinCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPinCode:") + public native void setPinCode(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialRule.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialRule.java new file mode 100644 index 000000000..c8f67bda4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialRule.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockCredentialRule/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Single(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Dual(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Tri(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockCredentialRule/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockCredentialRule/**/ valueOf(long n) { + for (/**/MTRDoorLockCredentialRule/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockCredentialRule/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialType.java new file mode 100644 index 000000000..54dd89fdb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockCredentialType.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockCredentialType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + ProgrammingPIN(0L), + /** + * @since Available in iOS 16.4 and later. + */ + PIN(1L), + /** + * @since Available in iOS 16.4 and later. + */ + RFID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Fingerprint(3L), + /** + * @since Available in iOS 16.4 and later. + */ + FingerVein(4L), + /** + * @since Available in iOS 16.4 and later. + */ + Face(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockCredentialType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockCredentialType/**/ valueOf(long n) { + for (/**/MTRDoorLockCredentialType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockCredentialType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDataOperationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDataOperationType.java new file mode 100644 index 000000000..c6bfbae05 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDataOperationType.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockDataOperationType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Add(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Clear(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Modify(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockDataOperationType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockDataOperationType/**/ valueOf(long n) { + for (/**/MTRDoorLockDataOperationType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockDataOperationType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDayOfWeek.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDayOfWeek.java new file mode 100644 index 000000000..2026947b3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDayOfWeek.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRDoorLockDayOfWeek/**/ extends Bits*/MTRDoorLockDayOfWeek/**/> { + /**/ + public static final MTRDoorLockDayOfWeek None = new MTRDoorLockDayOfWeek(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Sunday = new MTRDoorLockDayOfWeek(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Monday = new MTRDoorLockDayOfWeek(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Tuesday = new MTRDoorLockDayOfWeek(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Wednesday = new MTRDoorLockDayOfWeek(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Thursday = new MTRDoorLockDayOfWeek(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Friday = new MTRDoorLockDayOfWeek(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDayOfWeek Saturday = new MTRDoorLockDayOfWeek(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDayOfWeek/**/[] values = _values(/**/MTRDoorLockDayOfWeek/**/.class); + + public /**/MTRDoorLockDayOfWeek/**/(long value) { super(value); } + private /**/MTRDoorLockDayOfWeek/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDayOfWeek/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDayOfWeek/**/(value, mask); + } + protected /**/MTRDoorLockDayOfWeek/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDayOfWeek/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDaysMaskMap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDaysMaskMap.java new file mode 100644 index 000000000..8a8b03be8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDaysMaskMap.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRDoorLockDaysMaskMap/**/ extends Bits*/MTRDoorLockDaysMaskMap/**/> { + /**/ + public static final MTRDoorLockDaysMaskMap None = new MTRDoorLockDaysMaskMap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Sunday = new MTRDoorLockDaysMaskMap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Monday = new MTRDoorLockDaysMaskMap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Tuesday = new MTRDoorLockDaysMaskMap(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Wednesday = new MTRDoorLockDaysMaskMap(8L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Thursday = new MTRDoorLockDaysMaskMap(16L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Friday = new MTRDoorLockDaysMaskMap(32L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockDaysMaskMap Saturday = new MTRDoorLockDaysMaskMap(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDaysMaskMap/**/[] values = _values(/**/MTRDoorLockDaysMaskMap/**/.class); + + public /**/MTRDoorLockDaysMaskMap/**/(long value) { super(value); } + private /**/MTRDoorLockDaysMaskMap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDaysMaskMap/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDaysMaskMap/**/(value, mask); + } + protected /**/MTRDoorLockDaysMaskMap/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDaysMaskMap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRuleMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRuleMask.java new file mode 100644 index 000000000..fceb17bb4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRuleMask.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRDoorLockDlCredentialRuleMask/**/ extends Bits*/MTRDoorLockDlCredentialRuleMask/**/> { + /**/ + public static final MTRDoorLockDlCredentialRuleMask None = new MTRDoorLockDlCredentialRuleMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRuleMask Single = new MTRDoorLockDlCredentialRuleMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRuleMask Dual = new MTRDoorLockDlCredentialRuleMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRuleMask Tri = new MTRDoorLockDlCredentialRuleMask(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlCredentialRuleMask/**/[] values = _values(/**/MTRDoorLockDlCredentialRuleMask/**/.class); + + public /**/MTRDoorLockDlCredentialRuleMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlCredentialRuleMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlCredentialRuleMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlCredentialRuleMask/**/(value, mask); + } + protected /**/MTRDoorLockDlCredentialRuleMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlCredentialRuleMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRulesSupport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRulesSupport.java new file mode 100644 index 000000000..5ce0c5055 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlCredentialRulesSupport.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRDoorLockDlCredentialRulesSupport/**/ extends Bits*/MTRDoorLockDlCredentialRulesSupport/**/> { + /**/ + public static final MTRDoorLockDlCredentialRulesSupport None = new MTRDoorLockDlCredentialRulesSupport(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRulesSupport Single = new MTRDoorLockDlCredentialRulesSupport(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRulesSupport Dual = new MTRDoorLockDlCredentialRulesSupport(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlCredentialRulesSupport Tri = new MTRDoorLockDlCredentialRulesSupport(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlCredentialRulesSupport/**/[] values = _values(/**/MTRDoorLockDlCredentialRulesSupport/**/.class); + + public /**/MTRDoorLockDlCredentialRulesSupport/**/(long value) { super(value); } + private /**/MTRDoorLockDlCredentialRulesSupport/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlCredentialRulesSupport/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlCredentialRulesSupport/**/(value, mask); + } + protected /**/MTRDoorLockDlCredentialRulesSupport/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlCredentialRulesSupport/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlDefaultConfigurationRegister.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlDefaultConfigurationRegister.java new file mode 100644 index 000000000..b3a1ba07f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlDefaultConfigurationRegister.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlDefaultConfigurationRegister/**/ extends Bits*/MTRDoorLockDlDefaultConfigurationRegister/**/> { + /**/ + public static final MTRDoorLockDlDefaultConfigurationRegister None = new MTRDoorLockDlDefaultConfigurationRegister(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister EnableLocalProgrammingEnabled = new MTRDoorLockDlDefaultConfigurationRegister(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister KeypadInterfaceDefaultAccessEnabled = new MTRDoorLockDlDefaultConfigurationRegister(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister RemoteInterfaceDefaultAccessIsEnabled = new MTRDoorLockDlDefaultConfigurationRegister(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister SoundEnabled = new MTRDoorLockDlDefaultConfigurationRegister(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister AutoRelockTimeSet = new MTRDoorLockDlDefaultConfigurationRegister(64L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlDefaultConfigurationRegister LEDSettingsSet = new MTRDoorLockDlDefaultConfigurationRegister(128L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlDefaultConfigurationRegister/**/[] values = _values(/**/MTRDoorLockDlDefaultConfigurationRegister/**/.class); + + public /**/MTRDoorLockDlDefaultConfigurationRegister/**/(long value) { super(value); } + private /**/MTRDoorLockDlDefaultConfigurationRegister/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlDefaultConfigurationRegister/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlDefaultConfigurationRegister/**/(value, mask); + } + protected /**/MTRDoorLockDlDefaultConfigurationRegister/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlDefaultConfigurationRegister/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadOperationEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadOperationEventMask.java new file mode 100644 index 000000000..6593723d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadOperationEventMask.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlKeypadOperationEventMask/**/ extends Bits*/MTRDoorLockDlKeypadOperationEventMask/**/> { + /**/ + public static final MTRDoorLockDlKeypadOperationEventMask None = new MTRDoorLockDlKeypadOperationEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask Unknown = new MTRDoorLockDlKeypadOperationEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask Lock = new MTRDoorLockDlKeypadOperationEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask Unlock = new MTRDoorLockDlKeypadOperationEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask LockInvalidPIN = new MTRDoorLockDlKeypadOperationEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask LockInvalidSchedule = new MTRDoorLockDlKeypadOperationEventMask(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask UnlockInvalidCode = new MTRDoorLockDlKeypadOperationEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask UnlockInvalidSchedule = new MTRDoorLockDlKeypadOperationEventMask(64L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadOperationEventMask NonAccessUserOpEvent = new MTRDoorLockDlKeypadOperationEventMask(128L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlKeypadOperationEventMask/**/[] values = _values(/**/MTRDoorLockDlKeypadOperationEventMask/**/.class); + + public /**/MTRDoorLockDlKeypadOperationEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlKeypadOperationEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlKeypadOperationEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlKeypadOperationEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlKeypadOperationEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlKeypadOperationEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadProgrammingEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadProgrammingEventMask.java new file mode 100644 index 000000000..2c8c918d1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlKeypadProgrammingEventMask.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlKeypadProgrammingEventMask/**/ extends Bits*/MTRDoorLockDlKeypadProgrammingEventMask/**/> { + /**/ + public static final MTRDoorLockDlKeypadProgrammingEventMask None = new MTRDoorLockDlKeypadProgrammingEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadProgrammingEventMask Unknown = new MTRDoorLockDlKeypadProgrammingEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadProgrammingEventMask ProgrammingPINChanged = new MTRDoorLockDlKeypadProgrammingEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadProgrammingEventMask PINAdded = new MTRDoorLockDlKeypadProgrammingEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadProgrammingEventMask PINCleared = new MTRDoorLockDlKeypadProgrammingEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlKeypadProgrammingEventMask PINChanged = new MTRDoorLockDlKeypadProgrammingEventMask(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlKeypadProgrammingEventMask/**/[] values = _values(/**/MTRDoorLockDlKeypadProgrammingEventMask/**/.class); + + public /**/MTRDoorLockDlKeypadProgrammingEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlKeypadProgrammingEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlKeypadProgrammingEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlKeypadProgrammingEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlKeypadProgrammingEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlKeypadProgrammingEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLocalProgrammingFeatures.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLocalProgrammingFeatures.java new file mode 100644 index 000000000..b9876314f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLocalProgrammingFeatures.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRDoorLockDlLocalProgrammingFeatures/**/ extends Bits*/MTRDoorLockDlLocalProgrammingFeatures/**/> { + /**/ + public static final MTRDoorLockDlLocalProgrammingFeatures None = new MTRDoorLockDlLocalProgrammingFeatures(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlLocalProgrammingFeatures AddUsersCredentialsSchedulesLocally = new MTRDoorLockDlLocalProgrammingFeatures(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlLocalProgrammingFeatures ModifyUsersCredentialsSchedulesLocally = new MTRDoorLockDlLocalProgrammingFeatures(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlLocalProgrammingFeatures ClearUsersCredentialsSchedulesLocally = new MTRDoorLockDlLocalProgrammingFeatures(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlLocalProgrammingFeatures AdjustLockSettingsLocally = new MTRDoorLockDlLocalProgrammingFeatures(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlLocalProgrammingFeatures/**/[] values = _values(/**/MTRDoorLockDlLocalProgrammingFeatures/**/.class); + + public /**/MTRDoorLockDlLocalProgrammingFeatures/**/(long value) { super(value); } + private /**/MTRDoorLockDlLocalProgrammingFeatures/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlLocalProgrammingFeatures/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlLocalProgrammingFeatures/**/(value, mask); + } + protected /**/MTRDoorLockDlLocalProgrammingFeatures/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlLocalProgrammingFeatures/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockState.java new file mode 100644 index 000000000..d8cde5551 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockState.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockDlLockState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + NotFullyLocked(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Locked(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Unlocked(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockDlLockState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockDlLockState/**/ valueOf(long n) { + for (/**/MTRDoorLockDlLockState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockDlLockState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockType.java new file mode 100644 index 000000000..48121f001 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlLockType.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockDlLockType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + DeadBolt(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Magnetic(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Other(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Mortise(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Rim(4L), + /** + * @since Available in iOS 16.1 and later. + */ + LatchBolt(5L), + /** + * @since Available in iOS 16.1 and later. + */ + CylindricalLock(6L), + /** + * @since Available in iOS 16.1 and later. + */ + TubularLock(7L), + /** + * @since Available in iOS 16.1 and later. + */ + InterconnectedLock(8L), + /** + * @since Available in iOS 16.1 and later. + */ + DeadLatch(9L), + /** + * @since Available in iOS 16.1 and later. + */ + DoorFurniture(10L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockDlLockType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockDlLockType/**/ valueOf(long n) { + for (/**/MTRDoorLockDlLockType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockDlLockType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlManualOperationEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlManualOperationEventMask.java new file mode 100644 index 000000000..426ec8e4b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlManualOperationEventMask.java @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlManualOperationEventMask/**/ extends Bits*/MTRDoorLockDlManualOperationEventMask/**/> { + /**/ + public static final MTRDoorLockDlManualOperationEventMask None = new MTRDoorLockDlManualOperationEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask Unknown = new MTRDoorLockDlManualOperationEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ThumbturnLock = new MTRDoorLockDlManualOperationEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ThumbturnUnlock = new MTRDoorLockDlManualOperationEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask OneTouchLock = new MTRDoorLockDlManualOperationEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask KeyLock = new MTRDoorLockDlManualOperationEventMask(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask KeyUnlock = new MTRDoorLockDlManualOperationEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask AutoLock = new MTRDoorLockDlManualOperationEventMask(64L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ScheduleLock = new MTRDoorLockDlManualOperationEventMask(128L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ScheduleUnlock = new MTRDoorLockDlManualOperationEventMask(256L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ManualLock = new MTRDoorLockDlManualOperationEventMask(512L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlManualOperationEventMask ManualUnlock = new MTRDoorLockDlManualOperationEventMask(1024L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlManualOperationEventMask/**/[] values = _values(/**/MTRDoorLockDlManualOperationEventMask/**/.class); + + public /**/MTRDoorLockDlManualOperationEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlManualOperationEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlManualOperationEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlManualOperationEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlManualOperationEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlManualOperationEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDOperationEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDOperationEventMask.java new file mode 100644 index 000000000..2a82664e7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDOperationEventMask.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlRFIDOperationEventMask/**/ extends Bits*/MTRDoorLockDlRFIDOperationEventMask/**/> { + /**/ + public static final MTRDoorLockDlRFIDOperationEventMask None = new MTRDoorLockDlRFIDOperationEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask Unknown = new MTRDoorLockDlRFIDOperationEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask Lock = new MTRDoorLockDlRFIDOperationEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask Unlock = new MTRDoorLockDlRFIDOperationEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask LockInvalidRFID = new MTRDoorLockDlRFIDOperationEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask LockInvalidSchedule = new MTRDoorLockDlRFIDOperationEventMask(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask UnlockInvalidRFID = new MTRDoorLockDlRFIDOperationEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDOperationEventMask UnlockInvalidSchedule = new MTRDoorLockDlRFIDOperationEventMask(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlRFIDOperationEventMask/**/[] values = _values(/**/MTRDoorLockDlRFIDOperationEventMask/**/.class); + + public /**/MTRDoorLockDlRFIDOperationEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlRFIDOperationEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlRFIDOperationEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlRFIDOperationEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlRFIDOperationEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlRFIDOperationEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDProgrammingEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDProgrammingEventMask.java new file mode 100644 index 000000000..0276ec9d7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRFIDProgrammingEventMask.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlRFIDProgrammingEventMask/**/ extends Bits*/MTRDoorLockDlRFIDProgrammingEventMask/**/> { + /**/ + public static final MTRDoorLockDlRFIDProgrammingEventMask None = new MTRDoorLockDlRFIDProgrammingEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDProgrammingEventMask Unknown = new MTRDoorLockDlRFIDProgrammingEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDProgrammingEventMask RFIDCodeAdded = new MTRDoorLockDlRFIDProgrammingEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRFIDProgrammingEventMask RFIDCodeCleared = new MTRDoorLockDlRFIDProgrammingEventMask(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlRFIDProgrammingEventMask/**/[] values = _values(/**/MTRDoorLockDlRFIDProgrammingEventMask/**/.class); + + public /**/MTRDoorLockDlRFIDProgrammingEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlRFIDProgrammingEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlRFIDProgrammingEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlRFIDProgrammingEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlRFIDProgrammingEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlRFIDProgrammingEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteOperationEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteOperationEventMask.java new file mode 100644 index 000000000..d6dde69dc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteOperationEventMask.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlRemoteOperationEventMask/**/ extends Bits*/MTRDoorLockDlRemoteOperationEventMask/**/> { + /**/ + public static final MTRDoorLockDlRemoteOperationEventMask None = new MTRDoorLockDlRemoteOperationEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask Unknown = new MTRDoorLockDlRemoteOperationEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask Lock = new MTRDoorLockDlRemoteOperationEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask Unlock = new MTRDoorLockDlRemoteOperationEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask LockInvalidCode = new MTRDoorLockDlRemoteOperationEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask LockInvalidSchedule = new MTRDoorLockDlRemoteOperationEventMask(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask UnlockInvalidCode = new MTRDoorLockDlRemoteOperationEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteOperationEventMask UnlockInvalidSchedule = new MTRDoorLockDlRemoteOperationEventMask(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlRemoteOperationEventMask/**/[] values = _values(/**/MTRDoorLockDlRemoteOperationEventMask/**/.class); + + public /**/MTRDoorLockDlRemoteOperationEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlRemoteOperationEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlRemoteOperationEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlRemoteOperationEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlRemoteOperationEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlRemoteOperationEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteProgrammingEventMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteProgrammingEventMask.java new file mode 100644 index 000000000..404f2fbd7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlRemoteProgrammingEventMask.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlRemoteProgrammingEventMask/**/ extends Bits*/MTRDoorLockDlRemoteProgrammingEventMask/**/> { + /**/ + public static final MTRDoorLockDlRemoteProgrammingEventMask None = new MTRDoorLockDlRemoteProgrammingEventMask(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask Unknown = new MTRDoorLockDlRemoteProgrammingEventMask(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask ProgrammingPINChanged = new MTRDoorLockDlRemoteProgrammingEventMask(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask PINAdded = new MTRDoorLockDlRemoteProgrammingEventMask(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask PINCleared = new MTRDoorLockDlRemoteProgrammingEventMask(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask PINChanged = new MTRDoorLockDlRemoteProgrammingEventMask(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask RFIDCodeAdded = new MTRDoorLockDlRemoteProgrammingEventMask(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlRemoteProgrammingEventMask RFIDCodeCleared = new MTRDoorLockDlRemoteProgrammingEventMask(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlRemoteProgrammingEventMask/**/[] values = _values(/**/MTRDoorLockDlRemoteProgrammingEventMask/**/.class); + + public /**/MTRDoorLockDlRemoteProgrammingEventMask/**/(long value) { super(value); } + private /**/MTRDoorLockDlRemoteProgrammingEventMask/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlRemoteProgrammingEventMask/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlRemoteProgrammingEventMask/**/(value, mask); + } + protected /**/MTRDoorLockDlRemoteProgrammingEventMask/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlRemoteProgrammingEventMask/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlStatus.java new file mode 100644 index 000000000..be829a607 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlStatus.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockDlStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Failure(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Duplicate(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Occupied(3L), + /** + * @since Available in iOS 16.1 and later. + */ + InvalidField(133L), + /** + * @since Available in iOS 16.1 and later. + */ + ResourceExhausted(137L), + /** + * @since Available in iOS 16.1 and later. + */ + NotFound(139L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockDlStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockDlStatus/**/ valueOf(long n) { + for (/**/MTRDoorLockDlStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockDlStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlSupportedOperatingModes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlSupportedOperatingModes.java new file mode 100644 index 000000000..0842b9c99 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDlSupportedOperatingModes.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRDoorLockDlSupportedOperatingModes/**/ extends Bits*/MTRDoorLockDlSupportedOperatingModes/**/> { + /**/ + public static final MTRDoorLockDlSupportedOperatingModes None = new MTRDoorLockDlSupportedOperatingModes(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlSupportedOperatingModes Normal = new MTRDoorLockDlSupportedOperatingModes(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlSupportedOperatingModes Vacation = new MTRDoorLockDlSupportedOperatingModes(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlSupportedOperatingModes Privacy = new MTRDoorLockDlSupportedOperatingModes(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlSupportedOperatingModes NoRemoteLockUnlock = new MTRDoorLockDlSupportedOperatingModes(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockDlSupportedOperatingModes Passage = new MTRDoorLockDlSupportedOperatingModes(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockDlSupportedOperatingModes/**/[] values = _values(/**/MTRDoorLockDlSupportedOperatingModes/**/.class); + + public /**/MTRDoorLockDlSupportedOperatingModes/**/(long value) { super(value); } + private /**/MTRDoorLockDlSupportedOperatingModes/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockDlSupportedOperatingModes/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockDlSupportedOperatingModes/**/(value, mask); + } + protected /**/MTRDoorLockDlSupportedOperatingModes/**/[] _values() { + return values; + } + public static /**/MTRDoorLockDlSupportedOperatingModes/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDoorState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDoorState.java new file mode 100644 index 000000000..bd16b255b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockDoorState.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockDoorState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + DoorOpen(0L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorClosed(1L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorJammed(2L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorForcedOpen(3L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorUnspecifiedError(4L), + /** + * @since Available in iOS 16.4 and later. + */ + DoorAjar(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockDoorState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockDoorState/**/ valueOf(long n) { + for (/**/MTRDoorLockDoorState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockDoorState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockFeature.java new file mode 100644 index 000000000..f359bbc67 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockFeature.java @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRDoorLockFeature/**/ extends Bits*/MTRDoorLockFeature/**/> { + /**/ + public static final MTRDoorLockFeature None = new MTRDoorLockFeature(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature PINCredential = new MTRDoorLockFeature(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature RFIDCredential = new MTRDoorLockFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockFeature FingerCredentials = new MTRDoorLockFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockFeature Logging = new MTRDoorLockFeature(8L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature WeekDayAccessSchedules = new MTRDoorLockFeature(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockFeature DoorPositionSensor = new MTRDoorLockFeature(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockFeature FaceCredentials = new MTRDoorLockFeature(64L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature CredentialsOverTheAirAccess = new MTRDoorLockFeature(128L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature User = new MTRDoorLockFeature(256L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature Notification = new MTRDoorLockFeature(512L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRDoorLockFeature YearDayAccessSchedules = new MTRDoorLockFeature(1024L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRDoorLockFeature HolidaySchedules = new MTRDoorLockFeature(2048L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRDoorLockFeature/**/[] values = _values(/**/MTRDoorLockFeature/**/.class); + + public /**/MTRDoorLockFeature/**/(long value) { super(value); } + private /**/MTRDoorLockFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRDoorLockFeature/**/ wrap(long value, long mask) { + return new /**/MTRDoorLockFeature/**/(value, mask); + } + protected /**/MTRDoorLockFeature/**/[] _values() { + return values; + } + public static /**/MTRDoorLockFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockDataType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockDataType.java new file mode 100644 index 000000000..be5cc8cf8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockDataType.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockLockDataType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ProgrammingCode(1L), + /** + * @since Available in iOS 16.4 and later. + */ + UserIndex(2L), + /** + * @since Available in iOS 16.4 and later. + */ + WeekDaySchedule(3L), + /** + * @since Available in iOS 16.4 and later. + */ + YearDaySchedule(4L), + /** + * @since Available in iOS 16.4 and later. + */ + HolidaySchedule(5L), + /** + * @since Available in iOS 16.4 and later. + */ + PIN(6L), + /** + * @since Available in iOS 16.4 and later. + */ + RFID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + Fingerprint(8L), + /** + * @since Available in iOS 16.5 and later. + */ + FingerVein(9L), + /** + * @since Available in iOS 16.5 and later. + */ + Face(10L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockLockDataType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockLockDataType/**/ valueOf(long n) { + for (/**/MTRDoorLockLockDataType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockLockDataType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockOperationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockOperationType.java new file mode 100644 index 000000000..ff2452c8f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockLockOperationType.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockLockOperationType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Lock(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Unlock(1L), + /** + * @since Available in iOS 16.4 and later. + */ + NonAccessUserEvent(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ForcedUserEvent(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockLockOperationType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockLockOperationType/**/ valueOf(long n) { + for (/**/MTRDoorLockLockOperationType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockLockOperationType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperatingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperatingMode.java new file mode 100644 index 000000000..bfe991704 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperatingMode.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockOperatingMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Normal(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Vacation(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Privacy(2L), + /** + * @since Available in iOS 16.4 and later. + */ + NoRemoteLockUnlock(3L), + /** + * @since Available in iOS 16.4 and later. + */ + Passage(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockOperatingMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockOperatingMode/**/ valueOf(long n) { + for (/**/MTRDoorLockOperatingMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockOperatingMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationError.java new file mode 100644 index 000000000..86326ed1a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationError.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockOperationError/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidCredential(1L), + /** + * @since Available in iOS 16.4 and later. + */ + DisabledUserDenied(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Restricted(3L), + /** + * @since Available in iOS 16.4 and later. + */ + InsufficientBattery(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockOperationError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockOperationError/**/ valueOf(long n) { + for (/**/MTRDoorLockOperationError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockOperationError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationSource.java new file mode 100644 index 000000000..f80277763 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockOperationSource.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockOperationSource/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Manual(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ProprietaryRemote(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Keypad(3L), + /** + * @since Available in iOS 16.4 and later. + */ + Auto(4L), + /** + * @since Available in iOS 16.4 and later. + */ + Button(5L), + /** + * @since Available in iOS 16.4 and later. + */ + Schedule(6L), + /** + * @since Available in iOS 16.4 and later. + */ + Remote(7L), + /** + * @since Available in iOS 16.4 and later. + */ + RFID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + Biometric(9L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockOperationSource/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockOperationSource/**/ valueOf(long n) { + for (/**/MTRDoorLockOperationSource/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockOperationSource/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserStatus.java new file mode 100644 index 000000000..cae406272 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockUserStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Available(0L), + /** + * @since Available in iOS 16.1 and later. + */ + OccupiedEnabled(1L), + /** + * @since Available in iOS 16.1 and later. + */ + OccupiedDisabled(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockUserStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockUserStatus/**/ valueOf(long n) { + for (/**/MTRDoorLockUserStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockUserStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserType.java new file mode 100644 index 000000000..de4c702e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRDoorLockUserType.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRDoorLockUserType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + UnrestrictedUser(0L), + /** + * @since Available in iOS 16.1 and later. + */ + YearDayScheduleUser(1L), + /** + * @since Available in iOS 16.1 and later. + */ + WeekDayScheduleUser(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ProgrammingUser(3L), + /** + * @since Available in iOS 16.1 and later. + */ + NonAccessUser(4L), + /** + * @since Available in iOS 16.4 and later. + */ + ForcedUser(5L), + /** + * @since Available in iOS 16.4 and later. + */ + DisposableUser(6L), + /** + * @since Available in iOS 16.4 and later. + */ + ExpiringUser(7L), + /** + * @since Available in iOS 16.4 and later. + */ + ScheduleRestrictedUser(8L), + /** + * @since Available in iOS 16.4 and later. + */ + RemoteOnlyUser(9L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRDoorLockUserType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRDoorLockUserType/**/ valueOf(long n) { + for (/**/MTRDoorLockUserType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRDoorLockUserType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams.java new file mode 100644 index 000000000..082cbe460 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRElectricalMeasurementClusterGetMeasurementProfileCommandParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams.class); }/**/ + /**//**/ + /**/ + public MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams() {} + protected MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams(Handle h, long handle) { super(h, handle); } + protected MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attributeId") + public native NSNumber getAttributeId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttributeId:") + public native void setAttributeId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startTime") + public native NSNumber getStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartTime:") + public native void setStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numberOfIntervals") + public native NSNumber getNumberOfIntervals(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumberOfIntervals:") + public native void setNumberOfIntervals(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams.java new file mode 100644 index 000000000..dde5a9c6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams.class); }/**/ + /**//**/ + /**/ + public MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams() {} + protected MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams(Handle h, long handle) { super(h, handle); } + protected MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "startTime") + public native NSNumber getStartTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStartTime:") + public native void setStartTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "profileIntervalPeriod") + public native NSNumber getProfileIntervalPeriod(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setProfileIntervalPeriod:") + public native void setProfileIntervalPeriod(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numberOfIntervalsDelivered") + public native NSNumber getNumberOfIntervalsDelivered(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumberOfIntervalsDelivered:") + public native void setNumberOfIntervalsDelivered(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attributeId") + public native NSNumber getAttributeId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttributeId:") + public native void setAttributeId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "intervals") + public native NSArray getIntervals(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIntervals:") + public native void setIntervals(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoCommandParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoCommandParams.java new file mode 100644 index 000000000..5eb0ce011 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoCommandParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRElectricalMeasurementClusterGetProfileInfoCommandParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRElectricalMeasurementClusterGetProfileInfoCommandParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRElectricalMeasurementClusterGetProfileInfoCommandParams.class); }/**/ + /**//**/ + /**/ + public MTRElectricalMeasurementClusterGetProfileInfoCommandParams() {} + protected MTRElectricalMeasurementClusterGetProfileInfoCommandParams(Handle h, long handle) { super(h, handle); } + protected MTRElectricalMeasurementClusterGetProfileInfoCommandParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams.java new file mode 100644 index 000000000..8b62a46e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams.class); }/**/ + /**//**/ + /**/ + public MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams() {} + protected MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams(Handle h, long handle) { super(h, handle); } + protected MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "profileCount") + public native NSNumber getProfileCount(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setProfileCount:") + public native void setProfileCount(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "profileIntervalPeriod") + public native NSNumber getProfileIntervalPeriod(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setProfileIntervalPeriod:") + public native void setProfileIntervalPeriod(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "maxNumberOfIntervals") + public native NSNumber getMaxNumberOfIntervals(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMaxNumberOfIntervals:") + public native void setMaxNumberOfIntervals(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "listOfAttributes") + public native NSArray getListOfAttributes(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setListOfAttributes:") + public native void setListOfAttributes(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRErrorCode.java new file mode 100644 index 000000000..e09e2fe18 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRErrorCode.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("Matter")/**/ +public enum /**/MTRErrorCode/**/ implements NSErrorCode { + /**/ + GeneralError(1L), + InvalidStringLength(2L), + InvalidIntegerValue(3L), + InvalidArgument(4L), + InvalidMessageLength(5L), + InvalidState(6L), + WrongAddressType(7L), + IntegrityCheckFailed(8L), + Timeout(9L), + BufferTooSmall(10L), + FabricExists(11L), + /** + * @since Available in iOS 17.0 and later. + */ + UnknownSchema(12L), + /** + * @since Available in iOS 17.0 and later. + */ + SchemaMismatch(13L), + /** + * @since Available in iOS 17.0 and later. + */ + TLVDecodeFailed(14L); + /**/ + + /**/static { Bro.bind(MTRErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="MTRErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/MTRErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRErrorCode/**/ valueOf(long n) { + for (/**/MTRErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/MTRErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/MTRErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsClusterResetCountsParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsClusterResetCountsParams.java new file mode 100644 index 000000000..1719a8b40 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsClusterResetCountsParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTREthernetNetworkDiagnosticsClusterResetCountsParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTREthernetNetworkDiagnosticsClusterResetCountsParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTREthernetNetworkDiagnosticsClusterResetCountsParams.class); }/**/ + /**//**/ + /**/ + public MTREthernetNetworkDiagnosticsClusterResetCountsParams() {} + protected MTREthernetNetworkDiagnosticsClusterResetCountsParams(Handle h, long handle) { super(h, handle); } + protected MTREthernetNetworkDiagnosticsClusterResetCountsParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsFeature.java new file mode 100644 index 000000000..33ce5b80c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsFeature.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +public final class /**/MTREthernetNetworkDiagnosticsFeature/**/ extends Bits*/MTREthernetNetworkDiagnosticsFeature/**/> { + /**/ + public static final MTREthernetNetworkDiagnosticsFeature None = new MTREthernetNetworkDiagnosticsFeature(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTREthernetNetworkDiagnosticsFeature PacketCounts = new MTREthernetNetworkDiagnosticsFeature(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTREthernetNetworkDiagnosticsFeature ErrorCounts = new MTREthernetNetworkDiagnosticsFeature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTREthernetNetworkDiagnosticsFeature/**/[] values = _values(/**/MTREthernetNetworkDiagnosticsFeature/**/.class); + + public /**/MTREthernetNetworkDiagnosticsFeature/**/(long value) { super(value); } + private /**/MTREthernetNetworkDiagnosticsFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTREthernetNetworkDiagnosticsFeature/**/ wrap(long value, long mask) { + return new /**/MTREthernetNetworkDiagnosticsFeature/**/(value, mask); + } + protected /**/MTREthernetNetworkDiagnosticsFeature/**/[] _values() { + return values; + } + public static /**/MTREthernetNetworkDiagnosticsFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsPHYRate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsPHYRate.java new file mode 100644 index 000000000..f39924ca4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREthernetNetworkDiagnosticsPHYRate.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTREthernetNetworkDiagnosticsPHYRate/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Rate10M(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate100M(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate1G(2L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate25G(3L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate5G(4L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate10G(5L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate40G(6L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate100G(7L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate200G(8L), + /** + * @since Available in iOS 16.4 and later. + */ + Rate400G(9L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTREthernetNetworkDiagnosticsPHYRate/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTREthernetNetworkDiagnosticsPHYRate/**/ valueOf(long n) { + for (/**/MTREthernetNetworkDiagnosticsPHYRate/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTREthernetNetworkDiagnosticsPHYRate/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventIDType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventIDType.java new file mode 100644 index 000000000..58c2c10fc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventIDType.java @@ -0,0 +1,301 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/MTREventIDType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterAccessControlEventAccessControlEntryChangedID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterAccessControlEventAccessControlExtensionChangedID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterActionsEventStateChangedID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterActionsEventActionFailedID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBasicInformationEventStartUpID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBasicInformationEventShutDownID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBasicInformationEventLeaveID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBasicInformationEventReachableChangedID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterOTASoftwareUpdateRequestorEventStateTransitionID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterOTASoftwareUpdateRequestorEventVersionAppliedID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterOTASoftwareUpdateRequestorEventDownloadErrorID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPowerSourceEventWiredFaultChangeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPowerSourceEventBatFaultChangeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPowerSourceEventBatChargeFaultChangeID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterGeneralDiagnosticsEventHardwareFaultChangeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterGeneralDiagnosticsEventRadioFaultChangeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterGeneralDiagnosticsEventNetworkFaultChangeID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterGeneralDiagnosticsEventBootReasonID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSoftwareDiagnosticsEventSoftwareFaultID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterThreadNetworkDiagnosticsEventConnectionStatusID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterThreadNetworkDiagnosticsEventNetworkFaultChangeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterWiFiNetworkDiagnosticsEventDisconnectionID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterWiFiNetworkDiagnosticsEventAssociationFailureID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterWiFiNetworkDiagnosticsEventConnectionStatusID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBridgedDeviceBasicInformationEventStartUpID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBridgedDeviceBasicInformationEventShutDownID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBridgedDeviceBasicInformationEventLeaveID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBridgedDeviceBasicInformationEventReachableChangedID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventSwitchLatchedID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventInitialPressID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventLongPressID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventShortReleaseID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventLongReleaseID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventMultiPressOngoingID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterSwitchEventMultiPressCompleteID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterBooleanStateEventStateChangeID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterDoorLockEventDoorLockAlarmID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterDoorLockEventDoorStateChangeID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterDoorLockEventLockOperationID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterDoorLockEventLockOperationErrorID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterDoorLockEventLockUserChangeID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventSupplyVoltageLowID(0L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventSupplyVoltageHighID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventPowerMissingPhaseID(2L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventSystemPressureLowID(3L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventSystemPressureHighID(4L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventDryRunningID(5L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventMotorTemperatureHighID(6L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventPumpMotorFatalFailureID(7L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventElectronicTemperatureHighID(8L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventPumpBlockedID(9L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventSensorFailureID(10L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventElectronicNonFatalFailureID(11L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventElectronicFatalFailureID(12L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventGeneralFaultID(13L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventLeakageID(14L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventAirDetectionID(15L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterPumpConfigurationAndControlEventTurbineOperationID(16L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterUnitTestingEventTestEventID(1L), + /** + * @since Available in iOS 16.4 and later. + */ + EventIDTypeClusterUnitTestingEventTestFabricScopedEventID(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTREventIDType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTREventIDType/**/ valueOf(long n) { + for (/**/MTREventIDType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTREventIDType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPath.java new file mode 100644 index 000000000..5f8f0bfd9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPath.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTREventPath/**/ + extends /**/MTRClusterPath/**/ + /**//**/ { + + /**/public static class MTREventPathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTREventPath.class); }/**/ + /**//**/ + /**/ + protected MTREventPath() {} + protected MTREventPath(Handle h, long handle) { super(h, handle); } + protected MTREventPath(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + public MTREventPath(NSNumber endpointID, NSNumber clusterID, NSNumber eventID) { super((Handle) null, create(endpointID, clusterID, eventID)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "event") + public native NSNumber getEvent(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "eventPathWithEndpointID:clusterID:eventID:") + protected static native @Pointer long create(NSNumber endpointID, NSNumber clusterID, NSNumber eventID); + @Method(selector = "clusterPathWithEndpointID:clusterID:") + public static native MTRClusterPath createClusterPath(NSNumber endpointID, NSNumber clusterID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPriority.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPriority.java new file mode 100644 index 000000000..4dee81abf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventPriority.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTREventPriority/**/ implements ValuedEnum { + /**/ + Debug(0L), + Info(1L), + Critical(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTREventPriority/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTREventPriority/**/ valueOf(long n) { + for (/**/MTREventPriority/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTREventPriority/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventReport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventReport.java new file mode 100644 index 000000000..ea3f4626f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventReport.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTREventReport/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTREventReportPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTREventReport.class); }/**/ + /**//**/ + /**/ + public MTREventReport() {} + protected MTREventReport(Handle h, long handle) { super(h, handle); } + protected MTREventReport(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTREventReport(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + @Property(selector = "path") + public native MTREventPath getPath(); + @Property(selector = "eventNumber") + public native NSNumber getEventNumber(); + @Property(selector = "priority") + public native NSNumber getPriority(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "eventTimeType") + public native MTREventTimeType getEventTimeType(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "systemUpTime") + public native double getSystemUpTime(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "timestampDate") + public native NSDate getTimestampDate(); + @Property(selector = "value") + public native NSObject getValue(); + @Property(selector = "error") + public native NSError getError(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventRequestPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventRequestPath.java new file mode 100644 index 000000000..7141748e3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventRequestPath.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTREventRequestPath/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTREventRequestPathPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTREventRequestPath.class); }/**/ + /**//**/ + /**/ + public MTREventRequestPath() {} + protected MTREventRequestPath(Handle h, long handle) { super(h, handle); } + protected MTREventRequestPath(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + public MTREventRequestPath(NSNumber endpointID, NSNumber clusterID, NSNumber eventID) { super((Handle) null, create(endpointID, clusterID, eventID)); retain(getHandle()); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "cluster") + public native NSNumber getCluster(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "event") + public native NSNumber getEvent(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "requestPathWithEndpointID:clusterID:eventID:") + protected static native @Pointer long create(NSNumber endpointID, NSNumber clusterID, NSNumber eventID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventTimeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventTimeType.java new file mode 100644 index 000000000..07bcf0efe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTREventTimeType.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTREventTimeType/**/ implements ValuedEnum { + /**/ + SystemUpTime(0L), + TimestampDate(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTREventTimeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTREventTimeType/**/ valueOf(long n) { + for (/**/MTREventTimeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTREventTimeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFabricInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFabricInfo.java new file mode 100644 index 000000000..33fea8c35 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFabricInfo.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRFabricInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRFabricInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRFabricInfo.class); }/**/ + /**//**/ + /**/ + protected MTRFabricInfo() {} + protected MTRFabricInfo(Handle h, long handle) { super(h, handle); } + protected MTRFabricInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "rootPublicKey") + public native NSData getRootPublicKey(); + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + @Property(selector = "fabricID") + public native NSNumber getFabricID(); + @Property(selector = "nodeID") + public native NSNumber getNodeID(); + @Property(selector = "label") + public native String getLabel(); + @Property(selector = "rootCertificate") + public native NSData getRootCertificate(); + @Property(selector = "rootCertificateTLV") + public native NSData getRootCertificateTLV(); + @Property(selector = "intermediateCertificate") + public native NSData getIntermediateCertificate(); + @Property(selector = "intermediateCertificateTLV") + public native NSData getIntermediateCertificateTLV(); + @Property(selector = "operationalCertificate") + public native NSData getOperationalCertificate(); + @Property(selector = "operationalCertificateTLV") + public native NSData getOperationalCertificateTLV(); + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanMode.java new file mode 100644 index 000000000..fdbdac2b2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanMode.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRFanControlFanMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Off(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Low(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Medium(2L), + /** + * @since Available in iOS 17.0 and later. + */ + High(3L), + /** + * @since Available in iOS 17.0 and later. + */ + On(4L), + /** + * @since Available in iOS 17.0 and later. + */ + Auto(5L), + /** + * @since Available in iOS 17.0 and later. + */ + Smart(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRFanControlFanMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRFanControlFanMode/**/ valueOf(long n) { + for (/**/MTRFanControlFanMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRFanControlFanMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanModeSequence.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanModeSequence.java new file mode 100644 index 000000000..3bd27affe --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFanModeSequence.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRFanControlFanModeSequence/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + OffLowMedHigh(0L), + /** + * @since Available in iOS 17.0 and later. + */ + OffLowHigh(1L), + /** + * @since Available in iOS 17.0 and later. + */ + OffLowMedHighAuto(2L), + /** + * @since Available in iOS 17.0 and later. + */ + OffLowHighAuto(3L), + /** + * @since Available in iOS 17.0 and later. + */ + OffOnAuto(4L), + /** + * @since Available in iOS 17.0 and later. + */ + OffOn(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRFanControlFanModeSequence/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRFanControlFanModeSequence/**/ valueOf(long n) { + for (/**/MTRFanControlFanModeSequence/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRFanControlFanModeSequence/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFeature.java new file mode 100644 index 000000000..493e8a987 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlFeature.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRFanControlFeature/**/ extends Bits*/MTRFanControlFeature/**/> { + /**/ + public static final MTRFanControlFeature None = new MTRFanControlFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRFanControlFeature MultiSpeed = new MTRFanControlFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRFanControlFeature Auto = new MTRFanControlFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRFanControlFeature Rocking = new MTRFanControlFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRFanControlFeature Wind = new MTRFanControlFeature(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRFanControlFeature/**/[] values = _values(/**/MTRFanControlFeature/**/.class); + + public /**/MTRFanControlFeature/**/(long value) { super(value); } + private /**/MTRFanControlFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRFanControlFeature/**/ wrap(long value, long mask) { + return new /**/MTRFanControlFeature/**/(value, mask); + } + protected /**/MTRFanControlFeature/**/[] _values() { + return values; + } + public static /**/MTRFanControlFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlRockBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlRockBitmap.java new file mode 100644 index 000000000..3256aac71 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlRockBitmap.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRFanControlRockBitmap/**/ extends Bits*/MTRFanControlRockBitmap/**/> { + /**/ + public static final MTRFanControlRockBitmap None = new MTRFanControlRockBitmap(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRFanControlRockBitmap RockLeftRight = new MTRFanControlRockBitmap(1L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRFanControlRockBitmap RockUpDown = new MTRFanControlRockBitmap(2L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRFanControlRockBitmap RockRound = new MTRFanControlRockBitmap(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRFanControlRockBitmap/**/[] values = _values(/**/MTRFanControlRockBitmap/**/.class); + + public /**/MTRFanControlRockBitmap/**/(long value) { super(value); } + private /**/MTRFanControlRockBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRFanControlRockBitmap/**/ wrap(long value, long mask) { + return new /**/MTRFanControlRockBitmap/**/(value, mask); + } + protected /**/MTRFanControlRockBitmap/**/[] _values() { + return values; + } + public static /**/MTRFanControlRockBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlWindBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlWindBitmap.java new file mode 100644 index 000000000..ab0c09d12 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFanControlWindBitmap.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRFanControlWindBitmap/**/ extends Bits*/MTRFanControlWindBitmap/**/> { + /**/ + public static final MTRFanControlWindBitmap None = new MTRFanControlWindBitmap(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRFanControlWindBitmap SleepWind = new MTRFanControlWindBitmap(1L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRFanControlWindBitmap NaturalWind = new MTRFanControlWindBitmap(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRFanControlWindBitmap/**/[] values = _values(/**/MTRFanControlWindBitmap/**/.class); + + public /**/MTRFanControlWindBitmap/**/(long value) { super(value); } + private /**/MTRFanControlWindBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRFanControlWindBitmap/**/ wrap(long value, long mask) { + return new /**/MTRFanControlWindBitmap/**/(value, mask); + } + protected /**/MTRFanControlWindBitmap/**/[] _values() { + return values; + } + public static /**/MTRFanControlWindBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailAtFaultParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailAtFaultParams.java new file mode 100644 index 000000000..7fa66f85d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailAtFaultParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRFaultInjectionClusterFailAtFaultParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRFaultInjectionClusterFailAtFaultParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRFaultInjectionClusterFailAtFaultParams.class); }/**/ + /**//**/ + /**/ + public MTRFaultInjectionClusterFailAtFaultParams() {} + protected MTRFaultInjectionClusterFailAtFaultParams(Handle h, long handle) { super(h, handle); } + protected MTRFaultInjectionClusterFailAtFaultParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "id") + public native NSNumber getId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setId:") + public native void setId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numCallsToSkip") + public native NSNumber getNumCallsToSkip(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumCallsToSkip:") + public native void setNumCallsToSkip(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numCallsToFail") + public native NSNumber getNumCallsToFail(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumCallsToFail:") + public native void setNumCallsToFail(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "takeMutex") + public native NSNumber getTakeMutex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTakeMutex:") + public native void setTakeMutex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailRandomlyAtFaultParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailRandomlyAtFaultParams.java new file mode 100644 index 000000000..992bb48c5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionClusterFailRandomlyAtFaultParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRFaultInjectionClusterFailRandomlyAtFaultParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRFaultInjectionClusterFailRandomlyAtFaultParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRFaultInjectionClusterFailRandomlyAtFaultParams.class); }/**/ + /**//**/ + /**/ + public MTRFaultInjectionClusterFailRandomlyAtFaultParams() {} + protected MTRFaultInjectionClusterFailRandomlyAtFaultParams(Handle h, long handle) { super(h, handle); } + protected MTRFaultInjectionClusterFailRandomlyAtFaultParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "id") + public native NSNumber getId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setId:") + public native void setId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "percentage") + public native NSNumber getPercentage(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPercentage:") + public native void setPercentage(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionFaultType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionFaultType.java new file mode 100644 index 000000000..555935745 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFaultInjectionFaultType.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRFaultInjectionFaultType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + SystemFault(1L), + /** + * @since Available in iOS 16.1 and later. + */ + InetFault(2L), + /** + * @since Available in iOS 16.1 and later. + */ + ChipFault(3L), + /** + * @since Available in iOS 16.1 and later. + */ + CertFault(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRFaultInjectionFaultType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRFaultInjectionFaultType/**/ valueOf(long n) { + for (/**/MTRFaultInjectionFaultType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRFaultInjectionFaultType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFixedLabelClusterLabelStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFixedLabelClusterLabelStruct.java new file mode 100644 index 000000000..956c6b45b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRFixedLabelClusterLabelStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRFixedLabelClusterLabelStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRFixedLabelClusterLabelStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRFixedLabelClusterLabelStruct.class); }/**/ + /**//**/ + /**/ + public MTRFixedLabelClusterLabelStruct() {} + protected MTRFixedLabelClusterLabelStruct(Handle h, long handle) { super(h, handle); } + protected MTRFixedLabelClusterLabelStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "label") + public native String getLabel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLabel:") + public native void setLabel(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "value") + public native String getValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setValue:") + public native void setValue(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeParams.java new file mode 100644 index 000000000..a8c853183 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterArmFailSafeParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterArmFailSafeParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterArmFailSafeParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterArmFailSafeParams() {} + protected MTRGeneralCommissioningClusterArmFailSafeParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterArmFailSafeParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "expiryLengthSeconds") + public native NSNumber getExpiryLengthSeconds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExpiryLengthSeconds:") + public native void setExpiryLengthSeconds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeResponseParams.java new file mode 100644 index 000000000..210a236a8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterArmFailSafeResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterArmFailSafeResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterArmFailSafeResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterArmFailSafeResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterArmFailSafeResponseParams() {} + protected MTRGeneralCommissioningClusterArmFailSafeResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterArmFailSafeResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGeneralCommissioningClusterArmFailSafeResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "errorCode") + public native NSNumber getErrorCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setErrorCode:") + public native void setErrorCode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterBasicCommissioningInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterBasicCommissioningInfo.java new file mode 100644 index 000000000..b7d451cec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterBasicCommissioningInfo.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterBasicCommissioningInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterBasicCommissioningInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterBasicCommissioningInfo.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterBasicCommissioningInfo() {} + protected MTRGeneralCommissioningClusterBasicCommissioningInfo(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterBasicCommissioningInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "failSafeExpiryLengthSeconds") + public native NSNumber getFailSafeExpiryLengthSeconds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFailSafeExpiryLengthSeconds:") + public native void setFailSafeExpiryLengthSeconds(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "maxCumulativeFailsafeSeconds") + public native NSNumber getMaxCumulativeFailsafeSeconds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMaxCumulativeFailsafeSeconds:") + public native void setMaxCumulativeFailsafeSeconds(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteParams.java new file mode 100644 index 000000000..0ae64ab02 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterCommissioningCompleteParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterCommissioningCompleteParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterCommissioningCompleteParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterCommissioningCompleteParams() {} + protected MTRGeneralCommissioningClusterCommissioningCompleteParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterCommissioningCompleteParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteResponseParams.java new file mode 100644 index 000000000..1de0b941f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterCommissioningCompleteResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterCommissioningCompleteResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterCommissioningCompleteResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterCommissioningCompleteResponseParams() {} + protected MTRGeneralCommissioningClusterCommissioningCompleteResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterCommissioningCompleteResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGeneralCommissioningClusterCommissioningCompleteResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "errorCode") + public native NSNumber getErrorCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setErrorCode:") + public native void setErrorCode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigParams.java new file mode 100644 index 000000000..ae08a5849 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterSetRegulatoryConfigParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterSetRegulatoryConfigParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterSetRegulatoryConfigParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterSetRegulatoryConfigParams() {} + protected MTRGeneralCommissioningClusterSetRegulatoryConfigParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterSetRegulatoryConfigParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewRegulatoryConfig") + public native NSNumber getNewRegulatoryConfig(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewRegulatoryConfig:") + public native void setNewRegulatoryConfig(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "countryCode") + public native String getCountryCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCountryCode:") + public native void setCountryCode(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams.java new file mode 100644 index 000000000..a219c69b5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams() {} + protected MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "errorCode") + public native NSNumber getErrorCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setErrorCode:") + public native void setErrorCode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningCommissioningError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningCommissioningError.java new file mode 100644 index 000000000..c0e40041a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningCommissioningError.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralCommissioningCommissioningError/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + OK(0L), + /** + * @since Available in iOS 16.1 and later. + */ + ValueOutsideRange(1L), + /** + * @since Available in iOS 16.1 and later. + */ + InvalidAuthentication(2L), + /** + * @since Available in iOS 16.1 and later. + */ + NoFailSafe(3L), + /** + * @since Available in iOS 16.1 and later. + */ + BusyWithOtherAdmin(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralCommissioningCommissioningError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralCommissioningCommissioningError/**/ valueOf(long n) { + for (/**/MTRGeneralCommissioningCommissioningError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralCommissioningCommissioningError/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningRegulatoryLocationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningRegulatoryLocationType.java new file mode 100644 index 000000000..b77919445 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralCommissioningRegulatoryLocationType.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralCommissioningRegulatoryLocationType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Indoor(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Outdoor(1L), + /** + * @since Available in iOS 16.1 and later. + */ + IndoorOutdoor(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralCommissioningRegulatoryLocationType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralCommissioningRegulatoryLocationType/**/ valueOf(long n) { + for (/**/MTRGeneralCommissioningRegulatoryLocationType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralCommissioningRegulatoryLocationType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsBootReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsBootReason.java new file mode 100644 index 000000000..2a064a01a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsBootReason.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralDiagnosticsBootReason/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + PowerOnReboot(1L), + /** + * @since Available in iOS 16.4 and later. + */ + BrownOutReset(2L), + /** + * @since Available in iOS 16.4 and later. + */ + SoftwareWatchdogReset(3L), + /** + * @since Available in iOS 16.4 and later. + */ + HardwareWatchdogReset(4L), + /** + * @since Available in iOS 16.4 and later. + */ + SoftwareUpdateCompleted(5L), + /** + * @since Available in iOS 16.4 and later. + */ + SoftwareReset(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralDiagnosticsBootReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralDiagnosticsBootReason/**/ valueOf(long n) { + for (/**/MTRGeneralDiagnosticsBootReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralDiagnosticsBootReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterBootReasonEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterBootReasonEvent.java new file mode 100644 index 000000000..53f71e977 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterBootReasonEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterBootReasonEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterBootReasonEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterBootReasonEvent.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterBootReasonEvent() {} + protected MTRGeneralDiagnosticsClusterBootReasonEvent(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterBootReasonEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "bootReason") + public native NSNumber getBootReason(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBootReason:") + public native void setBootReason(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent.java new file mode 100644 index 000000000..932cdee8d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterHardwareFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent() {} + protected MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent.java new file mode 100644 index 000000000..db97e5b32 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterNetworkFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent() {} + protected MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkInterface.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkInterface.java new file mode 100644 index 000000000..807436604 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterNetworkInterface.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterNetworkInterface/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterNetworkInterfacePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterNetworkInterface.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterNetworkInterface() {} + protected MTRGeneralDiagnosticsClusterNetworkInterface(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterNetworkInterface(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "isOperational") + public native NSNumber getIsOperational(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIsOperational:") + public native void setIsOperational(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "offPremiseServicesReachableIPv4") + public native NSNumber getOffPremiseServicesReachableIPv4(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOffPremiseServicesReachableIPv4:") + public native void setOffPremiseServicesReachableIPv4(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "offPremiseServicesReachableIPv6") + public native NSNumber getOffPremiseServicesReachableIPv6(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOffPremiseServicesReachableIPv6:") + public native void setOffPremiseServicesReachableIPv6(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "hardwareAddress") + public native NSData getHardwareAddress(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setHardwareAddress:") + public native void setHardwareAddress(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "iPv4Addresses") + public native NSArray getIPv4Addresses(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIPv4Addresses:") + public native void setIPv4Addresses(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "iPv6Addresses") + public native NSArray getIPv6Addresses(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIPv6Addresses:") + public native void setIPv6Addresses(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "type") + public native NSNumber getType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setType:") + public native void setType(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterRadioFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterRadioFaultChangeEvent.java new file mode 100644 index 000000000..eafb2981a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterRadioFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterRadioFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterRadioFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterRadioFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterRadioFaultChangeEvent() {} + protected MTRGeneralDiagnosticsClusterRadioFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterRadioFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterTestEventTriggerParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterTestEventTriggerParams.java new file mode 100644 index 000000000..56c632909 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsClusterTestEventTriggerParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGeneralDiagnosticsClusterTestEventTriggerParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGeneralDiagnosticsClusterTestEventTriggerParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGeneralDiagnosticsClusterTestEventTriggerParams.class); }/**/ + /**//**/ + /**/ + public MTRGeneralDiagnosticsClusterTestEventTriggerParams() {} + protected MTRGeneralDiagnosticsClusterTestEventTriggerParams(Handle h, long handle) { super(h, handle); } + protected MTRGeneralDiagnosticsClusterTestEventTriggerParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "enableKey") + public native NSData getEnableKey(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEnableKey:") + public native void setEnableKey(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "eventTrigger") + public native NSNumber getEventTrigger(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEventTrigger:") + public native void setEventTrigger(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsHardwareFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsHardwareFault.java new file mode 100644 index 000000000..f9957336a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsHardwareFault.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralDiagnosticsHardwareFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Radio(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Sensor(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ResettableOverTemp(3L), + /** + * @since Available in iOS 16.4 and later. + */ + NonResettableOverTemp(4L), + /** + * @since Available in iOS 16.4 and later. + */ + PowerSource(5L), + /** + * @since Available in iOS 16.4 and later. + */ + VisualDisplayFault(6L), + /** + * @since Available in iOS 16.4 and later. + */ + AudioOutputFault(7L), + /** + * @since Available in iOS 16.4 and later. + */ + UserInterfaceFault(8L), + /** + * @since Available in iOS 16.4 and later. + */ + NonVolatileMemoryError(9L), + /** + * @since Available in iOS 16.4 and later. + */ + TamperDetected(10L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralDiagnosticsHardwareFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralDiagnosticsHardwareFault/**/ valueOf(long n) { + for (/**/MTRGeneralDiagnosticsHardwareFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralDiagnosticsHardwareFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsInterfaceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsInterfaceType.java new file mode 100644 index 000000000..9c0b5d450 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsInterfaceType.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralDiagnosticsInterfaceType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + WiFi(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Ethernet(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Cellular(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Thread(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralDiagnosticsInterfaceType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralDiagnosticsInterfaceType/**/ valueOf(long n) { + for (/**/MTRGeneralDiagnosticsInterfaceType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralDiagnosticsInterfaceType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsNetworkFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsNetworkFault.java new file mode 100644 index 000000000..adc4dacbd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsNetworkFault.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralDiagnosticsNetworkFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + HardwareFailure(1L), + /** + * @since Available in iOS 16.4 and later. + */ + NetworkJammed(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ConnectionFailed(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralDiagnosticsNetworkFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralDiagnosticsNetworkFault/**/ valueOf(long n) { + for (/**/MTRGeneralDiagnosticsNetworkFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralDiagnosticsNetworkFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsRadioFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsRadioFault.java new file mode 100644 index 000000000..f3817f3f6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGeneralDiagnosticsRadioFault.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGeneralDiagnosticsRadioFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + WiFiFault(1L), + /** + * @since Available in iOS 16.4 and later. + */ + CellularFault(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ThreadFault(3L), + /** + * @since Available in iOS 16.4 and later. + */ + NFCFault(4L), + /** + * @since Available in iOS 16.4 and later. + */ + BLEFault(5L), + /** + * @since Available in iOS 16.4 and later. + */ + EthernetFault(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGeneralDiagnosticsRadioFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGeneralDiagnosticsRadioFault/**/ valueOf(long n) { + for (/**/MTRGeneralDiagnosticsRadioFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGeneralDiagnosticsRadioFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupInfoMapStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupInfoMapStruct.java new file mode 100644 index 000000000..c5c93d4b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupInfoMapStruct.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterGroupInfoMapStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterGroupInfoMapStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterGroupInfoMapStruct.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterGroupInfoMapStruct() {} + protected MTRGroupKeyManagementClusterGroupInfoMapStruct(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterGroupInfoMapStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupId") + public native NSNumber getGroupId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupId:") + public native void setGroupId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "endpoints") + public native NSArray getEndpoints(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEndpoints:") + public native void setEndpoints(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupName") + public native String getGroupName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupName:") + public native void setGroupName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeyMapStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeyMapStruct.java new file mode 100644 index 000000000..753d395a3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeyMapStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterGroupKeyMapStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterGroupKeyMapStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterGroupKeyMapStruct.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterGroupKeyMapStruct() {} + protected MTRGroupKeyManagementClusterGroupKeyMapStruct(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterGroupKeyMapStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupId") + public native NSNumber getGroupId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupId:") + public native void setGroupId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySetID") + public native NSNumber getGroupKeySetID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySetID:") + public native void setGroupKeySetID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeySetStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeySetStruct.java new file mode 100644 index 000000000..dbff6da7a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterGroupKeySetStruct.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterGroupKeySetStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterGroupKeySetStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterGroupKeySetStruct.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterGroupKeySetStruct() {} + protected MTRGroupKeyManagementClusterGroupKeySetStruct(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterGroupKeySetStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySetID") + public native NSNumber getGroupKeySetID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySetID:") + public native void setGroupKeySetID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySecurityPolicy") + public native NSNumber getGroupKeySecurityPolicy(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySecurityPolicy:") + public native void setGroupKeySecurityPolicy(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochKey0") + public native NSData getEpochKey0(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochKey0:") + public native void setEpochKey0(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochStartTime0") + public native NSNumber getEpochStartTime0(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochStartTime0:") + public native void setEpochStartTime0(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochKey1") + public native NSData getEpochKey1(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochKey1:") + public native void setEpochKey1(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochStartTime1") + public native NSNumber getEpochStartTime1(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochStartTime1:") + public native void setEpochStartTime1(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochKey2") + public native NSData getEpochKey2(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochKey2:") + public native void setEpochKey2(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "epochStartTime2") + public native NSNumber getEpochStartTime2(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEpochStartTime2:") + public native void setEpochStartTime2(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesParams.java new file mode 100644 index 000000000..e3807f361 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetReadAllIndicesParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetReadAllIndicesParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetReadAllIndicesParams() {} + protected MTRGroupKeyManagementClusterKeySetReadAllIndicesParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetReadAllIndicesParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams.java new file mode 100644 index 000000000..5dc4b7202 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams() {} + protected MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySetIDs") + public native NSArray getGroupKeySetIDs(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySetIDs:") + public native void setGroupKeySetIDs(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadParams.java new file mode 100644 index 000000000..38b98e77e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetReadParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetReadParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetReadParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetReadParams() {} + protected MTRGroupKeyManagementClusterKeySetReadParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetReadParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySetID") + public native NSNumber getGroupKeySetID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySetID:") + public native void setGroupKeySetID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadResponseParams.java new file mode 100644 index 000000000..741e75092 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetReadResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetReadResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetReadResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetReadResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetReadResponseParams() {} + protected MTRGroupKeyManagementClusterKeySetReadResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetReadResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupKeyManagementClusterKeySetReadResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySet") + public native MTRGroupKeyManagementClusterGroupKeySetStruct getGroupKeySet(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySet:") + public native void setGroupKeySet(MTRGroupKeyManagementClusterGroupKeySetStruct v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetRemoveParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetRemoveParams.java new file mode 100644 index 000000000..efc299b74 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetRemoveParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetRemoveParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetRemoveParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetRemoveParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetRemoveParams() {} + protected MTRGroupKeyManagementClusterKeySetRemoveParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetRemoveParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySetID") + public native NSNumber getGroupKeySetID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySetID:") + public native void setGroupKeySetID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetWriteParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetWriteParams.java new file mode 100644 index 000000000..c57ce8fae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementClusterKeySetWriteParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupKeyManagementClusterKeySetWriteParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupKeyManagementClusterKeySetWriteParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupKeyManagementClusterKeySetWriteParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupKeyManagementClusterKeySetWriteParams() {} + protected MTRGroupKeyManagementClusterKeySetWriteParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupKeyManagementClusterKeySetWriteParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupKeySet") + public native MTRGroupKeyManagementClusterGroupKeySetStruct getGroupKeySet(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupKeySet:") + public native void setGroupKeySet(MTRGroupKeyManagementClusterGroupKeySetStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementGroupKeySecurityPolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementGroupKeySecurityPolicy.java new file mode 100644 index 000000000..a12adff9c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupKeyManagementGroupKeySecurityPolicy.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRGroupKeyManagementGroupKeySecurityPolicy/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + TrustFirst(0L), + /** + * @since Available in iOS 16.1 and later. + */ + CacheAndSync(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRGroupKeyManagementGroupKeySecurityPolicy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRGroupKeyManagementGroupKeySecurityPolicy/**/ valueOf(long n) { + for (/**/MTRGroupKeyManagementGroupKeySecurityPolicy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRGroupKeyManagementGroupKeySecurityPolicy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupIfIdentifyingParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupIfIdentifyingParams.java new file mode 100644 index 000000000..83f12e7e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupIfIdentifyingParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterAddGroupIfIdentifyingParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterAddGroupIfIdentifyingParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterAddGroupIfIdentifyingParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterAddGroupIfIdentifyingParams() {} + protected MTRGroupsClusterAddGroupIfIdentifyingParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterAddGroupIfIdentifyingParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupName") + public native String getGroupName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupName:") + public native void setGroupName(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupParams.java new file mode 100644 index 000000000..5a549310d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterAddGroupParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterAddGroupParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterAddGroupParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterAddGroupParams() {} + protected MTRGroupsClusterAddGroupParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterAddGroupParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupName") + public native String getGroupName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupName:") + public native void setGroupName(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupResponseParams.java new file mode 100644 index 000000000..d227d74a1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterAddGroupResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterAddGroupResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterAddGroupResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterAddGroupResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterAddGroupResponseParams() {} + protected MTRGroupsClusterAddGroupResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterAddGroupResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupsClusterAddGroupResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipParams.java new file mode 100644 index 000000000..b1a0169b7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterGetGroupMembershipParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterGetGroupMembershipParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterGetGroupMembershipParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterGetGroupMembershipParams() {} + protected MTRGroupsClusterGetGroupMembershipParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterGetGroupMembershipParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupList") + public native NSArray getGroupList(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupList:") + public native void setGroupList(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipResponseParams.java new file mode 100644 index 000000000..ec4f6310c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterGetGroupMembershipResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterGetGroupMembershipResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterGetGroupMembershipResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterGetGroupMembershipResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterGetGroupMembershipResponseParams() {} + protected MTRGroupsClusterGetGroupMembershipResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterGetGroupMembershipResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupsClusterGetGroupMembershipResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "capacity") + public native NSNumber getCapacity(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCapacity:") + public native void setCapacity(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupList") + public native NSArray getGroupList(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupList:") + public native void setGroupList(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveAllGroupsParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveAllGroupsParams.java new file mode 100644 index 000000000..129cd2b47 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveAllGroupsParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterRemoveAllGroupsParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterRemoveAllGroupsParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterRemoveAllGroupsParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterRemoveAllGroupsParams() {} + protected MTRGroupsClusterRemoveAllGroupsParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterRemoveAllGroupsParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupParams.java new file mode 100644 index 000000000..e98c92fbb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterRemoveGroupParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterRemoveGroupParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterRemoveGroupParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterRemoveGroupParams() {} + protected MTRGroupsClusterRemoveGroupParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterRemoveGroupParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupResponseParams.java new file mode 100644 index 000000000..85aa5cfb7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterRemoveGroupResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterRemoveGroupResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterRemoveGroupResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterRemoveGroupResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterRemoveGroupResponseParams() {} + protected MTRGroupsClusterRemoveGroupResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterRemoveGroupResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupsClusterRemoveGroupResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupParams.java new file mode 100644 index 000000000..f43a316cb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterViewGroupParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterViewGroupParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterViewGroupParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterViewGroupParams() {} + protected MTRGroupsClusterViewGroupParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterViewGroupParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupResponseParams.java new file mode 100644 index 000000000..7431d73c1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsClusterViewGroupResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRGroupsClusterViewGroupResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRGroupsClusterViewGroupResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRGroupsClusterViewGroupResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRGroupsClusterViewGroupResponseParams() {} + protected MTRGroupsClusterViewGroupResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRGroupsClusterViewGroupResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRGroupsClusterViewGroupResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "groupName") + public native String getGroupName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGroupName:") + public native void setGroupName(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsFeature.java new file mode 100644 index 000000000..448732ac6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public final class /**/MTRGroupsFeature/**/ extends Bits*/MTRGroupsFeature/**/> { + /**/ + public static final MTRGroupsFeature None = new MTRGroupsFeature(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRGroupsFeature GroupNames = new MTRGroupsFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRGroupsFeature/**/[] values = _values(/**/MTRGroupsFeature/**/.class); + + public /**/MTRGroupsFeature/**/(long value) { super(value); } + private /**/MTRGroupsFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRGroupsFeature/**/ wrap(long value, long mask) { + return new /**/MTRGroupsFeature/**/(value, mask); + } + protected /**/MTRGroupsFeature/**/[] _values() { + return values; + } + public static /**/MTRGroupsFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsNameSupportBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsNameSupportBitmap.java new file mode 100644 index 000000000..a541b98d5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRGroupsNameSupportBitmap.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRGroupsNameSupportBitmap/**/ extends Bits*/MTRGroupsNameSupportBitmap/**/> { + /**/ + public static final MTRGroupsNameSupportBitmap None = new MTRGroupsNameSupportBitmap(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRGroupsNameSupportBitmap GroupNames = new MTRGroupsNameSupportBitmap(128L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRGroupsNameSupportBitmap/**/[] values = _values(/**/MTRGroupsNameSupportBitmap/**/.class); + + public /**/MTRGroupsNameSupportBitmap/**/(long value) { super(value); } + private /**/MTRGroupsNameSupportBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRGroupsNameSupportBitmap/**/ wrap(long value, long mask) { + return new /**/MTRGroupsNameSupportBitmap/**/(value, mask); + } + protected /**/MTRGroupsNameSupportBitmap/**/[] _values() { + return values; + } + public static /**/MTRGroupsNameSupportBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterIdentifyParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterIdentifyParams.java new file mode 100644 index 000000000..223c0b3a2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterIdentifyParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRIdentifyClusterIdentifyParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRIdentifyClusterIdentifyParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRIdentifyClusterIdentifyParams.class); }/**/ + /**//**/ + /**/ + public MTRIdentifyClusterIdentifyParams() {} + protected MTRIdentifyClusterIdentifyParams(Handle h, long handle) { super(h, handle); } + protected MTRIdentifyClusterIdentifyParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "identifyTime") + public native NSNumber getIdentifyTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIdentifyTime:") + public native void setIdentifyTime(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterTriggerEffectParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterTriggerEffectParams.java new file mode 100644 index 000000000..0c1903629 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyClusterTriggerEffectParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRIdentifyClusterTriggerEffectParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRIdentifyClusterTriggerEffectParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRIdentifyClusterTriggerEffectParams.class); }/**/ + /**//**/ + /**/ + public MTRIdentifyClusterTriggerEffectParams() {} + protected MTRIdentifyClusterTriggerEffectParams(Handle h, long handle) { super(h, handle); } + protected MTRIdentifyClusterTriggerEffectParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "effectIdentifier") + public native NSNumber getEffectIdentifier(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEffectIdentifier:") + public native void setEffectIdentifier(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "effectVariant") + public native NSNumber getEffectVariant(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEffectVariant:") + public native void setEffectVariant(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectIdentifier.java new file mode 100644 index 000000000..f0dd89823 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectIdentifier.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRIdentifyEffectIdentifier/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Blink(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Breathe(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Okay(2L), + /** + * @since Available in iOS 16.1 and later. + */ + ChannelChange(11L), + /** + * @since Available in iOS 16.1 and later. + */ + FinishEffect(254L), + /** + * @since Available in iOS 16.1 and later. + */ + StopEffect(255L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRIdentifyEffectIdentifier/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRIdentifyEffectIdentifier/**/ valueOf(long n) { + for (/**/MTRIdentifyEffectIdentifier/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRIdentifyEffectIdentifier/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectVariant.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectVariant.java new file mode 100644 index 000000000..79af8e666 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyEffectVariant.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRIdentifyEffectVariant/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Default(0L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRIdentifyEffectVariant/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRIdentifyEffectVariant/**/ valueOf(long n) { + for (/**/MTRIdentifyEffectVariant/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRIdentifyEffectVariant/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyType.java new file mode 100644 index 000000000..2ea0729a3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIdentifyType.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRIdentifyType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + None(0L), + /** + * @since Available in iOS 17.0 and later. + */ + LightOutput(1L), + /** + * @since Available in iOS 17.0 and later. + */ + VisibleIndicator(2L), + /** + * @since Available in iOS 16.1 and later. + */ + AudibleBeep(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Display(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Actuator(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRIdentifyType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRIdentifyType/**/ valueOf(long n) { + for (/**/MTRIdentifyType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRIdentifyType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIlluminanceMeasurementLightSensorType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIlluminanceMeasurementLightSensorType.java new file mode 100644 index 000000000..1690b5c59 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRIlluminanceMeasurementLightSensorType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRIlluminanceMeasurementLightSensorType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Photodiode(0L), + /** + * @since Available in iOS 16.1 and later. + */ + CMOS(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRIlluminanceMeasurementLightSensorType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRIlluminanceMeasurementLightSensorType/**/ valueOf(long n) { + for (/**/MTRIlluminanceMeasurementLightSensorType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRIlluminanceMeasurementLightSensorType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRInteractionErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRInteractionErrorCode.java new file mode 100644 index 000000000..331e40ee6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRInteractionErrorCode.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("Matter")/**/ +public enum /**/MTRInteractionErrorCode/**/ implements NSErrorCode { + /**/ + Failure(1L), + InvalidSubscription(125L), + UnsupportedAccess(126L), + UnsupportedEndpoint(127L), + InvalidAction(128L), + UnsupportedCommand(129L), + InvalidCommand(133L), + UnsupportedAttribute(134L), + ConstraintError(135L), + UnsupportedWrite(136L), + ResourceExhausted(137L), + NotFound(139L), + UnreportableAttribute(140L), + InvalidDataType(141L), + UnsupportedRead(143L), + DataVersionMismatch(146L), + Timeout(148L), + Busy(156L), + UnsupportedCluster(195L), + NoUpstreamSubscription(197L), + NeedsTimedInteraction(198L), + UnsupportedEvent(199L), + PathsExhausted(200L), + TimedRequestMismatch(201L), + FailsafeRequired(202L); + /**/ + + /**/static { Bro.bind(MTRInteractionErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="MTRInteractionErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/MTRInteractionErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRInteractionErrorCode/**/ valueOf(long n) { + for (/**/MTRInteractionErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRInteractionErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/MTRInteractionErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/MTRInteractionErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputCecKeyCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputCecKeyCode.java new file mode 100644 index 000000000..f9599d031 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputCecKeyCode.java @@ -0,0 +1,407 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRKeypadInputCecKeyCode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Select(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Up(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Left(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Right(4L), + /** + * @since Available in iOS 16.1 and later. + */ + RightUp(5L), + /** + * @since Available in iOS 16.1 and later. + */ + RightDown(6L), + /** + * @since Available in iOS 16.1 and later. + */ + LeftUp(7L), + /** + * @since Available in iOS 16.1 and later. + */ + LeftDown(8L), + /** + * @since Available in iOS 16.1 and later. + */ + RootMenu(9L), + /** + * @since Available in iOS 16.1 and later. + */ + SetupMenu(10L), + /** + * @since Available in iOS 16.1 and later. + */ + ContentsMenu(11L), + /** + * @since Available in iOS 16.1 and later. + */ + FavoriteMenu(12L), + /** + * @since Available in iOS 16.1 and later. + */ + Exit(13L), + /** + * @since Available in iOS 16.1 and later. + */ + MediaTopMenu(16L), + /** + * @since Available in iOS 16.1 and later. + */ + MediaContextSensitiveMenu(17L), + /** + * @since Available in iOS 16.1 and later. + */ + NumberEntryMode(29L), + /** + * @since Available in iOS 16.1 and later. + */ + Number11(30L), + /** + * @since Available in iOS 16.1 and later. + */ + Number12(31L), + /** + * @since Available in iOS 16.1 and later. + */ + Number0OrNumber10(32L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers1(33L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers2(34L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers3(35L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers4(36L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers5(37L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers6(38L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers7(39L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers8(40L), + /** + * @since Available in iOS 16.1 and later. + */ + Numbers9(41L), + /** + * @since Available in iOS 16.1 and later. + */ + Dot(42L), + /** + * @since Available in iOS 16.1 and later. + */ + Enter(43L), + /** + * @since Available in iOS 16.1 and later. + */ + Clear(44L), + /** + * @since Available in iOS 16.1 and later. + */ + NextFavorite(47L), + /** + * @since Available in iOS 16.1 and later. + */ + ChannelUp(48L), + /** + * @since Available in iOS 16.1 and later. + */ + ChannelDown(49L), + /** + * @since Available in iOS 16.1 and later. + */ + PreviousChannel(50L), + /** + * @since Available in iOS 16.1 and later. + */ + SoundSelect(51L), + /** + * @since Available in iOS 16.1 and later. + */ + InputSelect(52L), + /** + * @since Available in iOS 16.1 and later. + */ + DisplayInformation(53L), + /** + * @since Available in iOS 16.1 and later. + */ + Help(54L), + /** + * @since Available in iOS 16.1 and later. + */ + PageUp(55L), + /** + * @since Available in iOS 16.1 and later. + */ + PageDown(56L), + /** + * @since Available in iOS 16.1 and later. + */ + Power(64L), + /** + * @since Available in iOS 16.1 and later. + */ + VolumeUp(65L), + /** + * @since Available in iOS 16.1 and later. + */ + VolumeDown(66L), + /** + * @since Available in iOS 16.1 and later. + */ + Mute(67L), + /** + * @since Available in iOS 16.1 and later. + */ + Play(68L), + /** + * @since Available in iOS 16.1 and later. + */ + Stop(69L), + /** + * @since Available in iOS 16.1 and later. + */ + Pause(70L), + /** + * @since Available in iOS 16.1 and later. + */ + Record(71L), + /** + * @since Available in iOS 16.1 and later. + */ + Rewind(72L), + /** + * @since Available in iOS 16.1 and later. + */ + FastForward(73L), + /** + * @since Available in iOS 16.1 and later. + */ + Eject(74L), + /** + * @since Available in iOS 16.1 and later. + */ + Forward(75L), + /** + * @since Available in iOS 16.1 and later. + */ + Backward(76L), + /** + * @since Available in iOS 16.1 and later. + */ + StopRecord(77L), + /** + * @since Available in iOS 16.1 and later. + */ + PauseRecord(78L), + /** + * @since Available in iOS 16.1 and later. + */ + Reserved(79L), + /** + * @since Available in iOS 16.1 and later. + */ + Angle(80L), + /** + * @since Available in iOS 16.1 and later. + */ + SubPicture(81L), + /** + * @since Available in iOS 16.1 and later. + */ + VideoOnDemand(82L), + /** + * @since Available in iOS 16.1 and later. + */ + ElectronicProgramGuide(83L), + /** + * @since Available in iOS 16.1 and later. + */ + TimerProgramming(84L), + /** + * @since Available in iOS 16.1 and later. + */ + InitialConfiguration(85L), + /** + * @since Available in iOS 16.1 and later. + */ + SelectBroadcastType(86L), + /** + * @since Available in iOS 16.1 and later. + */ + SelectSoundPresentation(87L), + /** + * @since Available in iOS 16.1 and later. + */ + PlayFunction(96L), + /** + * @since Available in iOS 16.1 and later. + */ + PausePlayFunction(97L), + /** + * @since Available in iOS 16.1 and later. + */ + RecordFunction(98L), + /** + * @since Available in iOS 16.1 and later. + */ + PauseRecordFunction(99L), + /** + * @since Available in iOS 16.1 and later. + */ + StopFunction(100L), + /** + * @since Available in iOS 16.1 and later. + */ + MuteFunction(101L), + /** + * @since Available in iOS 16.1 and later. + */ + RestoreVolumeFunction(102L), + /** + * @since Available in iOS 16.1 and later. + */ + TuneFunction(103L), + /** + * @since Available in iOS 16.1 and later. + */ + SelectMediaFunction(104L), + /** + * @since Available in iOS 16.1 and later. + */ + SelectAvInputFunction(105L), + /** + * @since Available in iOS 16.1 and later. + */ + SelectAudioInputFunction(106L), + /** + * @since Available in iOS 16.1 and later. + */ + PowerToggleFunction(107L), + /** + * @since Available in iOS 16.1 and later. + */ + PowerOffFunction(108L), + /** + * @since Available in iOS 16.1 and later. + */ + PowerOnFunction(109L), + /** + * @since Available in iOS 16.1 and later. + */ + F1Blue(113L), + /** + * @since Available in iOS 16.1 and later. + */ + F2Red(114L), + /** + * @since Available in iOS 16.1 and later. + */ + F3Green(115L), + /** + * @since Available in iOS 16.1 and later. + */ + F4Yellow(116L), + /** + * @since Available in iOS 16.1 and later. + */ + F5(117L), + /** + * @since Available in iOS 16.1 and later. + */ + Data(118L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRKeypadInputCecKeyCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRKeypadInputCecKeyCode/**/ valueOf(long n) { + for (/**/MTRKeypadInputCecKeyCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRKeypadInputCecKeyCode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyParams.java new file mode 100644 index 000000000..a26cdeac8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRKeypadInputClusterSendKeyParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRKeypadInputClusterSendKeyParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRKeypadInputClusterSendKeyParams.class); }/**/ + /**//**/ + /**/ + public MTRKeypadInputClusterSendKeyParams() {} + protected MTRKeypadInputClusterSendKeyParams(Handle h, long handle) { super(h, handle); } + protected MTRKeypadInputClusterSendKeyParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "keyCode") + public native NSNumber getKeyCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setKeyCode:") + public native void setKeyCode(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyResponseParams.java new file mode 100644 index 000000000..26577ca79 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputClusterSendKeyResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRKeypadInputClusterSendKeyResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRKeypadInputClusterSendKeyResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRKeypadInputClusterSendKeyResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRKeypadInputClusterSendKeyResponseParams() {} + protected MTRKeypadInputClusterSendKeyResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRKeypadInputClusterSendKeyResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRKeypadInputClusterSendKeyResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputFeature.java new file mode 100644 index 000000000..8fb9b920a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputFeature.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRKeypadInputFeature/**/ extends Bits*/MTRKeypadInputFeature/**/> { + /**/ + public static final MTRKeypadInputFeature None = new MTRKeypadInputFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRKeypadInputFeature NavigationKeyCodes = new MTRKeypadInputFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRKeypadInputFeature LocationKeys = new MTRKeypadInputFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRKeypadInputFeature NumberKeys = new MTRKeypadInputFeature(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRKeypadInputFeature/**/[] values = _values(/**/MTRKeypadInputFeature/**/.class); + + public /**/MTRKeypadInputFeature/**/(long value) { super(value); } + private /**/MTRKeypadInputFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRKeypadInputFeature/**/ wrap(long value, long mask) { + return new /**/MTRKeypadInputFeature/**/(value, mask); + } + protected /**/MTRKeypadInputFeature/**/[] _values() { + return values; + } + public static /**/MTRKeypadInputFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputStatus.java new file mode 100644 index 000000000..f00db5ef3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypadInputStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRKeypadInputStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + UnsupportedKey(1L), + /** + * @since Available in iOS 16.1 and later. + */ + InvalidKeyInCurrentState(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRKeypadInputStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRKeypadInputStatus/**/ valueOf(long n) { + for (/**/MTRKeypadInputStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRKeypadInputStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypair.java similarity index 73% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementName.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypair.java index e1aba88dc..60f92a969 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCDirectionPadElementName.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypair.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.matter; /**/ import java.io.*; @@ -29,16 +29,15 @@ import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; import org.robovm.apple.dispatch.*; -import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.security.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ interface /**/GCDirectionPadElementName/**/ - /**/extends GCPhysicalInputElementName/**/ { +/**/public/**/ interface /**/MTRKeypair/**/ + /**/extends NSObjectProtocol/**/ { /**/ /**/ @@ -49,7 +48,12 @@ /**/ /**/ - + @Method(selector = "publicKey") + SecKey publicKey(); + @Method(selector = "signMessageECDSA_RAW:") + NSData signMessageECDSA_RAW(NSData message); + @Method(selector = "signMessageECDSA_DER:") + NSData signMessageECDSA_DER(NSData message); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypairAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypairAdapter.java new file mode 100644 index 000000000..7f473756a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRKeypairAdapter.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRKeypairAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRKeypair/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("publicKey") + public SecKey publicKey() { return null; } + @NotImplemented("signMessageECDSA_RAW:") + public NSData signMessageECDSA_RAW(NSData message) { return null; } + @NotImplemented("signMessageECDSA_DER:") + public NSData signMessageECDSA_DER(NSData message) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveParams.java new file mode 100644 index 000000000..3b9f6cfa1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterMoveParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterMoveParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterMoveParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterMoveParams() {} + protected MTRLevelControlClusterMoveParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterMoveParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToClosestFrequencyParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToClosestFrequencyParams.java new file mode 100644 index 000000000..1b6eaf545 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToClosestFrequencyParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterMoveToClosestFrequencyParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterMoveToClosestFrequencyParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterMoveToClosestFrequencyParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterMoveToClosestFrequencyParams() {} + protected MTRLevelControlClusterMoveToClosestFrequencyParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterMoveToClosestFrequencyParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "frequency") + public native NSNumber getFrequency(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFrequency:") + public native void setFrequency(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelParams.java new file mode 100644 index 000000000..97006de22 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterMoveToLevelParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterMoveToLevelParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterMoveToLevelParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterMoveToLevelParams() {} + protected MTRLevelControlClusterMoveToLevelParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterMoveToLevelParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "level") + public native NSNumber getLevel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLevel:") + public native void setLevel(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelWithOnOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelWithOnOffParams.java new file mode 100644 index 000000000..e46bb5505 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveToLevelWithOnOffParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterMoveToLevelWithOnOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterMoveToLevelWithOnOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterMoveToLevelWithOnOffParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterMoveToLevelWithOnOffParams() {} + protected MTRLevelControlClusterMoveToLevelWithOnOffParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterMoveToLevelWithOnOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "level") + public native NSNumber getLevel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLevel:") + public native void setLevel(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveWithOnOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveWithOnOffParams.java new file mode 100644 index 000000000..3cdda60e7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterMoveWithOnOffParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterMoveWithOnOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterMoveWithOnOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterMoveWithOnOffParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterMoveWithOnOffParams() {} + protected MTRLevelControlClusterMoveWithOnOffParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterMoveWithOnOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "moveMode") + public native NSNumber getMoveMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMoveMode:") + public native void setMoveMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rate") + public native NSNumber getRate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRate:") + public native void setRate(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepParams.java new file mode 100644 index 000000000..215fac624 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterStepParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterStepParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterStepParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterStepParams() {} + protected MTRLevelControlClusterStepParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterStepParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepWithOnOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepWithOnOffParams.java new file mode 100644 index 000000000..f863a486d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStepWithOnOffParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterStepWithOnOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterStepWithOnOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterStepWithOnOffParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterStepWithOnOffParams() {} + protected MTRLevelControlClusterStepWithOnOffParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterStepWithOnOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepMode") + public native NSNumber getStepMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepMode:") + public native void setStepMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "stepSize") + public native NSNumber getStepSize(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStepSize:") + public native void setStepSize(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopParams.java new file mode 100644 index 000000000..d8649728e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterStopParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterStopParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterStopParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterStopParams() {} + protected MTRLevelControlClusterStopParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterStopParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopWithOnOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopWithOnOffParams.java new file mode 100644 index 000000000..37ba970e2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlClusterStopWithOnOffParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLevelControlClusterStopWithOnOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLevelControlClusterStopWithOnOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLevelControlClusterStopWithOnOffParams.class); }/**/ + /**//**/ + /**/ + public MTRLevelControlClusterStopWithOnOffParams() {} + protected MTRLevelControlClusterStopWithOnOffParams(Handle h, long handle) { super(h, handle); } + protected MTRLevelControlClusterStopWithOnOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsMask") + public native NSNumber getOptionsMask(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsMask:") + public native void setOptionsMask(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "optionsOverride") + public native NSNumber getOptionsOverride(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOptionsOverride:") + public native void setOptionsOverride(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlFeature.java new file mode 100644 index 000000000..93c1d08fa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlFeature.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRLevelControlFeature/**/ extends Bits*/MTRLevelControlFeature/**/> { + /**/ + public static final MTRLevelControlFeature None = new MTRLevelControlFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRLevelControlFeature OnOff = new MTRLevelControlFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRLevelControlFeature Lighting = new MTRLevelControlFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRLevelControlFeature Frequency = new MTRLevelControlFeature(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRLevelControlFeature/**/[] values = _values(/**/MTRLevelControlFeature/**/.class); + + public /**/MTRLevelControlFeature/**/(long value) { super(value); } + private /**/MTRLevelControlFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRLevelControlFeature/**/ wrap(long value, long mask) { + return new /**/MTRLevelControlFeature/**/(value, mask); + } + protected /**/MTRLevelControlFeature/**/[] _values() { + return values; + } + public static /**/MTRLevelControlFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlMoveMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlMoveMode.java new file mode 100644 index 000000000..91b16f74f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlMoveMode.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRLevelControlMoveMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Up(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRLevelControlMoveMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRLevelControlMoveMode/**/ valueOf(long n) { + for (/**/MTRLevelControlMoveMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRLevelControlMoveMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlOptions.java new file mode 100644 index 000000000..eb0255cc9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlOptions.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRLevelControlOptions/**/ extends Bits*/MTRLevelControlOptions/**/> { + /**/ + public static final MTRLevelControlOptions None = new MTRLevelControlOptions(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRLevelControlOptions ExecuteIfOff = new MTRLevelControlOptions(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRLevelControlOptions CoupleColorTempToLevel = new MTRLevelControlOptions(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRLevelControlOptions/**/[] values = _values(/**/MTRLevelControlOptions/**/.class); + + public /**/MTRLevelControlOptions/**/(long value) { super(value); } + private /**/MTRLevelControlOptions/**/(long value, long mask) { super(value, mask); } + protected /**/MTRLevelControlOptions/**/ wrap(long value, long mask) { + return new /**/MTRLevelControlOptions/**/(value, mask); + } + protected /**/MTRLevelControlOptions/**/[] _values() { + return values; + } + public static /**/MTRLevelControlOptions/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlStepMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlStepMode.java new file mode 100644 index 000000000..74a6c16d0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLevelControlStepMode.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRLevelControlStepMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Up(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Down(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRLevelControlStepMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRLevelControlStepMode/**/ valueOf(long n) { + for (/**/MTRLevelControlStepMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRLevelControlStepMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogType.java new file mode 100644 index 000000000..ec992238c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTRLogType/**/ implements ValuedEnum { + /**/ + Error(1L), + Progress(2L), + Detail(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRLogType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRLogType/**/ valueOf(long n) { + for (/**/MTRLogType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRLogType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogging.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogging.java new file mode 100644 index 000000000..eb61147ed --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLogging.java @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**/@Library("Matter")/**/ +/**/public/**/ class /**/MTRLogging/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MTRLogging.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Bridge(symbol="MTRSetLogCallback", optional=true) + public static native void setLogCallback(MTRLogType logTypeThreshold, @Block VoidBlock3 callback); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLowPowerClusterSleepParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLowPowerClusterSleepParams.java new file mode 100644 index 000000000..1f934d78a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRLowPowerClusterSleepParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRLowPowerClusterSleepParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRLowPowerClusterSleepParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRLowPowerClusterSleepParams.class); }/**/ + /**//**/ + /**/ + public MTRLowPowerClusterSleepParams() {} + protected MTRLowPowerClusterSleepParams(Handle h, long handle) { super(h, handle); } + protected MTRLowPowerClusterSleepParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterHideInputStatusParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterHideInputStatusParams.java new file mode 100644 index 000000000..adc863360 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterHideInputStatusParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaInputClusterHideInputStatusParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaInputClusterHideInputStatusParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaInputClusterHideInputStatusParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaInputClusterHideInputStatusParams() {} + protected MTRMediaInputClusterHideInputStatusParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaInputClusterHideInputStatusParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterInputInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterInputInfoStruct.java new file mode 100644 index 000000000..d1ce07d62 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterInputInfoStruct.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaInputClusterInputInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaInputClusterInputInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaInputClusterInputInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRMediaInputClusterInputInfoStruct() {} + protected MTRMediaInputClusterInputInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRMediaInputClusterInputInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "inputType") + public native NSNumber getInputType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setInputType:") + public native void setInputType(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "descriptionString") + public native String getDescriptionString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDescriptionString:") + public native void setDescriptionString(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterRenameInputParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterRenameInputParams.java new file mode 100644 index 000000000..cad80b3a1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterRenameInputParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaInputClusterRenameInputParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaInputClusterRenameInputParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaInputClusterRenameInputParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaInputClusterRenameInputParams() {} + protected MTRMediaInputClusterRenameInputParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaInputClusterRenameInputParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterSelectInputParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterSelectInputParams.java new file mode 100644 index 000000000..cbe78ad74 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterSelectInputParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaInputClusterSelectInputParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaInputClusterSelectInputParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaInputClusterSelectInputParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaInputClusterSelectInputParams() {} + protected MTRMediaInputClusterSelectInputParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaInputClusterSelectInputParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "index") + public native NSNumber getIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIndex:") + public native void setIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterShowInputStatusParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterShowInputStatusParams.java new file mode 100644 index 000000000..34e59db78 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputClusterShowInputStatusParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaInputClusterShowInputStatusParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaInputClusterShowInputStatusParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaInputClusterShowInputStatusParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaInputClusterShowInputStatusParams() {} + protected MTRMediaInputClusterShowInputStatusParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaInputClusterShowInputStatusParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputFeature.java new file mode 100644 index 000000000..2a0e2b12f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRMediaInputFeature/**/ extends Bits*/MTRMediaInputFeature/**/> { + /**/ + public static final MTRMediaInputFeature None = new MTRMediaInputFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRMediaInputFeature NameUpdates = new MTRMediaInputFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRMediaInputFeature/**/[] values = _values(/**/MTRMediaInputFeature/**/.class); + + public /**/MTRMediaInputFeature/**/(long value) { super(value); } + private /**/MTRMediaInputFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRMediaInputFeature/**/ wrap(long value, long mask) { + return new /**/MTRMediaInputFeature/**/(value, mask); + } + protected /**/MTRMediaInputFeature/**/[] _values() { + return values; + } + public static /**/MTRMediaInputFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputInputType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputInputType.java new file mode 100644 index 000000000..ca4be9419 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaInputInputType.java @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRMediaInputInputType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Internal(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Aux(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Coax(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Composite(3L), + /** + * @since Available in iOS 16.4 and later. + */ + HDMI(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Input(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Line(6L), + /** + * @since Available in iOS 16.1 and later. + */ + Optical(7L), + /** + * @since Available in iOS 16.1 and later. + */ + Video(8L), + /** + * @since Available in iOS 16.4 and later. + */ + SCART(9L), + /** + * @since Available in iOS 16.4 and later. + */ + USB(10L), + /** + * @since Available in iOS 16.1 and later. + */ + Other(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRMediaInputInputType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRMediaInputInputType/**/ valueOf(long n) { + for (/**/MTRMediaInputInputType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRMediaInputInputType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterFastForwardParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterFastForwardParams.java new file mode 100644 index 000000000..53e14186d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterFastForwardParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterFastForwardParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterFastForwardParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterFastForwardParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterFastForwardParams() {} + protected MTRMediaPlaybackClusterFastForwardParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterFastForwardParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterNextParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterNextParams.java new file mode 100644 index 000000000..f59f4cdf5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterNextParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterNextParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterNextParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterNextParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterNextParams() {} + protected MTRMediaPlaybackClusterNextParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterNextParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPauseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPauseParams.java new file mode 100644 index 000000000..3bcc9ab0d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPauseParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterPauseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterPauseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterPauseParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterPauseParams() {} + protected MTRMediaPlaybackClusterPauseParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterPauseParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlayParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlayParams.java new file mode 100644 index 000000000..ab55f6930 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlayParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterPlayParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterPlayParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterPlayParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterPlayParams() {} + protected MTRMediaPlaybackClusterPlayParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterPlayParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackPositionStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackPositionStruct.java new file mode 100644 index 000000000..dfcf19d9a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackPositionStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterPlaybackPositionStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterPlaybackPositionStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterPlaybackPositionStruct.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterPlaybackPositionStruct() {} + protected MTRMediaPlaybackClusterPlaybackPositionStruct(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterPlaybackPositionStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "updatedAt") + public native NSNumber getUpdatedAt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUpdatedAt:") + public native void setUpdatedAt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "position") + public native NSNumber getPosition(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPosition:") + public native void setPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackResponseParams.java new file mode 100644 index 000000000..33b6ddf69 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPlaybackResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterPlaybackResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterPlaybackResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterPlaybackResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterPlaybackResponseParams() {} + protected MTRMediaPlaybackClusterPlaybackResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterPlaybackResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRMediaPlaybackClusterPlaybackResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPreviousParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPreviousParams.java new file mode 100644 index 000000000..14668914a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterPreviousParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterPreviousParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterPreviousParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterPreviousParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterPreviousParams() {} + protected MTRMediaPlaybackClusterPreviousParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterPreviousParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterRewindParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterRewindParams.java new file mode 100644 index 000000000..b47d39e62 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterRewindParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterRewindParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterRewindParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterRewindParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterRewindParams() {} + protected MTRMediaPlaybackClusterRewindParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterRewindParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSeekParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSeekParams.java new file mode 100644 index 000000000..b4b188c33 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSeekParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterSeekParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterSeekParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterSeekParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterSeekParams() {} + protected MTRMediaPlaybackClusterSeekParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterSeekParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "position") + public native NSNumber getPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPosition:") + public native void setPosition(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipBackwardParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipBackwardParams.java new file mode 100644 index 000000000..77b74265a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipBackwardParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterSkipBackwardParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterSkipBackwardParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterSkipBackwardParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterSkipBackwardParams() {} + protected MTRMediaPlaybackClusterSkipBackwardParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterSkipBackwardParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "deltaPositionMilliseconds") + public native NSNumber getDeltaPositionMilliseconds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDeltaPositionMilliseconds:") + public native void setDeltaPositionMilliseconds(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipForwardParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipForwardParams.java new file mode 100644 index 000000000..a58ae9c3a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterSkipForwardParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterSkipForwardParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterSkipForwardParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterSkipForwardParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterSkipForwardParams() {} + protected MTRMediaPlaybackClusterSkipForwardParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterSkipForwardParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "deltaPositionMilliseconds") + public native NSNumber getDeltaPositionMilliseconds(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDeltaPositionMilliseconds:") + public native void setDeltaPositionMilliseconds(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStartOverParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStartOverParams.java new file mode 100644 index 000000000..155f45ee3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStartOverParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterStartOverParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterStartOverParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterStartOverParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterStartOverParams() {} + protected MTRMediaPlaybackClusterStartOverParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterStartOverParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStopParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStopParams.java new file mode 100644 index 000000000..a657a4b2f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackClusterStopParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRMediaPlaybackClusterStopParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRMediaPlaybackClusterStopParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRMediaPlaybackClusterStopParams.class); }/**/ + /**//**/ + /**/ + public MTRMediaPlaybackClusterStopParams() {} + protected MTRMediaPlaybackClusterStopParams(Handle h, long handle) { super(h, handle); } + protected MTRMediaPlaybackClusterStopParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackFeature.java new file mode 100644 index 000000000..0fd44b0ba --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackFeature.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.2 and later. + */ +/**/ +/**//**/ +public final class /**/MTRMediaPlaybackFeature/**/ extends Bits*/MTRMediaPlaybackFeature/**/> { + /**/ + public static final MTRMediaPlaybackFeature None = new MTRMediaPlaybackFeature(0L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRMediaPlaybackFeature AdvancedSeek = new MTRMediaPlaybackFeature(1L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRMediaPlaybackFeature VariableSpeed = new MTRMediaPlaybackFeature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRMediaPlaybackFeature/**/[] values = _values(/**/MTRMediaPlaybackFeature/**/.class); + + public /**/MTRMediaPlaybackFeature/**/(long value) { super(value); } + private /**/MTRMediaPlaybackFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRMediaPlaybackFeature/**/ wrap(long value, long mask) { + return new /**/MTRMediaPlaybackFeature/**/(value, mask); + } + protected /**/MTRMediaPlaybackFeature/**/[] _values() { + return values; + } + public static /**/MTRMediaPlaybackFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackPlaybackState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackPlaybackState.java new file mode 100644 index 000000000..7f00c20f7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackPlaybackState.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRMediaPlaybackPlaybackState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Playing(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Paused(1L), + /** + * @since Available in iOS 16.1 and later. + */ + NotPlaying(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Buffering(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRMediaPlaybackPlaybackState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRMediaPlaybackPlaybackState/**/ valueOf(long n) { + for (/**/MTRMediaPlaybackPlaybackState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRMediaPlaybackPlaybackState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackStatus.java new file mode 100644 index 000000000..f13f69ad2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRMediaPlaybackStatus.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRMediaPlaybackStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + InvalidStateForCommand(1L), + /** + * @since Available in iOS 16.1 and later. + */ + NotAllowed(2L), + /** + * @since Available in iOS 16.1 and later. + */ + NotActive(3L), + /** + * @since Available in iOS 16.1 and later. + */ + SpeedOutOfRange(4L), + /** + * @since Available in iOS 16.1 and later. + */ + SeekOutOfRange(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRMediaPlaybackStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRMediaPlaybackStatus/**/ valueOf(long n) { + for (/**/MTRMediaPlaybackStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRMediaPlaybackStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterChangeToModeParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterChangeToModeParams.java new file mode 100644 index 000000000..5a3a15fe5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterChangeToModeParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRModeSelectClusterChangeToModeParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRModeSelectClusterChangeToModeParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRModeSelectClusterChangeToModeParams.class); }/**/ + /**//**/ + /**/ + public MTRModeSelectClusterChangeToModeParams() {} + protected MTRModeSelectClusterChangeToModeParams(Handle h, long handle) { super(h, handle); } + protected MTRModeSelectClusterChangeToModeParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewMode") + public native NSNumber getNewMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewMode:") + public native void setNewMode(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterModeOptionStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterModeOptionStruct.java new file mode 100644 index 000000000..0255a5247 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterModeOptionStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRModeSelectClusterModeOptionStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRModeSelectClusterModeOptionStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRModeSelectClusterModeOptionStruct.class); }/**/ + /**//**/ + /**/ + public MTRModeSelectClusterModeOptionStruct() {} + protected MTRModeSelectClusterModeOptionStruct(Handle h, long handle) { super(h, handle); } + protected MTRModeSelectClusterModeOptionStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "label") + public native String getLabel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLabel:") + public native void setLabel(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "mode") + public native NSNumber getMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMode:") + public native void setMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "semanticTags") + public native NSArray getSemanticTags(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSemanticTags:") + public native void setSemanticTags(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterSemanticTagStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterSemanticTagStruct.java new file mode 100644 index 000000000..e982615de --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectClusterSemanticTagStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRModeSelectClusterSemanticTagStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRModeSelectClusterSemanticTagStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRModeSelectClusterSemanticTagStruct.class); }/**/ + /**//**/ + /**/ + public MTRModeSelectClusterSemanticTagStruct() {} + protected MTRModeSelectClusterSemanticTagStruct(Handle h, long handle) { super(h, handle); } + protected MTRModeSelectClusterSemanticTagStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "mfgCode") + public native NSNumber getMfgCode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMfgCode:") + public native void setMfgCode(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native NSNumber getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectFeature.java new file mode 100644 index 000000000..69018d1e1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRModeSelectFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRModeSelectFeature/**/ extends Bits*/MTRModeSelectFeature/**/> { + /**/ + public static final MTRModeSelectFeature None = new MTRModeSelectFeature(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRModeSelectFeature OnOff = new MTRModeSelectFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRModeSelectFeature/**/[] values = _values(/**/MTRModeSelectFeature/**/.class); + + public /**/MTRModeSelectFeature/**/(long value) { super(value); } + private /**/MTRModeSelectFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRModeSelectFeature/**/ wrap(long value, long mask) { + return new /**/MTRModeSelectFeature/**/(value, mask); + } + protected /**/MTRModeSelectFeature/**/[] _values() { + return values; + } + public static /**/MTRModeSelectFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams.java new file mode 100644 index 000000000..45478f6d4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams() {} + protected MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "operationalDataset") + public native NSData getOperationalDataset(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOperationalDataset:") + public native void setOperationalDataset(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams.java new file mode 100644 index 000000000..40f5db9d7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams() {} + protected MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "ssid") + public native NSData getSsid(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSsid:") + public native void setSsid(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "credentials") + public native NSData getCredentials(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCredentials:") + public native void setCredentials(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkParams.java new file mode 100644 index 000000000..a2aab7896 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterConnectNetworkParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterConnectNetworkParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterConnectNetworkParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterConnectNetworkParams() {} + protected MTRNetworkCommissioningClusterConnectNetworkParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterConnectNetworkParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkID") + public native NSData getNetworkID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkID:") + public native void setNetworkID(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkResponseParams.java new file mode 100644 index 000000000..a16cec03d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterConnectNetworkResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterConnectNetworkResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterConnectNetworkResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterConnectNetworkResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterConnectNetworkResponseParams() {} + protected MTRNetworkCommissioningClusterConnectNetworkResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterConnectNetworkResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRNetworkCommissioningClusterConnectNetworkResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkingStatus") + public native NSNumber getNetworkingStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkingStatus:") + public native void setNetworkingStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "errorValue") + public native NSNumber getErrorValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setErrorValue:") + public native void setErrorValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkConfigResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkConfigResponseParams.java new file mode 100644 index 000000000..e38e58e3d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkConfigResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterNetworkConfigResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterNetworkConfigResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterNetworkConfigResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterNetworkConfigResponseParams() {} + protected MTRNetworkCommissioningClusterNetworkConfigResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterNetworkConfigResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRNetworkCommissioningClusterNetworkConfigResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkingStatus") + public native NSNumber getNetworkingStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkingStatus:") + public native void setNetworkingStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkIndex") + public native NSNumber getNetworkIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkIndex:") + public native void setNetworkIndex(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkInfoStruct.java new file mode 100644 index 000000000..954710c72 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterNetworkInfoStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterNetworkInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterNetworkInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterNetworkInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterNetworkInfoStruct() {} + protected MTRNetworkCommissioningClusterNetworkInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterNetworkInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "networkID") + public native NSData getNetworkID(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setNetworkID:") + public native void setNetworkID(NSData v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "connected") + public native NSNumber getConnected(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setConnected:") + public native void setConnected(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterRemoveNetworkParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterRemoveNetworkParams.java new file mode 100644 index 000000000..45dad3270 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterRemoveNetworkParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterRemoveNetworkParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterRemoveNetworkParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterRemoveNetworkParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterRemoveNetworkParams() {} + protected MTRNetworkCommissioningClusterRemoveNetworkParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterRemoveNetworkParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkID") + public native NSData getNetworkID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkID:") + public native void setNetworkID(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterReorderNetworkParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterReorderNetworkParams.java new file mode 100644 index 000000000..bbafe35a7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterReorderNetworkParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterReorderNetworkParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterReorderNetworkParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterReorderNetworkParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterReorderNetworkParams() {} + protected MTRNetworkCommissioningClusterReorderNetworkParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterReorderNetworkParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkID") + public native NSData getNetworkID(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkID:") + public native void setNetworkID(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkIndex") + public native NSNumber getNetworkIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkIndex:") + public native void setNetworkIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksParams.java new file mode 100644 index 000000000..b005b4f6b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterScanNetworksParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterScanNetworksParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterScanNetworksParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterScanNetworksParams() {} + protected MTRNetworkCommissioningClusterScanNetworksParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterScanNetworksParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "ssid") + public native NSData getSsid(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSsid:") + public native void setSsid(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "breadcrumb") + public native NSNumber getBreadcrumb(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setBreadcrumb:") + public native void setBreadcrumb(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksResponseParams.java new file mode 100644 index 000000000..980b70211 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterScanNetworksResponseParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterScanNetworksResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterScanNetworksResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterScanNetworksResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterScanNetworksResponseParams() {} + protected MTRNetworkCommissioningClusterScanNetworksResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterScanNetworksResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRNetworkCommissioningClusterScanNetworksResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkingStatus") + public native NSNumber getNetworkingStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkingStatus:") + public native void setNetworkingStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "wiFiScanResults") + public native NSArray getWiFiScanResults(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setWiFiScanResults:") + public native void setWiFiScanResults(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "threadScanResults") + public native NSArray getThreadScanResults(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setThreadScanResults:") + public native void setThreadScanResults(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct.java new file mode 100644 index 000000000..777f7e408 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterThreadInterfaceScanResultStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct() {} + protected MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "panId") + public native NSNumber getPanId(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPanId:") + public native void setPanId(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "extendedPanId") + public native NSNumber getExtendedPanId(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setExtendedPanId:") + public native void setExtendedPanId(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "networkName") + public native String getNetworkName(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setNetworkName:") + public native void setNetworkName(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "channel") + public native NSNumber getChannel(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setChannel:") + public native void setChannel(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "version") + public native NSNumber getVersion(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setVersion:") + public native void setVersion(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "extendedAddress") + public native NSData getExtendedAddress(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setExtendedAddress:") + public native void setExtendedAddress(NSData v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rssi") + public native NSNumber getRssi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRssi:") + public native void setRssi(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lqi") + public native NSNumber getLqi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLqi:") + public native void setLqi(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct.java new file mode 100644 index 000000000..5d7c0c241 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRNetworkCommissioningClusterWiFiInterfaceScanResultStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct.class); }/**/ + /**//**/ + /**/ + public MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct() {} + protected MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct(Handle h, long handle) { super(h, handle); } + protected MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "security") + public native NSNumber getSecurity(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSecurity:") + public native void setSecurity(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "ssid") + public native NSData getSsid(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSsid:") + public native void setSsid(NSData v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "bssid") + public native NSData getBssid(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setBssid:") + public native void setBssid(NSData v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "channel") + public native NSNumber getChannel(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setChannel:") + public native void setChannel(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "wiFiBand") + public native NSNumber getWiFiBand(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setWiFiBand:") + public native void setWiFiBand(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rssi") + public native NSNumber getRssi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRssi:") + public native void setRssi(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningFeature.java new file mode 100644 index 000000000..40830a103 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningFeature.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRNetworkCommissioningFeature/**/ extends Bits*/MTRNetworkCommissioningFeature/**/> { + /**/ + public static final MTRNetworkCommissioningFeature None = new MTRNetworkCommissioningFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRNetworkCommissioningFeature WiFiNetworkInterface = new MTRNetworkCommissioningFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRNetworkCommissioningFeature ThreadNetworkInterface = new MTRNetworkCommissioningFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRNetworkCommissioningFeature EthernetNetworkInterface = new MTRNetworkCommissioningFeature(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRNetworkCommissioningFeature/**/[] values = _values(/**/MTRNetworkCommissioningFeature/**/.class); + + public /**/MTRNetworkCommissioningFeature/**/(long value) { super(value); } + private /**/MTRNetworkCommissioningFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRNetworkCommissioningFeature/**/ wrap(long value, long mask) { + return new /**/MTRNetworkCommissioningFeature/**/(value, mask); + } + protected /**/MTRNetworkCommissioningFeature/**/[] _values() { + return values; + } + public static /**/MTRNetworkCommissioningFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningStatus.java new file mode 100644 index 000000000..3bad0799a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningStatus.java @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRNetworkCommissioningStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + OutOfRange(1L), + /** + * @since Available in iOS 16.1 and later. + */ + BoundsExceeded(2L), + /** + * @since Available in iOS 16.1 and later. + */ + NetworkIDNotFound(3L), + /** + * @since Available in iOS 16.1 and later. + */ + DuplicateNetworkID(4L), + /** + * @since Available in iOS 16.1 and later. + */ + NetworkNotFound(5L), + /** + * @since Available in iOS 16.1 and later. + */ + RegulatoryError(6L), + /** + * @since Available in iOS 16.1 and later. + */ + AuthFailure(7L), + /** + * @since Available in iOS 16.1 and later. + */ + UnsupportedSecurity(8L), + /** + * @since Available in iOS 16.1 and later. + */ + OtherConnectionFailure(9L), + /** + * @since Available in iOS 16.1 and later. + */ + IPV6Failed(10L), + /** + * @since Available in iOS 16.1 and later. + */ + IPBindFailed(11L), + /** + * @since Available in iOS 16.1 and later. + */ + UnknownError(12L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRNetworkCommissioningStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRNetworkCommissioningStatus/**/ valueOf(long n) { + for (/**/MTRNetworkCommissioningStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRNetworkCommissioningStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiBand.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiBand.java new file mode 100644 index 000000000..d491c0b5d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiBand.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRNetworkCommissioningWiFiBand/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + _2G4(0L), + /** + * @since Available in iOS 16.1 and later. + */ + _3G65(1L), + /** + * @since Available in iOS 16.1 and later. + */ + _5G(2L), + /** + * @since Available in iOS 16.1 and later. + */ + _6G(3L), + /** + * @since Available in iOS 16.1 and later. + */ + _60G(4L), + /** + * @since Available in iOS 17.0 and later. + */ + _1G(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRNetworkCommissioningWiFiBand/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRNetworkCommissioningWiFiBand/**/ valueOf(long n) { + for (/**/MTRNetworkCommissioningWiFiBand/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRNetworkCommissioningWiFiBand/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiSecurityBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiSecurityBitmap.java new file mode 100644 index 000000000..cb438634d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRNetworkCommissioningWiFiSecurityBitmap.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/ extends Bits*/MTRNetworkCommissioningWiFiSecurityBitmap/**/> { + /**/ + public static final MTRNetworkCommissioningWiFiSecurityBitmap None = new MTRNetworkCommissioningWiFiSecurityBitmap(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRNetworkCommissioningWiFiSecurityBitmap Unencrypted = new MTRNetworkCommissioningWiFiSecurityBitmap(1L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRNetworkCommissioningWiFiSecurityBitmap WEP = new MTRNetworkCommissioningWiFiSecurityBitmap(2L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRNetworkCommissioningWiFiSecurityBitmap WPAPersonal = new MTRNetworkCommissioningWiFiSecurityBitmap(4L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRNetworkCommissioningWiFiSecurityBitmap WPA2Personal = new MTRNetworkCommissioningWiFiSecurityBitmap(8L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRNetworkCommissioningWiFiSecurityBitmap WPA3Personal = new MTRNetworkCommissioningWiFiSecurityBitmap(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/[] values = _values(/**/MTRNetworkCommissioningWiFiSecurityBitmap/**/.class); + + public /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/(long value) { super(value); } + private /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/ wrap(long value, long mask) { + return new /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/(value, mask); + } + protected /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/[] _values() { + return values; + } + public static /**/MTRNetworkCommissioningWiFiSecurityBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAHeader.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAHeader.java new file mode 100644 index 000000000..9bd805622 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAHeader.java @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTAHeader/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTAHeaderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTAHeader.class); }/**/ + /**//**/ + /**/ + public MTROTAHeader() {} + protected MTROTAHeader(Handle h, long handle) { super(h, handle); } + protected MTROTAHeader(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithData:") + public MTROTAHeader(NSData data) { super((SkipInit) null); initObject(init(data)); } + /**/ + /**/ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + @Property(selector = "productID") + public native NSNumber getProductID(); + @Property(selector = "setProductID:") + public native void setProductID(NSNumber v); + @Property(selector = "payloadSize") + public native NSNumber getPayloadSize(); + @Property(selector = "setPayloadSize:") + public native void setPayloadSize(NSNumber v); + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + @Property(selector = "softwareVersionString") + public native String getSoftwareVersionString(); + @Property(selector = "setSoftwareVersionString:") + public native void setSoftwareVersionString(String v); + @Property(selector = "releaseNotesURL") + public native String getReleaseNotesURL(); + @Property(selector = "setReleaseNotesURL:") + public native void setReleaseNotesURL(String v); + @Property(selector = "imageDigest") + public native NSData getImageDigest(); + @Property(selector = "setImageDigest:") + public native void setImageDigest(NSData v); + @Property(selector = "imageDigestType") + public native MTROTAImageDigestType getImageDigestType(); + @Property(selector = "setImageDigestType:") + public native void setImageDigestType(MTROTAImageDigestType v); + @Property(selector = "minApplicableVersion") + public native NSNumber getMinApplicableVersion(); + @Property(selector = "setMinApplicableVersion:") + public native void setMinApplicableVersion(NSNumber v); + @Property(selector = "maxApplicableVersion") + public native NSNumber getMaxApplicableVersion(); + @Property(selector = "setMaxApplicableVersion:") + public native void setMaxApplicableVersion(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithData:") + protected native @Pointer long init(NSData data); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAImageDigestType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAImageDigestType.java new file mode 100644 index 000000000..e9587ec93 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAImageDigestType.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTROTAImageDigestType/**/ implements ValuedEnum { + /**/ + Sha256(1L), + Sha256_128(2L), + Sha256_120(3L), + Sha256_96(4L), + Sha256_64(5L), + Sha256_32(6L), + Sha384(7L), + Sha512(8L), + Sha3_224(9L), + Sha3_256(10L), + Sha3_384(11L), + Sha3_512(12L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTAImageDigestType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTAImageDigestType/**/ valueOf(long n) { + for (/**/MTROTAImageDigestType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTAImageDigestType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegate.java new file mode 100644 index 000000000..c137cc5ca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegate.java @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ interface /**/MTROTAProviderDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "handleQueryImageForNodeID:controller:params:completion:") + void handleQueryImage(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterQueryImageParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "handleApplyUpdateRequestForNodeID:controller:params:completion:") + void handleApplyUpdateRequest(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams params, @Block VoidBlock2 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "handleNotifyUpdateAppliedForNodeID:controller:params:completion:") + void handleNotifyUpdateApplied(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams params, @Block VoidBlock1 completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "handleBDXTransferSessionBeginForNodeID:controller:fileDesignator:offset:completion:") + void handleBDXTransferSessionBegin(NSNumber nodeID, MTRDeviceController controller, String fileDesignator, NSNumber offset, @Block VoidBlock1 completion); + @Method(selector = "handleBDXTransferSessionEndForNodeID:controller:error:") + void handleBDXTransferSessionEnd(NSNumber nodeID, MTRDeviceController controller, NSError error); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "handleBDXQueryForNodeID:controller:blockSize:blockIndex:bytesToSkip:completion:") + void handleBDXQuery(NSNumber nodeID, MTRDeviceController controller, NSNumber blockSize, NSNumber blockIndex, NSNumber bytesToSkip, @Block VoidBlock2 completion); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegateAdapter.java new file mode 100644 index 000000000..90a208a0a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTAProviderDelegateAdapter.java @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTROTAProviderDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTROTAProviderDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("handleQueryImageForNodeID:controller:params:completion:") + public void handleQueryImage(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterQueryImageParams params, @Block VoidBlock2 completion) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("handleApplyUpdateRequestForNodeID:controller:params:completion:") + public void handleApplyUpdateRequest(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams params, @Block VoidBlock2 completion) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("handleNotifyUpdateAppliedForNodeID:controller:params:completion:") + public void handleNotifyUpdateApplied(NSNumber nodeID, MTRDeviceController controller, MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams params, @Block VoidBlock1 completion) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("handleBDXTransferSessionBeginForNodeID:controller:fileDesignator:offset:completion:") + public void handleBDXTransferSessionBegin(NSNumber nodeID, MTRDeviceController controller, String fileDesignator, NSNumber offset, @Block VoidBlock1 completion) {} + @NotImplemented("handleBDXTransferSessionEndForNodeID:controller:error:") + public void handleBDXTransferSessionEnd(NSNumber nodeID, MTRDeviceController controller, NSError error) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("handleBDXQueryForNodeID:controller:blockSize:blockIndex:bytesToSkip:completion:") + public void handleBDXQuery(NSNumber nodeID, MTRDeviceController controller, NSNumber blockSize, NSNumber blockIndex, NSNumber bytesToSkip, @Block VoidBlock2 completion) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams.java new file mode 100644 index 000000000..5e41ad5c6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams() {} + protected MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "updateToken") + public native NSData getUpdateToken(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUpdateToken:") + public native void setUpdateToken(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "getNewVersion") + public native NSNumber getNewVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNewVersion:") + public native void setNewVersion(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams.java new file mode 100644 index 000000000..bc624adec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams() {} + protected MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "action") + public native NSNumber getAction(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAction:") + public native void setAction(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "delayedActionTime") + public native NSNumber getDelayedActionTime(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDelayedActionTime:") + public native void setDelayedActionTime(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams.java new file mode 100644 index 000000000..0002a4fce --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams() {} + protected MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "updateToken") + public native NSData getUpdateToken(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUpdateToken:") + public native void setUpdateToken(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageParams.java new file mode 100644 index 000000000..3d9311885 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageParams.java @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateProviderClusterQueryImageParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateProviderClusterQueryImageParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateProviderClusterQueryImageParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateProviderClusterQueryImageParams() {} + protected MTROTASoftwareUpdateProviderClusterQueryImageParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateProviderClusterQueryImageParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "productID") + public native NSNumber getProductID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProductID:") + public native void setProductID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "protocolsSupported") + public native NSArray getProtocolsSupported(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProtocolsSupported:") + public native void setProtocolsSupported(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "hardwareVersion") + public native NSNumber getHardwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setHardwareVersion:") + public native void setHardwareVersion(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "location") + public native String getLocation(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLocation:") + public native void setLocation(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "requestorCanConsent") + public native NSNumber getRequestorCanConsent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setRequestorCanConsent:") + public native void setRequestorCanConsent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "metadataForProvider") + public native NSData getMetadataForProvider(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMetadataForProvider:") + public native void setMetadataForProvider(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageResponseParams.java new file mode 100644 index 000000000..5e8ec0b10 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderClusterQueryImageResponseParams.java @@ -0,0 +1,154 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateProviderClusterQueryImageResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateProviderClusterQueryImageResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateProviderClusterQueryImageResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateProviderClusterQueryImageResponseParams() {} + protected MTROTASoftwareUpdateProviderClusterQueryImageResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateProviderClusterQueryImageResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROTASoftwareUpdateProviderClusterQueryImageResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "delayedActionTime") + public native NSNumber getDelayedActionTime(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDelayedActionTime:") + public native void setDelayedActionTime(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "imageURI") + public native String getImageURI(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setImageURI:") + public native void setImageURI(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersionString") + public native String getSoftwareVersionString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersionString:") + public native void setSoftwareVersionString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "updateToken") + public native NSData getUpdateToken(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUpdateToken:") + public native void setUpdateToken(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "userConsentNeeded") + public native NSNumber getUserConsentNeeded(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setUserConsentNeeded:") + public native void setUserConsentNeeded(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "metadataForRequestor") + public native NSData getMetadataForRequestor(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMetadataForRequestor:") + public native void setMetadataForRequestor(NSData v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAApplyUpdateAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAApplyUpdateAction.java new file mode 100644 index 000000000..07fe3ff62 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAApplyUpdateAction.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateProviderOTAApplyUpdateAction/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Proceed(0L), + /** + * @since Available in iOS 16.4 and later. + */ + AwaitNextAction(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Discontinue(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateProviderOTAApplyUpdateAction/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateProviderOTAApplyUpdateAction/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateProviderOTAApplyUpdateAction/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateProviderOTAApplyUpdateAction/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTADownloadProtocol.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTADownloadProtocol.java new file mode 100644 index 000000000..b7428e299 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTADownloadProtocol.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateProviderOTADownloadProtocol/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + BDXSynchronous(0L), + /** + * @since Available in iOS 16.4 and later. + */ + BDXAsynchronous(1L), + /** + * @since Available in iOS 16.4 and later. + */ + HTTPS(2L), + /** + * @since Available in iOS 16.4 and later. + */ + VendorSpecific(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateProviderOTADownloadProtocol/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateProviderOTADownloadProtocol/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateProviderOTADownloadProtocol/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateProviderOTADownloadProtocol/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAQueryStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAQueryStatus.java new file mode 100644 index 000000000..08557cea2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateProviderOTAQueryStatus.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateProviderOTAQueryStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + UpdateAvailable(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Busy(1L), + /** + * @since Available in iOS 16.4 and later. + */ + NotAvailable(2L), + /** + * @since Available in iOS 16.4 and later. + */ + DownloadProtocolNotSupported(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateProviderOTAQueryStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateProviderOTAQueryStatus/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateProviderOTAQueryStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateProviderOTAQueryStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams.java new file mode 100644 index 000000000..2c9d6d283 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams() {} + protected MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateRequestorClusterAnnounceOTAProviderParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "providerNodeID") + public native NSNumber getProviderNodeID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProviderNodeID:") + public native void setProviderNodeID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "announcementReason") + public native NSNumber getAnnouncementReason(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAnnouncementReason:") + public native void setAnnouncementReason(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "metadataForNode") + public native NSData getMetadataForNode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMetadataForNode:") + public native void setMetadataForNode(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setEndpoint:") + public native void setEndpoint(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent.java new file mode 100644 index 000000000..c4d1ca797 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateRequestorClusterDownloadErrorEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent() {} + protected MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateRequestorClusterDownloadErrorEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "bytesDownloaded") + public native NSNumber getBytesDownloaded(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setBytesDownloaded:") + public native void setBytesDownloaded(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "progressPercent") + public native NSNumber getProgressPercent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProgressPercent:") + public native void setProgressPercent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "platformCode") + public native NSNumber getPlatformCode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPlatformCode:") + public native void setPlatformCode(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterProviderLocation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterProviderLocation.java new file mode 100644 index 000000000..71088b1de --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterProviderLocation.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateRequestorClusterProviderLocation/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateRequestorClusterProviderLocationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateRequestorClusterProviderLocation.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateRequestorClusterProviderLocation() {} + protected MTROTASoftwareUpdateRequestorClusterProviderLocation(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateRequestorClusterProviderLocation(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "providerNodeID") + public native NSNumber getProviderNodeID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProviderNodeID:") + public native void setProviderNodeID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "endpoint") + public native NSNumber getEndpoint(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setEndpoint:") + public native void setEndpoint(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterStateTransitionEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterStateTransitionEvent.java new file mode 100644 index 000000000..3246e9eed --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterStateTransitionEvent.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateRequestorClusterStateTransitionEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateRequestorClusterStateTransitionEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateRequestorClusterStateTransitionEvent.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateRequestorClusterStateTransitionEvent() {} + protected MTROTASoftwareUpdateRequestorClusterStateTransitionEvent(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateRequestorClusterStateTransitionEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "previousState") + public native NSNumber getPreviousState(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPreviousState:") + public native void setPreviousState(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "getNewState") + public native NSNumber getNewState(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNewState:") + public native void setNewState(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "reason") + public native NSNumber getReason(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReason:") + public native void setReason(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "targetSoftwareVersion") + public native NSNumber getTargetSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setTargetSoftwareVersion:") + public native void setTargetSoftwareVersion(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent.java new file mode 100644 index 000000000..dddc7dc9f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROTASoftwareUpdateRequestorClusterVersionAppliedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent.class); }/**/ + /**//**/ + /**/ + public MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent() {} + protected MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent(Handle h, long handle) { super(h, handle); } + protected MTROTASoftwareUpdateRequestorClusterVersionAppliedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "softwareVersion") + public native NSNumber getSoftwareVersion(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSoftwareVersion:") + public native void setSoftwareVersion(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "productID") + public native NSNumber getProductID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setProductID:") + public native void setProductID(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAAnnouncementReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAAnnouncementReason.java new file mode 100644 index 000000000..d5a612797 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAAnnouncementReason.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateRequestorOTAAnnouncementReason/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + SimpleAnnouncement(0L), + /** + * @since Available in iOS 16.4 and later. + */ + UpdateAvailable(1L), + /** + * @since Available in iOS 16.4 and later. + */ + UrgentUpdateAvailable(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateRequestorOTAAnnouncementReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateRequestorOTAAnnouncementReason/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateRequestorOTAAnnouncementReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateRequestorOTAAnnouncementReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAChangeReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAChangeReason.java new file mode 100644 index 000000000..0a61d049f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAChangeReason.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateRequestorOTAChangeReason/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unknown(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Success(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Failure(2L), + /** + * @since Available in iOS 16.4 and later. + */ + TimeOut(3L), + /** + * @since Available in iOS 16.4 and later. + */ + DelayByProvider(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateRequestorOTAChangeReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateRequestorOTAChangeReason/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateRequestorOTAChangeReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateRequestorOTAChangeReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAUpdateState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAUpdateState.java new file mode 100644 index 000000000..2986d4cbb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROTASoftwareUpdateRequestorOTAUpdateState.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROTASoftwareUpdateRequestorOTAUpdateState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unknown(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Idle(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Querying(2L), + /** + * @since Available in iOS 16.4 and later. + */ + DelayedOnQuery(3L), + /** + * @since Available in iOS 16.4 and later. + */ + Downloading(4L), + /** + * @since Available in iOS 16.4 and later. + */ + Applying(5L), + /** + * @since Available in iOS 16.4 and later. + */ + DelayedOnApply(6L), + /** + * @since Available in iOS 16.4 and later. + */ + RollingBack(7L), + /** + * @since Available in iOS 16.4 and later. + */ + DelayedOnUserConsent(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROTASoftwareUpdateRequestorOTAUpdateState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROTASoftwareUpdateRequestorOTAUpdateState/**/ valueOf(long n) { + for (/**/MTROTASoftwareUpdateRequestorOTAUpdateState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROTASoftwareUpdateRequestorOTAUpdateState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancyBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancyBitmap.java new file mode 100644 index 000000000..f4a3a9359 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancyBitmap.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTROccupancySensingOccupancyBitmap/**/ extends Bits*/MTROccupancySensingOccupancyBitmap/**/> { + /**/ + public static final MTROccupancySensingOccupancyBitmap None = new MTROccupancySensingOccupancyBitmap(0L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTROccupancySensingOccupancyBitmap Occupied = new MTROccupancySensingOccupancyBitmap(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTROccupancySensingOccupancyBitmap/**/[] values = _values(/**/MTROccupancySensingOccupancyBitmap/**/.class); + + public /**/MTROccupancySensingOccupancyBitmap/**/(long value) { super(value); } + private /**/MTROccupancySensingOccupancyBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTROccupancySensingOccupancyBitmap/**/ wrap(long value, long mask) { + return new /**/MTROccupancySensingOccupancyBitmap/**/(value, mask); + } + protected /**/MTROccupancySensingOccupancyBitmap/**/[] _values() { + return values; + } + public static /**/MTROccupancySensingOccupancyBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorType.java new file mode 100644 index 000000000..c7aa39d2b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorType.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROccupancySensingOccupancySensorType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + PIR(0L), + /** + * @since Available in iOS 16.5 and later. + */ + Ultrasonic(1L), + /** + * @since Available in iOS 16.5 and later. + */ + PIRAndUltrasonic(2L), + /** + * @since Available in iOS 16.5 and later. + */ + PhysicalContact(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROccupancySensingOccupancySensorType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROccupancySensingOccupancySensorType/**/ valueOf(long n) { + for (/**/MTROccupancySensingOccupancySensorType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROccupancySensingOccupancySensorType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorTypeBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorTypeBitmap.java new file mode 100644 index 000000000..1306e104e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROccupancySensingOccupancySensorTypeBitmap.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTROccupancySensingOccupancySensorTypeBitmap/**/ extends Bits*/MTROccupancySensingOccupancySensorTypeBitmap/**/> { + /**/ + public static final MTROccupancySensingOccupancySensorTypeBitmap None = new MTROccupancySensingOccupancySensorTypeBitmap(0L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTROccupancySensingOccupancySensorTypeBitmap PIR = new MTROccupancySensingOccupancySensorTypeBitmap(1L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTROccupancySensingOccupancySensorTypeBitmap Ultrasonic = new MTROccupancySensingOccupancySensorTypeBitmap(2L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTROccupancySensingOccupancySensorTypeBitmap PhysicalContact = new MTROccupancySensingOccupancySensorTypeBitmap(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTROccupancySensingOccupancySensorTypeBitmap/**/[] values = _values(/**/MTROccupancySensingOccupancySensorTypeBitmap/**/.class); + + public /**/MTROccupancySensingOccupancySensorTypeBitmap/**/(long value) { super(value); } + private /**/MTROccupancySensingOccupancySensorTypeBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTROccupancySensingOccupancySensorTypeBitmap/**/ wrap(long value, long mask) { + return new /**/MTROccupancySensingOccupancySensorTypeBitmap/**/(value, mask); + } + protected /**/MTROccupancySensingOccupancySensorTypeBitmap/**/[] _values() { + return values; + } + public static /**/MTROccupancySensingOccupancySensorTypeBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffParams.java new file mode 100644 index 000000000..dff689d4c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterOffParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterOffParams() {} + protected MTROnOffClusterOffParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffWithEffectParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffWithEffectParams.java new file mode 100644 index 000000000..c249e50dd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOffWithEffectParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterOffWithEffectParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterOffWithEffectParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterOffWithEffectParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterOffWithEffectParams() {} + protected MTROnOffClusterOffWithEffectParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterOffWithEffectParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "effectIdentifier") + public native NSNumber getEffectIdentifier(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setEffectIdentifier:") + public native void setEffectIdentifier(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "effectVariant") + public native NSNumber getEffectVariant(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setEffectVariant:") + public native void setEffectVariant(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnParams.java new file mode 100644 index 000000000..13e22d46e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterOnParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterOnParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterOnParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterOnParams() {} + protected MTROnOffClusterOnParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterOnParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithRecallGlobalSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithRecallGlobalSceneParams.java new file mode 100644 index 000000000..ae8a90438 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithRecallGlobalSceneParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterOnWithRecallGlobalSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterOnWithRecallGlobalSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterOnWithRecallGlobalSceneParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterOnWithRecallGlobalSceneParams() {} + protected MTROnOffClusterOnWithRecallGlobalSceneParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterOnWithRecallGlobalSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithTimedOffParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithTimedOffParams.java new file mode 100644 index 000000000..6ad0904bd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterOnWithTimedOffParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterOnWithTimedOffParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterOnWithTimedOffParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterOnWithTimedOffParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterOnWithTimedOffParams() {} + protected MTROnOffClusterOnWithTimedOffParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterOnWithTimedOffParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "onOffControl") + public native NSNumber getOnOffControl(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOnOffControl:") + public native void setOnOffControl(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "onTime") + public native NSNumber getOnTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOnTime:") + public native void setOnTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "offWaitTime") + public native NSNumber getOffWaitTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setOffWaitTime:") + public native void setOffWaitTime(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterToggleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterToggleParams.java new file mode 100644 index 000000000..48af57aa8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffClusterToggleParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROnOffClusterToggleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROnOffClusterToggleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROnOffClusterToggleParams.class); }/**/ + /**//**/ + /**/ + public MTROnOffClusterToggleParams() {} + protected MTROnOffClusterToggleParams(Handle h, long handle) { super(h, handle); } + protected MTROnOffClusterToggleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffControl.java new file mode 100644 index 000000000..3617e9d17 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffControl.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTROnOffControl/**/ extends Bits*/MTROnOffControl/**/> { + /**/ + public static final MTROnOffControl None = new MTROnOffControl(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTROnOffControl AcceptOnlyWhenOn = new MTROnOffControl(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTROnOffControl/**/[] values = _values(/**/MTROnOffControl/**/.class); + + public /**/MTROnOffControl/**/(long value) { super(value); } + private /**/MTROnOffControl/**/(long value, long mask) { super(value, mask); } + protected /**/MTROnOffControl/**/ wrap(long value, long mask) { + return new /**/MTROnOffControl/**/(value, mask); + } + protected /**/MTROnOffControl/**/[] _values() { + return values; + } + public static /**/MTROnOffControl/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDelayedAllOffEffectVariant.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDelayedAllOffEffectVariant.java new file mode 100644 index 000000000..2e0b08c6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDelayedAllOffEffectVariant.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROnOffDelayedAllOffEffectVariant/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + FadeToOffIn0p8Seconds(0L), + /** + * @since Available in iOS 16.1 and later. + */ + NoFade(1L), + /** + * @since Available in iOS 16.1 and later. + */ + _50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROnOffDelayedAllOffEffectVariant/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROnOffDelayedAllOffEffectVariant/**/ valueOf(long n) { + for (/**/MTROnOffDelayedAllOffEffectVariant/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROnOffDelayedAllOffEffectVariant/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDyingLightEffectVariant.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDyingLightEffectVariant.java new file mode 100644 index 000000000..4a55e2654 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffDyingLightEffectVariant.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROnOffDyingLightEffectVariant/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + _20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second(0L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROnOffDyingLightEffectVariant/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROnOffDyingLightEffectVariant/**/ valueOf(long n) { + for (/**/MTROnOffDyingLightEffectVariant/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROnOffDyingLightEffectVariant/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffEffectIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffEffectIdentifier.java new file mode 100644 index 000000000..3fd007dbc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffEffectIdentifier.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROnOffEffectIdentifier/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + DelayedAllOff(0L), + /** + * @since Available in iOS 16.1 and later. + */ + DyingLight(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROnOffEffectIdentifier/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROnOffEffectIdentifier/**/ valueOf(long n) { + for (/**/MTROnOffEffectIdentifier/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROnOffEffectIdentifier/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffFeature.java new file mode 100644 index 000000000..6176405d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTROnOffFeature/**/ extends Bits*/MTROnOffFeature/**/> { + /**/ + public static final MTROnOffFeature None = new MTROnOffFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTROnOffFeature Lighting = new MTROnOffFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTROnOffFeature/**/[] values = _values(/**/MTROnOffFeature/**/.class); + + public /**/MTROnOffFeature/**/(long value) { super(value); } + private /**/MTROnOffFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTROnOffFeature/**/ wrap(long value, long mask) { + return new /**/MTROnOffFeature/**/(value, mask); + } + protected /**/MTROnOffFeature/**/[] _values() { + return values; + } + public static /**/MTROnOffFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffStartUpOnOff.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffStartUpOnOff.java new file mode 100644 index 000000000..27b43f99c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROnOffStartUpOnOff.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROnOffStartUpOnOff/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Off(0L), + /** + * @since Available in iOS 16.1 and later. + */ + On(1L), + /** + * @since Available in iOS 16.1 and later. + */ + TogglePreviousOnOff(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROnOffStartUpOnOff/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROnOffStartUpOnOff/**/ valueOf(long n) { + for (/**/MTROnOffStartUpOnOff/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROnOffStartUpOnOff/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCSRInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCSRInfo.java new file mode 100644 index 000000000..0ac1990c7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCSRInfo.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCSRInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCSRInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCSRInfo.class); }/**/ + /**//**/ + /**/ + public MTROperationalCSRInfo() {} + protected MTROperationalCSRInfo(Handle h, long handle) { super(h, handle); } + protected MTROperationalCSRInfo(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRNonce:csrElementsTLV:attestationSignature:") + public MTROperationalCSRInfo(NSData csrNonce, NSData csrElementsTLV, NSData attestationSignature) { super((SkipInit) null); initObject(init(csrNonce, csrElementsTLV, attestationSignature)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRElementsTLV:attestationSignature:") + public MTROperationalCSRInfo(NSData csrElementsTLV, NSData attestationSignature) { super((SkipInit) null); initObject(init(csrElementsTLV, attestationSignature)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRResponseParams:") + public MTROperationalCSRInfo(MTROperationalCredentialsClusterCSRResponseParams responseParams) { super((SkipInit) null); initObject(init(responseParams)); } + /**/ + /**/ + @Property(selector = "csr") + public native NSData getCsr(); + @Property(selector = "csrNonce") + public native NSData getCsrNonce(); + @Property(selector = "csrElementsTLV") + public native NSData getCsrElementsTLV(); + @Property(selector = "attestationSignature") + public native NSData getAttestationSignature(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRNonce:csrElementsTLV:attestationSignature:") + protected native @Pointer long init(NSData csrNonce, NSData csrElementsTLV, NSData attestationSignature); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRElementsTLV:attestationSignature:") + protected native @Pointer long init(NSData csrElementsTLV, NSData attestationSignature); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCSRResponseParams:") + protected native @Pointer long init(MTROperationalCredentialsClusterCSRResponseParams responseParams); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateChain.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateChain.java new file mode 100644 index 000000000..b48708f1c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateChain.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCertificateChain/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCertificateChainPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCertificateChain.class); }/**/ + /**//**/ + /**/ + protected MTROperationalCertificateChain() {} + protected MTROperationalCertificateChain(Handle h, long handle) { super(h, handle); } + protected MTROperationalCertificateChain(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithOperationalCertificate:intermediateCertificate:rootCertificate:adminSubject:") + public MTROperationalCertificateChain(NSData operationalCertificate, NSData intermediateCertificate, NSData rootCertificate, NSNumber adminSubject) { super((SkipInit) null); initObject(init(operationalCertificate, intermediateCertificate, rootCertificate, adminSubject)); } + /**/ + /**/ + @Property(selector = "operationalCertificate") + public native NSData getOperationalCertificate(); + @Property(selector = "setOperationalCertificate:") + public native void setOperationalCertificate(NSData v); + @Property(selector = "intermediateCertificate") + public native NSData getIntermediateCertificate(); + @Property(selector = "setIntermediateCertificate:") + public native void setIntermediateCertificate(NSData v); + @Property(selector = "rootCertificate") + public native NSData getRootCertificate(); + @Property(selector = "setRootCertificate:") + public native void setRootCertificate(NSData v); + @Property(selector = "adminSubject") + public native NSNumber getAdminSubject(); + @Property(selector = "setAdminSubject:") + public native void setAdminSubject(NSNumber v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithOperationalCertificate:intermediateCertificate:rootCertificate:adminSubject:") + protected native @Pointer long init(NSData operationalCertificate, NSData intermediateCertificate, NSData rootCertificate, NSNumber adminSubject); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuer.java new file mode 100644 index 000000000..742d906eb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuer.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/MTROperationalCertificateIssuer/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "shouldSkipAttestationCertificateValidation") + boolean shouldSkipAttestationCertificateValidation(); + /**/ + /**/ + @Method(selector = "issueOperationalCertificateForRequest:attestationInfo:controller:completion:") + void issueOperationalCertificate(MTROperationalCSRInfo csrInfo, MTRDeviceAttestationInfo attestationInfo, MTRDeviceController controller, @Block VoidBlock2 completion); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuerAdapter.java new file mode 100644 index 000000000..a3cb77ef5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCertificateIssuerAdapter.java @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTROperationalCertificateIssuerAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTROperationalCertificateIssuer/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("shouldSkipAttestationCertificateValidation") + public boolean shouldSkipAttestationCertificateValidation() { return false; } + /**/ + /**//**/ + /**/ + @NotImplemented("issueOperationalCertificateForRequest:attestationInfo:controller:completion:") + public void issueOperationalCertificate(MTROperationalCSRInfo csrInfo, MTRDeviceAttestationInfo attestationInfo, MTRDeviceController controller, @Block VoidBlock2 completion) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsCertificateChainType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsCertificateChainType.java new file mode 100644 index 000000000..640afa71e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsCertificateChainType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROperationalCredentialsCertificateChainType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + DACCertificate(1L), + /** + * @since Available in iOS 16.4 and later. + */ + PAICertificate(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROperationalCredentialsCertificateChainType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROperationalCredentialsCertificateChainType/**/ valueOf(long n) { + for (/**/MTROperationalCredentialsCertificateChainType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROperationalCredentialsCertificateChainType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddNOCParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddNOCParams.java new file mode 100644 index 000000000..19ce59393 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddNOCParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterAddNOCParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterAddNOCParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterAddNOCParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterAddNOCParams() {} + protected MTROperationalCredentialsClusterAddNOCParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterAddNOCParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nocValue") + public native NSData getNocValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNocValue:") + public native void setNocValue(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "icacValue") + public native NSData getIcacValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIcacValue:") + public native void setIcacValue(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "ipkValue") + public native NSData getIpkValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIpkValue:") + public native void setIpkValue(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "caseAdminSubject") + public native NSNumber getCaseAdminSubject(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCaseAdminSubject:") + public native void setCaseAdminSubject(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "adminVendorId") + public native NSNumber getAdminVendorId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAdminVendorId:") + public native void setAdminVendorId(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddTrustedRootCertificateParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddTrustedRootCertificateParams.java new file mode 100644 index 000000000..6bf47ec7f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAddTrustedRootCertificateParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterAddTrustedRootCertificateParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterAddTrustedRootCertificateParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterAddTrustedRootCertificateParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterAddTrustedRootCertificateParams() {} + protected MTROperationalCredentialsClusterAddTrustedRootCertificateParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterAddTrustedRootCertificateParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "rootCACertificate") + public native NSData getRootCACertificate(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setRootCACertificate:") + public native void setRootCACertificate(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationRequestParams.java new file mode 100644 index 000000000..676f3270a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterAttestationRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterAttestationRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterAttestationRequestParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterAttestationRequestParams() {} + protected MTROperationalCredentialsClusterAttestationRequestParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterAttestationRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attestationNonce") + public native NSData getAttestationNonce(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttestationNonce:") + public native void setAttestationNonce(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationResponseParams.java new file mode 100644 index 000000000..fa427b36d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterAttestationResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterAttestationResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterAttestationResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterAttestationResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterAttestationResponseParams() {} + protected MTROperationalCredentialsClusterAttestationResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterAttestationResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROperationalCredentialsClusterAttestationResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attestationElements") + public native NSData getAttestationElements(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttestationElements:") + public native void setAttestationElements(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "attestationSignature") + public native NSData getAttestationSignature(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAttestationSignature:") + public native void setAttestationSignature(NSData v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRRequestParams.java new file mode 100644 index 000000000..593cdf6e4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRRequestParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterCSRRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterCSRRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterCSRRequestParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterCSRRequestParams() {} + protected MTROperationalCredentialsClusterCSRRequestParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterCSRRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "csrNonce") + public native NSData getCsrNonce(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCsrNonce:") + public native void setCsrNonce(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "isForUpdateNOC") + public native NSNumber getIsForUpdateNOC(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIsForUpdateNOC:") + public native void setIsForUpdateNOC(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRResponseParams.java new file mode 100644 index 000000000..bbe82fca2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCSRResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterCSRResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterCSRResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterCSRResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterCSRResponseParams() {} + protected MTROperationalCredentialsClusterCSRResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterCSRResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROperationalCredentialsClusterCSRResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nocsrElements") + public native NSData getNocsrElements(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNocsrElements:") + public native void setNocsrElements(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attestationSignature") + public native NSData getAttestationSignature(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttestationSignature:") + public native void setAttestationSignature(NSData v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainRequestParams.java new file mode 100644 index 000000000..6e126e97d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterCertificateChainRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterCertificateChainRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterCertificateChainRequestParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterCertificateChainRequestParams() {} + protected MTROperationalCredentialsClusterCertificateChainRequestParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterCertificateChainRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "certificateType") + public native NSNumber getCertificateType(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCertificateType:") + public native void setCertificateType(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainResponseParams.java new file mode 100644 index 000000000..856e5bf6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterCertificateChainResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterCertificateChainResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterCertificateChainResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterCertificateChainResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterCertificateChainResponseParams() {} + protected MTROperationalCredentialsClusterCertificateChainResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterCertificateChainResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROperationalCredentialsClusterCertificateChainResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "certificate") + public native NSData getCertificate(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCertificate:") + public native void setCertificate(NSData v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterFabricDescriptorStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterFabricDescriptorStruct.java new file mode 100644 index 000000000..a2f65c8e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterFabricDescriptorStruct.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterFabricDescriptorStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterFabricDescriptorStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterFabricDescriptorStruct.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterFabricDescriptorStruct() {} + protected MTROperationalCredentialsClusterFabricDescriptorStruct(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterFabricDescriptorStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "rootPublicKey") + public native NSData getRootPublicKey(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setRootPublicKey:") + public native void setRootPublicKey(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricID") + public native NSNumber getFabricID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricID:") + public native void setFabricID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nodeID") + public native NSNumber getNodeID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNodeID:") + public native void setNodeID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "label") + public native String getLabel(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setLabel:") + public native void setLabel(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCResponseParams.java new file mode 100644 index 000000000..c957414ef --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterNOCResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterNOCResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterNOCResponseParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterNOCResponseParams() {} + protected MTROperationalCredentialsClusterNOCResponseParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterNOCResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTROperationalCredentialsClusterNOCResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "statusCode") + public native NSNumber getStatusCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatusCode:") + public native void setStatusCode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "debugText") + public native String getDebugText(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDebugText:") + public native void setDebugText(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCStruct.java new file mode 100644 index 000000000..c398f5882 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterNOCStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterNOCStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterNOCStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterNOCStruct.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterNOCStruct() {} + protected MTROperationalCredentialsClusterNOCStruct(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterNOCStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "noc") + public native NSData getNoc(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNoc:") + public native void setNoc(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "icac") + public native NSData getIcac(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIcac:") + public native void setIcac(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterRemoveFabricParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterRemoveFabricParams.java new file mode 100644 index 000000000..374538c58 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterRemoveFabricParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterRemoveFabricParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterRemoveFabricParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterRemoveFabricParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterRemoveFabricParams() {} + protected MTROperationalCredentialsClusterRemoveFabricParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterRemoveFabricParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateFabricLabelParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateFabricLabelParams.java new file mode 100644 index 000000000..1bf314e54 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateFabricLabelParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterUpdateFabricLabelParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterUpdateFabricLabelParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterUpdateFabricLabelParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterUpdateFabricLabelParams() {} + protected MTROperationalCredentialsClusterUpdateFabricLabelParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterUpdateFabricLabelParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "label") + public native String getLabel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLabel:") + public native void setLabel(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateNOCParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateNOCParams.java new file mode 100644 index 000000000..c44df18b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsClusterUpdateNOCParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROperationalCredentialsClusterUpdateNOCParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROperationalCredentialsClusterUpdateNOCParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROperationalCredentialsClusterUpdateNOCParams.class); }/**/ + /**//**/ + /**/ + public MTROperationalCredentialsClusterUpdateNOCParams() {} + protected MTROperationalCredentialsClusterUpdateNOCParams(Handle h, long handle) { super(h, handle); } + protected MTROperationalCredentialsClusterUpdateNOCParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "nocValue") + public native NSData getNocValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNocValue:") + public native void setNocValue(NSData v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "icacValue") + public native NSData getIcacValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setIcacValue:") + public native void setIcacValue(NSData v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsNodeOperationalCertStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsNodeOperationalCertStatus.java new file mode 100644 index 000000000..f70597cd8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROperationalCredentialsNodeOperationalCertStatus.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTROperationalCredentialsNodeOperationalCertStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + OK(0L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidPublicKey(1L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidNodeOpId(2L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidNOC(3L), + /** + * @since Available in iOS 16.4 and later. + */ + MissingCsr(4L), + /** + * @since Available in iOS 16.4 and later. + */ + TableFull(5L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidAdminSubject(6L), + /** + * @since Available in iOS 16.4 and later. + */ + FabricConflict(9L), + /** + * @since Available in iOS 16.4 and later. + */ + LabelConflict(10L), + /** + * @since Available in iOS 16.4 and later. + */ + InvalidFabricIndex(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROperationalCredentialsNodeOperationalCertStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROperationalCredentialsNodeOperationalCertStatus/**/ valueOf(long n) { + for (/**/MTROperationalCredentialsNodeOperationalCertStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROperationalCredentialsNodeOperationalCertStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfo.java new file mode 100644 index 000000000..c4b6e7d04 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfo.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTROptionalQRCodeInfo/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTROptionalQRCodeInfoPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTROptionalQRCodeInfo.class); }/**/ + /**//**/ + /**/ + public MTROptionalQRCodeInfo() {} + protected MTROptionalQRCodeInfo(Handle h, long handle) { super(h, handle); } + protected MTROptionalQRCodeInfo(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "type") + public native MTROptionalQRCodeInfoType getType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setType:") + public native void setType(MTROptionalQRCodeInfoType v); + @Property(selector = "tag") + public native NSNumber getTag(); + @Property(selector = "setTag:") + public native void setTag(NSNumber v); + @Property(selector = "integerValue") + public native NSNumber getIntegerValue(); + @Property(selector = "setIntegerValue:") + public native void setIntegerValue(NSNumber v); + @Property(selector = "stringValue") + public native String getStringValue(); + @Property(selector = "setStringValue:") + public native void setStringValue(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfoType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfoType.java new file mode 100644 index 000000000..b92ddf32f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTROptionalQRCodeInfoType.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MTROptionalQRCodeInfoType/**/ implements ValuedEnum { + /**/ + String(1L), + Int32(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTROptionalQRCodeInfoType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTROptionalQRCodeInfoType/**/ valueOf(long n) { + for (/**/MTROptionalQRCodeInfoType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTROptionalQRCodeInfoType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatApprovedChemistry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatApprovedChemistry.java new file mode 100644 index 000000000..ebc4e4b46 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatApprovedChemistry.java @@ -0,0 +1,195 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedShortMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatApprovedChemistry/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.5 and later. + */ + Alkaline(1L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumCarbonFluoride(2L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumChromiumOxide(3L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumCopperOxide(4L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumIronDisulfide(5L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumManganeseDioxide(6L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumThionylChloride(7L), + /** + * @since Available in iOS 16.5 and later. + */ + Magnesium(8L), + /** + * @since Available in iOS 16.5 and later. + */ + MercuryOxide(9L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelOxyhydride(10L), + /** + * @since Available in iOS 16.5 and later. + */ + SilverOxide(11L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincAir(12L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincCarbon(13L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincChloride(14L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincManganeseDioxide(15L), + /** + * @since Available in iOS 16.5 and later. + */ + LeadAcid(16L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumCobaltOxide(17L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumIon(18L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumIonPolymer(19L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumIronPhosphate(20L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumSulfur(21L), + /** + * @since Available in iOS 16.5 and later. + */ + LithiumTitanate(22L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelCadmium(23L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelHydrogen(24L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelIron(25L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelMetalHydride(26L), + /** + * @since Available in iOS 16.5 and later. + */ + NickelZinc(27L), + /** + * @since Available in iOS 16.5 and later. + */ + SilverZinc(28L), + /** + * @since Available in iOS 16.5 and later. + */ + SodiumIon(29L), + /** + * @since Available in iOS 16.5 and later. + */ + SodiumSulfur(30L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincBromide(31L), + /** + * @since Available in iOS 16.5 and later. + */ + ZincCerium(32L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatApprovedChemistry/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatApprovedChemistry/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatApprovedChemistry/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatApprovedChemistry/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeFault.java new file mode 100644 index 000000000..7325d35f2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeFault.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatChargeFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + AmbientTooHot(1L), + /** + * @since Available in iOS 16.1 and later. + */ + AmbientTooCold(2L), + /** + * @since Available in iOS 16.1 and later. + */ + BatteryTooHot(3L), + /** + * @since Available in iOS 16.1 and later. + */ + BatteryTooCold(4L), + /** + * @since Available in iOS 16.1 and later. + */ + BatteryAbsent(5L), + /** + * @since Available in iOS 16.1 and later. + */ + BatteryOverVoltage(6L), + /** + * @since Available in iOS 16.1 and later. + */ + BatteryUnderVoltage(7L), + /** + * @since Available in iOS 16.1 and later. + */ + ChargerOverVoltage(8L), + /** + * @since Available in iOS 16.1 and later. + */ + ChargerUnderVoltage(9L), + /** + * @since Available in iOS 16.1 and later. + */ + SafetyTimeout(10L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatChargeFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatChargeFault/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatChargeFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatChargeFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeLevel.java new file mode 100644 index 000000000..505984912 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeLevel.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatChargeLevel/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + OK(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Warning(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Critical(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatChargeLevel/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatChargeLevel/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatChargeLevel/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatChargeLevel/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeState.java new file mode 100644 index 000000000..189e0327e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatChargeState.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatChargeState/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(0L), + /** + * @since Available in iOS 16.1 and later. + */ + IsCharging(1L), + /** + * @since Available in iOS 16.1 and later. + */ + IsAtFullCharge(2L), + /** + * @since Available in iOS 16.1 and later. + */ + IsNotCharging(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatChargeState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatChargeState/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatChargeState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatChargeState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatCommonDesignation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatCommonDesignation.java new file mode 100644 index 000000000..c85aa35ee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatCommonDesignation.java @@ -0,0 +1,387 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedShortMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatCommonDesignation/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.5 and later. + */ + AAA(1L), + /** + * @since Available in iOS 16.5 and later. + */ + AA(2L), + /** + * @since Available in iOS 16.5 and later. + */ + C(3L), + /** + * @since Available in iOS 16.5 and later. + */ + D(4L), + /** + * @since Available in iOS 16.5 and later. + */ + _4v5(5L), + /** + * @since Available in iOS 16.5 and later. + */ + _6v0(6L), + /** + * @since Available in iOS 16.5 and later. + */ + _9v0(7L), + /** + * @since Available in iOS 16.5 and later. + */ + _12AA(8L), + /** + * @since Available in iOS 16.5 and later. + */ + AAAA(9L), + /** + * @since Available in iOS 16.5 and later. + */ + A(10L), + /** + * @since Available in iOS 16.5 and later. + */ + B(11L), + /** + * @since Available in iOS 16.5 and later. + */ + F(12L), + /** + * @since Available in iOS 16.5 and later. + */ + N(13L), + /** + * @since Available in iOS 16.5 and later. + */ + No6(14L), + /** + * @since Available in iOS 16.5 and later. + */ + SubC(15L), + /** + * @since Available in iOS 16.5 and later. + */ + A23(16L), + /** + * @since Available in iOS 16.5 and later. + */ + A27(17L), + /** + * @since Available in iOS 16.5 and later. + */ + BA5800(18L), + /** + * @since Available in iOS 16.5 and later. + */ + Duplex(19L), + /** + * @since Available in iOS 16.5 and later. + */ + _4SR44(20L), + /** + * @since Available in iOS 16.5 and later. + */ + _523(21L), + /** + * @since Available in iOS 16.5 and later. + */ + _531(22L), + /** + * @since Available in iOS 16.5 and later. + */ + _15v0(23L), + /** + * @since Available in iOS 16.5 and later. + */ + _22v5(24L), + /** + * @since Available in iOS 16.5 and later. + */ + _30v0(25L), + /** + * @since Available in iOS 16.5 and later. + */ + _45v0(26L), + /** + * @since Available in iOS 16.5 and later. + */ + _67v5(27L), + /** + * @since Available in iOS 16.5 and later. + */ + J(28L), + /** + * @since Available in iOS 16.5 and later. + */ + CR123A(29L), + /** + * @since Available in iOS 16.5 and later. + */ + CR2(30L), + /** + * @since Available in iOS 16.5 and later. + */ + _2CR5(31L), + /** + * @since Available in iOS 16.5 and later. + */ + CRP2(32L), + /** + * @since Available in iOS 16.5 and later. + */ + CRV3(33L), + /** + * @since Available in iOS 16.5 and later. + */ + SR41(34L), + /** + * @since Available in iOS 16.5 and later. + */ + SR43(35L), + /** + * @since Available in iOS 16.5 and later. + */ + SR44(36L), + /** + * @since Available in iOS 16.5 and later. + */ + SR45(37L), + /** + * @since Available in iOS 16.5 and later. + */ + SR48(38L), + /** + * @since Available in iOS 16.5 and later. + */ + SR54(39L), + /** + * @since Available in iOS 16.5 and later. + */ + SR55(40L), + /** + * @since Available in iOS 16.5 and later. + */ + SR57(41L), + /** + * @since Available in iOS 16.5 and later. + */ + SR58(42L), + /** + * @since Available in iOS 16.5 and later. + */ + SR59(43L), + /** + * @since Available in iOS 16.5 and later. + */ + SR60(44L), + /** + * @since Available in iOS 16.5 and later. + */ + SR63(45L), + /** + * @since Available in iOS 16.5 and later. + */ + SR64(46L), + /** + * @since Available in iOS 16.5 and later. + */ + SR65(47L), + /** + * @since Available in iOS 16.5 and later. + */ + SR66(48L), + /** + * @since Available in iOS 16.5 and later. + */ + SR67(49L), + /** + * @since Available in iOS 16.5 and later. + */ + SR68(50L), + /** + * @since Available in iOS 16.5 and later. + */ + SR69(51L), + /** + * @since Available in iOS 16.5 and later. + */ + SR516(52L), + /** + * @since Available in iOS 16.5 and later. + */ + SR731(53L), + /** + * @since Available in iOS 16.5 and later. + */ + SR712(54L), + /** + * @since Available in iOS 16.5 and later. + */ + LR932(55L), + /** + * @since Available in iOS 16.5 and later. + */ + A5(56L), + /** + * @since Available in iOS 16.5 and later. + */ + A10(57L), + /** + * @since Available in iOS 16.5 and later. + */ + A13(58L), + /** + * @since Available in iOS 16.5 and later. + */ + A312(59L), + /** + * @since Available in iOS 16.5 and later. + */ + A675(60L), + /** + * @since Available in iOS 16.5 and later. + */ + AC41E(61L), + /** + * @since Available in iOS 16.5 and later. + */ + _10180(62L), + /** + * @since Available in iOS 16.5 and later. + */ + _10280(63L), + /** + * @since Available in iOS 16.5 and later. + */ + _10440(64L), + /** + * @since Available in iOS 16.5 and later. + */ + _14250(65L), + /** + * @since Available in iOS 16.5 and later. + */ + _14430(66L), + /** + * @since Available in iOS 16.5 and later. + */ + _14500(67L), + /** + * @since Available in iOS 16.5 and later. + */ + _14650(68L), + /** + * @since Available in iOS 16.5 and later. + */ + _15270(69L), + /** + * @since Available in iOS 16.5 and later. + */ + _16340(70L), + /** + * @since Available in iOS 16.5 and later. + */ + RCR123A(71L), + /** + * @since Available in iOS 16.5 and later. + */ + _17500(72L), + /** + * @since Available in iOS 16.5 and later. + */ + _17670(73L), + /** + * @since Available in iOS 16.5 and later. + */ + _18350(74L), + /** + * @since Available in iOS 16.5 and later. + */ + _18500(75L), + /** + * @since Available in iOS 16.5 and later. + */ + _18650(76L), + /** + * @since Available in iOS 16.5 and later. + */ + _19670(77L), + /** + * @since Available in iOS 16.5 and later. + */ + _25500(78L), + /** + * @since Available in iOS 16.5 and later. + */ + _26650(79L), + /** + * @since Available in iOS 16.5 and later. + */ + _32600(80L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatCommonDesignation/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatCommonDesignation/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatCommonDesignation/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatCommonDesignation/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatFault.java new file mode 100644 index 000000000..bafe77fae --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatFault.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + OverTemp(1L), + /** + * @since Available in iOS 16.1 and later. + */ + UnderTemp(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatFault/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatReplaceability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatReplaceability.java new file mode 100644 index 000000000..248da4f05 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceBatReplaceability.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceBatReplaceability/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + NotReplaceable(1L), + /** + * @since Available in iOS 16.1 and later. + */ + UserReplaceable(2L), + /** + * @since Available in iOS 16.1 and later. + */ + FactoryReplaceable(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceBatReplaceability/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceBatReplaceability/**/ valueOf(long n) { + for (/**/MTRPowerSourceBatReplaceability/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceBatReplaceability/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatChargeFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatChargeFaultChangeEvent.java new file mode 100644 index 000000000..3a15f2f59 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatChargeFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPowerSourceClusterBatChargeFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPowerSourceClusterBatChargeFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPowerSourceClusterBatChargeFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRPowerSourceClusterBatChargeFaultChangeEvent() {} + protected MTRPowerSourceClusterBatChargeFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRPowerSourceClusterBatChargeFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatFaultChangeEvent.java new file mode 100644 index 000000000..3d6a20519 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterBatFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPowerSourceClusterBatFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPowerSourceClusterBatFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPowerSourceClusterBatFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRPowerSourceClusterBatFaultChangeEvent() {} + protected MTRPowerSourceClusterBatFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRPowerSourceClusterBatFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterWiredFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterWiredFaultChangeEvent.java new file mode 100644 index 000000000..ccaaf4c12 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceClusterWiredFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPowerSourceClusterWiredFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPowerSourceClusterWiredFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPowerSourceClusterWiredFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRPowerSourceClusterWiredFaultChangeEvent() {} + protected MTRPowerSourceClusterWiredFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRPowerSourceClusterWiredFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceFeature.java new file mode 100644 index 000000000..107215a60 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceFeature.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRPowerSourceFeature/**/ extends Bits*/MTRPowerSourceFeature/**/> { + /**/ + public static final MTRPowerSourceFeature None = new MTRPowerSourceFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRPowerSourceFeature Wired = new MTRPowerSourceFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRPowerSourceFeature Battery = new MTRPowerSourceFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRPowerSourceFeature Rechargeable = new MTRPowerSourceFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRPowerSourceFeature Replaceable = new MTRPowerSourceFeature(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRPowerSourceFeature/**/[] values = _values(/**/MTRPowerSourceFeature/**/.class); + + public /**/MTRPowerSourceFeature/**/(long value) { super(value); } + private /**/MTRPowerSourceFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRPowerSourceFeature/**/ wrap(long value, long mask) { + return new /**/MTRPowerSourceFeature/**/(value, mask); + } + protected /**/MTRPowerSourceFeature/**/[] _values() { + return values; + } + public static /**/MTRPowerSourceFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceStatus.java new file mode 100644 index 000000000..780dd49ad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceStatus.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Active(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Standby(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Unavailable(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceStatus/**/ valueOf(long n) { + for (/**/MTRPowerSourceStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredCurrentType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredCurrentType.java new file mode 100644 index 000000000..704102630 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredCurrentType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceWiredCurrentType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + AC(0L), + /** + * @since Available in iOS 16.1 and later. + */ + DC(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceWiredCurrentType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceWiredCurrentType/**/ valueOf(long n) { + for (/**/MTRPowerSourceWiredCurrentType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceWiredCurrentType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredFault.java new file mode 100644 index 000000000..c4d633acb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPowerSourceWiredFault.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPowerSourceWiredFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + OverVoltage(1L), + /** + * @since Available in iOS 16.1 and later. + */ + UnderVoltage(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPowerSourceWiredFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPowerSourceWiredFault/**/ valueOf(long n) { + for (/**/MTRPowerSourceWiredFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPowerSourceWiredFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPressureMeasurementFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPressureMeasurementFeature.java new file mode 100644 index 000000000..c0b5306b4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPressureMeasurementFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public final class /**/MTRPressureMeasurementFeature/**/ extends Bits*/MTRPressureMeasurementFeature/**/> { + /**/ + public static final MTRPressureMeasurementFeature None = new MTRPressureMeasurementFeature(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPressureMeasurementFeature Extended = new MTRPressureMeasurementFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRPressureMeasurementFeature/**/[] values = _values(/**/MTRPressureMeasurementFeature/**/.class); + + public /**/MTRPressureMeasurementFeature/**/(long value) { super(value); } + private /**/MTRPressureMeasurementFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRPressureMeasurementFeature/**/ wrap(long value, long mask) { + return new /**/MTRPressureMeasurementFeature/**/(value, mask); + } + protected /**/MTRPressureMeasurementFeature/**/[] _values() { + return values; + } + public static /**/MTRPressureMeasurementFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRProductIdentity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRProductIdentity.java new file mode 100644 index 000000000..71f11d28c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRProductIdentity.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRProductIdentity/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRProductIdentityPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRProductIdentity.class); }/**/ + /**//**/ + /**/ + public MTRProductIdentity() {} + protected MTRProductIdentity(Handle h, long handle) { super(h, handle); } + protected MTRProductIdentity(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithVendorID:productID:") + public MTRProductIdentity(NSNumber vendorID, NSNumber productID) { super((SkipInit) null); initObject(init(vendorID, productID)); } + /**/ + /**/ + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + @Property(selector = "productID") + public native NSNumber getProductID(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithVendorID:productID:") + protected native @Pointer long init(NSNumber vendorID, NSNumber productID); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterAirDetectionEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterAirDetectionEvent.java new file mode 100644 index 000000000..12ccc30a5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterAirDetectionEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterAirDetectionEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterAirDetectionEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterAirDetectionEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterAirDetectionEvent() {} + protected MTRPumpConfigurationAndControlClusterAirDetectionEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterAirDetectionEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterDryRunningEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterDryRunningEvent.java new file mode 100644 index 000000000..43a1f9233 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterDryRunningEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterDryRunningEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterDryRunningEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterDryRunningEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterDryRunningEvent() {} + protected MTRPumpConfigurationAndControlClusterDryRunningEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterDryRunningEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent.java new file mode 100644 index 000000000..95bf1a51e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterElectronicFatalFailureEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent() {} + protected MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent.java new file mode 100644 index 000000000..4e7a7f468 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent() {} + protected MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent.java new file mode 100644 index 000000000..043c88efc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent() {} + protected MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterGeneralFaultEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterGeneralFaultEvent.java new file mode 100644 index 000000000..149a445ba --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterGeneralFaultEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterGeneralFaultEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterGeneralFaultEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterGeneralFaultEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterGeneralFaultEvent() {} + protected MTRPumpConfigurationAndControlClusterGeneralFaultEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterGeneralFaultEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterLeakageEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterLeakageEvent.java new file mode 100644 index 000000000..fe8937d4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterLeakageEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterLeakageEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterLeakageEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterLeakageEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterLeakageEvent() {} + protected MTRPumpConfigurationAndControlClusterLeakageEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterLeakageEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent.java new file mode 100644 index 000000000..36aedff63 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterMotorTemperatureHighEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent() {} + protected MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent.java new file mode 100644 index 000000000..352ee94ad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterPowerMissingPhaseEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent() {} + protected MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpBlockedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpBlockedEvent.java new file mode 100644 index 000000000..bce51d7d1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpBlockedEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterPumpBlockedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterPumpBlockedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterPumpBlockedEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterPumpBlockedEvent() {} + protected MTRPumpConfigurationAndControlClusterPumpBlockedEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterPumpBlockedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent.java new file mode 100644 index 000000000..4238231cf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent() {} + protected MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSensorFailureEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSensorFailureEvent.java new file mode 100644 index 000000000..17cc4b120 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSensorFailureEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterSensorFailureEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterSensorFailureEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterSensorFailureEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterSensorFailureEvent() {} + protected MTRPumpConfigurationAndControlClusterSensorFailureEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterSensorFailureEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent.java new file mode 100644 index 000000000..39c998218 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterSupplyVoltageHighEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent() {} + protected MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent.java new file mode 100644 index 000000000..6841a72f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterSupplyVoltageLowEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent() {} + protected MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureHighEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureHighEvent.java new file mode 100644 index 000000000..2f2ca08d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureHighEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterSystemPressureHighEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterSystemPressureHighEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterSystemPressureHighEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterSystemPressureHighEvent() {} + protected MTRPumpConfigurationAndControlClusterSystemPressureHighEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterSystemPressureHighEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureLowEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureLowEvent.java new file mode 100644 index 000000000..d2f1ab68c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterSystemPressureLowEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterSystemPressureLowEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterSystemPressureLowEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterSystemPressureLowEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterSystemPressureLowEvent() {} + protected MTRPumpConfigurationAndControlClusterSystemPressureLowEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterSystemPressureLowEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterTurbineOperationEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterTurbineOperationEvent.java new file mode 100644 index 000000000..0a160334c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlClusterTurbineOperationEvent.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRPumpConfigurationAndControlClusterTurbineOperationEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRPumpConfigurationAndControlClusterTurbineOperationEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRPumpConfigurationAndControlClusterTurbineOperationEvent.class); }/**/ + /**//**/ + /**/ + public MTRPumpConfigurationAndControlClusterTurbineOperationEvent() {} + protected MTRPumpConfigurationAndControlClusterTurbineOperationEvent(Handle h, long handle) { super(h, handle); } + protected MTRPumpConfigurationAndControlClusterTurbineOperationEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlControlMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlControlMode.java new file mode 100644 index 000000000..b68bfb229 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlControlMode.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPumpConfigurationAndControlControlMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + ConstantSpeed(0L), + /** + * @since Available in iOS 16.5 and later. + */ + ConstantPressure(1L), + /** + * @since Available in iOS 16.5 and later. + */ + ProportionalPressure(2L), + /** + * @since Available in iOS 16.5 and later. + */ + ConstantFlow(3L), + /** + * @since Available in iOS 16.5 and later. + */ + ConstantTemperature(5L), + /** + * @since Available in iOS 16.5 and later. + */ + Automatic(7L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPumpConfigurationAndControlControlMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPumpConfigurationAndControlControlMode/**/ valueOf(long n) { + for (/**/MTRPumpConfigurationAndControlControlMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPumpConfigurationAndControlControlMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlFeature.java new file mode 100644 index 000000000..dc32c4ad3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlFeature.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public final class /**/MTRPumpConfigurationAndControlFeature/**/ extends Bits*/MTRPumpConfigurationAndControlFeature/**/> { + /**/ + public static final MTRPumpConfigurationAndControlFeature None = new MTRPumpConfigurationAndControlFeature(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature ConstantPressure = new MTRPumpConfigurationAndControlFeature(1L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature CompensatedPressure = new MTRPumpConfigurationAndControlFeature(2L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature ConstantFlow = new MTRPumpConfigurationAndControlFeature(4L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature ConstantSpeed = new MTRPumpConfigurationAndControlFeature(8L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature ConstantTemperature = new MTRPumpConfigurationAndControlFeature(16L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature Automatic = new MTRPumpConfigurationAndControlFeature(32L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRPumpConfigurationAndControlFeature LocalOperation = new MTRPumpConfigurationAndControlFeature(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRPumpConfigurationAndControlFeature/**/[] values = _values(/**/MTRPumpConfigurationAndControlFeature/**/.class); + + public /**/MTRPumpConfigurationAndControlFeature/**/(long value) { super(value); } + private /**/MTRPumpConfigurationAndControlFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRPumpConfigurationAndControlFeature/**/ wrap(long value, long mask) { + return new /**/MTRPumpConfigurationAndControlFeature/**/(value, mask); + } + protected /**/MTRPumpConfigurationAndControlFeature/**/[] _values() { + return values; + } + public static /**/MTRPumpConfigurationAndControlFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlOperationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlOperationMode.java new file mode 100644 index 000000000..7c39fc4e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlOperationMode.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRPumpConfigurationAndControlOperationMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Normal(0L), + /** + * @since Available in iOS 16.5 and later. + */ + Minimum(1L), + /** + * @since Available in iOS 16.5 and later. + */ + Maximum(2L), + /** + * @since Available in iOS 16.5 and later. + */ + Local(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRPumpConfigurationAndControlOperationMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRPumpConfigurationAndControlOperationMode/**/ valueOf(long n) { + for (/**/MTRPumpConfigurationAndControlOperationMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRPumpConfigurationAndControlOperationMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlPumpStatusBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlPumpStatusBitmap.java new file mode 100644 index 000000000..45629fade --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRPumpConfigurationAndControlPumpStatusBitmap.java @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/ extends Bits*/MTRPumpConfigurationAndControlPumpStatusBitmap/**/> { + /**/ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap None = new MTRPumpConfigurationAndControlPumpStatusBitmap(0L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap DeviceFault = new MTRPumpConfigurationAndControlPumpStatusBitmap(1L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap Supplyfault = new MTRPumpConfigurationAndControlPumpStatusBitmap(2L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap SpeedLow = new MTRPumpConfigurationAndControlPumpStatusBitmap(4L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap SpeedHigh = new MTRPumpConfigurationAndControlPumpStatusBitmap(8L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap LocalOverride = new MTRPumpConfigurationAndControlPumpStatusBitmap(16L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap Running = new MTRPumpConfigurationAndControlPumpStatusBitmap(32L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap RemotePressure = new MTRPumpConfigurationAndControlPumpStatusBitmap(64L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap RemoteFlow = new MTRPumpConfigurationAndControlPumpStatusBitmap(128L); + /** + * @since Available in iOS 16.5 and later. + */ + public static final MTRPumpConfigurationAndControlPumpStatusBitmap RemoteTemperature = new MTRPumpConfigurationAndControlPumpStatusBitmap(256L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/[] values = _values(/**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/.class); + + public /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/(long value) { super(value); } + private /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/ wrap(long value, long mask) { + return new /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/(value, mask); + } + protected /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/[] _values() { + return values; + } + public static /**/MTRPumpConfigurationAndControlPumpStatusBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRReadParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRReadParams.java new file mode 100644 index 000000000..eabca159b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRReadParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRReadParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRReadParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRReadParams.class); }/**/ + /**//**/ + /**/ + public MTRReadParams() {} + protected MTRReadParams(Handle h, long handle) { super(h, handle); } + protected MTRReadParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "shouldFilterByFabric") + public native boolean isFilterByFabric(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFilterByFabric:") + public native void setFilterByFabric(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "minEventNumber") + public native NSNumber getMinEventNumber(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMinEventNumber:") + public native void setMinEventNumber(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneParams.java new file mode 100644 index 000000000..f9af74597 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterAddSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterAddSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterAddSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterAddSceneParams() {} + protected MTRScenesClusterAddSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterAddSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sceneName") + public native String getSceneName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSceneName:") + public native void setSceneName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "extensionFieldSets") + public native NSArray getExtensionFieldSets(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExtensionFieldSets:") + public native void setExtensionFieldSets(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneResponseParams.java new file mode 100644 index 000000000..84a6efdc8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAddSceneResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterAddSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterAddSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterAddSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterAddSceneResponseParams() {} + protected MTRScenesClusterAddSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterAddSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterAddSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAttributeValuePair.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAttributeValuePair.java new file mode 100644 index 000000000..68c4be3ba --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterAttributeValuePair.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterAttributeValuePair/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterAttributeValuePairPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterAttributeValuePair.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterAttributeValuePair() {} + protected MTRScenesClusterAttributeValuePair(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterAttributeValuePair(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "attributeID") + public native NSNumber getAttributeID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAttributeID:") + public native void setAttributeID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attributeValue") + public native NSNumber getAttributeValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttributeValue:") + public native void setAttributeValue(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneParams.java new file mode 100644 index 000000000..e34c71df2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterCopySceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterCopySceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterCopySceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterCopySceneParams() {} + protected MTRScenesClusterCopySceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterCopySceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "mode") + public native NSNumber getMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMode:") + public native void setMode(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupIdentifierFrom") + public native NSNumber getGroupIdentifierFrom(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupIdentifierFrom:") + public native void setGroupIdentifierFrom(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneIdentifierFrom") + public native NSNumber getSceneIdentifierFrom(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneIdentifierFrom:") + public native void setSceneIdentifierFrom(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupIdentifierTo") + public native NSNumber getGroupIdentifierTo(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupIdentifierTo:") + public native void setGroupIdentifierTo(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneIdentifierTo") + public native NSNumber getSceneIdentifierTo(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneIdentifierTo:") + public native void setSceneIdentifierTo(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneResponseParams.java new file mode 100644 index 000000000..5cb79448e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterCopySceneResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterCopySceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterCopySceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterCopySceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterCopySceneResponseParams() {} + protected MTRScenesClusterCopySceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterCopySceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterCopySceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupIdentifierFrom") + public native NSNumber getGroupIdentifierFrom(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupIdentifierFrom:") + public native void setGroupIdentifierFrom(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneIdentifierFrom") + public native NSNumber getSceneIdentifierFrom(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneIdentifierFrom:") + public native void setSceneIdentifierFrom(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneParams.java new file mode 100644 index 000000000..e3ed5e660 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneParams.java @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterEnhancedAddSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterEnhancedAddSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterEnhancedAddSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterEnhancedAddSceneParams() {} + protected MTRScenesClusterEnhancedAddSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterEnhancedAddSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sceneName") + public native String getSceneName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSceneName:") + public native void setSceneName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "extensionFieldSets") + public native NSArray getExtensionFieldSets(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExtensionFieldSets:") + public native void setExtensionFieldSets(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneResponseParams.java new file mode 100644 index 000000000..88dc51da0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedAddSceneResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterEnhancedAddSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterEnhancedAddSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterEnhancedAddSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterEnhancedAddSceneResponseParams() {} + protected MTRScenesClusterEnhancedAddSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterEnhancedAddSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterEnhancedAddSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneParams.java new file mode 100644 index 000000000..0f9e0a1d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterEnhancedViewSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterEnhancedViewSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterEnhancedViewSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterEnhancedViewSceneParams() {} + protected MTRScenesClusterEnhancedViewSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterEnhancedViewSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneResponseParams.java new file mode 100644 index 000000000..33322ce97 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterEnhancedViewSceneResponseParams.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterEnhancedViewSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterEnhancedViewSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterEnhancedViewSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterEnhancedViewSceneResponseParams() {} + protected MTRScenesClusterEnhancedViewSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterEnhancedViewSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterEnhancedViewSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sceneName") + public native String getSceneName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSceneName:") + public native void setSceneName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "extensionFieldSets") + public native NSArray getExtensionFieldSets(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExtensionFieldSets:") + public native void setExtensionFieldSets(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterExtensionFieldSet.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterExtensionFieldSet.java new file mode 100644 index 000000000..cef62c363 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterExtensionFieldSet.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterExtensionFieldSet/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterExtensionFieldSetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterExtensionFieldSet.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterExtensionFieldSet() {} + protected MTRScenesClusterExtensionFieldSet(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterExtensionFieldSet(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "clusterID") + public native NSNumber getClusterID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setClusterID:") + public native void setClusterID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "attributeValueList") + public native NSArray getAttributeValueList(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAttributeValueList:") + public native void setAttributeValueList(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipParams.java new file mode 100644 index 000000000..cb18755e6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterGetSceneMembershipParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterGetSceneMembershipParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterGetSceneMembershipParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterGetSceneMembershipParams() {} + protected MTRScenesClusterGetSceneMembershipParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterGetSceneMembershipParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipResponseParams.java new file mode 100644 index 000000000..902485fc9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterGetSceneMembershipResponseParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterGetSceneMembershipResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterGetSceneMembershipResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterGetSceneMembershipResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterGetSceneMembershipResponseParams() {} + protected MTRScenesClusterGetSceneMembershipResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterGetSceneMembershipResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterGetSceneMembershipResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "capacity") + public native NSNumber getCapacity(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCapacity:") + public native void setCapacity(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sceneList") + public native NSArray getSceneList(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSceneList:") + public native void setSceneList(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRecallSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRecallSceneParams.java new file mode 100644 index 000000000..d44a766f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRecallSceneParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterRecallSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterRecallSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterRecallSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterRecallSceneParams() {} + protected MTRScenesClusterRecallSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterRecallSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesParams.java new file mode 100644 index 000000000..cddff69fa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterRemoveAllScenesParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterRemoveAllScenesParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterRemoveAllScenesParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterRemoveAllScenesParams() {} + protected MTRScenesClusterRemoveAllScenesParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterRemoveAllScenesParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesResponseParams.java new file mode 100644 index 000000000..aec3b0cd3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveAllScenesResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterRemoveAllScenesResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterRemoveAllScenesResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterRemoveAllScenesResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterRemoveAllScenesResponseParams() {} + protected MTRScenesClusterRemoveAllScenesResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterRemoveAllScenesResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterRemoveAllScenesResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneParams.java new file mode 100644 index 000000000..ecfe200d1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterRemoveSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterRemoveSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterRemoveSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterRemoveSceneParams() {} + protected MTRScenesClusterRemoveSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterRemoveSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneResponseParams.java new file mode 100644 index 000000000..f958ca635 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterRemoveSceneResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterRemoveSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterRemoveSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterRemoveSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterRemoveSceneResponseParams() {} + protected MTRScenesClusterRemoveSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterRemoveSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterRemoveSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneParams.java new file mode 100644 index 000000000..c80d3af49 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterStoreSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterStoreSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterStoreSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterStoreSceneParams() {} + protected MTRScenesClusterStoreSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterStoreSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneResponseParams.java new file mode 100644 index 000000000..f0ae77c24 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterStoreSceneResponseParams.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterStoreSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterStoreSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterStoreSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterStoreSceneResponseParams() {} + protected MTRScenesClusterStoreSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterStoreSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterStoreSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneParams.java new file mode 100644 index 000000000..5dd043516 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterViewSceneParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterViewSceneParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterViewSceneParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterViewSceneParams() {} + protected MTRScenesClusterViewSceneParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterViewSceneParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneResponseParams.java new file mode 100644 index 000000000..cbc384970 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesClusterViewSceneResponseParams.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRScenesClusterViewSceneResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRScenesClusterViewSceneResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRScenesClusterViewSceneResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRScenesClusterViewSceneResponseParams() {} + protected MTRScenesClusterViewSceneResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRScenesClusterViewSceneResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRScenesClusterViewSceneResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "groupID") + public native NSNumber getGroupID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setGroupID:") + public native void setGroupID(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sceneID") + public native NSNumber getSceneID(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSceneID:") + public native void setSceneID(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "sceneName") + public native String getSceneName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSceneName:") + public native void setSceneName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "extensionFieldSets") + public native NSArray getExtensionFieldSets(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExtensionFieldSets:") + public native void setExtensionFieldSets(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesCopyMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesCopyMode.java new file mode 100644 index 000000000..9b46c7c5f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesCopyMode.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRScenesCopyMode/**/ extends Bits*/MTRScenesCopyMode/**/> { + /**/ + public static final MTRScenesCopyMode None = new MTRScenesCopyMode(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRScenesCopyMode CopyAllScenes = new MTRScenesCopyMode(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRScenesCopyMode/**/[] values = _values(/**/MTRScenesCopyMode/**/.class); + + public /**/MTRScenesCopyMode/**/(long value) { super(value); } + private /**/MTRScenesCopyMode/**/(long value, long mask) { super(value, mask); } + protected /**/MTRScenesCopyMode/**/ wrap(long value, long mask) { + return new /**/MTRScenesCopyMode/**/(value, mask); + } + protected /**/MTRScenesCopyMode/**/[] _values() { + return values; + } + public static /**/MTRScenesCopyMode/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesFeature.java new file mode 100644 index 000000000..98f518159 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRScenesFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +public final class /**/MTRScenesFeature/**/ extends Bits*/MTRScenesFeature/**/> { + /**/ + public static final MTRScenesFeature None = new MTRScenesFeature(0L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRScenesFeature SceneNames = new MTRScenesFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRScenesFeature/**/[] values = _values(/**/MTRScenesFeature/**/.class); + + public /**/MTRScenesFeature/**/(long value) { super(value); } + private /**/MTRScenesFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRScenesFeature/**/ wrap(long value, long mask) { + return new /**/MTRScenesFeature/**/(value, mask); + } + protected /**/MTRScenesFeature/**/[] _values() { + return values; + } + public static /**/MTRScenesFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSetupPayload.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSetupPayload.java new file mode 100644 index 000000000..91f7b2ddd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSetupPayload.java @@ -0,0 +1,154 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSetupPayload/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class MTRSetupPayloadPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSetupPayload.class); }/**/ + /**//**/ + /**/ + public MTRSetupPayload() {} + protected MTRSetupPayload(Handle h, long handle) { super(h, handle); } + protected MTRSetupPayload(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "initWithSetupPasscode:discriminator:") + public MTRSetupPayload(NSNumber setupPasscode, NSNumber discriminator) { super((SkipInit) null); initObject(init(setupPasscode, discriminator)); } + /** + * @since Available in iOS 16.2 and later. + */ + public MTRSetupPayload(String onboardingPayload) throws NSErrorException { + this(onboardingPayload, new NSError.NSErrorPtr()); + } + private MTRSetupPayload(String onboardingPayload, NSError.NSErrorPtr ptr) throws NSErrorException { + super((Handle) null, setupPayload(onboardingPayload, ptr)); + retain(getHandle()); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + } + @Method(selector = "initWithCoder:") + public MTRSetupPayload(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "version") + public native NSNumber getVersion(); + @Property(selector = "setVersion:") + public native void setVersion(NSNumber v); + @Property(selector = "vendorID") + public native NSNumber getVendorID(); + @Property(selector = "setVendorID:") + public native void setVendorID(NSNumber v); + @Property(selector = "productID") + public native NSNumber getProductID(); + @Property(selector = "setProductID:") + public native void setProductID(NSNumber v); + @Property(selector = "commissioningFlow") + public native MTRCommissioningFlow getCommissioningFlow(); + @Property(selector = "setCommissioningFlow:") + public native void setCommissioningFlow(MTRCommissioningFlow v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "discoveryCapabilities") + public native MTRDiscoveryCapabilities getDiscoveryCapabilities(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDiscoveryCapabilities:") + public native void setDiscoveryCapabilities(MTRDiscoveryCapabilities v); + @Property(selector = "discriminator") + public native NSNumber getDiscriminator(); + @Property(selector = "setDiscriminator:") + public native void setDiscriminator(NSNumber v); + @Property(selector = "hasShortDiscriminator") + public native boolean hasShortDiscriminator(); + @Property(selector = "setHasShortDiscriminator:") + public native void setHasShortDiscriminator(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setupPasscode") + public native NSNumber getSetupPasscode(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setSetupPasscode:") + public native void setSetupPasscode(NSNumber v); + @Property(selector = "serialNumber") + public native String getSerialNumber(); + @Property(selector = "setSerialNumber:") + public native void setSerialNumber(String v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "getAllOptionalVendorData:") + public native NSArray getAllOptionalVendorData(NSError.NSErrorPtr error); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "initWithSetupPasscode:discriminator:") + protected native @Pointer long init(NSNumber setupPasscode, NSNumber discriminator); + @Method(selector = "manualEntryCode") + public native String manualEntryCode(); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "qrCodeString:") + public native String qrCodeString(NSError.NSErrorPtr error); + @Method(selector = "generateRandomPIN") + public static native @MachineSizedUInt long generateRandomPIN(); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "generateRandomSetupPasscode") + public static native NSNumber generateRandomSetupPasscode(); + /** + * @since Available in iOS 16.2 and later. + */ + @Method(selector = "setupPayloadWithOnboardingPayload:error:") + protected static native @Pointer long setupPayload(String onboardingPayload, NSError.NSErrorPtr error); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterResetWatermarksParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterResetWatermarksParams.java new file mode 100644 index 000000000..6f8ba7d93 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterResetWatermarksParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSoftwareDiagnosticsClusterResetWatermarksParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSoftwareDiagnosticsClusterResetWatermarksParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSoftwareDiagnosticsClusterResetWatermarksParams.class); }/**/ + /**//**/ + /**/ + public MTRSoftwareDiagnosticsClusterResetWatermarksParams() {} + protected MTRSoftwareDiagnosticsClusterResetWatermarksParams(Handle h, long handle) { super(h, handle); } + protected MTRSoftwareDiagnosticsClusterResetWatermarksParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterSoftwareFaultEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterSoftwareFaultEvent.java new file mode 100644 index 000000000..8b421d9fc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterSoftwareFaultEvent.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSoftwareDiagnosticsClusterSoftwareFaultEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSoftwareDiagnosticsClusterSoftwareFaultEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSoftwareDiagnosticsClusterSoftwareFaultEvent.class); }/**/ + /**//**/ + /**/ + public MTRSoftwareDiagnosticsClusterSoftwareFaultEvent() {} + protected MTRSoftwareDiagnosticsClusterSoftwareFaultEvent(Handle h, long handle) { super(h, handle); } + protected MTRSoftwareDiagnosticsClusterSoftwareFaultEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "id") + public native NSNumber getId(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setId:") + public native void setId(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "faultRecording") + public native NSData getFaultRecording(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFaultRecording:") + public native void setFaultRecording(NSData v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterThreadMetricsStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterThreadMetricsStruct.java new file mode 100644 index 000000000..28dcf1233 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsClusterThreadMetricsStruct.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSoftwareDiagnosticsClusterThreadMetricsStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSoftwareDiagnosticsClusterThreadMetricsStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSoftwareDiagnosticsClusterThreadMetricsStruct.class); }/**/ + /**//**/ + /**/ + public MTRSoftwareDiagnosticsClusterThreadMetricsStruct() {} + protected MTRSoftwareDiagnosticsClusterThreadMetricsStruct(Handle h, long handle) { super(h, handle); } + protected MTRSoftwareDiagnosticsClusterThreadMetricsStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "id") + public native NSNumber getId(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setId:") + public native void setId(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "stackFreeCurrent") + public native NSNumber getStackFreeCurrent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setStackFreeCurrent:") + public native void setStackFreeCurrent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "stackFreeMinimum") + public native NSNumber getStackFreeMinimum(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setStackFreeMinimum:") + public native void setStackFreeMinimum(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "stackSize") + public native NSNumber getStackSize(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setStackSize:") + public native void setStackSize(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsFeature.java new file mode 100644 index 000000000..47c7afd60 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSoftwareDiagnosticsFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRSoftwareDiagnosticsFeature/**/ extends Bits*/MTRSoftwareDiagnosticsFeature/**/> { + /**/ + public static final MTRSoftwareDiagnosticsFeature None = new MTRSoftwareDiagnosticsFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRSoftwareDiagnosticsFeature WaterMarks = new MTRSoftwareDiagnosticsFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRSoftwareDiagnosticsFeature/**/[] values = _values(/**/MTRSoftwareDiagnosticsFeature/**/.class); + + public /**/MTRSoftwareDiagnosticsFeature/**/(long value) { super(value); } + private /**/MTRSoftwareDiagnosticsFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRSoftwareDiagnosticsFeature/**/ wrap(long value, long mask) { + return new /**/MTRSoftwareDiagnosticsFeature/**/(value, mask); + } + protected /**/MTRSoftwareDiagnosticsFeature/**/[] _values() { + return values; + } + public static /**/MTRSoftwareDiagnosticsFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorage.java new file mode 100644 index 000000000..495614ce3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorage.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/MTRStorage/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "storageDataForKey:") + NSData storageDataForKey(String key); + @Method(selector = "setStorageData:forKey:") + boolean setStorageData(NSData value, String key); + @Method(selector = "removeStorageDataForKey:") + boolean removeStorageDataForKey(String key); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorageAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorageAdapter.java new file mode 100644 index 000000000..82e6a2ee4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRStorageAdapter.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/MTRStorageAdapter/**/ + extends /**/NSObject/**/ + /**/implements MTRStorage/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("storageDataForKey:") + public NSData storageDataForKey(String key) { return null; } + @NotImplemented("setStorageData:forKey:") + public boolean setStorageData(NSData value, String key) { return false; } + @NotImplemented("removeStorageDataForKey:") + public boolean removeStorageDataForKey(String key) { return false; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSubscribeParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSubscribeParams.java new file mode 100644 index 000000000..583ba5f67 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSubscribeParams.java @@ -0,0 +1,110 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSubscribeParams/**/ + extends /**/MTRReadParams/**/ + /**//**/ { + + /**/public static class MTRSubscribeParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSubscribeParams.class); }/**/ + /**//**/ + /**/ + public MTRSubscribeParams() {} + protected MTRSubscribeParams(Handle h, long handle) { super(h, handle); } + protected MTRSubscribeParams(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMinInterval:maxInterval:") + public MTRSubscribeParams(NSNumber minInterval, NSNumber maxInterval) { super((SkipInit) null); initObject(init(minInterval, maxInterval)); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "shouldReplaceExistingSubscriptions") + public native boolean isReplaceExistingSubscriptions(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReplaceExistingSubscriptions:") + public native void setReplaceExistingSubscriptions(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "shouldResubscribeAutomatically") + public native boolean isResubscribeAutomatically(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setResubscribeAutomatically:") + public native void setResubscribeAutomatically(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "minInterval") + public native NSNumber getMinInterval(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMinInterval:") + public native void setMinInterval(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "maxInterval") + public native NSNumber getMaxInterval(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMaxInterval:") + public native void setMaxInterval(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "shouldReportEventsUrgently") + public native boolean isReportEventsUrgently(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReportEventsUrgently:") + public native void setReportEventsUrgently(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMinInterval:maxInterval:") + protected native @Pointer long init(NSNumber minInterval, NSNumber maxInterval); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterInitialPressEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterInitialPressEvent.java new file mode 100644 index 000000000..277008e3a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterInitialPressEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterInitialPressEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterInitialPressEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterInitialPressEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterInitialPressEvent() {} + protected MTRSwitchClusterInitialPressEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterInitialPressEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewPosition") + public native NSNumber getNewPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewPosition:") + public native void setNewPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongPressEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongPressEvent.java new file mode 100644 index 000000000..deedc865f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongPressEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterLongPressEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterLongPressEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterLongPressEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterLongPressEvent() {} + protected MTRSwitchClusterLongPressEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterLongPressEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewPosition") + public native NSNumber getNewPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewPosition:") + public native void setNewPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongReleaseEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongReleaseEvent.java new file mode 100644 index 000000000..2e98ed0e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterLongReleaseEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterLongReleaseEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterLongReleaseEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterLongReleaseEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterLongReleaseEvent() {} + protected MTRSwitchClusterLongReleaseEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterLongReleaseEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previousPosition") + public native NSNumber getPreviousPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPreviousPosition:") + public native void setPreviousPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressCompleteEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressCompleteEvent.java new file mode 100644 index 000000000..5d6ce03fa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressCompleteEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterMultiPressCompleteEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterMultiPressCompleteEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterMultiPressCompleteEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterMultiPressCompleteEvent() {} + protected MTRSwitchClusterMultiPressCompleteEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterMultiPressCompleteEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "previousPosition") + public native NSNumber getPreviousPosition(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setPreviousPosition:") + public native void setPreviousPosition(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "totalNumberOfPressesCounted") + public native NSNumber getTotalNumberOfPressesCounted(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTotalNumberOfPressesCounted:") + public native void setTotalNumberOfPressesCounted(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressOngoingEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressOngoingEvent.java new file mode 100644 index 000000000..bdd7fb03c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterMultiPressOngoingEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterMultiPressOngoingEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterMultiPressOngoingEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterMultiPressOngoingEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterMultiPressOngoingEvent() {} + protected MTRSwitchClusterMultiPressOngoingEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterMultiPressOngoingEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewPosition") + public native NSNumber getNewPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewPosition:") + public native void setNewPosition(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "currentNumberOfPressesCounted") + public native NSNumber getCurrentNumberOfPressesCounted(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCurrentNumberOfPressesCounted:") + public native void setCurrentNumberOfPressesCounted(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterShortReleaseEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterShortReleaseEvent.java new file mode 100644 index 000000000..80bf143a3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterShortReleaseEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterShortReleaseEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterShortReleaseEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterShortReleaseEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterShortReleaseEvent() {} + protected MTRSwitchClusterShortReleaseEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterShortReleaseEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previousPosition") + public native NSNumber getPreviousPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPreviousPosition:") + public native void setPreviousPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterSwitchLatchedEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterSwitchLatchedEvent.java new file mode 100644 index 000000000..bcdfa2631 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchClusterSwitchLatchedEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRSwitchClusterSwitchLatchedEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRSwitchClusterSwitchLatchedEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRSwitchClusterSwitchLatchedEvent.class); }/**/ + /**//**/ + /**/ + public MTRSwitchClusterSwitchLatchedEvent() {} + protected MTRSwitchClusterSwitchLatchedEvent(Handle h, long handle) { super(h, handle); } + protected MTRSwitchClusterSwitchLatchedEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "getNewPosition") + public native NSNumber getNewPosition(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNewPosition:") + public native void setNewPosition(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchFeature.java new file mode 100644 index 000000000..ff3eacc16 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRSwitchFeature.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.2 and later. + */ +/**/ +/**//**/ +public final class /**/MTRSwitchFeature/**/ extends Bits*/MTRSwitchFeature/**/> { + /**/ + public static final MTRSwitchFeature None = new MTRSwitchFeature(0L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRSwitchFeature LatchingSwitch = new MTRSwitchFeature(1L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRSwitchFeature MomentarySwitch = new MTRSwitchFeature(2L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRSwitchFeature MomentarySwitchRelease = new MTRSwitchFeature(4L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRSwitchFeature MomentarySwitchLongPress = new MTRSwitchFeature(8L); + /** + * @since Available in iOS 16.2 and later. + */ + public static final MTRSwitchFeature MomentarySwitchMultiPress = new MTRSwitchFeature(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRSwitchFeature/**/[] values = _values(/**/MTRSwitchFeature/**/.class); + + public /**/MTRSwitchFeature/**/(long value) { super(value); } + private /**/MTRSwitchFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRSwitchFeature/**/ wrap(long value, long mask) { + return new /**/MTRSwitchFeature/**/(value, mask); + } + protected /**/MTRSwitchFeature/**/[] _values() { + return values; + } + public static /**/MTRSwitchFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetParams.java new file mode 100644 index 000000000..e9900fdc7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTargetNavigatorClusterNavigateTargetParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTargetNavigatorClusterNavigateTargetParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTargetNavigatorClusterNavigateTargetParams.class); }/**/ + /**//**/ + /**/ + public MTRTargetNavigatorClusterNavigateTargetParams() {} + protected MTRTargetNavigatorClusterNavigateTargetParams(Handle h, long handle) { super(h, handle); } + protected MTRTargetNavigatorClusterNavigateTargetParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "target") + public native NSNumber getTarget(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTarget:") + public native void setTarget(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetResponseParams.java new file mode 100644 index 000000000..08a9febe9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterNavigateTargetResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTargetNavigatorClusterNavigateTargetResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTargetNavigatorClusterNavigateTargetResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTargetNavigatorClusterNavigateTargetResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRTargetNavigatorClusterNavigateTargetResponseParams() {} + protected MTRTargetNavigatorClusterNavigateTargetResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRTargetNavigatorClusterNavigateTargetResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRTargetNavigatorClusterNavigateTargetResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "data") + public native String getData(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setData:") + public native void setData(String v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterTargetInfoStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterTargetInfoStruct.java new file mode 100644 index 000000000..7c98caeee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorClusterTargetInfoStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTargetNavigatorClusterTargetInfoStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTargetNavigatorClusterTargetInfoStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTargetNavigatorClusterTargetInfoStruct.class); }/**/ + /**//**/ + /**/ + public MTRTargetNavigatorClusterTargetInfoStruct() {} + protected MTRTargetNavigatorClusterTargetInfoStruct(Handle h, long handle) { super(h, handle); } + protected MTRTargetNavigatorClusterTargetInfoStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "identifier") + public native NSNumber getIdentifier(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setIdentifier:") + public native void setIdentifier(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorStatus.java new file mode 100644 index 000000000..a81902ff8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTargetNavigatorStatus.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTargetNavigatorStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Success(0L), + /** + * @since Available in iOS 16.1 and later. + */ + TargetNotFound(1L), + /** + * @since Available in iOS 16.1 and later. + */ + NotAllowed(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTargetNavigatorStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTargetNavigatorStatus/**/ valueOf(long n) { + for (/**/MTRTargetNavigatorStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTargetNavigatorStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterClearWeeklyScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterClearWeeklyScheduleParams.java new file mode 100644 index 000000000..44e0ffd9b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterClearWeeklyScheduleParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterClearWeeklyScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterClearWeeklyScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterClearWeeklyScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterClearWeeklyScheduleParams() {} + protected MTRThermostatClusterClearWeeklyScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterClearWeeklyScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleParams.java new file mode 100644 index 000000000..bb52308f5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterGetWeeklyScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterGetWeeklyScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterGetWeeklyScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterGetWeeklyScheduleParams() {} + protected MTRThermostatClusterGetWeeklyScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterGetWeeklyScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "daysToReturn") + public native NSNumber getDaysToReturn(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDaysToReturn:") + public native void setDaysToReturn(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "modeToReturn") + public native NSNumber getModeToReturn(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setModeToReturn:") + public native void setModeToReturn(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleResponseParams.java new file mode 100644 index 000000000..142d3ac2d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterGetWeeklyScheduleResponseParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterGetWeeklyScheduleResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterGetWeeklyScheduleResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterGetWeeklyScheduleResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterGetWeeklyScheduleResponseParams() {} + protected MTRThermostatClusterGetWeeklyScheduleResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterGetWeeklyScheduleResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRThermostatClusterGetWeeklyScheduleResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numberOfTransitionsForSequence") + public native NSNumber getNumberOfTransitionsForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumberOfTransitionsForSequence:") + public native void setNumberOfTransitionsForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "dayOfWeekForSequence") + public native NSNumber getDayOfWeekForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDayOfWeekForSequence:") + public native void setDayOfWeekForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "modeForSequence") + public native NSNumber getModeForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setModeForSequence:") + public native void setModeForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitions") + public native NSArray getTransitions(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitions:") + public native void setTransitions(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetWeeklyScheduleParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetWeeklyScheduleParams.java new file mode 100644 index 000000000..409a25a59 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetWeeklyScheduleParams.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterSetWeeklyScheduleParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterSetWeeklyScheduleParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterSetWeeklyScheduleParams.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterSetWeeklyScheduleParams() {} + protected MTRThermostatClusterSetWeeklyScheduleParams(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterSetWeeklyScheduleParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "numberOfTransitionsForSequence") + public native NSNumber getNumberOfTransitionsForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNumberOfTransitionsForSequence:") + public native void setNumberOfTransitionsForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "dayOfWeekForSequence") + public native NSNumber getDayOfWeekForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDayOfWeekForSequence:") + public native void setDayOfWeekForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "modeForSequence") + public native NSNumber getModeForSequence(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setModeForSequence:") + public native void setModeForSequence(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitions") + public native NSArray getTransitions(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitions:") + public native void setTransitions(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetpointRaiseLowerParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetpointRaiseLowerParams.java new file mode 100644 index 000000000..dceec1d27 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterSetpointRaiseLowerParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterSetpointRaiseLowerParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterSetpointRaiseLowerParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterSetpointRaiseLowerParams.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterSetpointRaiseLowerParams() {} + protected MTRThermostatClusterSetpointRaiseLowerParams(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterSetpointRaiseLowerParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "mode") + public native NSNumber getMode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMode:") + public native void setMode(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "amount") + public native NSNumber getAmount(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAmount:") + public native void setAmount(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterThermostatScheduleTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterThermostatScheduleTransition.java new file mode 100644 index 000000000..7e3b0fa0b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatClusterThermostatScheduleTransition.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThermostatClusterThermostatScheduleTransition/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThermostatClusterThermostatScheduleTransitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThermostatClusterThermostatScheduleTransition.class); }/**/ + /**//**/ + /**/ + public MTRThermostatClusterThermostatScheduleTransition() {} + protected MTRThermostatClusterThermostatScheduleTransition(Handle h, long handle) { super(h, handle); } + protected MTRThermostatClusterThermostatScheduleTransition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "transitionTime") + public native NSNumber getTransitionTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTransitionTime:") + public native void setTransitionTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "heatSetpoint") + public native NSNumber getHeatSetpoint(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setHeatSetpoint:") + public native void setHeatSetpoint(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "coolSetpoint") + public native NSNumber getCoolSetpoint(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCoolSetpoint:") + public native void setCoolSetpoint(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatControlSequence.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatControlSequence.java new file mode 100644 index 000000000..9eb8c7db1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatControlSequence.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThermostatControlSequence/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + CoolingOnly(0L), + /** + * @since Available in iOS 16.1 and later. + */ + CoolingWithReheat(1L), + /** + * @since Available in iOS 16.1 and later. + */ + HeatingOnly(2L), + /** + * @since Available in iOS 16.1 and later. + */ + HeatingWithReheat(3L), + /** + * @since Available in iOS 16.1 and later. + */ + CoolingAndHeating(4L), + /** + * @since Available in iOS 16.1 and later. + */ + CoolingAndHeatingWithReheat(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThermostatControlSequence/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThermostatControlSequence/**/ valueOf(long n) { + for (/**/MTRThermostatControlSequence/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThermostatControlSequence/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatDayOfWeek.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatDayOfWeek.java new file mode 100644 index 000000000..34da7c5f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatDayOfWeek.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRThermostatDayOfWeek/**/ extends Bits*/MTRThermostatDayOfWeek/**/> { + /**/ + public static final MTRThermostatDayOfWeek None = new MTRThermostatDayOfWeek(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Sunday = new MTRThermostatDayOfWeek(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Monday = new MTRThermostatDayOfWeek(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Tuesday = new MTRThermostatDayOfWeek(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Wednesday = new MTRThermostatDayOfWeek(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Thursday = new MTRThermostatDayOfWeek(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Friday = new MTRThermostatDayOfWeek(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatDayOfWeek Saturday = new MTRThermostatDayOfWeek(64L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRThermostatDayOfWeek Away = new MTRThermostatDayOfWeek(128L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRThermostatDayOfWeek/**/[] values = _values(/**/MTRThermostatDayOfWeek/**/.class); + + public /**/MTRThermostatDayOfWeek/**/(long value) { super(value); } + private /**/MTRThermostatDayOfWeek/**/(long value, long mask) { super(value, mask); } + protected /**/MTRThermostatDayOfWeek/**/ wrap(long value, long mask) { + return new /**/MTRThermostatDayOfWeek/**/(value, mask); + } + protected /**/MTRThermostatDayOfWeek/**/[] _values() { + return values; + } + public static /**/MTRThermostatDayOfWeek/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatFeature.java new file mode 100644 index 000000000..b0e8a4c21 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatFeature.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRThermostatFeature/**/ extends Bits*/MTRThermostatFeature/**/> { + /**/ + public static final MTRThermostatFeature None = new MTRThermostatFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatFeature Heating = new MTRThermostatFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatFeature Cooling = new MTRThermostatFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatFeature Occupancy = new MTRThermostatFeature(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRThermostatFeature ScheduleConfiguration = new MTRThermostatFeature(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThermostatFeature Setback = new MTRThermostatFeature(16L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRThermostatFeature AutoMode = new MTRThermostatFeature(32L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTRThermostatFeature LocalTemperatureNotExposed = new MTRThermostatFeature(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRThermostatFeature/**/[] values = _values(/**/MTRThermostatFeature/**/.class); + + public /**/MTRThermostatFeature/**/(long value) { super(value); } + private /**/MTRThermostatFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRThermostatFeature/**/ wrap(long value, long mask) { + return new /**/MTRThermostatFeature/**/(value, mask); + } + protected /**/MTRThermostatFeature/**/[] _values() { + return values; + } + public static /**/MTRThermostatFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatModeForSequence.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatModeForSequence.java new file mode 100644 index 000000000..3e1e7fc4a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatModeForSequence.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRThermostatModeForSequence/**/ extends Bits*/MTRThermostatModeForSequence/**/> { + /**/ + public static final MTRThermostatModeForSequence None = new MTRThermostatModeForSequence(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRThermostatModeForSequence HeatSetpointPresent = new MTRThermostatModeForSequence(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRThermostatModeForSequence CoolSetpointPresent = new MTRThermostatModeForSequence(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRThermostatModeForSequence/**/[] values = _values(/**/MTRThermostatModeForSequence/**/.class); + + public /**/MTRThermostatModeForSequence/**/(long value) { super(value); } + private /**/MTRThermostatModeForSequence/**/(long value, long mask) { super(value, mask); } + protected /**/MTRThermostatModeForSequence/**/ wrap(long value, long mask) { + return new /**/MTRThermostatModeForSequence/**/(value, mask); + } + protected /**/MTRThermostatModeForSequence/**/[] _values() { + return values; + } + public static /**/MTRThermostatModeForSequence/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatRunningMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatRunningMode.java new file mode 100644 index 000000000..6258c71d9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatRunningMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThermostatRunningMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Off(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Cool(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Heat(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThermostatRunningMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThermostatRunningMode/**/ valueOf(long n) { + for (/**/MTRThermostatRunningMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThermostatRunningMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSetpointAdjustMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSetpointAdjustMode.java new file mode 100644 index 000000000..ed0e7a7ad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSetpointAdjustMode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThermostatSetpointAdjustMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Heat(0L), + /** + * @since Available in iOS 16.4 and later. + */ + Cool(1L), + /** + * @since Available in iOS 16.4 and later. + */ + Both(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThermostatSetpointAdjustMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThermostatSetpointAdjustMode/**/ valueOf(long n) { + for (/**/MTRThermostatSetpointAdjustMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThermostatSetpointAdjustMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSystemMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSystemMode.java new file mode 100644 index 000000000..5de9810bb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThermostatSystemMode.java @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThermostatSystemMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Off(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Auto(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Cool(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Heat(4L), + /** + * @since Available in iOS 16.4 and later. + */ + EmergencyHeat(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Precooling(6L), + /** + * @since Available in iOS 16.1 and later. + */ + FanOnly(7L), + /** + * @since Available in iOS 16.4 and later. + */ + Dry(8L), + /** + * @since Available in iOS 16.4 and later. + */ + Sleep(9L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThermostatSystemMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThermostatSystemMode/**/ valueOf(long n) { + for (/**/MTRThermostatSystemMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThermostatSystemMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent.java new file mode 100644 index 000000000..a1380a24d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterConnectionStatusEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent() {} + protected MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "connectionStatus") + public native NSNumber getConnectionStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setConnectionStatus:") + public native void setConnectionStatus(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNeighborTableStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNeighborTableStruct.java new file mode 100644 index 000000000..accf36970 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNeighborTableStruct.java @@ -0,0 +1,199 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterNeighborTableStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterNeighborTableStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterNeighborTableStruct.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterNeighborTableStruct() {} + protected MTRThreadNetworkDiagnosticsClusterNeighborTableStruct(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterNeighborTableStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "extAddress") + public native NSNumber getExtAddress(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setExtAddress:") + public native void setExtAddress(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "age") + public native NSNumber getAge(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAge:") + public native void setAge(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rloc16") + public native NSNumber getRloc16(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRloc16:") + public native void setRloc16(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "linkFrameCounter") + public native NSNumber getLinkFrameCounter(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLinkFrameCounter:") + public native void setLinkFrameCounter(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "mleFrameCounter") + public native NSNumber getMleFrameCounter(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMleFrameCounter:") + public native void setMleFrameCounter(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lqi") + public native NSNumber getLqi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLqi:") + public native void setLqi(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "averageRssi") + public native NSNumber getAverageRssi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAverageRssi:") + public native void setAverageRssi(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lastRssi") + public native NSNumber getLastRssi(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLastRssi:") + public native void setLastRssi(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "frameErrorRate") + public native NSNumber getFrameErrorRate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFrameErrorRate:") + public native void setFrameErrorRate(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "messageErrorRate") + public native NSNumber getMessageErrorRate(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMessageErrorRate:") + public native void setMessageErrorRate(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rxOnWhenIdle") + public native NSNumber getRxOnWhenIdle(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRxOnWhenIdle:") + public native void setRxOnWhenIdle(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "fullThreadDevice") + public native NSNumber getFullThreadDevice(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFullThreadDevice:") + public native void setFullThreadDevice(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "fullNetworkData") + public native NSNumber getFullNetworkData(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFullNetworkData:") + public native void setFullNetworkData(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isChild") + public native NSNumber getIsChild(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setIsChild:") + public native void setIsChild(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.java new file mode 100644 index 000000000..c65b7671d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent() {} + protected MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "current") + public native NSArray getCurrent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setCurrent:") + public native void setCurrent(NSArray v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "previous") + public native NSArray getPrevious(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPrevious:") + public native void setPrevious(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents.java new file mode 100644 index 000000000..86b90db26 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents.java @@ -0,0 +1,179 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponentsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents() {} + protected MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "activeTimestampPresent") + public native NSNumber getActiveTimestampPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setActiveTimestampPresent:") + public native void setActiveTimestampPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "pendingTimestampPresent") + public native NSNumber getPendingTimestampPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPendingTimestampPresent:") + public native void setPendingTimestampPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "masterKeyPresent") + public native NSNumber getMasterKeyPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMasterKeyPresent:") + public native void setMasterKeyPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "networkNamePresent") + public native NSNumber getNetworkNamePresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setNetworkNamePresent:") + public native void setNetworkNamePresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "extendedPanIdPresent") + public native NSNumber getExtendedPanIdPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setExtendedPanIdPresent:") + public native void setExtendedPanIdPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "meshLocalPrefixPresent") + public native NSNumber getMeshLocalPrefixPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setMeshLocalPrefixPresent:") + public native void setMeshLocalPrefixPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "delayPresent") + public native NSNumber getDelayPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setDelayPresent:") + public native void setDelayPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "panIdPresent") + public native NSNumber getPanIdPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPanIdPresent:") + public native void setPanIdPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "channelPresent") + public native NSNumber getChannelPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setChannelPresent:") + public native void setChannelPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "pskcPresent") + public native NSNumber getPskcPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setPskcPresent:") + public native void setPskcPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "securityPolicyPresent") + public native NSNumber getSecurityPolicyPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setSecurityPolicyPresent:") + public native void setSecurityPolicyPresent(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "channelMaskPresent") + public native NSNumber getChannelMaskPresent(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setChannelMaskPresent:") + public native void setChannelMaskPresent(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterResetCountsParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterResetCountsParams.java new file mode 100644 index 000000000..3effe0f21 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterResetCountsParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterResetCountsParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterResetCountsParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterResetCountsParams.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterResetCountsParams() {} + protected MTRThreadNetworkDiagnosticsClusterResetCountsParams(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterResetCountsParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterRouteTableStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterRouteTableStruct.java new file mode 100644 index 000000000..0b51d8fa4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterRouteTableStruct.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterRouteTableStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterRouteTableStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterRouteTableStruct.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterRouteTableStruct() {} + protected MTRThreadNetworkDiagnosticsClusterRouteTableStruct(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterRouteTableStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "extAddress") + public native NSNumber getExtAddress(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setExtAddress:") + public native void setExtAddress(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "rloc16") + public native NSNumber getRloc16(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRloc16:") + public native void setRloc16(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "routerId") + public native NSNumber getRouterId(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setRouterId:") + public native void setRouterId(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "nextHop") + public native NSNumber getNextHop(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setNextHop:") + public native void setNextHop(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "pathCost") + public native NSNumber getPathCost(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPathCost:") + public native void setPathCost(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lqiIn") + public native NSNumber getLqiIn(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLqiIn:") + public native void setLqiIn(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lqiOut") + public native NSNumber getLqiOut(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLqiOut:") + public native void setLqiOut(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "age") + public native NSNumber getAge(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAge:") + public native void setAge(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allocated") + public native NSNumber getAllocated(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllocated:") + public native void setAllocated(NSNumber v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "linkEstablished") + public native NSNumber getLinkEstablished(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLinkEstablished:") + public native void setLinkEstablished(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterSecurityPolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterSecurityPolicy.java new file mode 100644 index 000000000..e255fc96b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsClusterSecurityPolicy.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadNetworkDiagnosticsClusterSecurityPolicy/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadNetworkDiagnosticsClusterSecurityPolicyPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadNetworkDiagnosticsClusterSecurityPolicy.class); }/**/ + /**//**/ + /**/ + public MTRThreadNetworkDiagnosticsClusterSecurityPolicy() {} + protected MTRThreadNetworkDiagnosticsClusterSecurityPolicy(Handle h, long handle) { super(h, handle); } + protected MTRThreadNetworkDiagnosticsClusterSecurityPolicy(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "rotationTime") + public native NSNumber getRotationTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setRotationTime:") + public native void setRotationTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "flags") + public native NSNumber getFlags(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setFlags:") + public native void setFlags(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsConnectionStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsConnectionStatus.java new file mode 100644 index 000000000..3c4251719 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsConnectionStatus.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThreadNetworkDiagnosticsConnectionStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Connected(0L), + /** + * @since Available in iOS 16.4 and later. + */ + NotConnected(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThreadNetworkDiagnosticsConnectionStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThreadNetworkDiagnosticsConnectionStatus/**/ valueOf(long n) { + for (/**/MTRThreadNetworkDiagnosticsConnectionStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThreadNetworkDiagnosticsConnectionStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsFeature.java new file mode 100644 index 000000000..7bd1a0ca9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsFeature.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRThreadNetworkDiagnosticsFeature/**/ extends Bits*/MTRThreadNetworkDiagnosticsFeature/**/> { + /**/ + public static final MTRThreadNetworkDiagnosticsFeature None = new MTRThreadNetworkDiagnosticsFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThreadNetworkDiagnosticsFeature PacketCounts = new MTRThreadNetworkDiagnosticsFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThreadNetworkDiagnosticsFeature ErrorCounts = new MTRThreadNetworkDiagnosticsFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThreadNetworkDiagnosticsFeature MLECounts = new MTRThreadNetworkDiagnosticsFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRThreadNetworkDiagnosticsFeature MACCounts = new MTRThreadNetworkDiagnosticsFeature(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRThreadNetworkDiagnosticsFeature/**/[] values = _values(/**/MTRThreadNetworkDiagnosticsFeature/**/.class); + + public /**/MTRThreadNetworkDiagnosticsFeature/**/(long value) { super(value); } + private /**/MTRThreadNetworkDiagnosticsFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRThreadNetworkDiagnosticsFeature/**/ wrap(long value, long mask) { + return new /**/MTRThreadNetworkDiagnosticsFeature/**/(value, mask); + } + protected /**/MTRThreadNetworkDiagnosticsFeature/**/[] _values() { + return values; + } + public static /**/MTRThreadNetworkDiagnosticsFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsNetworkFault.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsNetworkFault.java new file mode 100644 index 000000000..8f257111e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsNetworkFault.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThreadNetworkDiagnosticsNetworkFault/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + LinkDown(1L), + /** + * @since Available in iOS 16.1 and later. + */ + HardwareFailure(2L), + /** + * @since Available in iOS 16.1 and later. + */ + NetworkJammed(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThreadNetworkDiagnosticsNetworkFault/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThreadNetworkDiagnosticsNetworkFault/**/ valueOf(long n) { + for (/**/MTRThreadNetworkDiagnosticsNetworkFault/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThreadNetworkDiagnosticsNetworkFault/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsRoutingRole.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsRoutingRole.java new file mode 100644 index 000000000..03fba88d2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadNetworkDiagnosticsRoutingRole.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRThreadNetworkDiagnosticsRoutingRole/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Unassigned(1L), + /** + * @since Available in iOS 16.1 and later. + */ + SleepyEndDevice(2L), + /** + * @since Available in iOS 16.1 and later. + */ + EndDevice(3L), + /** + * @since Available in iOS 16.1 and later. + */ + REED(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Router(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Leader(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRThreadNetworkDiagnosticsRoutingRole/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRThreadNetworkDiagnosticsRoutingRole/**/ valueOf(long n) { + for (/**/MTRThreadNetworkDiagnosticsRoutingRole/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRThreadNetworkDiagnosticsRoutingRole/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadOperationalDataset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadOperationalDataset.java new file mode 100644 index 000000000..704e4a922 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRThreadOperationalDataset.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRThreadOperationalDataset/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRThreadOperationalDatasetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRThreadOperationalDataset.class); }/**/ + /**//**/ + /**/ + protected MTRThreadOperationalDataset() {} + protected MTRThreadOperationalDataset(Handle h, long handle) { super(h, handle); } + protected MTRThreadOperationalDataset(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithNetworkName:extendedPANID:masterKey:PSKc:channelNumber:panID:") + public MTRThreadOperationalDataset(String networkName, NSData extendedPANID, NSData masterKey, NSData PSKc, NSNumber channelNumber, NSData panID) { super((SkipInit) null); initObject(init(networkName, extendedPANID, masterKey, PSKc, channelNumber, panID)); } + @Method(selector = "initWithData:") + public MTRThreadOperationalDataset(NSData data) { super((SkipInit) null); initObject(init(data)); } + /**/ + /**/ + @Property(selector = "networkName") + public native String getNetworkName(); + @Property(selector = "extendedPANID") + public native NSData getExtendedPANID(); + @Property(selector = "masterKey") + public native NSData getMasterKey(); + @Property(selector = "PSKc") + public native NSData getPSKc(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "channelNumber") + public native NSNumber getChannelNumber(); + @Property(selector = "panID") + public native NSData getPanID(); + /**/ + /**//**/ + /**/ + @Library("Matter") + public static class SizeOf { + static { Bro.bind(SizeOf.class); } + + @GlobalValue(symbol="MTRSizeThreadNetworkName", optional=true) + public static native @MachineSizedUInt long MTRSizeThreadNetworkName(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="MTRSizeThreadExtendedPANID", optional=true) + public static native @MachineSizedUInt long MTRSizeThreadExtendedPANID(); + @GlobalValue(symbol="MTRSizeThreadMasterKey", optional=true) + public static native @MachineSizedUInt long MTRSizeThreadMasterKey(); + @GlobalValue(symbol="MTRSizeThreadPSKc", optional=true) + public static native @MachineSizedUInt long MTRSizeThreadPSKc(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="MTRSizeThreadPANID", optional=true) + public static native @MachineSizedUInt long MTRSizeThreadPANID(); + } + + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithNetworkName:extendedPANID:masterKey:PSKc:channelNumber:panID:") + protected native @Pointer long init(String networkName, NSData extendedPANID, NSData masterKey, NSData PSKc, NSNumber channelNumber, NSData panID); + @Method(selector = "initWithData:") + protected native @Pointer long init(NSData data); + @Method(selector = "data") + public native NSData data(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationCalendarType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationCalendarType.java new file mode 100644 index 000000000..c82a433c6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationCalendarType.java @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTimeFormatLocalizationCalendarType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Buddhist(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Chinese(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Coptic(2L), + /** + * @since Available in iOS 16.1 and later. + */ + Ethiopian(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Gregorian(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Hebrew(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Indian(6L), + /** + * @since Available in iOS 16.1 and later. + */ + Islamic(7L), + /** + * @since Available in iOS 16.1 and later. + */ + Japanese(8L), + /** + * @since Available in iOS 16.1 and later. + */ + Korean(9L), + /** + * @since Available in iOS 16.1 and later. + */ + Persian(10L), + /** + * @since Available in iOS 16.1 and later. + */ + Taiwanese(11L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTimeFormatLocalizationCalendarType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTimeFormatLocalizationCalendarType/**/ valueOf(long n) { + for (/**/MTRTimeFormatLocalizationCalendarType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTimeFormatLocalizationCalendarType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationHourFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationHourFormat.java new file mode 100644 index 000000000..06e9c174e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeFormatLocalizationHourFormat.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTimeFormatLocalizationHourFormat/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + _12hr(0L), + /** + * @since Available in iOS 16.1 and later. + */ + _24hr(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTimeFormatLocalizationHourFormat/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTimeFormatLocalizationHourFormat/**/ valueOf(long n) { + for (/**/MTRTimeFormatLocalizationHourFormat/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTimeFormatLocalizationHourFormat/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterDSTOffsetStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterDSTOffsetStruct.java new file mode 100644 index 000000000..d7f0a5403 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterDSTOffsetStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTimeSynchronizationClusterDSTOffsetStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTimeSynchronizationClusterDSTOffsetStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTimeSynchronizationClusterDSTOffsetStruct.class); }/**/ + /**//**/ + /**/ + public MTRTimeSynchronizationClusterDSTOffsetStruct() {} + protected MTRTimeSynchronizationClusterDSTOffsetStruct(Handle h, long handle) { super(h, handle); } + protected MTRTimeSynchronizationClusterDSTOffsetStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "offset") + public native NSNumber getOffset(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setOffset:") + public native void setOffset(NSNumber v); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "validStarting") + public native NSNumber getValidStarting(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setValidStarting:") + public native void setValidStarting(NSNumber v); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "validUntil") + public native NSNumber getValidUntil(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setValidUntil:") + public native void setValidUntil(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterSetUtcTimeParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterSetUtcTimeParams.java new file mode 100644 index 000000000..986f33386 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterSetUtcTimeParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTimeSynchronizationClusterSetUtcTimeParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTimeSynchronizationClusterSetUtcTimeParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTimeSynchronizationClusterSetUtcTimeParams.class); }/**/ + /**//**/ + /**/ + public MTRTimeSynchronizationClusterSetUtcTimeParams() {} + protected MTRTimeSynchronizationClusterSetUtcTimeParams(Handle h, long handle) { super(h, handle); } + protected MTRTimeSynchronizationClusterSetUtcTimeParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "utcTime") + public native NSNumber getUtcTime(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setUtcTime:") + public native void setUtcTime(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "granularity") + public native NSNumber getGranularity(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setGranularity:") + public native void setGranularity(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "timeSource") + public native NSNumber getTimeSource(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTimeSource:") + public native void setTimeSource(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterTimeZoneStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterTimeZoneStruct.java new file mode 100644 index 000000000..03d03b729 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationClusterTimeZoneStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRTimeSynchronizationClusterTimeZoneStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRTimeSynchronizationClusterTimeZoneStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRTimeSynchronizationClusterTimeZoneStruct.class); }/**/ + /**//**/ + /**/ + public MTRTimeSynchronizationClusterTimeZoneStruct() {} + protected MTRTimeSynchronizationClusterTimeZoneStruct(Handle h, long handle) { super(h, handle); } + protected MTRTimeSynchronizationClusterTimeZoneStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "offset") + public native NSNumber getOffset(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setOffset:") + public native void setOffset(NSNumber v); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "validAt") + public native NSNumber getValidAt(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setValidAt:") + public native void setValidAt(NSNumber v); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "name") + public native String getName(); + /** + * @since Available in iOS 16.5 and later. + */ + @Property(selector = "setName:") + public native void setName(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationGranularity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationGranularity.java new file mode 100644 index 000000000..3355931a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationGranularity.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTimeSynchronizationGranularity/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + NoTimeGranularity(0L), + /** + * @since Available in iOS 16.1 and later. + */ + MinutesGranularity(1L), + /** + * @since Available in iOS 16.1 and later. + */ + SecondsGranularity(2L), + /** + * @since Available in iOS 16.1 and later. + */ + MillisecondsGranularity(3L), + /** + * @since Available in iOS 16.1 and later. + */ + MicrosecondsGranularity(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTimeSynchronizationGranularity/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTimeSynchronizationGranularity/**/ valueOf(long n) { + for (/**/MTRTimeSynchronizationGranularity/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTimeSynchronizationGranularity/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationTimeSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationTimeSource.java new file mode 100644 index 000000000..1dbb9db80 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTimeSynchronizationTimeSource.java @@ -0,0 +1,131 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTimeSynchronizationTimeSource/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + None(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Admin(2L), + /** + * @since Available in iOS 16.1 and later. + */ + NodeTimeCluster(3L), + /** + * @since Available in iOS 16.1 and later. + */ + NonFabricSntp(4L), + /** + * @since Available in iOS 16.1 and later. + */ + NonFabricNtp(5L), + /** + * @since Available in iOS 16.1 and later. + */ + FabricSntp(6L), + /** + * @since Available in iOS 16.1 and later. + */ + FabricNtp(7L), + /** + * @since Available in iOS 16.1 and later. + */ + MixedNtp(8L), + /** + * @since Available in iOS 16.1 and later. + */ + NonFabricSntpNts(9L), + /** + * @since Available in iOS 16.1 and later. + */ + NonFabricNtpNts(10L), + /** + * @since Available in iOS 16.1 and later. + */ + FabricSntpNts(11L), + /** + * @since Available in iOS 16.1 and later. + */ + FabricNtpNts(12L), + /** + * @since Available in iOS 16.1 and later. + */ + MixedNtpNts(13L), + /** + * @since Available in iOS 16.1 and later. + */ + CloudSource(14L), + /** + * @since Available in iOS 16.1 and later. + */ + Ptp(15L), + /** + * @since Available in iOS 16.1 and later. + */ + Gnss(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTimeSynchronizationTimeSource/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTimeSynchronizationTimeSource/**/ valueOf(long n) { + for (/**/MTRTimeSynchronizationTimeSource/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTimeSynchronizationTimeSource/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTransportType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTransportType.java new file mode 100644 index 000000000..30c8c335a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRTransportType.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRTransportType/**/ implements ValuedEnum { + /**/ + Undefined(0L), + UDP(1L), + BLE(2L), + TCP(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRTransportType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRTransportType/**/ valueOf(long n) { + for (/**/MTRTransportType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRTransportType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationFeature.java new file mode 100644 index 000000000..b6a09f6e3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationFeature.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRUnitLocalizationFeature/**/ extends Bits*/MTRUnitLocalizationFeature/**/> { + /**/ + public static final MTRUnitLocalizationFeature None = new MTRUnitLocalizationFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRUnitLocalizationFeature TemperatureUnit = new MTRUnitLocalizationFeature(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitLocalizationFeature/**/[] values = _values(/**/MTRUnitLocalizationFeature/**/.class); + + public /**/MTRUnitLocalizationFeature/**/(long value) { super(value); } + private /**/MTRUnitLocalizationFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitLocalizationFeature/**/ wrap(long value, long mask) { + return new /**/MTRUnitLocalizationFeature/**/(value, mask); + } + protected /**/MTRUnitLocalizationFeature/**/[] _values() { + return values; + } + public static /**/MTRUnitLocalizationFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationTempUnit.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationTempUnit.java new file mode 100644 index 000000000..88de918cd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitLocalizationTempUnit.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRUnitLocalizationTempUnit/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Fahrenheit(0L), + /** + * @since Available in iOS 16.1 and later. + */ + Celsius(1L), + /** + * @since Available in iOS 16.1 and later. + */ + Kelvin(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRUnitLocalizationTempUnit/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRUnitLocalizationTempUnit/**/ valueOf(long n) { + for (/**/MTRUnitLocalizationTempUnit/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRUnitLocalizationTempUnit/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap16MaskMap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap16MaskMap.java new file mode 100644 index 000000000..ab4c528b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap16MaskMap.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRUnitTestingBitmap16MaskMap/**/ extends Bits*/MTRUnitTestingBitmap16MaskMap/**/> { + /**/ + public static final MTRUnitTestingBitmap16MaskMap None = new MTRUnitTestingBitmap16MaskMap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap16MaskMap MaskVal1 = new MTRUnitTestingBitmap16MaskMap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap16MaskMap MaskVal2 = new MTRUnitTestingBitmap16MaskMap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap16MaskMap MaskVal3 = new MTRUnitTestingBitmap16MaskMap(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap16MaskMap MaskVal4 = new MTRUnitTestingBitmap16MaskMap(16384L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitTestingBitmap16MaskMap/**/[] values = _values(/**/MTRUnitTestingBitmap16MaskMap/**/.class); + + public /**/MTRUnitTestingBitmap16MaskMap/**/(long value) { super(value); } + private /**/MTRUnitTestingBitmap16MaskMap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitTestingBitmap16MaskMap/**/ wrap(long value, long mask) { + return new /**/MTRUnitTestingBitmap16MaskMap/**/(value, mask); + } + protected /**/MTRUnitTestingBitmap16MaskMap/**/[] _values() { + return values; + } + public static /**/MTRUnitTestingBitmap16MaskMap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap32MaskMap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap32MaskMap.java new file mode 100644 index 000000000..99e576f3a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap32MaskMap.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +public final class /**/MTRUnitTestingBitmap32MaskMap/**/ extends Bits*/MTRUnitTestingBitmap32MaskMap/**/> { + /**/ + public static final MTRUnitTestingBitmap32MaskMap None = new MTRUnitTestingBitmap32MaskMap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap32MaskMap MaskVal1 = new MTRUnitTestingBitmap32MaskMap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap32MaskMap MaskVal2 = new MTRUnitTestingBitmap32MaskMap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap32MaskMap MaskVal3 = new MTRUnitTestingBitmap32MaskMap(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap32MaskMap MaskVal4 = new MTRUnitTestingBitmap32MaskMap(1073741824L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitTestingBitmap32MaskMap/**/[] values = _values(/**/MTRUnitTestingBitmap32MaskMap/**/.class); + + public /**/MTRUnitTestingBitmap32MaskMap/**/(long value) { super(value); } + private /**/MTRUnitTestingBitmap32MaskMap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitTestingBitmap32MaskMap/**/ wrap(long value, long mask) { + return new /**/MTRUnitTestingBitmap32MaskMap/**/(value, mask); + } + protected /**/MTRUnitTestingBitmap32MaskMap/**/[] _values() { + return values; + } + public static /**/MTRUnitTestingBitmap32MaskMap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap64MaskMap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap64MaskMap.java new file mode 100644 index 000000000..39a6c7008 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap64MaskMap.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsLongMarshaler.class)/**/ +public final class /**/MTRUnitTestingBitmap64MaskMap/**/ extends Bits*/MTRUnitTestingBitmap64MaskMap/**/> { + /**/ + public static final MTRUnitTestingBitmap64MaskMap None = new MTRUnitTestingBitmap64MaskMap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap64MaskMap MaskVal1 = new MTRUnitTestingBitmap64MaskMap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap64MaskMap MaskVal2 = new MTRUnitTestingBitmap64MaskMap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap64MaskMap MaskVal3 = new MTRUnitTestingBitmap64MaskMap(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap64MaskMap MaskVal4 = new MTRUnitTestingBitmap64MaskMap(4611686018427387904L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitTestingBitmap64MaskMap/**/[] values = _values(/**/MTRUnitTestingBitmap64MaskMap/**/.class); + + public /**/MTRUnitTestingBitmap64MaskMap/**/(long value) { super(value); } + private /**/MTRUnitTestingBitmap64MaskMap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitTestingBitmap64MaskMap/**/ wrap(long value, long mask) { + return new /**/MTRUnitTestingBitmap64MaskMap/**/(value, mask); + } + protected /**/MTRUnitTestingBitmap64MaskMap/**/[] _values() { + return values; + } + public static /**/MTRUnitTestingBitmap64MaskMap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap8MaskMap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap8MaskMap.java new file mode 100644 index 000000000..7e9303425 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingBitmap8MaskMap.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRUnitTestingBitmap8MaskMap/**/ extends Bits*/MTRUnitTestingBitmap8MaskMap/**/> { + /**/ + public static final MTRUnitTestingBitmap8MaskMap None = new MTRUnitTestingBitmap8MaskMap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap8MaskMap MaskVal1 = new MTRUnitTestingBitmap8MaskMap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap8MaskMap MaskVal2 = new MTRUnitTestingBitmap8MaskMap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap8MaskMap MaskVal3 = new MTRUnitTestingBitmap8MaskMap(4L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingBitmap8MaskMap MaskVal4 = new MTRUnitTestingBitmap8MaskMap(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitTestingBitmap8MaskMap/**/[] values = _values(/**/MTRUnitTestingBitmap8MaskMap/**/.class); + + public /**/MTRUnitTestingBitmap8MaskMap/**/(long value) { super(value); } + private /**/MTRUnitTestingBitmap8MaskMap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitTestingBitmap8MaskMap/**/ wrap(long value, long mask) { + return new /**/MTRUnitTestingBitmap8MaskMap/**/(value, mask); + } + protected /**/MTRUnitTestingBitmap8MaskMap/**/[] _values() { + return values; + } + public static /**/MTRUnitTestingBitmap8MaskMap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterBooleanResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterBooleanResponseParams.java new file mode 100644 index 000000000..dc9c709f8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterBooleanResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterBooleanResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterBooleanResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterBooleanResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterBooleanResponseParams() {} + protected MTRUnitTestingClusterBooleanResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterBooleanResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterBooleanResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native NSNumber getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterDoubleNestedStructList.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterDoubleNestedStructList.java new file mode 100644 index 000000000..99413a081 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterDoubleNestedStructList.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterDoubleNestedStructList/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterDoubleNestedStructListPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterDoubleNestedStructList.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterDoubleNestedStructList() {} + protected MTRUnitTestingClusterDoubleNestedStructList(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterDoubleNestedStructList(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "a") + public native NSArray getA(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setA:") + public native void setA(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStruct.java new file mode 100644 index 000000000..47f52e99a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStruct.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterNestedStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterNestedStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterNestedStruct.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterNestedStruct() {} + protected MTRUnitTestingClusterNestedStruct(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterNestedStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "a") + public native NSNumber getA(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setA:") + public native void setA(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "b") + public native NSNumber getB(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setB:") + public native void setB(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "c") + public native MTRUnitTestingClusterSimpleStruct getC(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setC:") + public native void setC(MTRUnitTestingClusterSimpleStruct v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStructList.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStructList.java new file mode 100644 index 000000000..ad27b150f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNestedStructList.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterNestedStructList/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterNestedStructListPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterNestedStructList.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterNestedStructList() {} + protected MTRUnitTestingClusterNestedStructList(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterNestedStructList(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "a") + public native NSNumber getA(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setA:") + public native void setA(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "b") + public native NSNumber getB(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setB:") + public native void setB(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "c") + public native MTRUnitTestingClusterSimpleStruct getC(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setC:") + public native void setC(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "d") + public native NSArray getD(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setD:") + public native void setD(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "e") + public native NSArray getE(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setE:") + public native void setE(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "f") + public native NSArray getF(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setF:") + public native void setF(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "g") + public native NSArray getG(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setG:") + public native void setG(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNullablesAndOptionalsStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNullablesAndOptionalsStruct.java new file mode 100644 index 000000000..3792c5995 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterNullablesAndOptionalsStruct.java @@ -0,0 +1,179 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterNullablesAndOptionalsStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterNullablesAndOptionalsStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterNullablesAndOptionalsStruct.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterNullablesAndOptionalsStruct() {} + protected MTRUnitTestingClusterNullablesAndOptionalsStruct(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterNullablesAndOptionalsStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableInt") + public native NSNumber getNullableInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableInt:") + public native void setNullableInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalInt") + public native NSNumber getOptionalInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalInt:") + public native void setOptionalInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalInt") + public native NSNumber getNullableOptionalInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalInt:") + public native void setNullableOptionalInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableString") + public native String getNullableString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableString:") + public native void setNullableString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalString") + public native String getOptionalString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalString:") + public native void setOptionalString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalString") + public native String getNullableOptionalString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalString:") + public native void setNullableOptionalString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStruct") + public native MTRUnitTestingClusterSimpleStruct getNullableStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStruct:") + public native void setNullableStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStruct") + public native MTRUnitTestingClusterSimpleStruct getOptionalStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStruct:") + public native void setOptionalStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStruct") + public native MTRUnitTestingClusterSimpleStruct getNullableOptionalStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStruct:") + public native void setNullableOptionalStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableList") + public native NSArray getNullableList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableList:") + public native void setNullableList(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalList") + public native NSArray getOptionalList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalList:") + public native void setOptionalList(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalList") + public native NSArray getNullableOptionalList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalList:") + public native void setNullableOptionalList(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStruct.java new file mode 100644 index 000000000..c78e46f0b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStruct.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterSimpleStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterSimpleStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterSimpleStruct.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterSimpleStruct() {} + protected MTRUnitTestingClusterSimpleStruct(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterSimpleStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "a") + public native NSNumber getA(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setA:") + public native void setA(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "b") + public native NSNumber getB(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setB:") + public native void setB(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "c") + public native NSNumber getC(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setC:") + public native void setC(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "d") + public native NSData getD(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setD:") + public native void setD(NSData v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "e") + public native String getE(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setE:") + public native void setE(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "f") + public native NSNumber getF(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setF:") + public native void setF(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "g") + public native NSNumber getG(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setG:") + public native void setG(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "h") + public native NSNumber getH(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setH:") + public native void setH(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructEchoRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructEchoRequestParams.java new file mode 100644 index 000000000..f35da6b94 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructEchoRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterSimpleStructEchoRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterSimpleStructEchoRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterSimpleStructEchoRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterSimpleStructEchoRequestParams() {} + protected MTRUnitTestingClusterSimpleStructEchoRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterSimpleStructEchoRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native MTRUnitTestingClusterSimpleStruct getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(MTRUnitTestingClusterSimpleStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructResponseParams.java new file mode 100644 index 000000000..724c4d0b0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterSimpleStructResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterSimpleStructResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterSimpleStructResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterSimpleStructResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterSimpleStructResponseParams() {} + protected MTRUnitTestingClusterSimpleStructResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterSimpleStructResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterSimpleStructResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native MTRUnitTestingClusterSimpleStruct getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(MTRUnitTestingClusterSimpleStruct v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsParams.java new file mode 100644 index 000000000..5e14a8334 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestAddArgumentsParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestAddArgumentsParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestAddArgumentsParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestAddArgumentsParams() {} + protected MTRUnitTestingClusterTestAddArgumentsParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestAddArgumentsParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSNumber getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsResponseParams.java new file mode 100644 index 000000000..88a07fc67 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestAddArgumentsResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestAddArgumentsResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestAddArgumentsResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestAddArgumentsResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestAddArgumentsResponseParams() {} + protected MTRUnitTestingClusterTestAddArgumentsResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestAddArgumentsResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestAddArgumentsResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "returnValue") + public native NSNumber getReturnValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReturnValue:") + public native void setReturnValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalRequestParams.java new file mode 100644 index 000000000..9700aa2b0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalRequestParams.java @@ -0,0 +1,187 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestComplexNullableOptionalRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestComplexNullableOptionalRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestComplexNullableOptionalRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestComplexNullableOptionalRequestParams() {} + protected MTRUnitTestingClusterTestComplexNullableOptionalRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestComplexNullableOptionalRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableInt") + public native NSNumber getNullableInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableInt:") + public native void setNullableInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalInt") + public native NSNumber getOptionalInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalInt:") + public native void setOptionalInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalInt") + public native NSNumber getNullableOptionalInt(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalInt:") + public native void setNullableOptionalInt(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableString") + public native String getNullableString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableString:") + public native void setNullableString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalString") + public native String getOptionalString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalString:") + public native void setOptionalString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalString") + public native String getNullableOptionalString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalString:") + public native void setNullableOptionalString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStruct") + public native MTRUnitTestingClusterSimpleStruct getNullableStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStruct:") + public native void setNullableStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStruct") + public native MTRUnitTestingClusterSimpleStruct getOptionalStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStruct:") + public native void setOptionalStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStruct") + public native MTRUnitTestingClusterSimpleStruct getNullableOptionalStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStruct:") + public native void setNullableOptionalStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableList") + public native NSArray getNullableList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableList:") + public native void setNullableList(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalList") + public native NSArray getOptionalList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalList:") + public native void setOptionalList(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalList") + public native NSArray getNullableOptionalList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalList:") + public native void setNullableOptionalList(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalResponseParams.java new file mode 100644 index 000000000..03ef66af5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestComplexNullableOptionalResponseParams.java @@ -0,0 +1,354 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestComplexNullableOptionalResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestComplexNullableOptionalResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestComplexNullableOptionalResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestComplexNullableOptionalResponseParams() {} + protected MTRUnitTestingClusterTestComplexNullableOptionalResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestComplexNullableOptionalResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestComplexNullableOptionalResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableIntWasNull") + public native NSNumber getNullableIntWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableIntWasNull:") + public native void setNullableIntWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableIntValue") + public native NSNumber getNullableIntValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableIntValue:") + public native void setNullableIntValue(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalIntWasPresent") + public native NSNumber getOptionalIntWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalIntWasPresent:") + public native void setOptionalIntWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalIntValue") + public native NSNumber getOptionalIntValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalIntValue:") + public native void setOptionalIntValue(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalIntWasPresent") + public native NSNumber getNullableOptionalIntWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalIntWasPresent:") + public native void setNullableOptionalIntWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalIntWasNull") + public native NSNumber getNullableOptionalIntWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalIntWasNull:") + public native void setNullableOptionalIntWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalIntValue") + public native NSNumber getNullableOptionalIntValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalIntValue:") + public native void setNullableOptionalIntValue(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStringWasNull") + public native NSNumber getNullableStringWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStringWasNull:") + public native void setNullableStringWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStringValue") + public native String getNullableStringValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStringValue:") + public native void setNullableStringValue(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStringWasPresent") + public native NSNumber getOptionalStringWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStringWasPresent:") + public native void setOptionalStringWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStringValue") + public native String getOptionalStringValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStringValue:") + public native void setOptionalStringValue(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStringWasPresent") + public native NSNumber getNullableOptionalStringWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStringWasPresent:") + public native void setNullableOptionalStringWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStringWasNull") + public native NSNumber getNullableOptionalStringWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStringWasNull:") + public native void setNullableOptionalStringWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStringValue") + public native String getNullableOptionalStringValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStringValue:") + public native void setNullableOptionalStringValue(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStructWasNull") + public native NSNumber getNullableStructWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStructWasNull:") + public native void setNullableStructWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableStructValue") + public native MTRUnitTestingClusterSimpleStruct getNullableStructValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableStructValue:") + public native void setNullableStructValue(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStructWasPresent") + public native NSNumber getOptionalStructWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStructWasPresent:") + public native void setOptionalStructWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalStructValue") + public native MTRUnitTestingClusterSimpleStruct getOptionalStructValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalStructValue:") + public native void setOptionalStructValue(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStructWasPresent") + public native NSNumber getNullableOptionalStructWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStructWasPresent:") + public native void setNullableOptionalStructWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStructWasNull") + public native NSNumber getNullableOptionalStructWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStructWasNull:") + public native void setNullableOptionalStructWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalStructValue") + public native MTRUnitTestingClusterSimpleStruct getNullableOptionalStructValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalStructValue:") + public native void setNullableOptionalStructValue(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableListWasNull") + public native NSNumber getNullableListWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableListWasNull:") + public native void setNullableListWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableListValue") + public native NSArray getNullableListValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableListValue:") + public native void setNullableListValue(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalListWasPresent") + public native NSNumber getOptionalListWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalListWasPresent:") + public native void setOptionalListWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalListValue") + public native NSArray getOptionalListValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalListValue:") + public native void setOptionalListValue(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalListWasPresent") + public native NSNumber getNullableOptionalListWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalListWasPresent:") + public native void setNullableOptionalListWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalListWasNull") + public native NSNumber getNullableOptionalListWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalListWasNull:") + public native void setNullableOptionalListWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalListValue") + public native NSArray getNullableOptionalListValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalListValue:") + public native void setNullableOptionalListValue(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventRequestParams.java new file mode 100644 index 000000000..9dc0e3b23 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventRequestParams.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEmitTestEventRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEmitTestEventRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEmitTestEventRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEmitTestEventRequestParams() {} + protected MTRUnitTestingClusterTestEmitTestEventRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEmitTestEventRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSNumber getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg3") + public native NSNumber getArg3(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg3:") + public native void setArg3(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventResponseParams.java new file mode 100644 index 000000000..c9ccf2cf9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestEventResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEmitTestEventResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEmitTestEventResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEmitTestEventResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEmitTestEventResponseParams() {} + protected MTRUnitTestingClusterTestEmitTestEventResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEmitTestEventResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestEmitTestEventResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native NSNumber getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams.java new file mode 100644 index 000000000..6a42ec60a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams() {} + protected MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams.java new file mode 100644 index 000000000..c72a075bc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams() {} + protected MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native NSNumber getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsRequestParams.java new file mode 100644 index 000000000..f4e293aed --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsRequestParams.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEnumsRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEnumsRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEnumsRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEnumsRequestParams() {} + protected MTRUnitTestingClusterTestEnumsRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEnumsRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSNumber getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsResponseParams.java new file mode 100644 index 000000000..35bb22d1b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEnumsResponseParams.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEnumsResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEnumsResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEnumsResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEnumsResponseParams() {} + protected MTRUnitTestingClusterTestEnumsResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEnumsResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestEnumsResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSNumber getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEventEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEventEvent.java new file mode 100644 index 000000000..539502e15 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestEventEvent.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestEventEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestEventEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestEventEvent.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestEventEvent() {} + protected MTRUnitTestingClusterTestEventEvent(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestEventEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSNumber getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg3") + public native NSNumber getArg3(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg3:") + public native void setArg3(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg4") + public native MTRUnitTestingClusterSimpleStruct getArg4(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg4:") + public native void setArg4(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg5") + public native NSArray getArg5(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg5:") + public native void setArg5(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg6") + public native NSArray getArg6(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg6:") + public native void setArg6(NSArray v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScoped.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScoped.java new file mode 100644 index 000000000..633604675 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScoped.java @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestFabricScoped/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestFabricScopedPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestFabricScoped.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestFabricScoped() {} + protected MTRUnitTestingClusterTestFabricScoped(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestFabricScoped(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricSensitiveInt8u") + public native NSNumber getFabricSensitiveInt8u(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricSensitiveInt8u:") + public native void setFabricSensitiveInt8u(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "optionalFabricSensitiveInt8u") + public native NSNumber getOptionalFabricSensitiveInt8u(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOptionalFabricSensitiveInt8u:") + public native void setOptionalFabricSensitiveInt8u(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableFabricSensitiveInt8u") + public native NSNumber getNullableFabricSensitiveInt8u(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableFabricSensitiveInt8u:") + public native void setNullableFabricSensitiveInt8u(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "nullableOptionalFabricSensitiveInt8u") + public native NSNumber getNullableOptionalFabricSensitiveInt8u(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setNullableOptionalFabricSensitiveInt8u:") + public native void setNullableOptionalFabricSensitiveInt8u(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricSensitiveCharString") + public native String getFabricSensitiveCharString(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricSensitiveCharString:") + public native void setFabricSensitiveCharString(String v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricSensitiveStruct") + public native MTRUnitTestingClusterSimpleStruct getFabricSensitiveStruct(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricSensitiveStruct:") + public native void setFabricSensitiveStruct(MTRUnitTestingClusterSimpleStruct v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricSensitiveInt8uList") + public native NSArray getFabricSensitiveInt8uList(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricSensitiveInt8uList:") + public native void setFabricSensitiveInt8uList(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScopedEventEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScopedEventEvent.java new file mode 100644 index 000000000..997771aab --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestFabricScopedEventEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestFabricScopedEventEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestFabricScopedEventEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestFabricScopedEventEvent.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestFabricScopedEventEvent() {} + protected MTRUnitTestingClusterTestFabricScopedEventEvent(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestFabricScopedEventEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "fabricIndex") + public native NSNumber getFabricIndex(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setFabricIndex:") + public native void setFabricIndex(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UArgumentRequestParams.java new file mode 100644 index 000000000..080b99e82 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListInt8UArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListInt8UArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListInt8UArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListInt8UArgumentRequestParams() {} + protected MTRUnitTestingClusterTestListInt8UArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListInt8UArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseRequestParams.java new file mode 100644 index 000000000..fd7311526 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListInt8UReverseRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListInt8UReverseRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListInt8UReverseRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListInt8UReverseRequestParams() {} + protected MTRUnitTestingClusterTestListInt8UReverseRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListInt8UReverseRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseResponseParams.java new file mode 100644 index 000000000..24711ee4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListInt8UReverseResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListInt8UReverseResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListInt8UReverseResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListInt8UReverseResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListInt8UReverseResponseParams() {} + protected MTRUnitTestingClusterTestListInt8UReverseResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListInt8UReverseResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestListInt8UReverseResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams.java new file mode 100644 index 000000000..e5e7230a6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListNestedStructListArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams() {} + protected MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructArgumentRequestParams.java new file mode 100644 index 000000000..74f2d8a38 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListStructArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListStructArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListStructArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListStructArgumentRequestParams() {} + protected MTRUnitTestingClusterTestListStructArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListStructArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructOctet.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructOctet.java new file mode 100644 index 000000000..c21b27f2d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestListStructOctet.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestListStructOctet/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestListStructOctetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestListStructOctet.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestListStructOctet() {} + protected MTRUnitTestingClusterTestListStructOctet(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestListStructOctet(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "member1") + public native NSNumber getMember1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMember1:") + public native void setMember1(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "member2") + public native NSData getMember2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMember2:") + public native void setMember2(NSData v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructArgumentRequestParams.java new file mode 100644 index 000000000..96bca99ed --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestNestedStructArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestNestedStructArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestNestedStructArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestNestedStructArgumentRequestParams() {} + protected MTRUnitTestingClusterTestNestedStructArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestNestedStructArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native MTRUnitTestingClusterNestedStruct getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(MTRUnitTestingClusterNestedStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructListArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructListArgumentRequestParams.java new file mode 100644 index 000000000..343bd7c44 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNestedStructListArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestNestedStructListArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestNestedStructListArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestNestedStructListArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestNestedStructListArgumentRequestParams() {} + protected MTRUnitTestingClusterTestNestedStructListArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestNestedStructListArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native MTRUnitTestingClusterNestedStructList getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(MTRUnitTestingClusterNestedStructList v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNotHandledParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNotHandledParams.java new file mode 100644 index 000000000..16e5f8794 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNotHandledParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestNotHandledParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestNotHandledParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestNotHandledParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestNotHandledParams() {} + protected MTRUnitTestingClusterTestNotHandledParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestNotHandledParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalRequestParams.java new file mode 100644 index 000000000..32f2d16de --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestNullableOptionalRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestNullableOptionalRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestNullableOptionalRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestNullableOptionalRequestParams() {} + protected MTRUnitTestingClusterTestNullableOptionalRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestNullableOptionalRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalResponseParams.java new file mode 100644 index 000000000..dbc109f63 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestNullableOptionalResponseParams.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestNullableOptionalResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestNullableOptionalResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestNullableOptionalResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestNullableOptionalResponseParams() {} + protected MTRUnitTestingClusterTestNullableOptionalResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestNullableOptionalResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestNullableOptionalResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "wasPresent") + public native NSNumber getWasPresent(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setWasPresent:") + public native void setWasPresent(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "wasNull") + public native NSNumber getWasNull(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setWasNull:") + public native void setWasNull(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "value") + public native NSNumber getValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setValue:") + public native void setValue(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "originalValue") + public native NSNumber getOriginalValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setOriginalValue:") + public native void setOriginalValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestParams.java new file mode 100644 index 000000000..125a6df46 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestParams() {} + protected MTRUnitTestingClusterTestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentRequestParams.java new file mode 100644 index 000000000..2c7a056de --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestSimpleArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestSimpleArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestSimpleArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestSimpleArgumentRequestParams() {} + protected MTRUnitTestingClusterTestSimpleArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestSimpleArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentResponseParams.java new file mode 100644 index 000000000..df17419a7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleArgumentResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestSimpleArgumentResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestSimpleArgumentResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestSimpleArgumentResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestSimpleArgumentResponseParams() {} + protected MTRUnitTestingClusterTestSimpleArgumentResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestSimpleArgumentResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestSimpleArgumentResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "returnValue") + public native NSNumber getReturnValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReturnValue:") + public native void setReturnValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams.java new file mode 100644 index 000000000..4bc26995d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams() {} + protected MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSNumber getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificParams.java new file mode 100644 index 000000000..09fea3aa0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestSpecificParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestSpecificParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestSpecificParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestSpecificParams() {} + protected MTRUnitTestingClusterTestSpecificParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestSpecificParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificResponseParams.java new file mode 100644 index 000000000..2bbcc802e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestSpecificResponseParams.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestSpecificResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestSpecificResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestSpecificResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestSpecificResponseParams() {} + protected MTRUnitTestingClusterTestSpecificResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestSpecificResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestSpecificResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "returnValue") + public native NSNumber getReturnValue(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setReturnValue:") + public native void setReturnValue(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArgumentRequestParams.java new file mode 100644 index 000000000..24ed42ba7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArgumentRequestParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestStructArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestStructArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestStructArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestStructArgumentRequestParams() {} + protected MTRUnitTestingClusterTestStructArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestStructArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native MTRUnitTestingClusterSimpleStruct getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(MTRUnitTestingClusterSimpleStruct v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentRequestParams.java new file mode 100644 index 000000000..2c350e431 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentRequestParams.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestStructArrayArgumentRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestStructArrayArgumentRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestStructArrayArgumentRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestStructArrayArgumentRequestParams() {} + protected MTRUnitTestingClusterTestStructArrayArgumentRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestStructArrayArgumentRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSArray getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg3") + public native NSArray getArg3(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg3:") + public native void setArg3(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg4") + public native NSArray getArg4(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg4:") + public native void setArg4(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg5") + public native NSNumber getArg5(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg5:") + public native void setArg5(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg6") + public native NSNumber getArg6(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg6:") + public native void setArg6(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentResponseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentResponseParams.java new file mode 100644 index 000000000..1759f9c62 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestStructArrayArgumentResponseParams.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestStructArrayArgumentResponseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestStructArrayArgumentResponseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestStructArrayArgumentResponseParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestStructArrayArgumentResponseParams() {} + protected MTRUnitTestingClusterTestStructArrayArgumentResponseParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestStructArrayArgumentResponseParams(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + public MTRUnitTestingClusterTestStructArrayArgumentResponseParams(NSDictionary responseValue) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(responseValue, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg1") + public native NSArray getArg1(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg1:") + public native void setArg1(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg2") + public native NSArray getArg2(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg2:") + public native void setArg2(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg3") + public native NSArray getArg3(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg3:") + public native void setArg3(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg4") + public native NSArray getArg4(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg4:") + public native void setArg4(NSArray v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg5") + public native NSNumber getArg5(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg5:") + public native void setArg5(NSNumber v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "arg6") + public native NSNumber getArg6(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setArg6:") + public native void setArg6(NSNumber v); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithResponseValue:error:") + private native @Pointer long init(NSDictionary responseValue, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestUnknownCommandParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestUnknownCommandParams.java new file mode 100644 index 000000000..15586ee1e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTestUnknownCommandParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTestUnknownCommandParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTestUnknownCommandParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTestUnknownCommandParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTestUnknownCommandParams() {} + protected MTRUnitTestingClusterTestUnknownCommandParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTestUnknownCommandParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTimedInvokeRequestParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTimedInvokeRequestParams.java new file mode 100644 index 000000000..3708e71d6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingClusterTimedInvokeRequestParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUnitTestingClusterTimedInvokeRequestParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUnitTestingClusterTimedInvokeRequestParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUnitTestingClusterTimedInvokeRequestParams.class); }/**/ + /**//**/ + /**/ + public MTRUnitTestingClusterTimedInvokeRequestParams() {} + protected MTRUnitTestingClusterTimedInvokeRequestParams(Handle h, long handle) { super(h, handle); } + protected MTRUnitTestingClusterTimedInvokeRequestParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimple.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimple.java new file mode 100644 index 000000000..db9ba79c9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimple.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRUnitTestingSimple/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.4 and later. + */ + ValueA(1L), + /** + * @since Available in iOS 16.4 and later. + */ + ValueB(2L), + /** + * @since Available in iOS 16.4 and later. + */ + ValueC(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRUnitTestingSimple/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRUnitTestingSimple/**/ valueOf(long n) { + for (/**/MTRUnitTestingSimple/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRUnitTestingSimple/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimpleBitmap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimpleBitmap.java new file mode 100644 index 000000000..d26ac8b1c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUnitTestingSimpleBitmap.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRUnitTestingSimpleBitmap/**/ extends Bits*/MTRUnitTestingSimpleBitmap/**/> { + /**/ + public static final MTRUnitTestingSimpleBitmap None = new MTRUnitTestingSimpleBitmap(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingSimpleBitmap ValueA = new MTRUnitTestingSimpleBitmap(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingSimpleBitmap ValueB = new MTRUnitTestingSimpleBitmap(2L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRUnitTestingSimpleBitmap ValueC = new MTRUnitTestingSimpleBitmap(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRUnitTestingSimpleBitmap/**/[] values = _values(/**/MTRUnitTestingSimpleBitmap/**/.class); + + public /**/MTRUnitTestingSimpleBitmap/**/(long value) { super(value); } + private /**/MTRUnitTestingSimpleBitmap/**/(long value, long mask) { super(value, mask); } + protected /**/MTRUnitTestingSimpleBitmap/**/ wrap(long value, long mask) { + return new /**/MTRUnitTestingSimpleBitmap/**/(value, mask); + } + protected /**/MTRUnitTestingSimpleBitmap/**/[] _values() { + return values; + } + public static /**/MTRUnitTestingSimpleBitmap/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUserLabelClusterLabelStruct.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUserLabelClusterLabelStruct.java new file mode 100644 index 000000000..4a1c8c884 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRUserLabelClusterLabelStruct.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRUserLabelClusterLabelStruct/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRUserLabelClusterLabelStructPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRUserLabelClusterLabelStruct.class); }/**/ + /**//**/ + /**/ + public MTRUserLabelClusterLabelStruct() {} + protected MTRUserLabelClusterLabelStruct(Handle h, long handle) { super(h, handle); } + protected MTRUserLabelClusterLabelStruct(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "label") + public native String getLabel(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLabel:") + public native void setLabel(String v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "value") + public native String getValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setValue:") + public native void setValue(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsAssociationFailureCause.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsAssociationFailureCause.java new file mode 100644 index 000000000..a39eac4cb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsAssociationFailureCause.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWiFiNetworkDiagnosticsAssociationFailureCause/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(0L), + /** + * @since Available in iOS 16.1 and later. + */ + AssociationFailed(1L), + /** + * @since Available in iOS 16.1 and later. + */ + AuthenticationFailed(2L), + /** + * @since Available in iOS 16.1 and later. + */ + SsidNotFound(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWiFiNetworkDiagnosticsAssociationFailureCause/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWiFiNetworkDiagnosticsAssociationFailureCause/**/ valueOf(long n) { + for (/**/MTRWiFiNetworkDiagnosticsAssociationFailureCause/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWiFiNetworkDiagnosticsAssociationFailureCause/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent.java new file mode 100644 index 000000000..de6dd2e3a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWiFiNetworkDiagnosticsClusterAssociationFailureEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent.class); }/**/ + /**//**/ + /**/ + public MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent() {} + protected MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent(Handle h, long handle) { super(h, handle); } + protected MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "associationFailure") + public native NSNumber getAssociationFailure(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setAssociationFailure:") + public native void setAssociationFailure(NSNumber v); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "status") + public native NSNumber getStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setStatus:") + public native void setStatus(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent.java new file mode 100644 index 000000000..4519f113b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWiFiNetworkDiagnosticsClusterConnectionStatusEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent.class); }/**/ + /**//**/ + /**/ + public MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent() {} + protected MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent(Handle h, long handle) { super(h, handle); } + protected MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "connectionStatus") + public native NSNumber getConnectionStatus(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setConnectionStatus:") + public native void setConnectionStatus(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent.java new file mode 100644 index 000000000..4862a538e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWiFiNetworkDiagnosticsClusterDisconnectionEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent.class); }/**/ + /**//**/ + /**/ + public MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent() {} + protected MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent(Handle h, long handle) { super(h, handle); } + protected MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "reasonCode") + public native NSNumber getReasonCode(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setReasonCode:") + public native void setReasonCode(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterResetCountsParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterResetCountsParams.java new file mode 100644 index 000000000..babefe20b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsClusterResetCountsParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWiFiNetworkDiagnosticsClusterResetCountsParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWiFiNetworkDiagnosticsClusterResetCountsParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWiFiNetworkDiagnosticsClusterResetCountsParams.class); }/**/ + /**//**/ + /**/ + public MTRWiFiNetworkDiagnosticsClusterResetCountsParams() {} + protected MTRWiFiNetworkDiagnosticsClusterResetCountsParams(Handle h, long handle) { super(h, handle); } + protected MTRWiFiNetworkDiagnosticsClusterResetCountsParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsConnectionStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsConnectionStatus.java new file mode 100644 index 000000000..73848dfca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsConnectionStatus.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWiFiNetworkDiagnosticsConnectionStatus/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + Connected(0L), + /** + * @since Available in iOS 16.5 and later. + */ + NotConnected(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWiFiNetworkDiagnosticsConnectionStatus/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWiFiNetworkDiagnosticsConnectionStatus/**/ valueOf(long n) { + for (/**/MTRWiFiNetworkDiagnosticsConnectionStatus/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWiFiNetworkDiagnosticsConnectionStatus/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsFeature.java new file mode 100644 index 000000000..b24db9931 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsFeature.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**//**/ +public final class /**/MTRWiFiNetworkDiagnosticsFeature/**/ extends Bits*/MTRWiFiNetworkDiagnosticsFeature/**/> { + /**/ + public static final MTRWiFiNetworkDiagnosticsFeature None = new MTRWiFiNetworkDiagnosticsFeature(0L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRWiFiNetworkDiagnosticsFeature PacketCounts = new MTRWiFiNetworkDiagnosticsFeature(1L); + /** + * @since Available in iOS 16.4 and later. + */ + public static final MTRWiFiNetworkDiagnosticsFeature ErrorCounts = new MTRWiFiNetworkDiagnosticsFeature(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWiFiNetworkDiagnosticsFeature/**/[] values = _values(/**/MTRWiFiNetworkDiagnosticsFeature/**/.class); + + public /**/MTRWiFiNetworkDiagnosticsFeature/**/(long value) { super(value); } + private /**/MTRWiFiNetworkDiagnosticsFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWiFiNetworkDiagnosticsFeature/**/ wrap(long value, long mask) { + return new /**/MTRWiFiNetworkDiagnosticsFeature/**/(value, mask); + } + protected /**/MTRWiFiNetworkDiagnosticsFeature/**/[] _values() { + return values; + } + public static /**/MTRWiFiNetworkDiagnosticsFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsSecurityType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsSecurityType.java new file mode 100644 index 000000000..8af033f75 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsSecurityType.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWiFiNetworkDiagnosticsSecurityType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + Unspecified(0L), + /** + * @since Available in iOS 16.1 and later. + */ + None(1L), + /** + * @since Available in iOS 16.1 and later. + */ + WEP(2L), + /** + * @since Available in iOS 16.1 and later. + */ + WPA(3L), + /** + * @since Available in iOS 16.1 and later. + */ + WPA2(4L), + /** + * @since Available in iOS 16.1 and later. + */ + WPA3(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWiFiNetworkDiagnosticsSecurityType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWiFiNetworkDiagnosticsSecurityType/**/ valueOf(long n) { + for (/**/MTRWiFiNetworkDiagnosticsSecurityType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWiFiNetworkDiagnosticsSecurityType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsWiFiVersion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsWiFiVersion.java new file mode 100644 index 000000000..0a0888b71 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWiFiNetworkDiagnosticsWiFiVersion.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.5 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWiFiNetworkDiagnosticsWiFiVersion/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.5 and later. + */ + A(0L), + /** + * @since Available in iOS 16.5 and later. + */ + B(1L), + /** + * @since Available in iOS 16.5 and later. + */ + G(2L), + /** + * @since Available in iOS 16.5 and later. + */ + N(3L), + /** + * @since Available in iOS 16.5 and later. + */ + Ac(4L), + /** + * @since Available in iOS 16.5 and later. + */ + Ax(5L), + /** + * @since Available in iOS 17.0 and later. + */ + Ah(6L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWiFiNetworkDiagnosticsWiFiVersion/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWiFiNetworkDiagnosticsWiFiVersion/**/ valueOf(long n) { + for (/**/MTRWiFiNetworkDiagnosticsWiFiVersion/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWiFiNetworkDiagnosticsWiFiVersion/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterDownOrCloseParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterDownOrCloseParams.java new file mode 100644 index 000000000..a66d92135 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterDownOrCloseParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterDownOrCloseParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterDownOrCloseParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterDownOrCloseParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterDownOrCloseParams() {} + protected MTRWindowCoveringClusterDownOrCloseParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterDownOrCloseParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftPercentageParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftPercentageParams.java new file mode 100644 index 000000000..98763940b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftPercentageParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterGoToLiftPercentageParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterGoToLiftPercentageParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterGoToLiftPercentageParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterGoToLiftPercentageParams() {} + protected MTRWindowCoveringClusterGoToLiftPercentageParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterGoToLiftPercentageParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "liftPercent100thsValue") + public native NSNumber getLiftPercent100thsValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLiftPercent100thsValue:") + public native void setLiftPercent100thsValue(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftValueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftValueParams.java new file mode 100644 index 000000000..8265ea1d9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToLiftValueParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterGoToLiftValueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterGoToLiftValueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterGoToLiftValueParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterGoToLiftValueParams() {} + protected MTRWindowCoveringClusterGoToLiftValueParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterGoToLiftValueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "liftValue") + public native NSNumber getLiftValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setLiftValue:") + public native void setLiftValue(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltPercentageParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltPercentageParams.java new file mode 100644 index 000000000..98a3fabbd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltPercentageParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterGoToTiltPercentageParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterGoToTiltPercentageParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterGoToTiltPercentageParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterGoToTiltPercentageParams() {} + protected MTRWindowCoveringClusterGoToTiltPercentageParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterGoToTiltPercentageParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "tiltPercent100thsValue") + public native NSNumber getTiltPercent100thsValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTiltPercent100thsValue:") + public native void setTiltPercent100thsValue(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltValueParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltValueParams.java new file mode 100644 index 000000000..bdd14e0ca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterGoToTiltValueParams.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterGoToTiltValueParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterGoToTiltValueParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterGoToTiltValueParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterGoToTiltValueParams() {} + protected MTRWindowCoveringClusterGoToTiltValueParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterGoToTiltValueParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "tiltValue") + public native NSNumber getTiltValue(); + /** + * @since Available in iOS 16.1 and later. + */ + @Property(selector = "setTiltValue:") + public native void setTiltValue(NSNumber v); + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterStopMotionParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterStopMotionParams.java new file mode 100644 index 000000000..ec4966bbb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterStopMotionParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterStopMotionParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterStopMotionParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterStopMotionParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterStopMotionParams() {} + protected MTRWindowCoveringClusterStopMotionParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterStopMotionParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterUpOrOpenParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterUpOrOpenParams.java new file mode 100644 index 000000000..5ba2a7b10 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringClusterUpOrOpenParams.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWindowCoveringClusterUpOrOpenParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWindowCoveringClusterUpOrOpenParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWindowCoveringClusterUpOrOpenParams.class); }/**/ + /**//**/ + /**/ + public MTRWindowCoveringClusterUpOrOpenParams() {} + protected MTRWindowCoveringClusterUpOrOpenParams(Handle h, long handle) { super(h, handle); } + protected MTRWindowCoveringClusterUpOrOpenParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedInvokeTimeoutMs") + public native NSNumber getTimedInvokeTimeoutMs(); + @Property(selector = "setTimedInvokeTimeoutMs:") + public native void setTimedInvokeTimeoutMs(NSNumber v); + @Property(selector = "serverSideProcessingTimeout") + public native NSNumber getServerSideProcessingTimeout(); + @Property(selector = "setServerSideProcessingTimeout:") + public native void setServerSideProcessingTimeout(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringConfigStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringConfigStatus.java new file mode 100644 index 000000000..5a246e0a1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringConfigStatus.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRWindowCoveringConfigStatus/**/ extends Bits*/MTRWindowCoveringConfigStatus/**/> { + /**/ + public static final MTRWindowCoveringConfigStatus None = new MTRWindowCoveringConfigStatus(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus Operational = new MTRWindowCoveringConfigStatus(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus OnlineReserved = new MTRWindowCoveringConfigStatus(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus LiftMovementReversed = new MTRWindowCoveringConfigStatus(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus LiftPositionAware = new MTRWindowCoveringConfigStatus(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus TiltPositionAware = new MTRWindowCoveringConfigStatus(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus LiftEncoderControlled = new MTRWindowCoveringConfigStatus(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringConfigStatus TiltEncoderControlled = new MTRWindowCoveringConfigStatus(64L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWindowCoveringConfigStatus/**/[] values = _values(/**/MTRWindowCoveringConfigStatus/**/.class); + + public /**/MTRWindowCoveringConfigStatus/**/(long value) { super(value); } + private /**/MTRWindowCoveringConfigStatus/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWindowCoveringConfigStatus/**/ wrap(long value, long mask) { + return new /**/MTRWindowCoveringConfigStatus/**/(value, mask); + } + protected /**/MTRWindowCoveringConfigStatus/**/[] _values() { + return values; + } + public static /**/MTRWindowCoveringConfigStatus/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringEndProductType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringEndProductType.java new file mode 100644 index 000000000..4adb24d53 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringEndProductType.java @@ -0,0 +1,163 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWindowCoveringEndProductType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + RollerShade(0L), + /** + * @since Available in iOS 16.1 and later. + */ + RomanShade(1L), + /** + * @since Available in iOS 16.1 and later. + */ + BalloonShade(2L), + /** + * @since Available in iOS 16.1 and later. + */ + WovenWood(3L), + /** + * @since Available in iOS 16.1 and later. + */ + PleatedShade(4L), + /** + * @since Available in iOS 16.1 and later. + */ + CellularShade(5L), + /** + * @since Available in iOS 16.1 and later. + */ + LayeredShade(6L), + /** + * @since Available in iOS 16.1 and later. + */ + LayeredShade2D(7L), + /** + * @since Available in iOS 16.1 and later. + */ + SheerShade(8L), + /** + * @since Available in iOS 16.1 and later. + */ + TiltOnlyInteriorBlind(9L), + /** + * @since Available in iOS 16.1 and later. + */ + InteriorBlind(10L), + /** + * @since Available in iOS 16.1 and later. + */ + VerticalBlindStripCurtain(11L), + /** + * @since Available in iOS 16.1 and later. + */ + InteriorVenetianBlind(12L), + /** + * @since Available in iOS 16.1 and later. + */ + ExteriorVenetianBlind(13L), + /** + * @since Available in iOS 16.1 and later. + */ + LateralLeftCurtain(14L), + /** + * @since Available in iOS 16.1 and later. + */ + LateralRightCurtain(15L), + /** + * @since Available in iOS 16.1 and later. + */ + CentralCurtain(16L), + /** + * @since Available in iOS 16.1 and later. + */ + RollerShutter(17L), + /** + * @since Available in iOS 16.1 and later. + */ + ExteriorVerticalScreen(18L), + /** + * @since Available in iOS 16.1 and later. + */ + AwningTerracePatio(19L), + /** + * @since Available in iOS 16.1 and later. + */ + AwningVerticalScreen(20L), + /** + * @since Available in iOS 16.1 and later. + */ + TiltOnlyPergola(21L), + /** + * @since Available in iOS 16.1 and later. + */ + SwingingShutter(22L), + /** + * @since Available in iOS 16.1 and later. + */ + SlidingShutter(23L), + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(255L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWindowCoveringEndProductType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWindowCoveringEndProductType/**/ valueOf(long n) { + for (/**/MTRWindowCoveringEndProductType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWindowCoveringEndProductType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringFeature.java new file mode 100644 index 000000000..9fe385b4d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringFeature.java @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**//**/ +public final class /**/MTRWindowCoveringFeature/**/ extends Bits*/MTRWindowCoveringFeature/**/> { + /**/ + public static final MTRWindowCoveringFeature None = new MTRWindowCoveringFeature(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringFeature Lift = new MTRWindowCoveringFeature(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringFeature Tilt = new MTRWindowCoveringFeature(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringFeature PositionAwareLift = new MTRWindowCoveringFeature(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringFeature AbsolutePosition = new MTRWindowCoveringFeature(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringFeature PositionAwareTilt = new MTRWindowCoveringFeature(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWindowCoveringFeature/**/[] values = _values(/**/MTRWindowCoveringFeature/**/.class); + + public /**/MTRWindowCoveringFeature/**/(long value) { super(value); } + private /**/MTRWindowCoveringFeature/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWindowCoveringFeature/**/ wrap(long value, long mask) { + return new /**/MTRWindowCoveringFeature/**/(value, mask); + } + protected /**/MTRWindowCoveringFeature/**/[] _values() { + return values; + } + public static /**/MTRWindowCoveringFeature/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringMode.java new file mode 100644 index 000000000..b85612817 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringMode.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRWindowCoveringMode/**/ extends Bits*/MTRWindowCoveringMode/**/> { + /**/ + public static final MTRWindowCoveringMode None = new MTRWindowCoveringMode(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringMode MotorDirectionReversed = new MTRWindowCoveringMode(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringMode CalibrationMode = new MTRWindowCoveringMode(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringMode MaintenanceMode = new MTRWindowCoveringMode(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringMode LedFeedback = new MTRWindowCoveringMode(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWindowCoveringMode/**/[] values = _values(/**/MTRWindowCoveringMode/**/.class); + + public /**/MTRWindowCoveringMode/**/(long value) { super(value); } + private /**/MTRWindowCoveringMode/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWindowCoveringMode/**/ wrap(long value, long mask) { + return new /**/MTRWindowCoveringMode/**/(value, mask); + } + protected /**/MTRWindowCoveringMode/**/[] _values() { + return values; + } + public static /**/MTRWindowCoveringMode/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringOperationalStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringOperationalStatus.java new file mode 100644 index 000000000..26d1abea7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringOperationalStatus.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsByteMarshaler.class)/**/ +public final class /**/MTRWindowCoveringOperationalStatus/**/ extends Bits*/MTRWindowCoveringOperationalStatus/**/> { + /**/ + public static final MTRWindowCoveringOperationalStatus None = new MTRWindowCoveringOperationalStatus(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringOperationalStatus Global = new MTRWindowCoveringOperationalStatus(3L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringOperationalStatus Lift = new MTRWindowCoveringOperationalStatus(12L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringOperationalStatus Tilt = new MTRWindowCoveringOperationalStatus(48L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWindowCoveringOperationalStatus/**/[] values = _values(/**/MTRWindowCoveringOperationalStatus/**/.class); + + public /**/MTRWindowCoveringOperationalStatus/**/(long value) { super(value); } + private /**/MTRWindowCoveringOperationalStatus/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWindowCoveringOperationalStatus/**/ wrap(long value, long mask) { + return new /**/MTRWindowCoveringOperationalStatus/**/(value, mask); + } + protected /**/MTRWindowCoveringOperationalStatus/**/[] _values() { + return values; + } + public static /**/MTRWindowCoveringOperationalStatus/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringSafetyStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringSafetyStatus.java new file mode 100644 index 000000000..4e34c9c89 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringSafetyStatus.java @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(Bits.AsShortMarshaler.class)/**/ +public final class /**/MTRWindowCoveringSafetyStatus/**/ extends Bits*/MTRWindowCoveringSafetyStatus/**/> { + /**/ + public static final MTRWindowCoveringSafetyStatus None = new MTRWindowCoveringSafetyStatus(0L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus RemoteLockout = new MTRWindowCoveringSafetyStatus(1L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus TamperDetection = new MTRWindowCoveringSafetyStatus(2L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus FailedCommunication = new MTRWindowCoveringSafetyStatus(4L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus PositionFailure = new MTRWindowCoveringSafetyStatus(8L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus ThermalProtection = new MTRWindowCoveringSafetyStatus(16L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus ObstacleDetected = new MTRWindowCoveringSafetyStatus(32L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus Power = new MTRWindowCoveringSafetyStatus(64L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus StopInput = new MTRWindowCoveringSafetyStatus(128L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus MotorJammed = new MTRWindowCoveringSafetyStatus(256L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus HardwareFailure = new MTRWindowCoveringSafetyStatus(512L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus ManualOperation = new MTRWindowCoveringSafetyStatus(1024L); + /** + * @since Available in iOS 16.1 and later. + */ + public static final MTRWindowCoveringSafetyStatus Protection = new MTRWindowCoveringSafetyStatus(2048L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/MTRWindowCoveringSafetyStatus/**/[] values = _values(/**/MTRWindowCoveringSafetyStatus/**/.class); + + public /**/MTRWindowCoveringSafetyStatus/**/(long value) { super(value); } + private /**/MTRWindowCoveringSafetyStatus/**/(long value, long mask) { super(value, mask); } + protected /**/MTRWindowCoveringSafetyStatus/**/ wrap(long value, long mask) { + return new /**/MTRWindowCoveringSafetyStatus/**/(value, mask); + } + protected /**/MTRWindowCoveringSafetyStatus/**/[] _values() { + return values; + } + public static /**/MTRWindowCoveringSafetyStatus/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringType.java new file mode 100644 index 000000000..be07cf0a3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWindowCoveringType.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.1 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsUnsignedByteMarshaler.class)/**/ +public enum /**/MTRWindowCoveringType/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 16.1 and later. + */ + RollerShade(0L), + /** + * @since Available in iOS 16.1 and later. + */ + RollerShade2Motor(1L), + /** + * @since Available in iOS 16.1 and later. + */ + RollerShadeExterior(2L), + /** + * @since Available in iOS 16.1 and later. + */ + RollerShadeExterior2Motor(3L), + /** + * @since Available in iOS 16.1 and later. + */ + Drapery(4L), + /** + * @since Available in iOS 16.1 and later. + */ + Awning(5L), + /** + * @since Available in iOS 16.1 and later. + */ + Shutter(6L), + /** + * @since Available in iOS 16.1 and later. + */ + TiltBlindTiltOnly(7L), + /** + * @since Available in iOS 16.1 and later. + */ + TiltBlindLiftAndTilt(8L), + /** + * @since Available in iOS 16.1 and later. + */ + ProjectorScreen(9L), + /** + * @since Available in iOS 16.1 and later. + */ + Unknown(255L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTRWindowCoveringType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTRWindowCoveringType/**/ valueOf(long n) { + for (/**/MTRWindowCoveringType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTRWindowCoveringType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWriteParams.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWriteParams.java new file mode 100644 index 000000000..c7f0b6da4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/matter/MTRWriteParams.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.matter; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Matter") @NativeClass/**/ +/**/public/**/ class /**/MTRWriteParams/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTRWriteParamsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTRWriteParams.class); }/**/ + /**//**/ + /**/ + public MTRWriteParams() {} + protected MTRWriteParams(Handle h, long handle) { super(h, handle); } + protected MTRWriteParams(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "timedWriteTimeout") + public native NSNumber getTimedWriteTimeout(); + @Property(selector = "setTimedWriteTimeout:") + public native void setTimedWriteTimeout(NSNumber v); + @Property(selector = "dataVersion") + public native NSNumber getDataVersion(); + @Property(selector = "setDataVersion:") + public native void setDataVersion(NSNumber v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAAudibleMedia.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAAudibleMedia.java new file mode 100644 index 000000000..d592f314b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAAudibleMedia.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/**/ +/**/@Library("MediaAccessibility")/**/ +/**/public/**/ class /**/MAAudibleMedia/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MAAudibleMedia.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="kMAAudibleMediaSettingsChangedNotification", optional=true) + public static native NSString SettingsChangedNotification(); + @Library("MediaAccessibility") + public static class MediaCharacteristic { + static { Bro.bind(MediaCharacteristic.class); } + + @GlobalValue(symbol="MAMediaCharacteristicDescribesVideoForAccessibility", optional=true) + public static native String DescribesVideoForAccessibility(); + } + + @Bridge(symbol="MAAudibleMediaCopyPreferredCharacteristics", optional=true) + public static native NSArray copyPreferredCharacteristics(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearance.java new file mode 100644 index 000000000..f31b6a535 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearance.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/**/ +/**/@Library("MediaAccessibility")/**/ +/**/public/**/ class /**/MACaptionAppearance/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MACaptionAppearance.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="kMACaptionAppearanceSettingsChangedNotification", optional=true) + public static native NSString SettingsChangedNotification(); + @Library("MediaAccessibility") + public static class MediaCharacteristic { + static { Bro.bind(MediaCharacteristic.class); } + + @GlobalValue(symbol="MAMediaCharacteristicDescribesMusicAndSoundForAccessibility", optional=true) + public static native String DescribesMusicAndSoundForAccessibility(); + @GlobalValue(symbol="MAMediaCharacteristicTranscribesSpokenDialogForAccessibility", optional=true) + public static native String TranscribesSpokenDialogForAccessibility(); + } + + @Bridge(symbol="MACaptionAppearanceDidDisplayCaptions", optional=true) + public static native void didDisplayCaptions(NSArray strings); + @Bridge(symbol="MACaptionAppearanceAddSelectedLanguage", optional=true) + public static native boolean addSelectedLanguage(MACaptionAppearanceDomain domain, String language); + @Bridge(symbol="MACaptionAppearanceCopySelectedLanguages", optional=true) + public static native NSArray copySelectedLanguages(MACaptionAppearanceDomain domain); + @Bridge(symbol="MACaptionAppearanceGetDisplayType", optional=true) + public static native MACaptionAppearanceDisplayType getDisplayType(MACaptionAppearanceDomain domain); + @Bridge(symbol="MACaptionAppearanceSetDisplayType", optional=true) + public static native void setDisplayType(MACaptionAppearanceDomain domain, MACaptionAppearanceDisplayType displayType); + @Bridge(symbol="MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics", optional=true) + public static native NSArray copyPreferredCaptioningMediaCharacteristics(MACaptionAppearanceDomain domain); + @Bridge(symbol="MACaptionAppearanceCopyForegroundColor", optional=true) + public static native CGColor copyForegroundColor(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceCopyBackgroundColor", optional=true) + public static native CGColor copyBackgroundColor(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceCopyWindowColor", optional=true) + public static native CGColor copyWindowColor(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceGetForegroundOpacity", optional=true) + public static native @MachineSizedFloat double getForegroundOpacity(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceGetBackgroundOpacity", optional=true) + public static native @MachineSizedFloat double getBackgroundOpacity(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceGetWindowOpacity", optional=true) + public static native @MachineSizedFloat double getWindowOpacity(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceGetWindowRoundedCornerRadius", optional=true) + public static native @MachineSizedFloat double getWindowRoundedCornerRadius(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceCopyFontDescriptorForStyle", optional=true) + public static native CTFontDescriptor copyFontDescriptorForStyle(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior, MACaptionAppearanceFontStyle fontStyle); + @Bridge(symbol="MACaptionAppearanceGetRelativeCharacterSize", optional=true) + public static native @MachineSizedFloat double getRelativeCharacterSize(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + @Bridge(symbol="MACaptionAppearanceGetTextEdgeStyle", optional=true) + public static native MACaptionAppearanceTextEdgeStyle getTextEdgeStyle(MACaptionAppearanceDomain domain, MachineSizedSIntPtr behavior); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceBehavior.java new file mode 100644 index 000000000..bb09f8e81 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceBehavior.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MACaptionAppearanceBehavior/**/ implements ValuedEnum { + /**/ + Value(0L), + ContentIfAvailable(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MACaptionAppearanceBehavior/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MACaptionAppearanceBehavior/**/ valueOf(long n) { + for (/**/MACaptionAppearanceBehavior/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MACaptionAppearanceBehavior/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDisplayType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDisplayType.java new file mode 100644 index 000000000..9780d3e90 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDisplayType.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MACaptionAppearanceDisplayType/**/ implements ValuedEnum { + /**/ + ForcedOnly(0L), + Automatic(1L), + AlwaysOn(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MACaptionAppearanceDisplayType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MACaptionAppearanceDisplayType/**/ valueOf(long n) { + for (/**/MACaptionAppearanceDisplayType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MACaptionAppearanceDisplayType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDomain.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDomain.java new file mode 100644 index 000000000..42a599776 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceDomain.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MACaptionAppearanceDomain/**/ implements ValuedEnum { + /**/ + Default(0L), + User(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MACaptionAppearanceDomain/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MACaptionAppearanceDomain/**/ valueOf(long n) { + for (/**/MACaptionAppearanceDomain/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MACaptionAppearanceDomain/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceFontStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceFontStyle.java new file mode 100644 index 000000000..a101563f8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceFontStyle.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MACaptionAppearanceFontStyle/**/ implements ValuedEnum { + /**/ + Default(0L), + MonospacedWithSerif(1L), + ProportionalWithSerif(2L), + MonospacedWithoutSerif(3L), + ProportionalWithoutSerif(4L), + Casual(5L), + Cursive(6L), + SmallCapital(7L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MACaptionAppearanceFontStyle/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MACaptionAppearanceFontStyle/**/ valueOf(long n) { + for (/**/MACaptionAppearanceFontStyle/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MACaptionAppearanceFontStyle/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceTextEdgeStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceTextEdgeStyle.java new file mode 100644 index 000000000..52d752b91 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MACaptionAppearanceTextEdgeStyle.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MACaptionAppearanceTextEdgeStyle/**/ implements ValuedEnum { + /**/ + Undefined(0L), + None(1L), + Raised(2L), + Depressed(3L), + Uniform(4L), + DropShadow(5L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MACaptionAppearanceTextEdgeStyle/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MACaptionAppearanceTextEdgeStyle/**/ valueOf(long n) { + for (/**/MACaptionAppearanceTextEdgeStyle/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MACaptionAppearanceTextEdgeStyle/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessor.java new file mode 100644 index 000000000..e5796ad01 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessor.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MediaAccessibility") @NativeClass/**/ +/**/public/**/ class /**/MAFlashingLightsProcessor/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MAFlashingLightsProcessorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MAFlashingLightsProcessor.class); }/**/ + /**//**/ + /**/ + public MAFlashingLightsProcessor() {} + protected MAFlashingLightsProcessor(Handle h, long handle) { super(h, handle); } + protected MAFlashingLightsProcessor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "canProcessSurface:") + public native boolean canProcessSurface(IOSurface surface); + @Method(selector = "processSurface:outSurface:timestamp:options:") + public native MAFlashingLightsProcessorResult processSurface$outSurface$timestamp$options$(IOSurface inSurface, IOSurface outSurface, double timestamp, NSDictionary options); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessorResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessorResult.java new file mode 100644 index 000000000..998a2daec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAFlashingLightsProcessorResult.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MediaAccessibility") @NativeClass/**/ +/**/public/**/ class /**/MAFlashingLightsProcessorResult/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MAFlashingLightsProcessorResultPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MAFlashingLightsProcessorResult.class); }/**/ + /**//**/ + /**/ + public MAFlashingLightsProcessorResult() {} + protected MAFlashingLightsProcessorResult(Handle h, long handle) { super(h, handle); } + protected MAFlashingLightsProcessorResult(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "surfaceProcessed") + public native boolean isSurfaceProcessed(); + @Property(selector = "mitigationLevel") + public native float getMitigationLevel(); + @Property(selector = "intensityLevel") + public native float getIntensityLevel(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAImageCaptioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAImageCaptioning.java new file mode 100644 index 000000000..0865a4abf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAImageCaptioning.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/**/ +/**/@Library("MediaAccessibility")/**/ +/**/public/**/ class /**/MAImageCaptioning/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MAImageCaptioning.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 13.0 and later. + */ + @Bridge(symbol="MAImageCaptioningCopyCaption", optional=true) + public static native String copyCaption(NSURL url, NSError.NSErrorPtr error); + /** + * @since Available in iOS 13.0 and later. + */ + @Bridge(symbol="MAImageCaptioningSetCaption", optional=true) + public static native boolean setCaption(NSURL url, String string, NSError.NSErrorPtr error); + /** + * @since Available in iOS 13.0 and later. + */ + @Bridge(symbol="MAImageCaptioningCopyMetadataTagPath", optional=true) + public static native String copyMetadataTagPath(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAVideoAccommodations.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAVideoAccommodations.java new file mode 100644 index 000000000..99353db08 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaaccessibility/MAVideoAccommodations.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.mediaaccessibility; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.corefoundation.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.iosurface.*; +/**/ + +/**/ +/**/ +/**/@Library("MediaAccessibility")/**/ +/**/public/**/ class /**/MAVideoAccommodations/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(MAVideoAccommodations.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="kMADimFlashingLightsChangedNotification", optional=true) + public static native NSString DimFlashingLightsChangedNotification(); + + /** + * @since Available in iOS 16.4 and later. + */ + @Bridge(symbol="MADimFlashingLightsEnabled", optional=true) + public static native boolean isDimFlashingLightsEnabled(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaplayer/MPVolumeView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaplayer/MPVolumeView.java index 1c5d37360..1c9591581 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaplayer/MPVolumeView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mediaplayer/MPVolumeView.java @@ -109,8 +109,16 @@ public MPVolumeView() {} @Deprecated @Property(selector = "isWirelessRouteActive") public native boolean isWirelessRouteActive(); + /** + * @deprecated Deprecated in iOS 17.0. This is no longer supported + */ + @Deprecated @Property(selector = "volumeWarningSliderImage") public native UIImage getVolumeWarningSliderImage(); + /** + * @deprecated Deprecated in iOS 17.0. This is no longer supported + */ + @Deprecated @Property(selector = "setVolumeWarningSliderImage:") public native void setVolumeWarningSliderImage(UIImage v); @WeaklyLinked diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/messages/MSSticker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/messages/MSSticker.java index ab5d9e408..31a71427f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/messages/MSSticker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/messages/MSSticker.java @@ -52,6 +52,8 @@ protected MSSticker() {} protected MSSticker(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithContentsOfFileURL:localizedDescription:error:") public MSSticker(NSURL fileURL, String localizedDescription, NSError.NSErrorPtr error) { super((SkipInit) null); initObject(init(fileURL, localizedDescription, error)); } + @Method(selector = "initWithFileURL:identifier:localizedDescription:") + public MSSticker(NSURL url, NSUUID identifier, String localizedDescription) { super((SkipInit) null); initObject(init(url, identifier, localizedDescription)); } /**/ /**/ @Property(selector = "imageFileURL") @@ -63,5 +65,7 @@ protected MSSticker() {} /**/ @Method(selector = "initWithContentsOfFileURL:localizedDescription:error:") protected native @Pointer long init(NSURL fileURL, String localizedDescription, NSError.NSErrorPtr error); + @Method(selector = "initWithFileURL:identifier:localizedDescription:") + protected native @Pointer long init(NSURL url, NSUUID identifier, String localizedDescription); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureCurveGeometryDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureCurveGeometryDescriptor.java new file mode 100644 index 000000000..7ff94084a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureCurveGeometryDescriptor.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Metal") @NativeClass/**/ +/**/public/**/ class /**/MTLAccelerationStructureCurveGeometryDescriptor/**/ + extends /**/MTLAccelerationStructureGeometryDescriptor/**/ + /**//**/ { + + /**/public static class MTLAccelerationStructureCurveGeometryDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTLAccelerationStructureCurveGeometryDescriptor.class); }/**/ + /**//**/ + /**/ + public MTLAccelerationStructureCurveGeometryDescriptor() {} + protected MTLAccelerationStructureCurveGeometryDescriptor(Handle h, long handle) { super(h, handle); } + protected MTLAccelerationStructureCurveGeometryDescriptor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "controlPointBuffer") + public native MTLBuffer getControlPointBuffer(); + @Property(selector = "setControlPointBuffer:") + public native void setControlPointBuffer(MTLBuffer v); + @Property(selector = "controlPointBufferOffset") + public native @MachineSizedUInt long getControlPointBufferOffset(); + @Property(selector = "setControlPointBufferOffset:") + public native void setControlPointBufferOffset(@MachineSizedUInt long v); + @Property(selector = "controlPointCount") + public native @MachineSizedUInt long getControlPointCount(); + @Property(selector = "setControlPointCount:") + public native void setControlPointCount(@MachineSizedUInt long v); + @Property(selector = "controlPointStride") + public native @MachineSizedUInt long getControlPointStride(); + @Property(selector = "setControlPointStride:") + public native void setControlPointStride(@MachineSizedUInt long v); + @Property(selector = "controlPointFormat") + public native MTLAttributeFormat getControlPointFormat(); + @Property(selector = "setControlPointFormat:") + public native void setControlPointFormat(MTLAttributeFormat v); + @Property(selector = "radiusBuffer") + public native MTLBuffer getRadiusBuffer(); + @Property(selector = "setRadiusBuffer:") + public native void setRadiusBuffer(MTLBuffer v); + @Property(selector = "radiusBufferOffset") + public native @MachineSizedUInt long getRadiusBufferOffset(); + @Property(selector = "setRadiusBufferOffset:") + public native void setRadiusBufferOffset(@MachineSizedUInt long v); + @Property(selector = "radiusFormat") + public native MTLAttributeFormat getRadiusFormat(); + @Property(selector = "setRadiusFormat:") + public native void setRadiusFormat(MTLAttributeFormat v); + @Property(selector = "radiusStride") + public native @MachineSizedUInt long getRadiusStride(); + @Property(selector = "setRadiusStride:") + public native void setRadiusStride(@MachineSizedUInt long v); + @Property(selector = "indexBuffer") + public native MTLBuffer getIndexBuffer(); + @Property(selector = "setIndexBuffer:") + public native void setIndexBuffer(MTLBuffer v); + @Property(selector = "indexBufferOffset") + public native @MachineSizedUInt long getIndexBufferOffset(); + @Property(selector = "setIndexBufferOffset:") + public native void setIndexBufferOffset(@MachineSizedUInt long v); + @Property(selector = "indexType") + public native MTLIndexType getIndexType(); + @Property(selector = "setIndexType:") + public native void setIndexType(MTLIndexType v); + @Property(selector = "segmentCount") + public native @MachineSizedUInt long getSegmentCount(); + @Property(selector = "setSegmentCount:") + public native void setSegmentCount(@MachineSizedUInt long v); + @Property(selector = "segmentControlPointCount") + public native @MachineSizedUInt long getSegmentControlPointCount(); + @Property(selector = "setSegmentControlPointCount:") + public native void setSegmentControlPointCount(@MachineSizedUInt long v); + @Property(selector = "curveType") + public native MTLCurveType getCurveType(); + @Property(selector = "setCurveType:") + public native void setCurveType(MTLCurveType v); + @Property(selector = "curveBasis") + public native MTLCurveBasis getCurveBasis(); + @Property(selector = "setCurveBasis:") + public native void setCurveBasis(MTLCurveBasis v); + @Property(selector = "curveEndCaps") + public native MTLCurveEndCaps getCurveEndCaps(); + @Property(selector = "setCurveEndCaps:") + public native void setCurveEndCaps(MTLCurveEndCaps v); + /**/ + /**//**/ + /**/ + @Method(selector = "descriptor") + public static native MTLAccelerationStructureCurveGeometryDescriptor descriptor(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureInstanceDescriptorType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureInstanceDescriptorType.java index 61867ddee..c93d5d5e3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureInstanceDescriptorType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureInstanceDescriptorType.java @@ -41,7 +41,15 @@ public enum /**/MTLAccelerationStructureInstanceDescriptorType/**/ /**/ Default(0L), UserID(1L), - Motion(2L); + Motion(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Indirect(3L), + /** + * @since Available in iOS 17.0 and later. + */ + IndirectMotion(4L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureMotionCurveGeometryDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureMotionCurveGeometryDescriptor.java new file mode 100644 index 000000000..f1625626d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAccelerationStructureMotionCurveGeometryDescriptor.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Metal") @NativeClass/**/ +/**/public/**/ class /**/MTLAccelerationStructureMotionCurveGeometryDescriptor/**/ + extends /**/MTLAccelerationStructureGeometryDescriptor/**/ + /**//**/ { + + /**/public static class MTLAccelerationStructureMotionCurveGeometryDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTLAccelerationStructureMotionCurveGeometryDescriptor.class); }/**/ + /**//**/ + /**/ + public MTLAccelerationStructureMotionCurveGeometryDescriptor() {} + protected MTLAccelerationStructureMotionCurveGeometryDescriptor(Handle h, long handle) { super(h, handle); } + protected MTLAccelerationStructureMotionCurveGeometryDescriptor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "controlPointBuffers") + public native NSArray getControlPointBuffers(); + @Property(selector = "setControlPointBuffers:") + public native void setControlPointBuffers(NSArray v); + @Property(selector = "controlPointCount") + public native @MachineSizedUInt long getControlPointCount(); + @Property(selector = "setControlPointCount:") + public native void setControlPointCount(@MachineSizedUInt long v); + @Property(selector = "controlPointStride") + public native @MachineSizedUInt long getControlPointStride(); + @Property(selector = "setControlPointStride:") + public native void setControlPointStride(@MachineSizedUInt long v); + @Property(selector = "controlPointFormat") + public native MTLAttributeFormat getControlPointFormat(); + @Property(selector = "setControlPointFormat:") + public native void setControlPointFormat(MTLAttributeFormat v); + @Property(selector = "radiusBuffers") + public native NSArray getRadiusBuffers(); + @Property(selector = "setRadiusBuffers:") + public native void setRadiusBuffers(NSArray v); + @Property(selector = "radiusFormat") + public native MTLAttributeFormat getRadiusFormat(); + @Property(selector = "setRadiusFormat:") + public native void setRadiusFormat(MTLAttributeFormat v); + @Property(selector = "radiusStride") + public native @MachineSizedUInt long getRadiusStride(); + @Property(selector = "setRadiusStride:") + public native void setRadiusStride(@MachineSizedUInt long v); + @Property(selector = "indexBuffer") + public native MTLBuffer getIndexBuffer(); + @Property(selector = "setIndexBuffer:") + public native void setIndexBuffer(MTLBuffer v); + @Property(selector = "indexBufferOffset") + public native @MachineSizedUInt long getIndexBufferOffset(); + @Property(selector = "setIndexBufferOffset:") + public native void setIndexBufferOffset(@MachineSizedUInt long v); + @Property(selector = "indexType") + public native MTLIndexType getIndexType(); + @Property(selector = "setIndexType:") + public native void setIndexType(MTLIndexType v); + @Property(selector = "segmentCount") + public native @MachineSizedUInt long getSegmentCount(); + @Property(selector = "setSegmentCount:") + public native void setSegmentCount(@MachineSizedUInt long v); + @Property(selector = "segmentControlPointCount") + public native @MachineSizedUInt long getSegmentControlPointCount(); + @Property(selector = "setSegmentControlPointCount:") + public native void setSegmentControlPointCount(@MachineSizedUInt long v); + @Property(selector = "curveType") + public native MTLCurveType getCurveType(); + @Property(selector = "setCurveType:") + public native void setCurveType(MTLCurveType v); + @Property(selector = "curveBasis") + public native MTLCurveBasis getCurveBasis(); + @Property(selector = "setCurveBasis:") + public native void setCurveBasis(MTLCurveBasis v); + @Property(selector = "curveEndCaps") + public native MTLCurveEndCaps getCurveEndCaps(); + @Property(selector = "setCurveEndCaps:") + public native void setCurveEndCaps(MTLCurveEndCaps v); + /**/ + /**//**/ + /**/ + @Method(selector = "descriptor") + public static native MTLAccelerationStructureMotionCurveGeometryDescriptor descriptor(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArchitecture.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArchitecture.java new file mode 100644 index 000000000..cf645608f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArchitecture.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Metal") @NativeClass/**/ +/**/public/**/ class /**/MTLArchitecture/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MTLArchitecturePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTLArchitecture.class); }/**/ + /**//**/ + /**/ + public MTLArchitecture() {} + protected MTLArchitecture(Handle h, long handle) { super(h, handle); } + protected MTLArchitecture(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "name") + public native String getName(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgument.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgument.java index da96a35dc..e287aed2b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgument.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgument.java @@ -55,7 +55,7 @@ public MTLArgument() {} @Property(selector = "type") public native MTLArgumentType getType(); @Property(selector = "access") - public native MTLArgumentAccess getAccess(); + public native MTLBindingAccess getAccess(); @Property(selector = "index") public native @MachineSizedUInt long getIndex(); @Property(selector = "isActive") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentDescriptor.java index db4619b05..afcfaaa56 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentDescriptor.java @@ -63,9 +63,9 @@ public MTLArgumentDescriptor() {} @Property(selector = "setArrayLength:") public native void setArrayLength(@MachineSizedUInt long v); @Property(selector = "access") - public native MTLArgumentAccess getAccess(); + public native MTLBindingAccess getAccess(); @Property(selector = "setAccess:") - public native void setAccess(MTLArgumentAccess v); + public native void setAccess(MTLBindingAccess v); @Property(selector = "textureType") public native MTLTextureType getTextureType(); @Property(selector = "setTextureType:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAttributeFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAttributeFormat.java index dc976c946..1cb6aabfe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAttributeFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLAttributeFormat.java @@ -120,7 +120,15 @@ public enum /**/MTLAttributeFormat/**/ implements ValuedEnum { /** * @since Available in iOS 11.0 and later. */ - Half(53L); + Half(53L), + /** + * @since Available in iOS 17.0 and later. + */ + FloatRG11B10(54L), + /** + * @since Available in iOS 17.0 and later. + */ + FloatRGB9E5(55L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBinding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBinding.java index 9199e0ce3..a39b8956d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBinding.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBinding.java @@ -51,7 +51,7 @@ @Property(selector = "type") MTLBindingType getType(); @Property(selector = "access") - MTLArgumentAccess getAccess(); + MTLBindingAccess getAccess(); @Property(selector = "index") @MachineSizedUInt long getIndex(); @Property(selector = "isUsed") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentAccess.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAccess.java old mode 100755 new mode 100644 similarity index 81% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentAccess.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAccess.java index ee1ef4fb7..ca152f931 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLArgumentAccess.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAccess.java @@ -1,12 +1,12 @@ /* * Copyright (C) 2013-2015 RoboVM AB - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -35,7 +35,7 @@ /**/ /**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ -public enum /**/MTLArgumentAccess/**/ implements ValuedEnum { +public enum /**/MTLBindingAccess/**/ implements ValuedEnum { /**/ ReadOnly(0L), ReadWrite(1L), @@ -49,15 +49,15 @@ public enum /**/MTLArgumentAccess/**/ implements ValuedEnum { private final long n; - private /**/MTLArgumentAccess/**/(long n) { this.n = n; } + private /**/MTLBindingAccess/**/(long n) { this.n = n; } public long value() { return n; } - public static /**/MTLArgumentAccess/**/ valueOf(long n) { - for (/**/MTLArgumentAccess/**/ v : values()) { + public static /**/MTLBindingAccess/**/ valueOf(long n) { + for (/**/MTLBindingAccess/**/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " - + /**/MTLArgumentAccess/**/.class.getName()); + + /**/MTLBindingAccess/**/.class.getName()); } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAdapter.java index e15715e6f..3acf5d5e3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLBindingAdapter.java @@ -50,7 +50,7 @@ @NotImplemented("type") public MTLBindingType getType() { return null; } @NotImplemented("access") - public MTLArgumentAccess getAccess() { return null; } + public MTLBindingAccess getAccess() { return null; } @NotImplemented("index") public @MachineSizedUInt long getIndex() { return 0; } @NotImplemented("isUsed") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileOptions.java index 2ae8e531a..2036eeb00 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileOptions.java @@ -116,6 +116,36 @@ public MTLCompileOptions() {} */ @Property(selector = "setOptimizationLevel:") public native void setOptimizationLevel(MTLLibraryOptimizationLevel v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "compileSymbolVisibility") + public native MTLCompileSymbolVisibility getCompileSymbolVisibility(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setCompileSymbolVisibility:") + public native void setCompileSymbolVisibility(MTLCompileSymbolVisibility v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "allowReferencingUndefinedSymbols") + public native boolean isAllowReferencingUndefinedSymbols(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setAllowReferencingUndefinedSymbols:") + public native void setAllowReferencingUndefinedSymbols(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "maxTotalThreadsPerThreadgroup") + public native @MachineSizedUInt long getMaxTotalThreadsPerThreadgroup(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setMaxTotalThreadsPerThreadgroup:") + public native void setMaxTotalThreadsPerThreadgroup(@MachineSizedUInt long v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileSymbolVisibility.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileSymbolVisibility.java new file mode 100644 index 000000000..7ebe918b9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCompileSymbolVisibility.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTLCompileSymbolVisibility/**/ implements ValuedEnum { + /**/ + Default(0L), + Hidden(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTLCompileSymbolVisibility/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTLCompileSymbolVisibility/**/ valueOf(long n) { + for (/**/MTLCompileSymbolVisibility/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTLCompileSymbolVisibility/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputeCommandEncoder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputeCommandEncoder.java index 4e656a50f..d8dd24ed4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputeCommandEncoder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputeCommandEncoder.java @@ -109,6 +109,26 @@ public void setSamplerStates(MTLSamplerState[] samplers, float[] lodMinClamps, f public native void setBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long index); @Method(selector = "setBuffers:offsets:withRange:") protected native void setBuffers(MTLBuffer.MTLBufferPtr buffers, MachineSizedUIntPtr offsets, @ByVal NSRange range); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setBuffer:offset:attributeStride:atIndex:") + public native void setBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setBuffers:offsets:attributeStrides:withRange:") + public native void setBuffers(MTLBuffer buffers, MachineSizedUIntPtr offsets, MachineSizedUIntPtr strides, @ByVal NSRange range); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setBufferOffset:attributeStride:atIndex:") + public native void setBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setBytes:length:attributeStride:atIndex:") + public native void setBytes(VoidPtr bytes, @MachineSizedUInt long length, @MachineSizedUInt long stride, @MachineSizedUInt long index); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputePipelineState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputePipelineState.java index e696226ba..61733c3d1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputePipelineState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLComputePipelineState.java @@ -89,7 +89,7 @@ * @since Available in iOS 14.0 and later. */ @Method(selector = "newComputePipelineStateWithAdditionalBinaryFunctions:error:") - public native MTLComputePipelineState newComputePipelineState(NSArray functions, NSError.NSErrorPtr error); + public native MTLComputePipelineState newComputePipelineState(NSArray functions, NSError.NSErrorPtr error); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveBasis.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveBasis.java new file mode 100644 index 000000000..d3749faff --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveBasis.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTLCurveBasis/**/ implements ValuedEnum { + /**/ + BSpline(0L), + CatmullRom(1L), + Linear(2L), + Bezier(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTLCurveBasis/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTLCurveBasis/**/ valueOf(long n) { + for (/**/MTLCurveBasis/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTLCurveBasis/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveEndCaps.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveEndCaps.java new file mode 100644 index 000000000..5f4eb60b0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveEndCaps.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTLCurveEndCaps/**/ implements ValuedEnum { + /**/ + None(0L), + Disk(1L), + Sphere(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTLCurveEndCaps/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTLCurveEndCaps/**/ valueOf(long n) { + for (/**/MTLCurveEndCaps/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTLCurveEndCaps/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveType.java new file mode 100644 index 000000000..578ab00cb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLCurveType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/MTLCurveType/**/ implements ValuedEnum { + /**/ + Round(0L), + Flat(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MTLCurveType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MTLCurveType/**/ valueOf(long n) { + for (/**/MTLCurveType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MTLCurveType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDataType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDataType.java index ae8e493dd..ff4988558 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDataType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDataType.java @@ -229,7 +229,23 @@ public enum /**/MTLDataType/**/ implements ValuedEnum { /** * @since Available in iOS 14.0 and later. */ - InstanceAccelerationStructure(118L); + InstanceAccelerationStructure(118L), + /** + * @since Available in iOS 17.0 and later. + */ + BFloat(121L), + /** + * @since Available in iOS 17.0 and later. + */ + BFloat2(122L), + /** + * @since Available in iOS 17.0 and later. + */ + BFloat3(123L), + /** + * @since Available in iOS 17.0 and later. + */ + BFloat4(124L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDevice.java index 1fc51098a..876291255 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLDevice.java @@ -53,6 +53,11 @@ */ @Property(selector = "registryID") public native long getRegistryID(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "architecture") + public native MTLArchitecture getArchitecture(); /** * @since Available in iOS 9.0 and later. */ @@ -63,6 +68,11 @@ */ @Property(selector = "hasUnifiedMemory") public native boolean hasUnifiedMemory(); + /** + * @since Available in iOS 16.0 and later. + */ + @Property(selector = "recommendedMaxWorkingSetSize") + public native long getRecommendedMaxWorkingSetSize(); /** * @since Available in iOS 11.0 and later. */ @@ -93,6 +103,11 @@ */ @Property(selector = "supportsQueryTextureLOD") public native boolean supportsQueryTextureLOD(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "supportsBCTextureCompression") + public native boolean supportsBCTextureCompression(); /** * @since Available in iOS 14.0 and later. */ @@ -496,7 +511,9 @@ public MTLRenderPipelineState newRenderPipelineState(MTLMeshRenderPipelineDescri public native MTLSharedEvent newSharedEvent(MTLSharedEventHandle sharedEventHandle); /** * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use newIOFileHandleWithURL:error: instead */ + @Deprecated @Method(selector = "newIOHandleWithURL:error:") public native MTLIOFileHandle newIOHandle(NSURL url, NSError.NSErrorPtr error); /** @@ -506,9 +523,39 @@ public MTLRenderPipelineState newRenderPipelineState(MTLMeshRenderPipelineDescri public native MTLIOCommandQueue newIOCommandQueue(MTLIOCommandQueueDescriptor descriptor, NSError.NSErrorPtr error); /** * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use newIOFileHandleWithURL:compressionMethod:error: instead */ + @Deprecated @Method(selector = "newIOHandleWithURL:compressionMethod:error:") public native MTLIOFileHandle newIOHandle(NSURL url, MTLIOCompressionMethod compressionMethod, NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + public MTLIOFileHandle newIOFileHandle(NSURL url) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + MTLIOFileHandle result = newIOFileHandle(url, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "newIOFileHandleWithURL:error:") + public native MTLIOFileHandle newIOFileHandle(NSURL url, NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + public MTLIOFileHandle newIOFileHandle(NSURL url, MTLIOCompressionMethod compressionMethod) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + MTLIOFileHandle result = newIOFileHandle(url, compressionMethod, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "newIOFileHandleWithURL:compressionMethod:error:") + public native MTLIOFileHandle newIOFileHandle(NSURL url, MTLIOCompressionMethod compressionMethod, NSError.NSErrorPtr error); /** * @since Available in iOS 13.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunction.java index fa8d4806c..327bbfd39 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunction.java @@ -99,7 +99,9 @@ public native MTLArgumentEncoder newArgumentEncoder(@MachineSizedUInt long bufferIndex); /** * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 16.0. Use MTLDevice's newArgumentEncoderWithBufferBinding: instead */ + @Deprecated @Method(selector = "newArgumentEncoderWithBufferIndex:reflection:") public native MTLArgumentEncoder newArgumentEncoder(@MachineSizedUInt long bufferIndex, MTLArgument.MTLArgumentPtr reflection); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunctionOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunctionOptions.java index 468be9097..ab8dad653 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunctionOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLFunctionOptions.java @@ -44,6 +44,10 @@ public final class /**/MTLFunctionOptions/**/ extends Bits * @since Available in iOS 14.0 and later. */ public static final MTLFunctionOptions CompileToBinary = new MTLFunctionOptions(1L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTLFunctionOptions StoreFunctionInMetalScript = new MTLFunctionOptions(2L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLGPUFamily.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLGPUFamily.java index 9ca9e6473..ef96896b9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLGPUFamily.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLGPUFamily.java @@ -47,6 +47,7 @@ public enum /**/MTLGPUFamily/**/ implements ValuedEnum { Apple6(1006L), Apple7(1007L), Apple8(1008L), + Apple9(1009L), /** * @since Available in iOS 13.0 and later. * @deprecated Deprecated in iOS 16.0. Use MTLGPUFamilyMac2 diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeap.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeap.java index 3911d65f2..108fc62c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeap.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeap.java @@ -87,7 +87,7 @@ @Method(selector = "newBufferWithLength:options:") MTLBuffer newBuffer(@MachineSizedUInt long length, MTLResourceOptions options); @Method(selector = "newTextureWithDescriptor:") - MTLTexture newTexture(MTLTextureDescriptor desc); + MTLTexture newTexture(MTLTextureDescriptor descriptor); @Method(selector = "setPurgeableState:") MTLPurgeableState setPurgeableState(MTLPurgeableState state); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeapAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeapAdapter.java index 19c66ee44..073cf1189 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeapAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLHeapAdapter.java @@ -87,7 +87,7 @@ public void setLabel(String v) {} @NotImplemented("newBufferWithLength:options:") public MTLBuffer newBuffer(@MachineSizedUInt long length, MTLResourceOptions options) { return null; } @NotImplemented("newTextureWithDescriptor:") - public MTLTexture newTexture(MTLTextureDescriptor desc) { return null; } + public MTLTexture newTexture(MTLTextureDescriptor descriptor) { return null; } @NotImplemented("setPurgeableState:") public MTLPurgeableState setPurgeableState(MTLPurgeableState state) { return null; } /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureInstanceDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureInstanceDescriptor.java new file mode 100644 index 000000000..76f9e537f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureInstanceDescriptor.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MTLIndirectAccelerationStructureInstanceDescriptor/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MTLIndirectAccelerationStructureInstanceDescriptorPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MTLIndirectAccelerationStructureInstanceDescriptor() {} + public MTLIndirectAccelerationStructureInstanceDescriptor(MTLPackedFloat4x3 transformationMatrix, MTLAccelerationStructureInstanceOptions options, int mask, int intersectionFunctionTableOffset, int userID, MTLResourceID accelerationStructureID) { + this.setTransformationMatrix(transformationMatrix); + this.setOptions(options); + this.setMask(mask); + this.setIntersectionFunctionTableOffset(intersectionFunctionTableOffset); + this.setUserID(userID); + this.setAccelerationStructureID(accelerationStructureID); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native @ByVal MTLPackedFloat4x3 getTransformationMatrix(); + @StructMember(0) public native MTLIndirectAccelerationStructureInstanceDescriptor setTransformationMatrix(@ByVal MTLPackedFloat4x3 transformationMatrix); + @StructMember(1) public native MTLAccelerationStructureInstanceOptions getOptions(); + @StructMember(1) public native MTLIndirectAccelerationStructureInstanceDescriptor setOptions(MTLAccelerationStructureInstanceOptions options); + @StructMember(2) public native int getMask(); + @StructMember(2) public native MTLIndirectAccelerationStructureInstanceDescriptor setMask(int mask); + @StructMember(3) public native int getIntersectionFunctionTableOffset(); + @StructMember(3) public native MTLIndirectAccelerationStructureInstanceDescriptor setIntersectionFunctionTableOffset(int intersectionFunctionTableOffset); + @StructMember(4) public native int getUserID(); + @StructMember(4) public native MTLIndirectAccelerationStructureInstanceDescriptor setUserID(int userID); + @StructMember(5) public native @ByVal MTLResourceID getAccelerationStructureID(); + @StructMember(5) public native MTLIndirectAccelerationStructureInstanceDescriptor setAccelerationStructureID(@ByVal MTLResourceID accelerationStructureID); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureMotionInstanceDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureMotionInstanceDescriptor.java new file mode 100644 index 000000000..3e8571375 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectAccelerationStructureMotionInstanceDescriptor.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MTLIndirectAccelerationStructureMotionInstanceDescriptor/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MTLIndirectAccelerationStructureMotionInstanceDescriptorPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MTLIndirectAccelerationStructureMotionInstanceDescriptor() {} + public MTLIndirectAccelerationStructureMotionInstanceDescriptor(MTLAccelerationStructureInstanceOptions options, int mask, int intersectionFunctionTableOffset, int userID, MTLResourceID accelerationStructureID, int motionTransformsStartIndex, int motionTransformsCount, MTLMotionBorderMode motionStartBorderMode, MTLMotionBorderMode motionEndBorderMode, float motionStartTime, float motionEndTime) { + this.setOptions(options); + this.setMask(mask); + this.setIntersectionFunctionTableOffset(intersectionFunctionTableOffset); + this.setUserID(userID); + this.setAccelerationStructureID(accelerationStructureID); + this.setMotionTransformsStartIndex(motionTransformsStartIndex); + this.setMotionTransformsCount(motionTransformsCount); + this.setMotionStartBorderMode(motionStartBorderMode); + this.setMotionEndBorderMode(motionEndBorderMode); + this.setMotionStartTime(motionStartTime); + this.setMotionEndTime(motionEndTime); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native MTLAccelerationStructureInstanceOptions getOptions(); + @StructMember(0) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setOptions(MTLAccelerationStructureInstanceOptions options); + @StructMember(1) public native int getMask(); + @StructMember(1) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMask(int mask); + @StructMember(2) public native int getIntersectionFunctionTableOffset(); + @StructMember(2) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setIntersectionFunctionTableOffset(int intersectionFunctionTableOffset); + @StructMember(3) public native int getUserID(); + @StructMember(3) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setUserID(int userID); + @StructMember(4) public native @ByVal MTLResourceID getAccelerationStructureID(); + @StructMember(4) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setAccelerationStructureID(@ByVal MTLResourceID accelerationStructureID); + @StructMember(5) public native int getMotionTransformsStartIndex(); + @StructMember(5) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionTransformsStartIndex(int motionTransformsStartIndex); + @StructMember(6) public native int getMotionTransformsCount(); + @StructMember(6) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionTransformsCount(int motionTransformsCount); + @StructMember(7) public native MTLMotionBorderMode getMotionStartBorderMode(); + @StructMember(7) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionStartBorderMode(MTLMotionBorderMode motionStartBorderMode); + @StructMember(8) public native MTLMotionBorderMode getMotionEndBorderMode(); + @StructMember(8) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionEndBorderMode(MTLMotionBorderMode motionEndBorderMode); + @StructMember(9) public native float getMotionStartTime(); + @StructMember(9) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionStartTime(float motionStartTime); + @StructMember(10) public native float getMotionEndTime(); + @StructMember(10) public native MTLIndirectAccelerationStructureMotionInstanceDescriptor setMotionEndTime(float motionEndTime); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandBufferDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandBufferDescriptor.java index 27e80c7e7..db7478217 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandBufferDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandBufferDescriptor.java @@ -86,6 +86,46 @@ public MTLIndirectCommandBufferDescriptor() {} */ @Property(selector = "setMaxKernelBufferBindCount:") public native void setMaxKernelBufferBindCount(@MachineSizedUInt long v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maxKernelThreadgroupMemoryBindCount") + public native @MachineSizedUInt long getMaxKernelThreadgroupMemoryBindCount(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaxKernelThreadgroupMemoryBindCount:") + public native void setMaxKernelThreadgroupMemoryBindCount(@MachineSizedUInt long v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maxObjectBufferBindCount") + public native @MachineSizedUInt long getMaxObjectBufferBindCount(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaxObjectBufferBindCount:") + public native void setMaxObjectBufferBindCount(@MachineSizedUInt long v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maxMeshBufferBindCount") + public native @MachineSizedUInt long getMaxMeshBufferBindCount(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaxMeshBufferBindCount:") + public native void setMaxMeshBufferBindCount(@MachineSizedUInt long v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maxObjectThreadgroupMemoryBindCount") + public native @MachineSizedUInt long getMaxObjectThreadgroupMemoryBindCount(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaxObjectThreadgroupMemoryBindCount:") + public native void setMaxObjectThreadgroupMemoryBindCount(@MachineSizedUInt long v); /** * @since Available in iOS 16.0 and later. */ @@ -96,6 +136,16 @@ public MTLIndirectCommandBufferDescriptor() {} */ @Property(selector = "setSupportRayTracing:") public native void setSupportRayTracing(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supportDynamicAttributeStride") + public native boolean isSupportDynamicAttributeStride(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSupportDynamicAttributeStride:") + public native void setSupportDynamicAttributeStride(boolean v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandType.java index 774c892c3..0ba1f884e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectCommandType.java @@ -52,6 +52,14 @@ public final class /**/MTLIndirectCommandType/**/ extends Bits*/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommand.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommand.java index 5f78f780d..0900b0282 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommand.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommand.java @@ -56,6 +56,11 @@ void setComputePipelineState(MTLComputePipelineState pipelineState); @Method(selector = "setKernelBuffer:offset:atIndex:") void setKernelBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setKernelBuffer:offset:attributeStride:atIndex:") + void setKernelBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); @Method(selector = "concurrentDispatchThreadgroups:threadsPerThreadgroup:") void concurrentDispatchThreadgroups(@ByVal MTLSize threadgroupsPerGrid, @ByVal MTLSize threadsPerThreadgroup); @Method(selector = "concurrentDispatchThreads:threadsPerThreadgroup:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommandAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommandAdapter.java index 43bb8b6da..fa16875eb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommandAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectComputeCommandAdapter.java @@ -56,6 +56,11 @@ public void setComputePipelineState(MTLComputePipelineState pipelineState) {} @NotImplemented("setKernelBuffer:offset:atIndex:") public void setKernelBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setKernelBuffer:offset:attributeStride:atIndex:") + public void setKernelBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index) {} @NotImplemented("concurrentDispatchThreadgroups:threadsPerThreadgroup:") public void concurrentDispatchThreadgroups(@ByVal MTLSize threadgroupsPerGrid, @ByVal MTLSize threadsPerThreadgroup) {} @NotImplemented("concurrentDispatchThreads:threadsPerThreadgroup:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectInstanceAccelerationStructureDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectInstanceAccelerationStructureDescriptor.java new file mode 100644 index 000000000..00ac43ff9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectInstanceAccelerationStructureDescriptor.java @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metal; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Metal") @NativeClass/**/ +/**/public/**/ class /**/MTLIndirectInstanceAccelerationStructureDescriptor/**/ + extends /**/MTLAccelerationStructureDescriptor/**/ + /**//**/ { + + /**/public static class MTLIndirectInstanceAccelerationStructureDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MTLIndirectInstanceAccelerationStructureDescriptor.class); }/**/ + /**//**/ + /**/ + public MTLIndirectInstanceAccelerationStructureDescriptor() {} + protected MTLIndirectInstanceAccelerationStructureDescriptor(Handle h, long handle) { super(h, handle); } + protected MTLIndirectInstanceAccelerationStructureDescriptor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "instanceDescriptorBuffer") + public native MTLBuffer getInstanceDescriptorBuffer(); + @Property(selector = "setInstanceDescriptorBuffer:") + public native void setInstanceDescriptorBuffer(MTLBuffer v); + @Property(selector = "instanceDescriptorBufferOffset") + public native @MachineSizedUInt long getInstanceDescriptorBufferOffset(); + @Property(selector = "setInstanceDescriptorBufferOffset:") + public native void setInstanceDescriptorBufferOffset(@MachineSizedUInt long v); + @Property(selector = "instanceDescriptorStride") + public native @MachineSizedUInt long getInstanceDescriptorStride(); + @Property(selector = "setInstanceDescriptorStride:") + public native void setInstanceDescriptorStride(@MachineSizedUInt long v); + @Property(selector = "maxInstanceCount") + public native @MachineSizedUInt long getMaxInstanceCount(); + @Property(selector = "setMaxInstanceCount:") + public native void setMaxInstanceCount(@MachineSizedUInt long v); + @Property(selector = "instanceCountBuffer") + public native MTLBuffer getInstanceCountBuffer(); + @Property(selector = "setInstanceCountBuffer:") + public native void setInstanceCountBuffer(MTLBuffer v); + @Property(selector = "instanceCountBufferOffset") + public native @MachineSizedUInt long getInstanceCountBufferOffset(); + @Property(selector = "setInstanceCountBufferOffset:") + public native void setInstanceCountBufferOffset(@MachineSizedUInt long v); + @Property(selector = "instanceDescriptorType") + public native MTLAccelerationStructureInstanceDescriptorType getInstanceDescriptorType(); + @Property(selector = "setInstanceDescriptorType:") + public native void setInstanceDescriptorType(MTLAccelerationStructureInstanceDescriptorType v); + @Property(selector = "motionTransformBuffer") + public native MTLBuffer getMotionTransformBuffer(); + @Property(selector = "setMotionTransformBuffer:") + public native void setMotionTransformBuffer(MTLBuffer v); + @Property(selector = "motionTransformBufferOffset") + public native @MachineSizedUInt long getMotionTransformBufferOffset(); + @Property(selector = "setMotionTransformBufferOffset:") + public native void setMotionTransformBufferOffset(@MachineSizedUInt long v); + @Property(selector = "maxMotionTransformCount") + public native @MachineSizedUInt long getMaxMotionTransformCount(); + @Property(selector = "setMaxMotionTransformCount:") + public native void setMaxMotionTransformCount(@MachineSizedUInt long v); + @Property(selector = "motionTransformCountBuffer") + public native MTLBuffer getMotionTransformCountBuffer(); + @Property(selector = "setMotionTransformCountBuffer:") + public native void setMotionTransformCountBuffer(MTLBuffer v); + @Property(selector = "motionTransformCountBufferOffset") + public native @MachineSizedUInt long getMotionTransformCountBufferOffset(); + @Property(selector = "setMotionTransformCountBufferOffset:") + public native void setMotionTransformCountBufferOffset(@MachineSizedUInt long v); + /**/ + /**//**/ + /**/ + @Method(selector = "descriptor") + public static native MTLIndirectInstanceAccelerationStructureDescriptor descriptor(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommand.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommand.java index d7d2274e0..775125d22 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommand.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommand.java @@ -58,6 +58,11 @@ void setVertexBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index); @Method(selector = "setFragmentBuffer:offset:atIndex:") void setFragmentBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setVertexBuffer:offset:attributeStride:atIndex:") + void setVertexBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); @Method(selector = "drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:") void drawPatches(@MachineSizedUInt long numberOfPatchControlPoints, @MachineSizedUInt long patchStart, @MachineSizedUInt long patchCount, MTLBuffer patchIndexBuffer, @MachineSizedUInt long patchIndexBufferOffset, @MachineSizedUInt long instanceCount, @MachineSizedUInt long baseInstance, MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long instanceStride); @Method(selector = "drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:") @@ -66,6 +71,41 @@ void drawPrimitives(MTLPrimitiveType primitiveType, @MachineSizedUInt long vertexStart, @MachineSizedUInt long vertexCount, @MachineSizedUInt long instanceCount, @MachineSizedUInt long baseInstance); @Method(selector = "drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:") void drawIndexedPrimitives(MTLPrimitiveType primitiveType, @MachineSizedUInt long indexCount, MTLIndexType indexType, MTLBuffer indexBuffer, @MachineSizedUInt long indexBufferOffset, @MachineSizedUInt long instanceCount, @MachineSizedSInt long baseVertex, @MachineSizedUInt long baseInstance); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setObjectThreadgroupMemoryLength:atIndex:") + void setObjectThreadgroupMemoryLength(@MachineSizedUInt long length, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setObjectBuffer:offset:atIndex:") + void setObjectBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setMeshBuffer:offset:atIndex:") + void setMeshBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:") + void drawMeshThreadgroups(@ByVal MTLSize threadgroupsPerGrid, @ByVal MTLSize threadsPerObjectThreadgroup, @ByVal MTLSize threadsPerMeshThreadgroup); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:") + void drawMeshThreads(@ByVal MTLSize threadsPerGrid, @ByVal MTLSize threadsPerObjectThreadgroup, @ByVal MTLSize threadsPerMeshThreadgroup); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setBarrier") + void setBarrier(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "clearBarrier") + void clearBarrier(); @Method(selector = "reset") void reset(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommandAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommandAdapter.java index d79bd12f0..65882e4b8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommandAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIndirectRenderCommandAdapter.java @@ -58,6 +58,11 @@ public void setRenderPipelineState(MTLRenderPipelineState pipelineState) {} public void setVertexBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index) {} @NotImplemented("setFragmentBuffer:offset:atIndex:") public void setFragmentBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setVertexBuffer:offset:attributeStride:atIndex:") + public void setVertexBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index) {} @NotImplemented("drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:") public void drawPatches(@MachineSizedUInt long numberOfPatchControlPoints, @MachineSizedUInt long patchStart, @MachineSizedUInt long patchCount, MTLBuffer patchIndexBuffer, @MachineSizedUInt long patchIndexBufferOffset, @MachineSizedUInt long instanceCount, @MachineSizedUInt long baseInstance, MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long instanceStride) {} @NotImplemented("drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:") @@ -66,6 +71,41 @@ public void drawIndexedPatches(@MachineSizedUInt long numberOfPatchControlPoints public void drawPrimitives(MTLPrimitiveType primitiveType, @MachineSizedUInt long vertexStart, @MachineSizedUInt long vertexCount, @MachineSizedUInt long instanceCount, @MachineSizedUInt long baseInstance) {} @NotImplemented("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:") public void drawIndexedPrimitives(MTLPrimitiveType primitiveType, @MachineSizedUInt long indexCount, MTLIndexType indexType, MTLBuffer indexBuffer, @MachineSizedUInt long indexBufferOffset, @MachineSizedUInt long instanceCount, @MachineSizedSInt long baseVertex, @MachineSizedUInt long baseInstance) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setObjectThreadgroupMemoryLength:atIndex:") + public void setObjectThreadgroupMemoryLength(@MachineSizedUInt long length, @MachineSizedUInt long index) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setObjectBuffer:offset:atIndex:") + public void setObjectBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setMeshBuffer:offset:atIndex:") + public void setMeshBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long index) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:") + public void drawMeshThreadgroups(@ByVal MTLSize threadgroupsPerGrid, @ByVal MTLSize threadsPerObjectThreadgroup, @ByVal MTLSize threadsPerMeshThreadgroup) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:") + public void drawMeshThreads(@ByVal MTLSize threadsPerGrid, @ByVal MTLSize threadsPerObjectThreadgroup, @ByVal MTLSize threadsPerMeshThreadgroup) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setBarrier") + public void setBarrier() {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("clearBarrier") + public void clearBarrier() {} @NotImplemented("reset") public void reset() {} /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionSignature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionSignature.java index be4719a74..0de5e7b09 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionSignature.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionSignature.java @@ -55,6 +55,14 @@ public final class /**/MTLIntersectionFunctionSignature/**/ extends * @since Available in iOS 15.0 and later. */ public static final MTLIntersectionFunctionSignature ExtendedLimits = new MTLIntersectionFunctionSignature(32L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTLIntersectionFunctionSignature MaxLevels = new MTLIntersectionFunctionSignature(64L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTLIntersectionFunctionSignature CurveData = new MTLIntersectionFunctionSignature(128L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTable.java index faf677bbb..878810ebd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTable.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTable.java @@ -65,6 +65,10 @@ void setOpaqueTriangleIntersectionFunction(MTLIntersectionFunctionSignature signature, @MachineSizedUInt long index); @Method(selector = "setOpaqueTriangleIntersectionFunctionWithSignature:withRange:") void setOpaqueTriangleIntersectionFunction(MTLIntersectionFunctionSignature signature, @ByVal NSRange range); + @Method(selector = "setOpaqueCurveIntersectionFunctionWithSignature:atIndex:") + void setOpaqueCurveIntersectionFunction(MTLIntersectionFunctionSignature signature, @MachineSizedUInt long index); + @Method(selector = "setOpaqueCurveIntersectionFunctionWithSignature:withRange:") + void setOpaqueCurveIntersectionFunction(MTLIntersectionFunctionSignature signature, @ByVal NSRange range); @Method(selector = "setVisibleFunctionTable:atBufferIndex:") void setVisibleFunctionTable(MTLVisibleFunctionTable functionTable, @MachineSizedUInt long bufferIndex); @Method(selector = "setVisibleFunctionTables:withBufferRange:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTableAdapter.java index 6f827bf2f..501461bcd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTableAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLIntersectionFunctionTableAdapter.java @@ -65,6 +65,10 @@ public void setFunctions(MTLFunctionHandle functions, @ByVal NSRange range) {} public void setOpaqueTriangleIntersectionFunction(MTLIntersectionFunctionSignature signature, @MachineSizedUInt long index) {} @NotImplemented("setOpaqueTriangleIntersectionFunctionWithSignature:withRange:") public void setOpaqueTriangleIntersectionFunction(MTLIntersectionFunctionSignature signature, @ByVal NSRange range) {} + @NotImplemented("setOpaqueCurveIntersectionFunctionWithSignature:atIndex:") + public void setOpaqueCurveIntersectionFunction(MTLIntersectionFunctionSignature signature, @MachineSizedUInt long index) {} + @NotImplemented("setOpaqueCurveIntersectionFunctionWithSignature:withRange:") + public void setOpaqueCurveIntersectionFunction(MTLIntersectionFunctionSignature signature, @ByVal NSRange range) {} @NotImplemented("setVisibleFunctionTable:atBufferIndex:") public void setVisibleFunctionTable(MTLVisibleFunctionTable functionTable, @MachineSizedUInt long bufferIndex) {} @NotImplemented("setVisibleFunctionTables:withBufferRange:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLanguageVersion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLanguageVersion.java index 60d8af126..81eb53945 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLanguageVersion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLanguageVersion.java @@ -76,7 +76,11 @@ public enum /**/MTLLanguageVersion/**/ implements ValuedEnum { /** * @since Available in iOS 16.0 and later. */ - Version3_0(196608L); + Version3_0(196608L), + /** + * @since Available in iOS 17.0 and later. + */ + Version3_1(196609L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLinkedFunctions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLinkedFunctions.java index 5b813a03c..eb75169aa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLinkedFunctions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLLinkedFunctions.java @@ -51,19 +51,19 @@ public MTLLinkedFunctions() {} /**/ /**/ @Property(selector = "functions") - public native NSArray getFunctions(); + public native NSArray getFunctions(); @Property(selector = "setFunctions:") - public native void setFunctions(NSArray v); + public native void setFunctions(NSArray v); /** * @since Available in iOS 14.0 and later. */ @Property(selector = "binaryFunctions") - public native NSArray getBinaryFunctions(); + public native NSArray getBinaryFunctions(); /** * @since Available in iOS 14.0 and later. */ @Property(selector = "setBinaryFunctions:") - public native void setBinaryFunctions(NSArray v); + public native void setBinaryFunctions(NSArray v); @Property(selector = "groups") public native NSDictionary getGroups(); @Property(selector = "setGroups:") @@ -72,12 +72,12 @@ public MTLLinkedFunctions() {} * @since Available in iOS 15.0 and later. */ @Property(selector = "privateFunctions") - public native NSArray getPrivateFunctions(); + public native NSArray getPrivateFunctions(); /** * @since Available in iOS 15.0 and later. */ @Property(selector = "setPrivateFunctions:") - public native void setPrivateFunctions(NSArray v); + public native void setPrivateFunctions(NSArray v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLMeshRenderPipelineDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLMeshRenderPipelineDescriptor.java index 177d719be..ee4f86345 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLMeshRenderPipelineDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLMeshRenderPipelineDescriptor.java @@ -126,6 +126,46 @@ public MTLMeshRenderPipelineDescriptor() {} public native MTLPixelFormat getStencilAttachmentPixelFormat(); @Property(selector = "setStencilAttachmentPixelFormat:") public native void setStencilAttachmentPixelFormat(MTLPixelFormat v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supportIndirectCommandBuffers") + public native boolean isSupportIndirectCommandBuffers(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSupportIndirectCommandBuffers:") + public native void setSupportIndirectCommandBuffers(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "objectLinkedFunctions") + public native MTLLinkedFunctions getObjectLinkedFunctions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setObjectLinkedFunctions:") + public native void setObjectLinkedFunctions(MTLLinkedFunctions v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "meshLinkedFunctions") + public native MTLLinkedFunctions getMeshLinkedFunctions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMeshLinkedFunctions:") + public native void setMeshLinkedFunctions(MTLLinkedFunctions v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "fragmentLinkedFunctions") + public native MTLLinkedFunctions getFragmentLinkedFunctions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setFragmentLinkedFunctions:") + public native void setFragmentLinkedFunctions(MTLLinkedFunctions v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPixelFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPixelFormat.java index 6f6bf75b8..ab9ea73fe 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPixelFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPixelFormat.java @@ -108,6 +108,62 @@ public enum /**/MTLPixelFormat/**/ implements ValuedEnum { RGBA32Uint(123L), RGBA32Sint(124L), RGBA32Float(125L), + /** + * @since Available in iOS 16.4 and later. + */ + BC1_RGBA(130L), + /** + * @since Available in iOS 16.4 and later. + */ + BC1_RGBA_sRGB(131L), + /** + * @since Available in iOS 16.4 and later. + */ + BC2_RGBA(132L), + /** + * @since Available in iOS 16.4 and later. + */ + BC2_RGBA_sRGB(133L), + /** + * @since Available in iOS 16.4 and later. + */ + BC3_RGBA(134L), + /** + * @since Available in iOS 16.4 and later. + */ + BC3_RGBA_sRGB(135L), + /** + * @since Available in iOS 16.4 and later. + */ + BC4_RUnorm(140L), + /** + * @since Available in iOS 16.4 and later. + */ + BC4_RSnorm(141L), + /** + * @since Available in iOS 16.4 and later. + */ + BC5_RGUnorm(142L), + /** + * @since Available in iOS 16.4 and later. + */ + BC5_RGSnorm(143L), + /** + * @since Available in iOS 16.4 and later. + */ + BC6H_RGBFloat(150L), + /** + * @since Available in iOS 16.4 and later. + */ + BC6H_RGBUfloat(151L), + /** + * @since Available in iOS 16.4 and later. + */ + BC7_RGBAUnorm(152L), + /** + * @since Available in iOS 16.4 and later. + */ + BC7_RGBAUnorm_sRGB(153L), PVRTC_RGB_2BPP(160L), PVRTC_RGB_2BPP_sRGB(161L), PVRTC_RGB_4BPP(162L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPointerType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPointerType.java index b752d0ab6..40557f1ba 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPointerType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLPointerType.java @@ -53,7 +53,7 @@ public MTLPointerType() {} @Property(selector = "elementType") public native MTLDataType getElementType(); @Property(selector = "access") - public native MTLArgumentAccess getAccess(); + public native MTLBindingAccess getAccess(); @Property(selector = "alignment") public native @MachineSizedUInt long getAlignment(); @Property(selector = "dataSize") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderCommandEncoder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderCommandEncoder.java index fc8cc3bdb..f81c2c2dc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderCommandEncoder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderCommandEncoder.java @@ -146,6 +146,26 @@ public void setFragmentSamplerStates(MTLSamplerState[] samplers, float[] lodMinC public native void setVertexBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long index); @Method(selector = "setVertexBuffers:offsets:withRange:") protected native void setVertexBuffers(MTLBuffer.MTLBufferPtr buffers, MachineSizedUIntPtr offsets, @ByVal NSRange range); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setVertexBuffer:offset:attributeStride:atIndex:") + public native void setVertexBuffer(MTLBuffer buffer, @MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setVertexBuffers:offsets:attributeStrides:withRange:") + public native void setVertexBuffers(MTLBuffer buffers, MachineSizedUIntPtr offsets, MachineSizedUIntPtr strides, @ByVal NSRange range); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setVertexBufferOffset:attributeStride:atIndex:") + public native void setVertexBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long stride, @MachineSizedUInt long index); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setVertexBytes:length:attributeStride:atIndex:") + public native void setVertexBytes(VoidPtr bytes, @MachineSizedUInt long length, @MachineSizedUInt long stride, @MachineSizedUInt long index); @Method(selector = "setVertexTexture:atIndex:") public native void setVertexTexture(MTLTexture texture, @MachineSizedUInt long index); @Method(selector = "setVertexTextures:withRange:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderPipelineFunctionsDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderPipelineFunctionsDescriptor.java index 610d29ad8..61f01cb3d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderPipelineFunctionsDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLRenderPipelineFunctionsDescriptor.java @@ -51,17 +51,17 @@ public MTLRenderPipelineFunctionsDescriptor() {} /**/ /**/ @Property(selector = "vertexAdditionalBinaryFunctions") - public native NSArray getVertexAdditionalBinaryFunctions(); + public native NSArray getVertexAdditionalBinaryFunctions(); @Property(selector = "setVertexAdditionalBinaryFunctions:") - public native void setVertexAdditionalBinaryFunctions(NSArray v); + public native void setVertexAdditionalBinaryFunctions(NSArray v); @Property(selector = "fragmentAdditionalBinaryFunctions") - public native NSArray getFragmentAdditionalBinaryFunctions(); + public native NSArray getFragmentAdditionalBinaryFunctions(); @Property(selector = "setFragmentAdditionalBinaryFunctions:") - public native void setFragmentAdditionalBinaryFunctions(NSArray v); + public native void setFragmentAdditionalBinaryFunctions(NSArray v); @Property(selector = "tileAdditionalBinaryFunctions") - public native NSArray getTileAdditionalBinaryFunctions(); + public native NSArray getTileAdditionalBinaryFunctions(); @Property(selector = "setTileAdditionalBinaryFunctions:") - public native void setTileAdditionalBinaryFunctions(NSArray v); + public native void setTileAdditionalBinaryFunctions(NSArray v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLStitchedLibraryDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLStitchedLibraryDescriptor.java index 3b5246e49..0aebea5ca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLStitchedLibraryDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLStitchedLibraryDescriptor.java @@ -55,9 +55,9 @@ public MTLStitchedLibraryDescriptor() {} @Property(selector = "setFunctionGraphs:") public native void setFunctionGraphs(NSArray v); @Property(selector = "functions") - public native NSArray getFunctions(); + public native NSArray getFunctions(); @Property(selector = "setFunctions:") - public native void setFunctions(NSArray v); + public native void setFunctions(NSArray v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureReferenceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureReferenceType.java index 82a8a2e6f..2f422ebd8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureReferenceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureReferenceType.java @@ -55,7 +55,7 @@ public MTLTextureReferenceType() {} @Property(selector = "textureType") public native MTLTextureType getTextureType(); @Property(selector = "access") - public native MTLArgumentAccess getAccess(); + public native MTLBindingAccess getAccess(); @Property(selector = "isDepthTexture") public native boolean isDepthTexture(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureUsage.java index 196ef6b2d..221c2f9cf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLTextureUsage.java @@ -45,6 +45,10 @@ public final class /**/MTLTextureUsage/**/ extends Bits*/M public static final MTLTextureUsage ShaderWrite = new MTLTextureUsage(2L); public static final MTLTextureUsage RenderTarget = new MTLTextureUsage(4L); public static final MTLTextureUsage PixelFormatView = new MTLTextureUsage(16L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final MTLTextureUsage ShaderAtomic = new MTLTextureUsage(32L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLVertexFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLVertexFormat.java index b638bf1a8..193481bc4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLVertexFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metal/MTLVertexFormat.java @@ -118,7 +118,15 @@ public enum /**/MTLVertexFormat/**/ implements ValuedEnum { /** * @since Available in iOS 11.0 and later. */ - Half(53L); + Half(53L), + /** + * @since Available in iOS 17.0 and later. + */ + FloatRG11B10(54L), + /** + * @since Available in iOS 17.0 and later. + */ + FloatRGB9E5(55L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoader.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoader.java index 0bcd98d58..bb22e9767 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoader.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoader.java @@ -74,12 +74,12 @@ protected MTKTextureLoader() {} * @since Available in iOS 10.0 and later. */ @Method(selector = "newTexturesWithContentsOfURLs:options:completionHandler:") - public native void newTexture(NSArray URLs, MTKTextureLoaderOptions options, @Block VoidBlock2, NSError> completionHandler); + public native void newTexture(NSArray URLs, MTKTextureLoaderOptions options, @Block VoidBlock2, NSError> completionHandler); /** * @since Available in iOS 10.0 and later. */ @Method(selector = "newTexturesWithNames:scaleFactor:bundle:options:completionHandler:") - public native void newTexture(NSArray names, @MachineSizedFloat double scaleFactor, NSBundle bundle, MTKTextureLoaderOptions options, @Block VoidBlock2, NSError> completionHandler); + public native void newTexture(NSArray names, @MachineSizedFloat double scaleFactor, NSBundle bundle, MTKTextureLoaderOptions options, @Block VoidBlock2, NSError> completionHandler); @Method(selector = "newTextureWithData:options:completionHandler:") public native void newTexture(NSData data, MTKTextureLoaderOptions options, @Block VoidBlock2 completionHandler); @Method(selector = "newTextureWithCGImage:options:completionHandler:") @@ -100,9 +100,9 @@ public MTLTexture newTexture(NSURL URL, MTKTextureLoaderOptions options) throws /** * @since Available in iOS 10.0 and later. */ - public NSArray newTextures(NSArray URLs, MTKTextureLoaderOptions options) throws NSErrorException { + public NSArray newTextures(NSArray URLs, MTKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); - NSArray result = newTextures(URLs, options, ptr); + NSArray result = newTextures(URLs, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @@ -110,7 +110,7 @@ public NSArray newTextures(NSArray URLs, MTKTextureLoaderOptions optio * @since Available in iOS 10.0 and later. */ @Method(selector = "newTexturesWithContentsOfURLs:options:error:") - private native NSArray newTextures(NSArray URLs, MTKTextureLoaderOptions options, NSError.NSErrorPtr error); + private native NSArray newTextures(NSArray URLs, MTKTextureLoaderOptions options, NSError.NSErrorPtr error); public MTLTexture newTexture(NSData data, MTKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLTexture result = newTexture(data, options, ptr); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoaderOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoaderOptions.java index 469b5fdec..f6090ca71 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoaderOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalkit/MTKTextureLoaderOptions.java @@ -230,6 +230,11 @@ public static class Keys { */ @GlobalValue(symbol="MTKTextureLoaderOptionOrigin", optional=true) public static native NSString Origin(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="MTKTextureLoaderOptionLoadAsArray", optional=true) + public static native NSString LoadAsArray(); } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructure.java index 99d9dd401..331267f94 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructure.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSAccelerationStructure/**/ extends /**/MPSKernel/**/ /**/implements NSSecureCoding/**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureGroup.java index 573db8d3e..f6f73c4af 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureGroup.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSAccelerationStructureGroup/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureStatus.java index 6e375304c..3a1756707 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureStatus.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class) @Deprecated/**/ public enum /**/MPSAccelerationStructureStatus/**/ implements ValuedEnum { /**/ Unbuilt(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureUsage.java index 2fbbb6af1..4b186cce9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSAccelerationStructureUsage.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class) @Deprecated/**/ public final class /**/MPSAccelerationStructureUsage/**/ extends Bits*/MPSAccelerationStructureUsage/**/> { /**/ public static final MPSAccelerationStructureUsage None = new MPSAccelerationStructureUsage(0L); @@ -45,11 +46,15 @@ public final class /**/MPSAccelerationStructureUsage/**/ extends Bi public static final MPSAccelerationStructureUsage FrequentRebuild = new MPSAccelerationStructureUsage(2L); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated public static final MPSAccelerationStructureUsage PreferGPUBuild = new MPSAccelerationStructureUsage(4L); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated public static final MPSAccelerationStructureUsage PreferCPUBuild = new MPSAccelerationStructureUsage(8L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSBoundingBoxIntersectionTestType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSBoundingBoxIntersectionTestType.java index e1cb58c42..8a4272367 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSBoundingBoxIntersectionTestType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSBoundingBoxIntersectionTestType.java @@ -35,16 +35,19 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class) @Deprecated/**/ public enum /**/MPSBoundingBoxIntersectionTestType/**/ implements ValuedEnum { /**/ Default(0L), AxisAligned(1L), /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated Fast(2L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDataType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDataType.java index 7d06dfad5..571b1b31f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDataType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDataType.java @@ -51,7 +51,7 @@ public enum /**/MPSDataType/**/ implements ValuedEnum { */ Float32(268435488L), /** - * @since Available in iOS 11.0 and later. + * @since Available in iOS 10.0 and later. */ Float16(268435472L), /** @@ -112,6 +112,10 @@ public enum /**/MPSDataType/**/ implements ValuedEnum { * @since Available in iOS 15.0 and later. */ Bool(2147483656L), + /** + * @since Available in iOS 16.0 and later. + */ + BFloat16(2415919120L), /** * @since Available in iOS 11.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDeviceCapsValues.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDeviceCapsValues.java index fb3b03689..3da520d54 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDeviceCapsValues.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSDeviceCapsValues.java @@ -51,7 +51,8 @@ public enum /**/MPSDeviceCapsValues/**/ implements ValuedEnum { DeviceSupportsFloat16BicubicFiltering(512L), DeviceIsAppleDevice(1024L), DeviceSupportsSimdShuffleAndFill(2048L), - DeviceCapsLast(4096L); + DeviceSupportsBFloat16Arithmetic(4096L), + DeviceCapsLast(8192L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeBit.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeBit.java new file mode 100644 index 000000000..86eddbcd2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeBit.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/MPSFloatDataTypeBit/**/ implements ValuedEnum { + /**/ + SignBit(8388608L), + ExponentBit(8126464L), + MantissaBit(261120L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MPSFloatDataTypeBit/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MPSFloatDataTypeBit/**/ valueOf(long n) { + for (/**/MPSFloatDataTypeBit/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MPSFloatDataTypeBit/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeShift.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeShift.java new file mode 100644 index 000000000..97fcc747f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSFloatDataTypeShift.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +public enum /**/MPSFloatDataTypeShift/**/ implements ValuedEnum { + /**/ + SignShift(23L), + ExponentShift(18L), + MantissaShift(10L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MPSFloatDataTypeShift/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MPSFloatDataTypeShift/**/ valueOf(long n) { + for (/**/MPSFloatDataTypeShift/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MPSFloatDataTypeShift/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSInstanceAccelerationStructure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSInstanceAccelerationStructure.java index f410d031b..a837b82aa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSInstanceAccelerationStructure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSInstanceAccelerationStructure.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSInstanceAccelerationStructure/**/ extends /**/MPSAccelerationStructure/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndex.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndex.java new file mode 100644 index 000000000..9d6185b27 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndex.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MPSIntersectionDistancePrimitiveIndexBufferIndex/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MPSIntersectionDistancePrimitiveIndexBufferIndexPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MPSIntersectionDistancePrimitiveIndexBufferIndex() {} + public MPSIntersectionDistancePrimitiveIndexBufferIndex(float distance, int primitiveIndex, int bufferIndex) { + this.setDistance(distance); + this.setPrimitiveIndex(primitiveIndex); + this.setBufferIndex(bufferIndex); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native float getDistance(); + @StructMember(0) public native MPSIntersectionDistancePrimitiveIndexBufferIndex setDistance(float distance); + @StructMember(1) public native int getPrimitiveIndex(); + @StructMember(1) public native MPSIntersectionDistancePrimitiveIndexBufferIndex setPrimitiveIndex(int primitiveIndex); + @StructMember(2) public native int getBufferIndex(); + @StructMember(2) public native MPSIntersectionDistancePrimitiveIndexBufferIndex setBufferIndex(int bufferIndex); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates.java new file mode 100644 index 000000000..89f51e09b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinatesPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates() {} + public MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates(float distance, int primitiveIndex, int bufferIndex, VectorFloat2 coordinates) { + this.setDistance(distance); + this.setPrimitiveIndex(primitiveIndex); + this.setBufferIndex(bufferIndex); + this.setCoordinates(coordinates); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native float getDistance(); + @StructMember(0) public native MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates setDistance(float distance); + @StructMember(1) public native int getPrimitiveIndex(); + @StructMember(1) public native MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates setPrimitiveIndex(int primitiveIndex); + @StructMember(2) public native int getBufferIndex(); + @StructMember(2) public native MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates setBufferIndex(int bufferIndex); + @StructMember(3) public native @ByVal VectorFloat2 getCoordinates(); + @StructMember(3) public native MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates setCoordinates(@ByVal VectorFloat2 coordinates); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex.java new file mode 100644 index 000000000..cb42eda1f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex() {} + public MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex(float distance, int primitiveIndex, int bufferIndex, int instanceIndex) { + this.setDistance(distance); + this.setPrimitiveIndex(primitiveIndex); + this.setBufferIndex(bufferIndex); + this.setInstanceIndex(instanceIndex); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native float getDistance(); + @StructMember(0) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex setDistance(float distance); + @StructMember(1) public native int getPrimitiveIndex(); + @StructMember(1) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex setPrimitiveIndex(int primitiveIndex); + @StructMember(2) public native int getBufferIndex(); + @StructMember(2) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex setBufferIndex(int bufferIndex); + @StructMember(3) public native int getInstanceIndex(); + @StructMember(3) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex setInstanceIndex(int instanceIndex); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates.java new file mode 100644 index 000000000..8aab2772e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalps; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.metal.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ class /**/MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates/**/ + extends /**/Struct/**/ + /**//**/ { + + /**/public static class MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinatesPtr extends Ptr {}/**/ + /**/ + /**/ + /**//**/ + /**/ + public MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates() {} + public MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates(float distance, int primitiveIndex, int bufferIndex, int instanceIndex, VectorFloat2 coordinates) { + this.setDistance(distance); + this.setPrimitiveIndex(primitiveIndex); + this.setBufferIndex(bufferIndex); + this.setInstanceIndex(instanceIndex); + this.setCoordinates(coordinates); + } + /**/ + /**//**/ + /**/ + @StructMember(0) public native float getDistance(); + @StructMember(0) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates setDistance(float distance); + @StructMember(1) public native int getPrimitiveIndex(); + @StructMember(1) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates setPrimitiveIndex(int primitiveIndex); + @StructMember(2) public native int getBufferIndex(); + @StructMember(2) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates setBufferIndex(int bufferIndex); + @StructMember(3) public native int getInstanceIndex(); + @StructMember(3) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates setInstanceIndex(int instanceIndex); + @StructMember(4) public native @ByVal VectorFloat2 getCoordinates(); + @StructMember(4) public native MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates setCoordinates(@ByVal VectorFloat2 coordinates); + /**/ + /**//**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonAccelerationStructure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonAccelerationStructure.java index 1e56ec9f3..6aa5337c5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonAccelerationStructure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonAccelerationStructure.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSPolygonAccelerationStructure/**/ extends /**/MPSAccelerationStructure/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonBuffer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonBuffer.java index 98e6a5f33..45d5a0d48 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonBuffer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonBuffer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSPolygonBuffer/**/ extends /**/NSObject/**/ /**/implements NSSecureCoding/**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonType.java index ff076d447..1364ae8a1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSPolygonType.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class) @Deprecated/**/ public enum /**/MPSPolygonType/**/ implements ValuedEnum { /**/ Triangle(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSQuadrilateralAccelerationStructure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSQuadrilateralAccelerationStructure.java index e3fb1fe65..b6a1ae6ec 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSQuadrilateralAccelerationStructure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSQuadrilateralAccelerationStructure.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSQuadrilateralAccelerationStructure/**/ extends /**/MPSPolygonAccelerationStructure/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayIntersector.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayIntersector.java index 4591f739b..323944996 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayIntersector.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayIntersector.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSRayIntersector/**/ extends /**/MPSKernel/**/ /**/implements NSSecureCoding/**/ { @@ -79,12 +80,16 @@ protected MPSRayIntersector() {} public native void setRayMaskOptions(MPSRayMaskOptions v); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "rayMaskOperator") public native MPSRayMaskOperator getRayMaskOperator(); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "setRayMaskOperator:") public native void setRayMaskOperator(MPSRayMaskOperator v); @Property(selector = "rayStride") @@ -105,22 +110,30 @@ protected MPSRayIntersector() {} public native void setIntersectionDataType(MPSIntersectionDataType v); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "rayIndexDataType") public native MPSDataType getRayIndexDataType(); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "setRayIndexDataType:") public native void setRayIndexDataType(MPSDataType v); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "rayMask") public native int getRayMask(); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Property(selector = "setRayMask:") public native void setRayMask(int v); @Property(selector = "supportsSecureCoding") @@ -144,17 +157,23 @@ protected MPSRayIntersector() {} public native void encodeIntersection(MTLCommandBuffer commandBuffer, MPSIntersectionType intersectionType, MTLBuffer rayBuffer, @MachineSizedUInt long rayBufferOffset, MTLBuffer intersectionBuffer, @MachineSizedUInt long intersectionBufferOffset, MTLBuffer rayCountBuffer, @MachineSizedUInt long rayCountBufferOffset, MPSAccelerationStructure accelerationStructure); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Method(selector = "encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:rayIndexBuffer:rayIndexBufferOffset:intersectionBuffer:intersectionBufferOffset:rayIndexCount:accelerationStructure:") public native void encodeIntersection(MTLCommandBuffer commandBuffer, MPSIntersectionType intersectionType, MTLBuffer rayBuffer, @MachineSizedUInt long rayBufferOffset, MTLBuffer rayIndexBuffer, @MachineSizedUInt long rayIndexBufferOffset, MTLBuffer intersectionBuffer, @MachineSizedUInt long intersectionBufferOffset, @MachineSizedUInt long rayIndexCount, MPSAccelerationStructure accelerationStructure); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Method(selector = "encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:rayIndexBuffer:rayIndexBufferOffset:intersectionBuffer:intersectionBufferOffset:rayIndexCountBuffer:rayIndexCountBufferOffset:accelerationStructure:") public native void encodeIntersection(MTLCommandBuffer commandBuffer, MPSIntersectionType intersectionType, MTLBuffer rayBuffer, @MachineSizedUInt long rayBufferOffset, MTLBuffer rayIndexBuffer, @MachineSizedUInt long rayIndexBufferOffset, MTLBuffer intersectionBuffer, @MachineSizedUInt long intersectionBufferOffset, MTLBuffer rayIndexCountBuffer, @MachineSizedUInt long rayIndexCountBufferOffset, MPSAccelerationStructure accelerationStructure); /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated @Method(selector = "encodeIntersectionToCommandBuffer:intersectionType:rayTexture:intersectionTexture:accelerationStructure:") public native void encodeIntersection(MTLCommandBuffer commandBuffer, MPSIntersectionType intersectionType, MTLTexture rayTexture, MTLTexture intersectionTexture, MPSAccelerationStructure accelerationStructure); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOperator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOperator.java index 48a3fa8d6..26edd27a8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOperator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOperator.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class) @Deprecated/**/ public enum /**/MPSRayMaskOperator/**/ implements ValuedEnum { /**/ And(0L), @@ -52,11 +53,15 @@ public enum /**/MPSRayMaskOperator/**/ implements ValuedEnum { GreaterThanOrEqualTo(9L), /** * @since Available in iOS 13.4 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated Equal(10L), /** * @since Available in iOS 13.4 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ + @Deprecated NotEqual(11L); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOptions.java index e518ada1c..6eb73804c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSRayMaskOptions.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class) @Deprecated/**/ public final class /**/MPSRayMaskOptions/**/ extends Bits*/MPSRayMaskOptions/**/> { /**/ public static final MPSRayMaskOptions None = new MPSRayMaskOptions(0L); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleAccelerationStructure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleAccelerationStructure.java index d5c22be2e..528b6e86b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleAccelerationStructure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleAccelerationStructure.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Library("MetalPerformanceShaders") @NativeClass/**/ +/**/@Library("MetalPerformanceShaders") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MPSTriangleAccelerationStructure/**/ extends /**/MPSPolygonAccelerationStructure/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleIntersectionTestType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleIntersectionTestType.java index 46d4cb787..aadf395e2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleIntersectionTestType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalps/MPSTriangleIntersectionTestType.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 12.0 and later. + * @deprecated Deprecated in iOS 17.0. Use Metal ray tracing API instead */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class) @Deprecated/**/ public enum /**/MPSTriangleIntersectionTestType/**/ implements ValuedEnum { /**/ Default(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraph.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraph.java index 72b0705f9..c67c7ab8f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraph.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraph.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraph/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphPtr extends Ptr {}/**/ @@ -134,6 +134,11 @@ public MPSGraph() {} public native MPSGraphTensor reciprocal(MPSGraphTensor tensor, String name); @Method(selector = "absoluteWithTensor:name:") public native MPSGraphTensor absolute(MPSGraphTensor tensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "absoluteSquareWithTensor:name:") + public native MPSGraphTensor absoluteSquare(MPSGraphTensor tensor, String name); @Method(selector = "negativeWithTensor:name:") public native MPSGraphTensor negative(MPSGraphTensor tensor, String name); @Method(selector = "signWithTensor:name:") @@ -197,6 +202,11 @@ public MPSGraph() {} */ @Method(selector = "bitwisePopulationCountWithTensor:name:") public native MPSGraphTensor bitwisePopulationCount(MPSGraphTensor tensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "conjugateWithTensor:name:") + public native MPSGraphTensor conjugate(MPSGraphTensor tensor, String name); @Method(selector = "additionWithPrimaryTensor:secondaryTensor:name:") public native MPSGraphTensor addition(MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, String name); @Method(selector = "subtractionWithPrimaryTensor:secondaryTensor:name:") @@ -282,6 +292,21 @@ public MPSGraph() {} public native MPSGraphTensor divisionNoNaN(MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, String name); @Method(selector = "floorModuloWithPrimaryTensor:secondaryTensor:name:") public native MPSGraphTensor floorModulo(MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "realPartOfTensor:name:") + public native MPSGraphTensor realPart(MPSGraphTensor tensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "imaginaryPartOfTensor:name:") + public native MPSGraphTensor imaginaryPart(MPSGraphTensor tensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "complexTensorWithRealTensor:imaginaryTensor:name:") + public native MPSGraphTensor complexTensorWithRealTensor(MPSGraphTensor realTensor, MPSGraphTensor imaginaryTensor, String name); @Method(selector = "convolution2DWithSourceTensor:weightsTensor:descriptor:name:") public native MPSGraphTensor convolution2D(MPSGraphTensor source, MPSGraphTensor weights, MPSGraphConvolution2DOpDescriptor descriptor, String name); @Method(selector = "convolution2DDataGradientWithIncomingGradientTensor:weightsTensor:outputShape:forwardConvolutionDescriptor:name:") @@ -298,6 +323,31 @@ public MPSGraph() {} */ @Method(selector = "convolution2DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShapeTensor:forwardConvolutionDescriptor:name:") public native MPSGraphTensor convolution2DWeightsGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor outputShapeTensor, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "convolution3DWithSourceTensor:weightsTensor:descriptor:name:") + public native MPSGraphTensor convolution3D(MPSGraphTensor source, MPSGraphTensor weights, MPSGraphConvolution3DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "convolution3DDataGradientWithIncomingGradientTensor:weightsTensor:outputShape:forwardConvolutionDescriptor:name:") + public native MPSGraphTensor convolution3DDataGradient(MPSGraphTensor incomingGradient, MPSGraphTensor weights, NSArray outputShape, MPSGraphConvolution3DOpDescriptor forwardConvolutionDescriptor, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "convolution3DDataGradientWithIncomingGradientTensor:weightsTensor:outputShapeTensor:forwardConvolutionDescriptor:name:") + public native MPSGraphTensor convolution3DDataGradient(MPSGraphTensor gradient, MPSGraphTensor weights, MPSGraphTensor outputShapeTensor, MPSGraphConvolution3DOpDescriptor forwardConvolutionDescriptor, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "convolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShape:forwardConvolutionDescriptor:name:") + public native MPSGraphTensor convolution3DWeightsGradient(MPSGraphTensor incomingGradient, MPSGraphTensor source, NSArray outputShape, MPSGraphConvolution3DOpDescriptor forwardConvolutionDescriptor, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "convolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShapeTensor:forwardConvolutionDescriptor:name:") + public native MPSGraphTensor convolution3DWeightsGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor outputShapeTensor, MPSGraphConvolution3DOpDescriptor forwardConvolutionDescriptor, String name); @Method(selector = "convolutionTranspose2DWithSourceTensor:weightsTensor:outputShape:descriptor:name:") public native MPSGraphTensor convolutionTranspose2D(MPSGraphTensor source, MPSGraphTensor weights, NSArray outputShape, MPSGraphConvolution2DOpDescriptor descriptor, String name); /** @@ -427,6 +477,36 @@ public MPSGraph() {} public native MPSGraphTensor depthwiseConvolution3DDataGradient(MPSGraphTensor incomingGradient, MPSGraphTensor weights, NSArray outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, String name); @Method(selector = "depthwiseConvolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShape:descriptor:name:") public native MPSGraphTensor depthwiseConvolution3DWeightsGradient(MPSGraphTensor incomingGradient, MPSGraphTensor source, NSArray outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "fastFourierTransformWithTensor:axes:descriptor:name:") + public native MPSGraphTensor fastFourierTransformWithTensor$axes$descriptor$name$(MPSGraphTensor tensor, NSArray axes, MPSGraphFFTDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "fastFourierTransformWithTensor:axesTensor:descriptor:name:") + public native MPSGraphTensor fastFourierTransform(MPSGraphTensor tensor, MPSGraphTensor axesTensor, MPSGraphFFTDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "realToHermiteanFFTWithTensor:axes:descriptor:name:") + public native MPSGraphTensor realToHermiteanFFT(MPSGraphTensor tensor, NSArray axes, MPSGraphFFTDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "realToHermiteanFFTWithTensor:axesTensor:descriptor:name:") + public native MPSGraphTensor realToHermiteanFFT(MPSGraphTensor tensor, MPSGraphTensor axesTensor, MPSGraphFFTDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "HermiteanToRealFFTWithTensor:axes:descriptor:name:") + public native MPSGraphTensor HermiteanToRealFFT(MPSGraphTensor tensor, NSArray axes, MPSGraphFFTDescriptor descriptor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "HermiteanToRealFFTWithTensor:axesTensor:descriptor:name:") + public native MPSGraphTensor HermiteanToRealFFT(MPSGraphTensor tensor, MPSGraphTensor axesTensor, MPSGraphFFTDescriptor descriptor, String name); @Method(selector = "gatherNDWithUpdatesTensor:indicesTensor:batchDimensions:name:") public native MPSGraphTensor gatherND(MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, @MachineSizedUInt long batchDimensions, String name); @Method(selector = "gatherWithUpdatesTensor:indicesTensor:axis:batchDimensions:name:") @@ -441,6 +521,10 @@ public MPSGraph() {} */ @Method(selector = "gatherAlongAxisTensor:withUpdatesTensor:indicesTensor:name:") public native MPSGraphTensor gatherAlongAxisTensor(MPSGraphTensor axisTensor, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, String name); + @Method(selector = "imToColWithSourceTensor:descriptor:name:") + public native MPSGraphTensor imToCol(MPSGraphTensor source, MPSGraphImToColOpDescriptor descriptor, String name); + @Method(selector = "colToImWithSourceTensor:outputShape:descriptor:name:") + public native MPSGraphTensor colToIm(MPSGraphTensor source, NSArray outputShape, MPSGraphImToColOpDescriptor descriptor, String name); @Method(selector = "bandPartWithTensor:numLower:numUpper:name:") public native MPSGraphTensor bandPart(MPSGraphTensor inputTensor, @MachineSizedSInt long numLower, @MachineSizedSInt long numUpper, String name); @Method(selector = "bandPartWithTensor:numLowerTensor:numUpperTensor:name:") @@ -471,12 +555,36 @@ public MPSGraph() {} public native MPSGraphTensor constant(double scalar, MPSDataType dataType); @Method(selector = "constantWithScalar:shape:dataType:") public native MPSGraphTensor constant(double scalar, NSArray shape, MPSDataType dataType); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "constantWithRealPart:imaginaryPart:") + public native MPSGraphTensor constant(double realPart, double imaginaryPart); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "constantWithRealPart:imaginaryPart:dataType:") + public native MPSGraphTensor constant(double realPart, double imaginaryPart, MPSDataType dataType); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "constantWithRealPart:imaginaryPart:shape:dataType:") + public native MPSGraphTensor constant(double realPart, double imaginaryPart, NSArray shape, MPSDataType dataType); @Method(selector = "variableWithData:shape:dataType:name:") public native MPSGraphTensor variable(NSData data, NSArray shape, MPSDataType dataType, String name); @Method(selector = "readVariable:name:") public native MPSGraphTensor readVariable(MPSGraphTensor variable, String name); @Method(selector = "assignVariable:withValueOfTensor:name:") public native MPSGraphOperation assignVariable(MPSGraphTensor variable, MPSGraphTensor tensor, String name); + @Method(selector = "nonMaximumSuppressionWithBoxesTensor:scoresTensor:IOUThreshold:scoreThreshold:perClassSuppression:coordinateMode:name:") + public native MPSGraphTensor nonMaximumSuppression(MPSGraphTensor boxesTensor, MPSGraphTensor scoresTensor, float IOUThreshold, float scoreThreshold, boolean perClassSuppression, MPSGraphNonMaximumSuppressionCoordinateMode coordinateMode, String name); + @Method(selector = "nonMaximumSuppressionWithBoxesTensor:scoresTensor:classIndicesTensor:IOUThreshold:scoreThreshold:perClassSuppression:coordinateMode:name:") + public native MPSGraphTensor nonMaximumSuppression(MPSGraphTensor boxesTensor, MPSGraphTensor scoresTensor, MPSGraphTensor classIndicesTensor, float IOUThreshold, float scoreThreshold, boolean perClassSuppression, MPSGraphNonMaximumSuppressionCoordinateMode coordinateMode, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "nonZeroIndicesOfTensor:name:") + public native MPSGraphTensor nonZeroIndices(MPSGraphTensor tensor, String name); @Method(selector = "meanOfTensor:axes:name:") public native MPSGraphTensor mean(MPSGraphTensor tensor, NSArray axes, String name); @Method(selector = "varianceOfTensor:meanTensor:axes:name:") @@ -520,8 +628,14 @@ public MPSGraph() {} public native NSArray maxPooling2DReturnIndices(MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, String name); @Method(selector = "maxPooling2DGradientWithGradientTensor:sourceTensor:descriptor:name:") public native MPSGraphTensor maxPooling2DGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "maxPooling2DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:") public native MPSGraphTensor maxPooling2DGradient(MPSGraphTensor gradient, MPSGraphTensor indices, NSArray outputShape, MPSGraphPooling2DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "maxPooling2DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:") public native MPSGraphTensor maxPooling2DGradient(MPSGraphTensor gradient, MPSGraphTensor indices, MPSGraphTensor outputShape, MPSGraphPooling2DOpDescriptor descriptor, String name); @Method(selector = "avgPooling2DWithSourceTensor:descriptor:name:") @@ -543,8 +657,14 @@ public MPSGraph() {} */ @Method(selector = "maxPooling4DGradientWithGradientTensor:sourceTensor:descriptor:name:") public native MPSGraphTensor maxPooling4DGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "maxPooling4DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:") public native MPSGraphTensor maxPooling4DGradient(MPSGraphTensor gradient, MPSGraphTensor indices, NSArray outputShape, MPSGraphPooling4DOpDescriptor descriptor, String name); + /** + * @since Available in iOS 16.0 and later. + */ @Method(selector = "maxPooling4DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:") public native MPSGraphTensor maxPooling4DGradient(MPSGraphTensor gradient, MPSGraphTensor indices, MPSGraphTensor outputShape, MPSGraphPooling4DOpDescriptor descriptor, String name); /** @@ -690,31 +810,61 @@ public MPSGraph() {} */ @Method(selector = "resizeTensor:sizeTensor:mode:centerResult:alignCorners:layout:name:") public native MPSGraphTensor resizeTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeMode mode, boolean centerResult, boolean alignCorners, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeTensor:sizeTensor:mode:centerResult:alignCorners:name:") + public native MPSGraphTensor resize(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeMode mode, boolean centerResult, boolean alignCorners, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeNearestWithTensor:sizeTensor:nearestRoundingMode:centerResult:alignCorners:layout:name:") public native MPSGraphTensor resizeNearestWithTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeNearestRoundingMode nearestRoundingMode, boolean centerResult, boolean alignCorners, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeNearestWithTensor:sizeTensor:nearestRoundingMode:centerResult:alignCorners:name:") + public native MPSGraphTensor resizeNearest(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeNearestRoundingMode nearestRoundingMode, boolean centerResult, boolean alignCorners, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeBilinearWithTensor:sizeTensor:centerResult:alignCorners:layout:name:") public native MPSGraphTensor resizeBilinearWithTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, boolean centerResult, boolean alignCorners, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeBilinearWithTensor:sizeTensor:centerResult:alignCorners:name:") + public native MPSGraphTensor resizeBilinear(MPSGraphTensor imagesTensor, MPSGraphTensor size, boolean centerResult, boolean alignCorners, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeTensor:sizeTensor:scaleOffsetTensor:mode:layout:name:") public native MPSGraphTensor resizeTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scaleOffset, MPSGraphResizeMode mode, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeTensor:sizeTensor:scaleTensor:offsetTensor:mode:name:") + public native MPSGraphTensor resizeTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scale, MPSGraphTensor offset, MPSGraphResizeMode mode, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeNearestWithTensor:sizeTensor:scaleOffsetTensor:nearestRoundingMode:layout:name:") public native MPSGraphTensor resizeNearestWithTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scaleOffset, MPSGraphResizeNearestRoundingMode nearestRoundingMode, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeNearestWithTensor:sizeTensor:scaleTensor:offsetTensor:nearestRoundingMode:name:") + public native MPSGraphTensor resizeNearest(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scale, MPSGraphTensor offset, MPSGraphResizeNearestRoundingMode nearestRoundingMode, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeBilinearWithTensor:sizeTensor:scaleOffsetTensor:layout:name:") public native MPSGraphTensor resizeBilinearWithTensor(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scaleOffset, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeBilinearWithTensor:sizeTensor:scaleTensor:offsetTensor:name:") + public native MPSGraphTensor resizeBilinear(MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphTensor scale, MPSGraphTensor offset, String name); @Method(selector = "resizeWithGradientTensor:input:mode:centerResult:alignCorners:layout:name:") public native MPSGraphTensor resize(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphResizeMode mode, boolean centerResult, boolean alignCorners, MPSGraphTensorNamedDataLayout layout, String name); /** @@ -732,16 +882,31 @@ public MPSGraph() {} */ @Method(selector = "resizeWithGradientTensor:input:scaleOffsetTensor:mode:layout:name:") public native MPSGraphTensor resizeWithGradientTensor(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scaleOffset, MPSGraphResizeMode mode, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeWithGradientTensor:input:scaleTensor:offsetTensor:mode:name:") + public native MPSGraphTensor resizeWithGradient(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scale, MPSGraphTensor offset, MPSGraphResizeMode mode, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeNearestWithGradientTensor:input:scaleOffsetTensor:nearestRoundingMode:layout:name:") public native MPSGraphTensor resizeNearestWithGradientTensor(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scaleOffset, MPSGraphResizeNearestRoundingMode nearestRoundingMode, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeNearestWithGradientTensor:input:scaleTensor:offsetTensor:nearestRoundingMode:name:") + public native MPSGraphTensor resizeNearestWithGradient(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scale, MPSGraphTensor offset, MPSGraphResizeNearestRoundingMode nearestRoundingMode, String name); /** * @since Available in iOS 16.0 and later. */ @Method(selector = "resizeBilinearWithGradientTensor:input:scaleOffsetTensor:layout:name:") public native MPSGraphTensor resizeBilinearWithGradientTensor(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scaleOffset, MPSGraphTensorNamedDataLayout layout, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "resizeBilinearWithGradientTensor:input:scaleTensor:offsetTensor:name:") + public native MPSGraphTensor resizeBilinearWithGradient(MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphTensor scale, MPSGraphTensor offset, String name); /** * @since Available in iOS 15.4 and later. */ @@ -1066,6 +1231,11 @@ public MPSGraph() {} */ @Method(selector = "castTensor:toType:name:") public native MPSGraphTensor castTensor(MPSGraphTensor tensor, MPSDataType type, String name); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "reinterpretCastTensor:toType:name:") + public native MPSGraphTensor reinterpretCast(MPSGraphTensor tensor, MPSDataType type, String name); /** * @since Available in iOS 15.4 and later. */ @@ -1145,9 +1315,49 @@ public MPSGraph() {} public native NSArray topK(MPSGraphTensor source, @MachineSizedUInt long k, String name); @Method(selector = "topKWithSourceTensor:kTensor:name:") public native NSArray topK(MPSGraphTensor source, MPSGraphTensor kTensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "topKWithSourceTensor:axis:k:name:") + public native NSArray topK(MPSGraphTensor source, @MachineSizedSInt long axis, @MachineSizedUInt long k, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "bottomKWithSourceTensor:axis:k:name:") + public native NSArray bottomK(MPSGraphTensor source, @MachineSizedSInt long axis, @MachineSizedUInt long k, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "topKWithSourceTensor:axisTensor:kTensor:name:") + public native NSArray topK(MPSGraphTensor source, MPSGraphTensor axisTensor, MPSGraphTensor kTensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "bottomKWithSourceTensor:axisTensor:kTensor:name:") + public native NSArray bottomK(MPSGraphTensor source, MPSGraphTensor axisTensor, MPSGraphTensor kTensor, String name); @Method(selector = "topKWithGradientTensor:source:k:name:") - public native MPSGraphTensor topK(MPSGraphTensor gradient, MPSGraphTensor source, @MachineSizedUInt long k, String name); + public native MPSGraphTensor topKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, @MachineSizedUInt long k, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "topKWithGradientTensor:source:axis:k:name:") + public native MPSGraphTensor topKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, @MachineSizedSInt long axis, @MachineSizedUInt long k, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "bottomKWithGradientTensor:source:axis:k:name:") + public native MPSGraphTensor bottomKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, @MachineSizedSInt long axis, @MachineSizedUInt long k, String name); @Method(selector = "topKWithGradientTensor:source:kTensor:name:") - public native MPSGraphTensor topK(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor kTensor, String name); + public native MPSGraphTensor topKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor kTensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "topKWithGradientTensor:source:axisTensor:kTensor:name:") + public native MPSGraphTensor topKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor axisTensor, MPSGraphTensor kTensor, String name); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "bottomKWithGradientTensor:source:axisTensor:kTensor:name:") + public native MPSGraphTensor bottomKWithGradient(MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor axisTensor, MPSGraphTensor kTensor, String name); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCompilationDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCompilationDescriptor.java index d0d86948d..25447d08c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCompilationDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCompilationDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphCompilationDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphCompilationDescriptorPtr extends Ptr {}/**/ @@ -61,16 +61,6 @@ public MPSGraphCompilationDescriptor() {} */ @Property(selector = "setOptimizationLevel:") public native void setOptimizationLevel(MPSGraphOptimization v); - /** - * @since Available in iOS 15.4 and later. - */ - @Property(selector = "optimizationProfile") - public native MPSGraphOptimizationProfile getOptimizationProfile(); - /** - * @since Available in iOS 15.4 and later. - */ - @Property(selector = "setOptimizationProfile:") - public native void setOptimizationProfile(MPSGraphOptimizationProfile v); /** * @since Available in iOS 16.0 and later. */ @@ -101,6 +91,20 @@ public MPSGraphCompilationDescriptor() {} */ @Property(selector = "setDispatchQueue:") public native void setDispatchQueue(org.robovm.apple.dispatch.DispatchQueue v); + /** + * @since Available in iOS 15.4 and later. + * @deprecated Deprecated in iOS 17.0. Use MPSGraph will automatically provide the best performance and power efficiency with MPSGraphOptimizationLevel1. + */ + @Deprecated + @Property(selector = "optimizationProfile") + public native MPSGraphOptimizationProfile getOptimizationProfile(); + /** + * @since Available in iOS 15.4 and later. + * @deprecated Deprecated in iOS 17.0. Use MPSGraph will automatically provide the best performance and power efficiency with MPSGraphOptimizationLevel1. + */ + @Deprecated + @Property(selector = "setOptimizationProfile:") + public native void setOptimizationProfile(MPSGraphOptimizationProfile v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution2DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution2DOpDescriptor.java index 4c2d71ff8..ca167c949 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution2DOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution2DOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphConvolution2DOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphConvolution2DOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution3DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution3DOpDescriptor.java new file mode 100644 index 000000000..a2bb77b6a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphConvolution3DOpDescriptor.java @@ -0,0 +1,130 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.3 and later. + */ +/**/ +/**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ +/**/public/**/ class /**/MPSGraphConvolution3DOpDescriptor/**/ + extends /**/MPSGraphObject/**/ + /**//**/ { + + /**/public static class MPSGraphConvolution3DOpDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MPSGraphConvolution3DOpDescriptor.class); }/**/ + /**//**/ + /**/ + public MPSGraphConvolution3DOpDescriptor() {} + protected MPSGraphConvolution3DOpDescriptor(Handle h, long handle) { super(h, handle); } + protected MPSGraphConvolution3DOpDescriptor(SkipInit skipInit) { super(skipInit); } + public MPSGraphConvolution3DOpDescriptor(@MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long strideInZ, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long dilationRateInZ, @MachineSizedUInt long groups, @MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom, @MachineSizedUInt long paddingFront, @MachineSizedUInt long paddingBack, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout) { super((Handle) null, create(strideInX, strideInY, strideInZ, dilationRateInX, dilationRateInY, dilationRateInZ, groups, paddingLeft, paddingRight, paddingTop, paddingBottom, paddingFront, paddingBack, paddingStyle, dataLayout, weightsLayout)); retain(getHandle()); } + public MPSGraphConvolution3DOpDescriptor(@MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long strideInZ, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long dilationRateInZ, @MachineSizedUInt long groups, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout) { super((Handle) null, create(strideInX, strideInY, strideInZ, dilationRateInX, dilationRateInY, dilationRateInZ, groups, paddingStyle, dataLayout, weightsLayout)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "strideInX") + public native @MachineSizedUInt long getStrideInX(); + @Property(selector = "setStrideInX:") + public native void setStrideInX(@MachineSizedUInt long v); + @Property(selector = "strideInY") + public native @MachineSizedUInt long getStrideInY(); + @Property(selector = "setStrideInY:") + public native void setStrideInY(@MachineSizedUInt long v); + @Property(selector = "strideInZ") + public native @MachineSizedUInt long getStrideInZ(); + @Property(selector = "setStrideInZ:") + public native void setStrideInZ(@MachineSizedUInt long v); + @Property(selector = "dilationRateInX") + public native @MachineSizedUInt long getDilationRateInX(); + @Property(selector = "setDilationRateInX:") + public native void setDilationRateInX(@MachineSizedUInt long v); + @Property(selector = "dilationRateInY") + public native @MachineSizedUInt long getDilationRateInY(); + @Property(selector = "setDilationRateInY:") + public native void setDilationRateInY(@MachineSizedUInt long v); + @Property(selector = "dilationRateInZ") + public native @MachineSizedUInt long getDilationRateInZ(); + @Property(selector = "setDilationRateInZ:") + public native void setDilationRateInZ(@MachineSizedUInt long v); + @Property(selector = "paddingLeft") + public native @MachineSizedUInt long getPaddingLeft(); + @Property(selector = "setPaddingLeft:") + public native void setPaddingLeft(@MachineSizedUInt long v); + @Property(selector = "paddingRight") + public native @MachineSizedUInt long getPaddingRight(); + @Property(selector = "setPaddingRight:") + public native void setPaddingRight(@MachineSizedUInt long v); + @Property(selector = "paddingTop") + public native @MachineSizedUInt long getPaddingTop(); + @Property(selector = "setPaddingTop:") + public native void setPaddingTop(@MachineSizedUInt long v); + @Property(selector = "paddingBottom") + public native @MachineSizedUInt long getPaddingBottom(); + @Property(selector = "setPaddingBottom:") + public native void setPaddingBottom(@MachineSizedUInt long v); + @Property(selector = "paddingFront") + public native @MachineSizedUInt long getPaddingFront(); + @Property(selector = "setPaddingFront:") + public native void setPaddingFront(@MachineSizedUInt long v); + @Property(selector = "paddingBack") + public native @MachineSizedUInt long getPaddingBack(); + @Property(selector = "setPaddingBack:") + public native void setPaddingBack(@MachineSizedUInt long v); + @Property(selector = "paddingStyle") + public native MPSGraphPaddingStyle getPaddingStyle(); + @Property(selector = "setPaddingStyle:") + public native void setPaddingStyle(MPSGraphPaddingStyle v); + @Property(selector = "dataLayout") + public native MPSGraphTensorNamedDataLayout getDataLayout(); + @Property(selector = "setDataLayout:") + public native void setDataLayout(MPSGraphTensorNamedDataLayout v); + @Property(selector = "weightsLayout") + public native MPSGraphTensorNamedDataLayout getWeightsLayout(); + @Property(selector = "setWeightsLayout:") + public native void setWeightsLayout(MPSGraphTensorNamedDataLayout v); + @Property(selector = "groups") + public native @MachineSizedUInt long getGroups(); + @Property(selector = "setGroups:") + public native void setGroups(@MachineSizedUInt long v); + /**/ + /**//**/ + /**/ + @Method(selector = "setExplicitPaddingWithPaddingLeft:paddingRight:paddingTop:paddingBottom:paddingFront:paddingBack:") + public native void setExplicitPadding(@MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom, @MachineSizedUInt long paddingFront, @MachineSizedUInt long paddingBack); + @Method(selector = "descriptorWithStrideInX:strideInY:strideInZ:dilationRateInX:dilationRateInY:dilationRateInZ:groups:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingFront:paddingBack:paddingStyle:dataLayout:weightsLayout:") + protected static native @Pointer long create(@MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long strideInZ, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long dilationRateInZ, @MachineSizedUInt long groups, @MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom, @MachineSizedUInt long paddingFront, @MachineSizedUInt long paddingBack, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); + @Method(selector = "descriptorWithStrideInX:strideInY:strideInZ:dilationRateInX:dilationRateInY:dilationRateInZ:groups:paddingStyle:dataLayout:weightsLayout:") + protected static native @Pointer long create(@MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long strideInZ, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long dilationRateInZ, @MachineSizedUInt long groups, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCreateSparseOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCreateSparseOpDescriptor.java index 21eff4736..23c06df88 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCreateSparseOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphCreateSparseOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphCreateSparseOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphCreateSparseOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDeploymentPlatform.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDeploymentPlatform.java new file mode 100644 index 000000000..9ff653f88 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDeploymentPlatform.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsLongMarshaler.class)/**/ +public enum /**/MPSGraphDeploymentPlatform/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + MacOS(0L), + /** + * @since Available in iOS 17.0 and later. + */ + IOS(1L), + /** + * @since Available in iOS 17.0 and later. + */ + TvOS(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MPSGraphDeploymentPlatform/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MPSGraphDeploymentPlatform/**/ valueOf(long n) { + for (/**/MPSGraphDeploymentPlatform/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MPSGraphDeploymentPlatform/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution2DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution2DOpDescriptor.java index 376808ad1..196e27d8a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution2DOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution2DOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphDepthwiseConvolution2DOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphDepthwiseConvolution2DOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution3DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution3DOpDescriptor.java index c8e7f28e0..4f7dfcb34 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution3DOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDepthwiseConvolution3DOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphDepthwiseConvolution3DOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphDepthwiseConvolution3DOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDevice.java index 5f567ad3a..e36458d3a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphDevice.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphDevice/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphDevicePtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutable.java index 3e6fbcea7..24d2481fd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutable.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutable.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphExecutable/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphExecutablePtr extends Ptr {}/**/ @@ -49,6 +49,11 @@ public MPSGraphExecutable() {} protected MPSGraphExecutable(Handle h, long handle) { super(h, handle); } protected MPSGraphExecutable(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithMPSGraphPackageAtURL:compilationDescriptor:") + public MPSGraphExecutable(NSURL mpsgraphPackageURL, MPSGraphCompilationDescriptor compilationDescriptor) { super((SkipInit) null); initObject(init(mpsgraphPackageURL, compilationDescriptor)); } /**/ /**/ @Property(selector = "options") @@ -64,11 +69,26 @@ public MPSGraphExecutable() {} /**/ @Method(selector = "specializeWithDevice:inputTypes:compilationDescriptor:") public native void specialize(MPSGraphDevice device, NSArray inputTypes, MPSGraphCompilationDescriptor compilationDescriptor); + /** + * @since Available in iOS 16.3 and later. + */ + @Method(selector = "getOutputTypesWithDevice:inputTypes:compilationDescriptor:") + public native NSArray getOutputTypes(MPSGraphDevice device, NSArray inputTypes, MPSGraphCompilationDescriptor compilationDescriptor); @Method(selector = "runWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:") public native NSArray run(MTLCommandQueue commandQueue, NSArray inputsArray, NSArray resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); @Method(selector = "runAsyncWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:") public native NSArray runAsync(MTLCommandQueue commandQueue, NSArray inputsArray, NSArray resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); @Method(selector = "encodeToCommandBuffer:inputsArray:resultsArray:executionDescriptor:") public native NSArray encodeToCommandBuffer(MPSCommandBuffer commandBuffer, NSArray inputsArray, NSArray resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "serializeToMPSGraphPackageAtURL:descriptor:") + public native void serializeToMPSGraphPackage(NSURL url, MPSGraphExecutableSerializationDescriptor descriptor); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithMPSGraphPackageAtURL:compilationDescriptor:") + protected native @Pointer long init(NSURL mpsgraphPackageURL, MPSGraphCompilationDescriptor compilationDescriptor); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableExecutionDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableExecutionDescriptor.java index fd613f0a4..280a0015e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableExecutionDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableExecutionDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphExecutableExecutionDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphExecutableExecutionDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableSerializationDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableSerializationDescriptor.java new file mode 100644 index 000000000..8440f156a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutableSerializationDescriptor.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ +/**/public/**/ class /**/MPSGraphExecutableSerializationDescriptor/**/ + extends /**/MPSGraphObject/**/ + /**//**/ { + + /**/public static class MPSGraphExecutableSerializationDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MPSGraphExecutableSerializationDescriptor.class); }/**/ + /**//**/ + /**/ + public MPSGraphExecutableSerializationDescriptor() {} + protected MPSGraphExecutableSerializationDescriptor(Handle h, long handle) { super(h, handle); } + protected MPSGraphExecutableSerializationDescriptor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "append") + public native boolean isAppend(); + @Property(selector = "setAppend:") + public native void setAppend(boolean v); + @Property(selector = "deploymentPlatform") + public native MPSGraphDeploymentPlatform getDeploymentPlatform(); + @Property(selector = "setDeploymentPlatform:") + public native void setDeploymentPlatform(MPSGraphDeploymentPlatform v); + @Property(selector = "minimumDeploymentTarget") + public native String getMinimumDeploymentTarget(); + @Property(selector = "setMinimumDeploymentTarget:") + public native void setMinimumDeploymentTarget(String v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutionDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutionDescriptor.java index 41e0c613b..c418da0b1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutionDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphExecutionDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphExecutionDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphExecutionDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTDescriptor.java new file mode 100644 index 000000000..fdcc140e4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTDescriptor.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ +/**/public/**/ class /**/MPSGraphFFTDescriptor/**/ + extends /**/MPSGraphObject/**/ + /**//**/ { + + /**/public static class MPSGraphFFTDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MPSGraphFFTDescriptor.class); }/**/ + /**//**/ + /**/ + public MPSGraphFFTDescriptor() {} + protected MPSGraphFFTDescriptor(Handle h, long handle) { super(h, handle); } + protected MPSGraphFFTDescriptor(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "inverse") + public native boolean isInverse(); + @Property(selector = "setInverse:") + public native void setInverse(boolean v); + @Property(selector = "scalingMode") + public native MPSGraphFFTScalingMode getScalingMode(); + @Property(selector = "setScalingMode:") + public native void setScalingMode(MPSGraphFFTScalingMode v); + @Property(selector = "roundToOddHermitean") + public native boolean isRoundToOddHermitean(); + @Property(selector = "setRoundToOddHermitean:") + public native void setRoundToOddHermitean(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "descriptor") + public static native MPSGraphFFTDescriptor descriptor(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTScalingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTScalingMode.java new file mode 100644 index 000000000..9c38cd2a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphFFTScalingMode.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MPSGraphFFTScalingMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + None(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Size(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Unitary(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MPSGraphFFTScalingMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MPSGraphFFTScalingMode/**/ valueOf(long n) { + for (/**/MPSGraphFFTScalingMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MPSGraphFFTScalingMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphGRUDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphGRUDescriptor.java index e6cd61bb5..cef3c7d52 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphGRUDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphGRUDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphGRUDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphGRUDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphImToColOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphImToColOpDescriptor.java new file mode 100644 index 000000000..ae5bed74d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphImToColOpDescriptor.java @@ -0,0 +1,110 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ +/**/public/**/ class /**/MPSGraphImToColOpDescriptor/**/ + extends /**/MPSGraphObject/**/ + /**//**/ { + + /**/public static class MPSGraphImToColOpDescriptorPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MPSGraphImToColOpDescriptor.class); }/**/ + /**//**/ + /**/ + public MPSGraphImToColOpDescriptor() {} + protected MPSGraphImToColOpDescriptor(Handle h, long handle) { super(h, handle); } + protected MPSGraphImToColOpDescriptor(SkipInit skipInit) { super(skipInit); } + public MPSGraphImToColOpDescriptor(@MachineSizedUInt long kernelWidth, @MachineSizedUInt long kernelHeight, @MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom, MPSGraphTensorNamedDataLayout dataLayout) { super((Handle) null, create(kernelWidth, kernelHeight, strideInX, strideInY, dilationRateInX, dilationRateInY, paddingLeft, paddingRight, paddingTop, paddingBottom, dataLayout)); retain(getHandle()); } + public MPSGraphImToColOpDescriptor(@MachineSizedUInt long kernelWidth, @MachineSizedUInt long kernelHeight, @MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, MPSGraphTensorNamedDataLayout dataLayout) { super((Handle) null, create(kernelWidth, kernelHeight, strideInX, strideInY, dilationRateInX, dilationRateInY, dataLayout)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "kernelWidth") + public native @MachineSizedUInt long getKernelWidth(); + @Property(selector = "setKernelWidth:") + public native void setKernelWidth(@MachineSizedUInt long v); + @Property(selector = "kernelHeight") + public native @MachineSizedUInt long getKernelHeight(); + @Property(selector = "setKernelHeight:") + public native void setKernelHeight(@MachineSizedUInt long v); + @Property(selector = "strideInX") + public native @MachineSizedUInt long getStrideInX(); + @Property(selector = "setStrideInX:") + public native void setStrideInX(@MachineSizedUInt long v); + @Property(selector = "strideInY") + public native @MachineSizedUInt long getStrideInY(); + @Property(selector = "setStrideInY:") + public native void setStrideInY(@MachineSizedUInt long v); + @Property(selector = "dilationRateInX") + public native @MachineSizedUInt long getDilationRateInX(); + @Property(selector = "setDilationRateInX:") + public native void setDilationRateInX(@MachineSizedUInt long v); + @Property(selector = "dilationRateInY") + public native @MachineSizedUInt long getDilationRateInY(); + @Property(selector = "setDilationRateInY:") + public native void setDilationRateInY(@MachineSizedUInt long v); + @Property(selector = "paddingLeft") + public native @MachineSizedUInt long getPaddingLeft(); + @Property(selector = "setPaddingLeft:") + public native void setPaddingLeft(@MachineSizedUInt long v); + @Property(selector = "paddingRight") + public native @MachineSizedUInt long getPaddingRight(); + @Property(selector = "setPaddingRight:") + public native void setPaddingRight(@MachineSizedUInt long v); + @Property(selector = "paddingTop") + public native @MachineSizedUInt long getPaddingTop(); + @Property(selector = "setPaddingTop:") + public native void setPaddingTop(@MachineSizedUInt long v); + @Property(selector = "paddingBottom") + public native @MachineSizedUInt long getPaddingBottom(); + @Property(selector = "setPaddingBottom:") + public native void setPaddingBottom(@MachineSizedUInt long v); + @Property(selector = "dataLayout") + public native MPSGraphTensorNamedDataLayout getDataLayout(); + @Property(selector = "setDataLayout:") + public native void setDataLayout(MPSGraphTensorNamedDataLayout v); + /**/ + /**//**/ + /**/ + @Method(selector = "setExplicitPaddingWithPaddingLeft:paddingRight:paddingTop:paddingBottom:") + public native void setExplicitPadding(@MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom); + @Method(selector = "descriptorWithKernelWidth:kernelHeight:strideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:dataLayout:") + protected static native @Pointer long create(@MachineSizedUInt long kernelWidth, @MachineSizedUInt long kernelHeight, @MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, @MachineSizedUInt long paddingLeft, @MachineSizedUInt long paddingRight, @MachineSizedUInt long paddingTop, @MachineSizedUInt long paddingBottom, MPSGraphTensorNamedDataLayout dataLayout); + @Method(selector = "descriptorWithKernelWidth:kernelHeight:strideInX:strideInY:dilationRateInX:dilationRateInY:dataLayout:") + protected static native @Pointer long create(@MachineSizedUInt long kernelWidth, @MachineSizedUInt long kernelHeight, @MachineSizedUInt long strideInX, @MachineSizedUInt long strideInY, @MachineSizedUInt long dilationRateInX, @MachineSizedUInt long dilationRateInY, MPSGraphTensorNamedDataLayout dataLayout); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLSTMDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLSTMDescriptor.java index 2dc713c32..9e34747e2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLSTMDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLSTMDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphLSTMDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphLSTMDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLossReductionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLossReductionType.java index 1db3d4549..337d033e6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLossReductionType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphLossReductionType.java @@ -38,6 +38,10 @@ /**/@Marshaler(ValuedEnum.AsLongMarshaler.class)/**/ public enum /**/MPSGraphLossReductionType/**/ implements ValuedEnum { /**/ + /** + * @since Available in iOS 17.0 and later. + */ + None(0L), /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphNonMaximumSuppressionCoordinateMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphNonMaximumSuppressionCoordinateMode.java new file mode 100644 index 000000000..245c958d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphNonMaximumSuppressionCoordinateMode.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/MPSGraphNonMaximumSuppressionCoordinateMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + CornersHeightFirst(0L), + /** + * @since Available in iOS 17.0 and later. + */ + CornersWidthFirst(1L), + /** + * @since Available in iOS 17.0 and later. + */ + CentersHeightFirst(2L), + /** + * @since Available in iOS 17.0 and later. + */ + CentersWidthFirst(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/MPSGraphNonMaximumSuppressionCoordinateMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/MPSGraphNonMaximumSuppressionCoordinateMode/**/ valueOf(long n) { + for (/**/MPSGraphNonMaximumSuppressionCoordinateMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/MPSGraphNonMaximumSuppressionCoordinateMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphObject.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphObject.java new file mode 100644 index 000000000..267e9c312 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphObject.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metalpsgraph; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.metalps.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ +/**/public/**/ class /**/MPSGraphObject/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class MPSGraphObjectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MPSGraphObject.class); }/**/ + /**//**/ + /**/ + public MPSGraphObject() {} + protected MPSGraphObject(Handle h, long handle) { super(h, handle); } + protected MPSGraphObject(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphOperation.java index 63caae96e..b1a1f6cc4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphOperation.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphOperation/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphOperationPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling2DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling2DOpDescriptor.java index 4ee973cba..d956b385f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling2DOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling2DOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphPooling2DOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphPooling2DOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling4DOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling4DOpDescriptor.java index 6a848310b..25daf6cff 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling4DOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphPooling4DOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphPooling4DOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphPooling4DOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphRandomOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphRandomOpDescriptor.java index 04c63091e..b8a991fac 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphRandomOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphRandomOpDescriptor.java @@ -37,7 +37,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphRandomOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphRandomOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphResizeNearestRoundingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphResizeNearestRoundingMode.java index 80940adb8..241f7d175 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphResizeNearestRoundingMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphResizeNearestRoundingMode.java @@ -53,7 +53,15 @@ public enum /**/MPSGraphResizeNearestRoundingMode/**/ implements Va /** * @since Available in iOS 16.0 and later. */ - Floor(3L); + Floor(3L), + /** + * @since Available in iOS 16.3 and later. + */ + RoundToEven(4L), + /** + * @since Available in iOS 16.3 and later. + */ + RoundToOdd(5L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphSingleGateRNNDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphSingleGateRNNDescriptor.java index 3c6899d11..6ef3d5fd3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphSingleGateRNNDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphSingleGateRNNDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphSingleGateRNNDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphSingleGateRNNDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphStencilOpDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphStencilOpDescriptor.java index 577da5a1f..2c83c1cd1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphStencilOpDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphStencilOpDescriptor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphStencilOpDescriptor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphStencilOpDescriptorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensor.java index 9035b90d6..cb4aa8ba4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensor.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphTensor/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphTensorPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorData.java index dd14985b7..28d23f4fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorData.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorData.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphTensorData/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphTensorDataPtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorNamedDataLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorNamedDataLayout.java index 1878d8b3c..b793e6c6e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorNamedDataLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphTensorNamedDataLayout.java @@ -65,7 +65,23 @@ public enum /**/MPSGraphTensorNamedDataLayout/**/ implements Valued /** * @since Available in iOS 14.0 and later. */ - HW(6L); + HW(6L), + /** + * @since Available in iOS 16.3 and later. + */ + NCDHW(7L), + /** + * @since Available in iOS 16.3 and later. + */ + NDHWC(8L), + /** + * @since Available in iOS 16.3 and later. + */ + OIDHW(9L), + /** + * @since Available in iOS 16.3 and later. + */ + DHWIO(10L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphType.java index fcfe9886c..13f0da2bf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metalpsgraph/MPSGraphType.java @@ -39,7 +39,7 @@ /**/ /**/@Library("MetalPerformanceShadersGraph") @NativeClass/**/ /**/public/**/ class /**/MPSGraphType/**/ - extends /**/NSObject/**/ + extends /**/MPSGraphObject/**/ /**//**/ { /**/public static class MPSGraphTypePtr extends Ptr {}/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnostic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnostic.java index 42a3ac782..04b403923 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnostic.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnostic.java @@ -61,6 +61,11 @@ public MXCrashDiagnostic() {} public native NSNumber getExceptionCode(); @Property(selector = "signal") public native NSNumber getSignal(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "exceptionReason") + public native MXCrashDiagnosticObjectiveCExceptionReason getExceptionReason(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnosticObjectiveCExceptionReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnosticObjectiveCExceptionReason.java new file mode 100644 index 000000000..93241f9d7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXCrashDiagnosticObjectiveCExceptionReason.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metrickit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetricKit") @NativeClass/**/ +/**/public/**/ class /**/MXCrashDiagnosticObjectiveCExceptionReason/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class MXCrashDiagnosticObjectiveCExceptionReasonPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MXCrashDiagnosticObjectiveCExceptionReason.class); }/**/ + /**//**/ + /**/ + public MXCrashDiagnosticObjectiveCExceptionReason() {} + protected MXCrashDiagnosticObjectiveCExceptionReason(Handle h, long handle) { super(h, handle); } + protected MXCrashDiagnosticObjectiveCExceptionReason(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public MXCrashDiagnosticObjectiveCExceptionReason(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "composedMessage") + public native String getComposedMessage(); + @Property(selector = "formatString") + public native String getFormatString(); + @Property(selector = "arguments") + public native NSArray getArguments(); + @Property(selector = "exceptionType") + public native String getExceptionType(); + @Property(selector = "className") + public native String getClassName(); + @Property(selector = "exceptionName") + public native String getExceptionName(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "JSONRepresentation") + public native NSData JSONRepresentation(); + @Method(selector = "dictionaryRepresentation") + public native NSDictionary dictionaryRepresentation(); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXDiagnostic.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXDiagnostic.java index 9aaa819be..4a3cb5e75 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXDiagnostic.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXDiagnostic.java @@ -55,6 +55,11 @@ public MXDiagnostic() {} public native MXMetaData getMetaData(); @Property(selector = "applicationVersion") public native String getApplicationVersion(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "signpostData") + public native NSArray getSignpostData(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXMetaData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXMetaData.java index cabb95428..96d646c46 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXMetaData.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXMetaData.java @@ -64,6 +64,21 @@ public MXMetaData() {} */ @Property(selector = "platformArchitecture") public native String getPlatformArchitecture(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "lowPowerModeEnabled") + public native boolean isLowPowerModeEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isTestFlightApp") + public native boolean isTestFlightApp(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "pid") + public native int getPid(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXSignpostRecord.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXSignpostRecord.java new file mode 100644 index 000000000..0a3069426 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/metrickit/MXSignpostRecord.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.metrickit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("MetricKit") @NativeClass/**/ +/**/public/**/ class /**/MXSignpostRecord/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class MXSignpostRecordPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(MXSignpostRecord.class); }/**/ + /**//**/ + /**/ + public MXSignpostRecord() {} + protected MXSignpostRecord(Handle h, long handle) { super(h, handle); } + protected MXSignpostRecord(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public MXSignpostRecord(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "subsystem") + public native String getSubsystem(); + @Property(selector = "category") + public native String getCategory(); + @Property(selector = "name") + public native String getName(); + @Property(selector = "beginTimeStamp") + public native NSDate getBeginTimeStamp(); + @Property(selector = "endTimeStamp") + public native NSDate getEndTimeStamp(); + @Property(selector = "duration") + public native NSMeasurement getDuration(); + @Property(selector = "isInterval") + public native boolean isInterval(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "JSONRepresentation") + public native NSData JSONRepresentation(); + @Method(selector = "dictionaryRepresentation") + public native NSDictionary dictionaryRepresentation(); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationDescriptor.java index 88adce054..ea0d9af87 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCActivationDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationLayer.java index 86ffc1662..a00e4833d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCActivationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCActivationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamOptimizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamOptimizer.java index 723633ae8..37a45e2fe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamOptimizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamOptimizer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCAdamOptimizer/**/ extends /**/MLCOptimizer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamWOptimizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamWOptimizer.java index d74054bfa..686948704 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamWOptimizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCAdamWOptimizer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 15.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCAdamWOptimizer/**/ extends /**/MLCOptimizer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCArithmeticLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCArithmeticLayer.java index cfa577f3a..d76ace294 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCArithmeticLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCArithmeticLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCArithmeticLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCBatchNormalizationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCBatchNormalizationLayer.java index 3d4c79cc0..eade40696 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCBatchNormalizationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCBatchNormalizationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCBatchNormalizationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCComparisonLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCComparisonLayer.java index ba87bc935..6a328a566 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCComparisonLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCComparisonLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.5 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCComparisonLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConcatenationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConcatenationLayer.java index 89a486ee0..38b58cef5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConcatenationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConcatenationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCConcatenationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionDescriptor.java index 0618b52a7..d69ad6322 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCConvolutionDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionLayer.java index dfb89d1a3..8c48fb3f9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCConvolutionLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCConvolutionLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDevice.java index eb69f9212..2a94a7e3f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDevice.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCDevice/**/ extends /**/NSObject/**/ /**//**/ { @@ -54,7 +55,7 @@ public MLCDevice() {} * @since Available in iOS 14.5 and later. */ public MLCDevice(MLCDeviceType type, boolean selectsMultipleComputeDevices) { super((Handle) null, create(type, selectsMultipleComputeDevices)); retain(getHandle()); } - public MLCDevice(NSArray gpus) { super((Handle) null, create(gpus)); retain(getHandle()); } + public MLCDevice(NSArray gpus) { super((Handle) null, create(gpus)); retain(getHandle()); } /**/ /**/ @Property(selector = "type") @@ -65,7 +66,7 @@ public MLCDevice() {} @Property(selector = "actualDeviceType") public native MLCDeviceType getActualDeviceType(); @Property(selector = "gpuDevices") - public native NSArray getGpuDevices(); + public native NSArray getGpuDevices(); /**/ /**//**/ /**/ @@ -86,6 +87,6 @@ public MLCDevice() {} @Method(selector = "deviceWithType:selectsMultipleComputeDevices:") protected static native @Pointer long create(MLCDeviceType type, boolean selectsMultipleComputeDevices); @Method(selector = "deviceWithGPUDevices:") - protected static native @Pointer long create(NSArray gpus); + protected static native @Pointer long create(NSArray gpus); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDropoutLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDropoutLayer.java index 074cc9b40..8f2588dcc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDropoutLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCDropoutLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCDropoutLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingDescriptor.java index 0049ea492..11c89868e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCEmbeddingDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingLayer.java index e32b1ec92..0a53a8b93 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCEmbeddingLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCEmbeddingLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCFullyConnectedLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCFullyConnectedLayer.java index 0fa3344b3..b939c0132 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCFullyConnectedLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCFullyConnectedLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCFullyConnectedLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGatherLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGatherLayer.java index aae75efbd..5399822c9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGatherLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGatherLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.5 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCGatherLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGramMatrixLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGramMatrixLayer.java index fa895b0f5..c1baa91fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGramMatrixLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGramMatrixLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCGramMatrixLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGraph.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGraph.java index f2f6e7527..6c1498e2f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGraph.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGraph.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCGraph/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGroupNormalizationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGroupNormalizationLayer.java index ce959d657..fa8539729 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGroupNormalizationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCGroupNormalizationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCGroupNormalizationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInferenceGraph.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInferenceGraph.java index f4acf4c98..07d4f3589 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInferenceGraph.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInferenceGraph.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCInferenceGraph/**/ extends /**/MLCGraph/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInstanceNormalizationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInstanceNormalizationLayer.java index d1a8b7e29..0d960b336 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInstanceNormalizationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCInstanceNormalizationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCInstanceNormalizationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMDescriptor.java index 5bcfa3b30..324704d78 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLSTMDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMLayer.java index 7d919fd82..2d94765e2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLSTMLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLSTMLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayer.java index b15ee11fc..57811b53a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLayer/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayerNormalizationLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayerNormalizationLayer.java index d503bf7fc..6cc88b58f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayerNormalizationLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLayerNormalizationLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLayerNormalizationLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossDescriptor.java index 8d336dbdc..66d26b880 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLossDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossLayer.java index 3b4500d9c..7fa6594fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCLossLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCLossLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulDescriptor.java index 9b806207c..32c84f735 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCMatMulDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulLayer.java index e7d001528..0a9f433cc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMatMulLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCMatMulLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionDescriptor.java index 40d829af5..cbd431e76 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCMultiheadAttentionDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionLayer.java index fe74ed9f0..f12b7aebd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCMultiheadAttentionLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCMultiheadAttentionLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizer.java index 4880eaf5e..4f1af8c45 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCOptimizer/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizerDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizerDescriptor.java index fb90f3e6d..d17d30634 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizerDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCOptimizerDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCOptimizerDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPaddingLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPaddingLayer.java index c7081fc7c..6eff71381 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPaddingLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPaddingLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCPaddingLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPlatform.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPlatform.java index 5cc7b7aa2..4da5f5599 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPlatform.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPlatform.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 15.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCPlatform/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingDescriptor.java index b51cc20b8..66b952d65 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCPoolingDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingLayer.java index 0d483d59b..2e8b83b0c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCPoolingLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCPoolingLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReductionLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReductionLayer.java index 72c7999a9..b29b07f2d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReductionLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReductionLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCReductionLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReshapeLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReshapeLayer.java index fee0bf1b6..bd903bb51 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReshapeLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCReshapeLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCReshapeLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSGDOptimizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSGDOptimizer.java index 2b479eaed..87ef8a440 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSGDOptimizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSGDOptimizer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCSGDOptimizer/**/ extends /**/MLCOptimizer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCScatterLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCScatterLayer.java index 39266b34e..116638c06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCScatterLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCScatterLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.5 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCScatterLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSelectionLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSelectionLayer.java index d4e3e6a22..e91014077 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSelectionLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSelectionLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.5 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCSelectionLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSliceLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSliceLayer.java index 1b5bb009f..1a5d5787a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSliceLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSliceLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCSliceLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSoftmaxLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSoftmaxLayer.java index 7e25dc65b..05048f12e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSoftmaxLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSoftmaxLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCSoftmaxLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSplitLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSplitLayer.java index 36867e78b..2c6867d3c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSplitLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCSplitLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCSplitLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensor.java index ea06febf8..c9cead50d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTensor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorData.java index bec6e4fdc..8d491fabb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorData.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorData.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTensorData/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorDescriptor.java index 6ea450090..4564bb8b0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTensorDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorParameter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorParameter.java index 5b43e0d35..b2a1bf50d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorParameter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTensorParameter.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTensorParameter/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTrainingGraph.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTrainingGraph.java index 3a7ca75fa..0b02f1b91 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTrainingGraph.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTrainingGraph.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTrainingGraph/**/ extends /**/MLCGraph/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTransposeLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTransposeLayer.java index 1690744bc..8153dde6c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTransposeLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCTransposeLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCTransposeLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCUpsampleLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCUpsampleLayer.java index ad27b0d3f..d61033e01 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCUpsampleLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCUpsampleLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCUpsampleLayer/**/ extends /**/MLCLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossDescriptor.java index 8b5d3b6db..9b436ac83 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossDescriptor.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCYOLOLossDescriptor/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossLayer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossLayer.java index 6de578c9e..5d8ec8de3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossLayer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/mlcompute/MLCYOLOLossLayer.java @@ -35,9 +35,10 @@ /**/ /** * @since Available in iOS 14.0 and later. + * @deprecated Use Metal Performance Shaders Graph or BNNS instead. */ /**/ -/**/@Library("MLCompute") @NativeClass/**/ +/**/@Library("MLCompute") @NativeClass @Deprecated/**/ /**/public/**/ class /**/MLCYOLOLossLayer/**/ extends /**/MLCLossLayer/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbedding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbedding.java new file mode 100644 index 000000000..c1c653a77 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbedding.java @@ -0,0 +1,102 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.naturallanguage; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("NaturalLanguage") @NativeClass/**/ +/**/public/**/ class /**/NLContextualEmbedding/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NLContextualEmbeddingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NLContextualEmbedding.class); }/**/ + /**//**/ + /**/ + protected NLContextualEmbedding() {} + protected NLContextualEmbedding(Handle h, long handle) { super(h, handle); } + protected NLContextualEmbedding(SkipInit skipInit) { super(skipInit); } + public NLContextualEmbedding(String modelIdentifier) { super((Handle) null, create(modelIdentifier)); retain(getHandle()); } + public NLContextualEmbedding(NLLanguage language) { super((Handle) null, create(language)); retain(getHandle()); } + public NLContextualEmbedding(NLScript script) { super((Handle) null, create(script)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "modelIdentifier") + public native String getModelIdentifier(); + @Property(selector = "languages") + public native NSArray getLanguages(); + @Property(selector = "scripts") + public native NSArray getScripts(); + @Property(selector = "revision") + public native @MachineSizedUInt long getRevision(); + @Property(selector = "dimension") + public native @MachineSizedUInt long getDimension(); + @Property(selector = "maximumSequenceLength") + public native @MachineSizedUInt long getMaximumSequenceLength(); + @Property(selector = "hasAvailableAssets") + public native boolean hasAvailableAssets(); + /**/ + /**//**/ + /**/ + public boolean load() throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = load(ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "loadWithError:") + private native boolean load(NSError.NSErrorPtr error); + @Method(selector = "unload") + public native void unload(); + public NLContextualEmbeddingResult embeddingResult(String string, NLLanguage language) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NLContextualEmbeddingResult result = embeddingResult(string, language, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "embeddingResultForString:language:error:") + private native NLContextualEmbeddingResult embeddingResult(String string, NLLanguage language, NSError.NSErrorPtr error); + @Method(selector = "requestEmbeddingAssetsWithCompletionHandler:") + public native void requestEmbeddingAssets(@Block VoidBlock2 completionHandler); + @Method(selector = "contextualEmbeddingWithModelIdentifier:") + protected static native @Pointer long create(String modelIdentifier); + @Method(selector = "contextualEmbeddingsForValues:") + public static native NSArray contextualEmbeddingsForValues(NSDictionary valuesDictionary); + @Method(selector = "contextualEmbeddingWithLanguage:") + protected static native @Pointer long create(NLLanguage language); + @Method(selector = "contextualEmbeddingWithScript:") + protected static native @Pointer long create(NLScript script); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingAssetsResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingAssetsResult.java new file mode 100644 index 000000000..1819b55ea --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingAssetsResult.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.naturallanguage; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/NLContextualEmbeddingAssetsResult/**/ implements ValuedEnum { + /**/ + Available(0L), + NotAvailable(1L), + Error(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/NLContextualEmbeddingAssetsResult/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NLContextualEmbeddingAssetsResult/**/ valueOf(long n) { + for (/**/NLContextualEmbeddingAssetsResult/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NLContextualEmbeddingAssetsResult/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingKey.java new file mode 100644 index 000000000..d10bb922b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingKey.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.naturallanguage; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +/**/ + +/**/ +/**/ +/**/@Library("NaturalLanguage") @StronglyLinked/**/ +@Marshaler(/**/NLContextualEmbeddingKey/**/.Marshaler.class) +/**/public/**/ class /**/NLContextualEmbeddingKey/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/NLContextualEmbeddingKey/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static NLContextualEmbeddingKey toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return NLContextualEmbeddingKey.valueOf(o); + } + @MarshalsPointer + public static long toNative(NLContextualEmbeddingKey o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(NLContextualEmbeddingKey.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (NLContextualEmbeddingKey o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + public static final NLContextualEmbeddingKey Languages = new NLContextualEmbeddingKey("Languages"); + public static final NLContextualEmbeddingKey Scripts = new NLContextualEmbeddingKey("Scripts"); + public static final NLContextualEmbeddingKey Revision = new NLContextualEmbeddingKey("Revision"); + /**/ + + private static /**/NLContextualEmbeddingKey/**/[] values = new /**/NLContextualEmbeddingKey/**/[] {/**/Languages, Scripts, Revision/**/}; + + /**/NLContextualEmbeddingKey/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/NLContextualEmbeddingKey/**/ valueOf(/**/NSString/**/ value) { + for (/**/NLContextualEmbeddingKey/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/NLContextualEmbeddingKey/**/.class.getName()); + } + + /**//**/ + + /**/@Library("NaturalLanguage") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + @GlobalValue(symbol="NLContextualEmbeddingKeyLanguages", optional=true) + public static native NSString Languages(); + @GlobalValue(symbol="NLContextualEmbeddingKeyScripts", optional=true) + public static native NSString Scripts(); + @GlobalValue(symbol="NLContextualEmbeddingKeyRevision", optional=true) + public static native NSString Revision(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingResult.java new file mode 100644 index 000000000..5529b386b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLContextualEmbeddingResult.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.naturallanguage; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("NaturalLanguage") @NativeClass/**/ +/**/public/**/ class /**/NLContextualEmbeddingResult/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NLContextualEmbeddingResultPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NLContextualEmbeddingResult.class); }/**/ + /**//**/ + /**/ + protected NLContextualEmbeddingResult() {} + protected NLContextualEmbeddingResult(Handle h, long handle) { super(h, handle); } + protected NLContextualEmbeddingResult(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "string") + public native String getString(); + @Property(selector = "language") + public native NLLanguage getLanguage(); + @Property(selector = "sequenceLength") + public native @MachineSizedUInt long getSequenceLength(); + /**/ + /**//**/ + /**/ + @Method(selector = "enumerateTokenVectorsInRange:usingBlock:") + public native void enumerateTokenVectors(@ByVal NSRange range, @Block("(,@ByVal,)") VoidBlock3, NSRange, BooleanPtr> block); + @Method(selector = "tokenVectorAtIndex:tokenRange:") + public native NSArray getTokenVector(@MachineSizedUInt long characterIndex, NSRange tokenRange); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLScript.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLScript.java new file mode 100644 index 000000000..1cf83bef5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/naturallanguage/NLScript.java @@ -0,0 +1,397 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.naturallanguage; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +/**/ + +/**/ +/**/ +/**/@Library("NaturalLanguage") @StronglyLinked/**/ +@Marshaler(/**/NLScript/**/.Marshaler.class) +/**/public/**/ class /**/NLScript/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/NLScript/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static NLScript toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return NLScript.valueOf(o); + } + @MarshalsPointer + public static long toNative(NLScript o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(NLScript.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (NLScript o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Undetermined = new NLScript("Undetermined"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Arabic = new NLScript("Arabic"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Armenian = new NLScript("Armenian"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Bengali = new NLScript("Bengali"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript CanadianAboriginalSyllabics = new NLScript("CanadianAboriginalSyllabics"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Cherokee = new NLScript("Cherokee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Cyrillic = new NLScript("Cyrillic"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Devanagari = new NLScript("Devanagari"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Ethiopic = new NLScript("Ethiopic"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Georgian = new NLScript("Georgian"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Greek = new NLScript("Greek"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Gujarati = new NLScript("Gujarati"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Gurmukhi = new NLScript("Gurmukhi"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Hebrew = new NLScript("Hebrew"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Japanese = new NLScript("Japanese"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Kannada = new NLScript("Kannada"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Khmer = new NLScript("Khmer"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Korean = new NLScript("Korean"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Lao = new NLScript("Lao"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Latin = new NLScript("Latin"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Malayalam = new NLScript("Malayalam"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Mongolian = new NLScript("Mongolian"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Myanmar = new NLScript("Myanmar"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Oriya = new NLScript("Oriya"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript SimplifiedChinese = new NLScript("SimplifiedChinese"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Sinhala = new NLScript("Sinhala"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Tamil = new NLScript("Tamil"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Telugu = new NLScript("Telugu"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Thai = new NLScript("Thai"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript Tibetan = new NLScript("Tibetan"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NLScript TraditionalChinese = new NLScript("TraditionalChinese"); + /**/ + + private static /**/NLScript/**/[] values = new /**/NLScript/**/[] {/**/Undetermined, Arabic, Armenian, Bengali, CanadianAboriginalSyllabics, Cherokee, Cyrillic, Devanagari, Ethiopic, Georgian, Greek, Gujarati, Gurmukhi, Hebrew, Japanese, Kannada, Khmer, Korean, Lao, Latin, Malayalam, Mongolian, Myanmar, Oriya, SimplifiedChinese, Sinhala, Tamil, Telugu, Thai, Tibetan, TraditionalChinese/**/}; + + /**/NLScript/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/NLScript/**/ valueOf(/**/NSString/**/ value) { + for (/**/NLScript/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/NLScript/**/.class.getName()); + } + + /**//**/ + + /**/@Library("NaturalLanguage") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptUndetermined", optional=true) + public static native NSString Undetermined(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptArabic", optional=true) + public static native NSString Arabic(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptArmenian", optional=true) + public static native NSString Armenian(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptBengali", optional=true) + public static native NSString Bengali(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptCanadianAboriginalSyllabics", optional=true) + public static native NSString CanadianAboriginalSyllabics(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptCherokee", optional=true) + public static native NSString Cherokee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptCyrillic", optional=true) + public static native NSString Cyrillic(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptDevanagari", optional=true) + public static native NSString Devanagari(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptEthiopic", optional=true) + public static native NSString Ethiopic(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptGeorgian", optional=true) + public static native NSString Georgian(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptGreek", optional=true) + public static native NSString Greek(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptGujarati", optional=true) + public static native NSString Gujarati(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptGurmukhi", optional=true) + public static native NSString Gurmukhi(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptHebrew", optional=true) + public static native NSString Hebrew(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptJapanese", optional=true) + public static native NSString Japanese(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptKannada", optional=true) + public static native NSString Kannada(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptKhmer", optional=true) + public static native NSString Khmer(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptKorean", optional=true) + public static native NSString Korean(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptLao", optional=true) + public static native NSString Lao(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptLatin", optional=true) + public static native NSString Latin(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptMalayalam", optional=true) + public static native NSString Malayalam(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptMongolian", optional=true) + public static native NSString Mongolian(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptMyanmar", optional=true) + public static native NSString Myanmar(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptOriya", optional=true) + public static native NSString Oriya(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptSimplifiedChinese", optional=true) + public static native NSString SimplifiedChinese(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptSinhala", optional=true) + public static native NSString Sinhala(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptTamil", optional=true) + public static native NSString Tamil(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptTelugu", optional=true) + public static native NSString Telugu(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptThai", optional=true) + public static native NSString Thai(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptTibetan", optional=true) + public static native NSString Tibetan(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NLScriptTraditionalChinese", optional=true) + public static native NSString TraditionalChinese(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapability.java index 37484dd72..9ee162cb9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapability.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapability.java @@ -52,6 +52,11 @@ boolean supportsDirectionMeasurement(); @Property(selector = "supportsCameraAssistance") boolean supportsCameraAssistance(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supportsExtendedDistanceMeasurement") + boolean supportsExtendedDistanceMeasurement(); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapabilityAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapabilityAdapter.java index 52d3a3757..d66a14df5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapabilityAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDeviceCapabilityAdapter.java @@ -51,6 +51,11 @@ public boolean supportsDirectionMeasurement() { return false; } @NotImplemented("supportsCameraAssistance") public boolean supportsCameraAssistance() { return false; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("supportsExtendedDistanceMeasurement") + public boolean supportsExtendedDistanceMeasurement() { return false; } /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDiscoveryToken.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDiscoveryToken.java index 4de937d77..c46b99dca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDiscoveryToken.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIDiscoveryToken.java @@ -52,6 +52,11 @@ protected NIDiscoveryToken() {} public NIDiscoveryToken(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "deviceCapabilities") + public native NIDeviceCapability getDeviceCapabilities(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIErrorCode.java index 119416bb5..e98d4ef4a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NIErrorCode.java @@ -50,7 +50,15 @@ public enum /**/NIErrorCode/**/ implements NSErrorCode { /** * @since Available in iOS 16.0 and later. */ - AccessoryPeerDeviceUnavailable(-5882L); + AccessoryPeerDeviceUnavailable(-5882L), + /** + * @since Available in iOS 17.0 and later. + */ + IncompatiblePeerDevice(-5881L), + /** + * @since Available in iOS 17.0 and later. + */ + ActiveExtendedDistanceSessionsLimitExceeded(-5880L); /**/ /**/static { Bro.bind(NIErrorCode.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NINearbyPeerConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NINearbyPeerConfiguration.java index 43065fa9a..e68851112 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NINearbyPeerConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/nearbyinteraction/NINearbyPeerConfiguration.java @@ -64,6 +64,16 @@ protected NINearbyPeerConfiguration() {} */ @Property(selector = "setCameraAssistanceEnabled:") public native void setCameraAssistanceEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isExtendedDistanceMeasurementEnabled") + public native boolean isExtendedDistanceMeasurementEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setExtendedDistanceMeasurementEnabled:") + public native void setExtendedDistanceMeasurementEnabled(boolean v); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPathUnsatisfiedReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPathUnsatisfiedReason.java index 1c13a8f48..652f53dd9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPathUnsatisfiedReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPathUnsatisfiedReason.java @@ -41,7 +41,11 @@ public enum /**/NWPathUnsatisfiedReason/**/ implements ValuedEnum { not_available(0L), cellular_denied(1L), wifi_denied(2L), - local_network_denied(3L); + local_network_denied(3L), + /** + * @since Available in iOS 17.0 and later. + */ + vpn_inactive(4L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPrivacyContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPrivacyContext.java index 1395e5c75..9e9195685 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPrivacyContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWPrivacyContext.java @@ -76,6 +76,16 @@ */ @Bridge(symbol="nw_privacy_context_require_encrypted_name_resolution", optional=true) public native void requireEncryptedNameResolution(boolean require_encrypted_name_resolution, NWResolverConfig fallback_resolver_config); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_privacy_context_add_proxy", optional=true) + public native void addProxy(NWProxyConfig proxy_config); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_privacy_context_clear_proxies", optional=true) + public native void clearProxies(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWProxyConfig.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWProxyConfig.java new file mode 100644 index 000000000..9684bcb00 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWProxyConfig.java @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.network; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Network")/**/ +/**/public final/**/ class /**/NWProxyConfig/**/ + extends /**/NWObject/**/ + /**/implements NSObjectProtocol/**/ { + + /**/public static class NWProxyConfigPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NWProxyConfig.class); }/**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_create_relay", optional=true) + public static native NWProxyConfig createRelay(NWRelayHop first_hop, NWRelayHop second_hop); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_create_oblivious_http", optional=true) + public static native NWProxyConfig createObliviousHttp(NWRelayHop relay, BytePtr relay_resource_path, byte[] gateway_key_config, @MachineSizedUInt long gateway_key_config_length); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_create_http_connect", optional=true) + public static native NWProxyConfig createHttpConnect(NWEndpoint proxy_endpoint, NWProtocolOptions proxy_tls_options); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_create_socksv5", optional=true) + public static native NWProxyConfig createSocksv5(NWEndpoint proxy_endpoint); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_set_username_and_password", optional=true) + public native void setUsernameAndPassword(@org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String username, @org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String password); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_set_failover_allowed", optional=true) + public native void setFailoverAllowed(boolean failover_allowed); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_get_failover_allowed", optional=true) + public native boolean getFailoverAllowed(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_add_match_domain", optional=true) + public native void addMatchDomain(@org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String match_domain); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_clear_match_domains", optional=true) + public native void clearMatchDomains(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_add_excluded_domain", optional=true) + public native void addExcludedDomain(@org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String excluded_domain); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_clear_excluded_domains", optional=true) + public native void clearExcludedDomains(); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_enumerate_match_domains", optional=true) + public native void enumerateMatchDomains(@Block VoidBlock1 enumerator); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_proxy_config_enumerate_excluded_domains", optional=true) + public native void enumerateExcludedDomains(@Block VoidBlock1 enumerator); + + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWQuicStreamType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWQuicStreamType.java index fab871ed3..dee95cd2f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWQuicStreamType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWQuicStreamType.java @@ -40,7 +40,8 @@ public enum /**/NWQuicStreamType/**/ implements ValuedEnum { /**/ unknown(0L), bidirectional(1L), - unidirectional(2L); + unidirectional(2L), + datagram(3L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWRelayHop.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWRelayHop.java new file mode 100644 index 000000000..58a614192 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/network/NWRelayHop.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.network; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.security.*; +/**/ + +/**/ + +/**/ +/**/@Library("Network")/**/ +/**/public final/**/ class /**/NWRelayHop/**/ + extends /**/NWObject/**/ + /**/implements NSObjectProtocol/**/ { + + /**/public static class NWRelayHopPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NWRelayHop.class); }/**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public NWRelayHop(NWEndpoint http3_relay_endpoint, NWEndpoint http2_relay_endpoint, NWProtocolOptions relay_tls_options) { super((Handle) null, create(http3_relay_endpoint, http2_relay_endpoint, relay_tls_options)); } + + + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_relay_hop_create", optional=true) + private static native @Pointer long create(NWEndpoint http3_relay_endpoint, NWEndpoint http2_relay_endpoint, NWProtocolOptions relay_tls_options); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="nw_relay_hop_add_additional_http_header_field", optional=true) + public native void addAdditionalHttpHeaderField(@org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String field_name, @org.robovm.rt.bro.annotation.Marshaler(StringMarshalers.AsAsciiZMarshaler.class) String field_value); + + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEAppPushProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEAppPushProvider.java index 7311b9b99..597008072 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEAppPushProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEAppPushProvider.java @@ -81,6 +81,11 @@ public NEAppPushProvider() {} */ @Method(selector = "reportIncomingCallWithUserInfo:") public native void reportIncomingCall(NSDictionary userInfo); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "reportPushToTalkMessageWithUserInfo:") + public native void reportPushToTalkMessage(NSDictionary userInfo); /** * @since Available in iOS 14.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEFailureHandlerProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEFailureHandlerProvider.java new file mode 100644 index 000000000..1d8842f75 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEFailureHandlerProvider.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.networkextension; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.security.*; +import org.robovm.apple.network.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("NetworkExtension") @NativeClass/**/ +/**/public/**/ class /**/NEFailureHandlerProvider/**/ + extends /**/NEProvider/**/ + /**//**/ { + + /**/public static class NEFailureHandlerProviderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NEFailureHandlerProvider.class); }/**/ + /**//**/ + /**/ + public NEFailureHandlerProvider() {} + protected NEFailureHandlerProvider(Handle h, long handle) { super(h, handle); } + protected NEFailureHandlerProvider(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "handleFailure:completionHandler:") + public native void handleFailure(NSError error, @Block Runnable completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelay.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelay.java new file mode 100644 index 000000000..4d129017a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelay.java @@ -0,0 +1,113 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.networkextension; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.security.*; +import org.robovm.apple.network.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("NetworkExtension") @NativeClass/**/ +/**/public/**/ class /**/NERelay/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NERelayPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NERelay.class); }/**/ + /**//**/ + /**/ + public NERelay() {} + protected NERelay(Handle h, long handle) { super(h, handle); } + protected NERelay(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public NERelay(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "HTTP3RelayURL") + public native NSURL getHTTP3RelayURL(); + @Property(selector = "setHTTP3RelayURL:") + public native void setHTTP3RelayURL(NSURL v); + @Property(selector = "HTTP2RelayURL") + public native NSURL getHTTP2RelayURL(); + @Property(selector = "setHTTP2RelayURL:") + public native void setHTTP2RelayURL(NSURL v); + @Property(selector = "dnsOverHTTPSURL") + public native NSURL getDnsOverHTTPSURL(); + @Property(selector = "setDnsOverHTTPSURL:") + public native void setDnsOverHTTPSURL(NSURL v); + @Property(selector = "syntheticDNSAnswerIPv4Prefix") + public native String getSyntheticDNSAnswerIPv4Prefix(); + @Property(selector = "setSyntheticDNSAnswerIPv4Prefix:") + public native void setSyntheticDNSAnswerIPv4Prefix(String v); + @Property(selector = "syntheticDNSAnswerIPv6Prefix") + public native String getSyntheticDNSAnswerIPv6Prefix(); + @Property(selector = "setSyntheticDNSAnswerIPv6Prefix:") + public native void setSyntheticDNSAnswerIPv6Prefix(String v); + @Property(selector = "additionalHTTPHeaderFields") + public native NSDictionary getAdditionalHTTPHeaderFields(); + @Property(selector = "setAdditionalHTTPHeaderFields:") + public native void setAdditionalHTTPHeaderFields(NSDictionary v); + @Property(selector = "rawPublicKeys") + public native NSArray getRawPublicKeys(); + @Property(selector = "setRawPublicKeys:") + public native void setRawPublicKeys(NSArray v); + @Property(selector = "identityData") + public native NSData getIdentityData(); + @Property(selector = "setIdentityData:") + public native void setIdentityData(NSData v); + @Property(selector = "identityDataPassword") + public native String getIdentityDataPassword(); + @Property(selector = "setIdentityDataPassword:") + public native void setIdentityDataPassword(String v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Library("NetworkExtension") + public static class Notifications { + static { Bro.bind(Notifications.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NERelayConfigurationDidChangeNotification", optional=true) + public static native String ConfigurationDidChange(); + } + + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManager.java new file mode 100644 index 000000000..e48f14967 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManager.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.networkextension; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.security.*; +import org.robovm.apple.network.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("NetworkExtension") @NativeClass/**/ +/**/public/**/ class /**/NERelayManager/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class NERelayManagerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NERelayManager.class); }/**/ + /**//**/ + /**/ + public NERelayManager() {} + protected NERelayManager(Handle h, long handle) { super(h, handle); } + protected NERelayManager(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "localizedDescription") + public native String getLocalizedDescription(); + @Property(selector = "setLocalizedDescription:") + public native void setLocalizedDescription(String v); + @Property(selector = "isEnabled") + public native boolean isEnabled(); + @Property(selector = "setEnabled:") + public native void setEnabled(boolean v); + @Property(selector = "relays") + public native NSArray getRelays(); + @Property(selector = "setRelays:") + public native void setRelays(NSArray v); + @Property(selector = "matchDomains") + public native NSArray getMatchDomains(); + @Property(selector = "setMatchDomains:") + public native void setMatchDomains(NSArray v); + @Property(selector = "excludedDomains") + public native NSArray getExcludedDomains(); + @Property(selector = "setExcludedDomains:") + public native void setExcludedDomains(NSArray v); + @Property(selector = "onDemandRules") + public native NSArray getOnDemandRules(); + @Property(selector = "setOnDemandRules:") + public native void setOnDemandRules(NSArray v); + /**/ + /**//**/ + /**/ + @Method(selector = "loadFromPreferencesWithCompletionHandler:") + public native void loadFromPreferences(@Block VoidBlock1 completionHandler); + @Method(selector = "removeFromPreferencesWithCompletionHandler:") + public native void removeFromPreferences(@Block VoidBlock1 completionHandler); + @Method(selector = "saveToPreferencesWithCompletionHandler:") + public native void saveToPreferences(@Block VoidBlock1 completionHandler); + @Method(selector = "sharedManager") + public static native NERelayManager sharedManager(); + @Method(selector = "loadAllManagersFromPreferencesWithCompletionHandler:") + public static native void loadAllManagersFromPreferences(@Block VoidBlock2, NSError> completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManagerError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManagerError.java new file mode 100644 index 000000000..85d050d8b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NERelayManagerError.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.networkextension; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.security.*; +import org.robovm.apple.network.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("NetworkExtension")/**/ +public enum /**/NERelayManagerError/**/ implements NSErrorCode { + /**/ + ConfigurationInvalid(1L), + ConfigurationDisabled(2L), + ConfigurationStale(3L), + ConfigurationCannotBeRemoved(4L); + /**/ + + /**/static { Bro.bind(NERelayManagerError.class); }/**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NERelayErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/NERelayManagerError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/NERelayManagerError/**/ valueOf(long n) { + for (/**/NERelayManagerError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/NERelayManagerError/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/NERelayManagerError/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/NERelayManagerError/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2CertificateType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2CertificateType.java index 126b73157..4618efda1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2CertificateType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2CertificateType.java @@ -47,7 +47,11 @@ public enum /**/NEVPNIKEv2CertificateType/**/ implements ValuedEnum /** * @since Available in iOS 13.0 and later. */ - Ed25519(5L); + Ed25519(5L), + /** + * @since Available in iOS 17.0 and later. + */ + RSAPSS(6L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2DiffieHellmanGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2DiffieHellmanGroup.java index 194b8885b..aed0be96a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2DiffieHellmanGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2DiffieHellmanGroup.java @@ -38,22 +38,38 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ public enum /**/NEVPNIKEv2DiffieHellmanGroup/**/ implements ValuedEnum { /**/ - Invalid(0L), - _1(1L), - _2(2L), - _5(5L), - _14(14L), - _15(15L), - _16(16L), - _17(17L), - _18(18L), - _19(19L), - _20(20L), - _21(21L), + GroupInvalid(0L), + /** + * @deprecated Deprecated in iOS 17.0. Use Diffie Hellman group 14 or greater instead + */ + @Deprecated + Group1(1L), + /** + * @deprecated Deprecated in iOS 17.0. Use Diffie Hellman group 14 or greater instead + */ + @Deprecated + Group2(2L), + /** + * @deprecated Deprecated in iOS 17.0. Use Diffie Hellman group 14 or greater instead + */ + @Deprecated + Group5(5L), + Group14(14L), + Group15(15L), + Group16(16L), + Group17(17L), + Group18(18L), + Group19(19L), + Group20(20L), + Group21(21L), /** * @since Available in iOS 13.0 and later. */ - _31(31L); + Group31(31L), + /** + * @since Available in iOS 17.0 and later. + */ + Group32(32L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2EncryptionAlgorithm.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2EncryptionAlgorithm.java index a5275bc7b..7e76aaed3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2EncryptionAlgorithm.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2EncryptionAlgorithm.java @@ -38,13 +38,27 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ public enum /**/NEVPNIKEv2EncryptionAlgorithm/**/ implements ValuedEnum { /**/ + /** + * @deprecated Deprecated in iOS 17.0. Use an encryption algorithm with 256-bit keys instead + */ + @Deprecated DES(1L), + /** + * @deprecated Deprecated in iOS 17.0. Use an encryption algorithm with 256-bit keys instead + */ + @Deprecated _3DES(2L), + /** + * @deprecated Deprecated in iOS 17.0. Use an encryption algorithm with 256-bit keys instead + */ + @Deprecated AES128(3L), AES256(4L), /** * @since Available in iOS 8.3 and later. + * @deprecated Deprecated in iOS 17.0. Use an encryption algorithm with 256-bit keys instead */ + @Deprecated AES128GCM(5L), /** * @since Available in iOS 8.3 and later. diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2IntegrityAlgorithm.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2IntegrityAlgorithm.java index c9ca1e639..811b77bd7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2IntegrityAlgorithm.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNIKEv2IntegrityAlgorithm.java @@ -38,7 +38,15 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ public enum /**/NEVPNIKEv2IntegrityAlgorithm/**/ implements ValuedEnum { /**/ + /** + * @deprecated Deprecated in iOS 17.0. Use SHA-2 for integrity protection instead + */ + @Deprecated SHA96(1L), + /** + * @deprecated Deprecated in iOS 17.0. Use SHA-2 for integrity protection instead + */ + @Deprecated SHA160(2L), SHA256(3L), SHA384(4L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNManager.java index d805986f5..94f5339a2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNManager.java @@ -76,13 +76,13 @@ public NEVPNManager() {} @Property(selector = "setLocalizedDescription:") public native void setLocalizedDescription(String v); /** - * @deprecated Deprecated in iOS 9.0. Use protocolConfiguration instead + * @deprecated Deprecated in iOS 9.0. Use protocolConfiguration */ @Deprecated @Property(selector = "protocol") public native NEVPNProtocol getProtocol(); /** - * @deprecated Deprecated in iOS 9.0. Use protocolConfiguration instead + * @deprecated Deprecated in iOS 9.0. Use protocolConfiguration */ @Deprecated @Property(selector = "setProtocol:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNProtocol.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNProtocol.java index 416dca807..3f176ca4a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNProtocol.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/networkextension/NEVPNProtocol.java @@ -115,6 +115,26 @@ public NEVPNProtocol() {} */ @Property(selector = "setExcludeLocalNetworks:") public native void setExcludeLocalNetworks(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "excludeCellularServices") + public native boolean isExcludeCellularServices(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setExcludeCellularServices:") + public native void setExcludeCellularServices(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "excludeAPNs") + public native boolean isExcludeAPNs(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setExcludeAPNs:") + public native void setExcludeAPNs(boolean v); /** * @since Available in iOS 14.2 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKAddPassesViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKAddPassesViewController.java index 5c761b772..53a6d47b0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKAddPassesViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKAddPassesViewController.java @@ -54,6 +54,11 @@ public PKAddPassesViewController() {} public PKAddPassesViewController(PKPass pass) { super((SkipInit) null); initObject(init(pass)); } @Method(selector = "initWithPasses:") public PKAddPassesViewController(NSArray passes) { super((SkipInit) null); initObject(init(passes)); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIssuerData:signature:error:") + public PKAddPassesViewController(NSData issuerData, NSData signature, NSError.NSErrorPtr error) { super((SkipInit) null); initObject(init(issuerData, signature, error)); } @Method(selector = "initWithNibName:bundle:") public PKAddPassesViewController(String nibNameOrNil, NSBundle nibBundleOrNil) { super(nibNameOrNil, nibBundleOrNil); } @Method(selector = "initWithCoder:") @@ -71,6 +76,11 @@ public PKAddPassesViewController() {} protected native @Pointer long init(PKPass pass); @Method(selector = "initWithPasses:") protected native @Pointer long init(NSArray passes); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithIssuerData:signature:error:") + protected native @Pointer long init(NSData issuerData, NSData signature, NSError.NSErrorPtr error); @Method(selector = "canAddPasses") public static native boolean canAddPasses(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKApplePayLaterAvailability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKApplePayLaterAvailability.java new file mode 100644 index 000000000..9aea66205 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKApplePayLaterAvailability.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PKApplePayLaterAvailability/**/ implements ValuedEnum { + /**/ + Available(0L), + UnavailableItemIneligible(1L), + UnavailableRecurringTransaction(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PKApplePayLaterAvailability/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PKApplePayLaterAvailability/**/ valueOf(long n) { + for (/**/PKApplePayLaterAvailability/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PKApplePayLaterAvailability/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDeferredPaymentRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDeferredPaymentRequest.java new file mode 100644 index 000000000..ab29767c7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDeferredPaymentRequest.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("PassKit") @NativeClass/**/ +/**/public/**/ class /**/PKDeferredPaymentRequest/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PKDeferredPaymentRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PKDeferredPaymentRequest.class); }/**/ + /**//**/ + /**/ + protected PKDeferredPaymentRequest() {} + protected PKDeferredPaymentRequest(Handle h, long handle) { super(h, handle); } + protected PKDeferredPaymentRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPaymentDescription:deferredBilling:managementURL:") + public PKDeferredPaymentRequest(String paymentDescription, PKDeferredPaymentSummaryItem deferredBilling, NSURL managementURL) { super((SkipInit) null); initObject(init(paymentDescription, deferredBilling, managementURL)); } + /**/ + /**/ + @Property(selector = "paymentDescription") + public native String getPaymentDescription(); + @Property(selector = "setPaymentDescription:") + public native void setPaymentDescription(String v); + @Property(selector = "deferredBilling") + public native PKDeferredPaymentSummaryItem getDeferredBilling(); + @Property(selector = "setDeferredBilling:") + public native void setDeferredBilling(PKDeferredPaymentSummaryItem v); + @Property(selector = "billingAgreement") + public native String getBillingAgreement(); + @Property(selector = "setBillingAgreement:") + public native void setBillingAgreement(String v); + @Property(selector = "managementURL") + public native NSURL getManagementURL(); + @Property(selector = "setManagementURL:") + public native void setManagementURL(NSURL v); + @Property(selector = "tokenNotificationURL") + public native NSURL getTokenNotificationURL(); + @Property(selector = "setTokenNotificationURL:") + public native void setTokenNotificationURL(NSURL v); + @Property(selector = "freeCancellationDate") + public native NSDate getFreeCancellationDate(); + @Property(selector = "setFreeCancellationDate:") + public native void setFreeCancellationDate(NSDate v); + @Property(selector = "freeCancellationDateTimeZone") + public native NSTimeZone getFreeCancellationDateTimeZone(); + @Property(selector = "setFreeCancellationDateTimeZone:") + public native void setFreeCancellationDateTimeZone(NSTimeZone v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPaymentDescription:deferredBilling:managementURL:") + protected native @Pointer long init(String paymentDescription, PKDeferredPaymentSummaryItem deferredBilling, NSURL managementURL); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementErrorCode.java new file mode 100644 index 000000000..6dfe559e4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementErrorCode.java @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("PassKit")/**/ +public enum /**/PKDisbursementErrorCode/**/ implements NSErrorCode { + /**/ + UnknownError(-1L), + UnsupportedCardError(1L), + RecipientContactInvalidError(2L); + /**/ + + /**/static { Bro.bind(PKDisbursementErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKDisbursementErrorDomain", optional=true) + public static native String getClassDomain(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKDisbursementErrorContactFieldUserInfoKey", optional=true) + public static native String getContactFieldUserInfoKey(); + /**/ + + private final long n; + + private /**/PKDisbursementErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PKDisbursementErrorCode/**/ valueOf(long n) { + for (/**/PKDisbursementErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PKDisbursementErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/PKDisbursementErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/PKDisbursementErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementRequest.java index 4a22ab683..98d86a0a4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementRequest.java @@ -36,7 +36,9 @@ /**/ /**/ - +/** + * @since Available in iOS 17.0 and later. + */ /**/ /**/@Library("PassKit") @NativeClass/**/ /**/public/**/ class /**/PKDisbursementRequest/**/ @@ -50,61 +52,58 @@ public PKDisbursementRequest() {} protected PKDisbursementRequest(Handle h, long handle) { super(h, handle); } protected PKDisbursementRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMerchantIdentifier:currencyCode:regionCode:supportedNetworks:merchantCapabilities:summaryItems:") + public PKDisbursementRequest(String merchantIdentifier, String currencyCode, String regionCode, NSArray supportedNetworks, PKMerchantCapability merchantCapabilities, NSArray summaryItems) { super((SkipInit) null); initObject(init(merchantIdentifier, currencyCode, regionCode, supportedNetworks, merchantCapabilities, summaryItems)); } /**/ /**/ - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "amount") - public native NSDecimalNumber getAmount(); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "setAmount:") - public native void setAmount(NSDecimalNumber v); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "currencyCode") - public native String getCurrencyCode(); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "setCurrencyCode:") - public native void setCurrencyCode(String v); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "countryCode") - public native String getCountryCode(); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "setCountryCode:") - public native void setCountryCode(String v); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "requestSchedule") - public native PKDisbursementRequestSchedule getRequestSchedule(); - /** - * @since Available in iOS 12.2 and later. - */ - @Property(selector = "setRequestSchedule:") - public native void setRequestSchedule(PKDisbursementRequestSchedule v); - /** - * @since Available in iOS 12.2 and later. - */ + @Property(selector = "merchantIdentifier") + public native String getMerchantIdentifier(); + @Property(selector = "setMerchantIdentifier:") + public native void setMerchantIdentifier(String v); + @Property(selector = "regionCode") + public native String getRegionCode(); + @Property(selector = "setRegionCode:") + public native void setRegionCode(String v); + @Property(selector = "supportedNetworks") + public native NSArray getSupportedNetworks(); + @Property(selector = "setSupportedNetworks:") + public native void setSupportedNetworks(NSArray v); + @Property(selector = "merchantCapabilities") + public native PKMerchantCapability getMerchantCapabilities(); + @Property(selector = "setMerchantCapabilities:") + public native void setMerchantCapabilities(PKMerchantCapability v); @Property(selector = "summaryItems") public native NSArray getSummaryItems(); - /** - * @since Available in iOS 12.2 and later. - */ @Property(selector = "setSummaryItems:") public native void setSummaryItems(NSArray v); + @Property(selector = "currencyCode") + public native String getCurrencyCode(); + @Property(selector = "setCurrencyCode:") + public native void setCurrencyCode(String v); + @Property(selector = "requiredRecipientContactFields") + public native NSArray getRequiredRecipientContactFields(); + @Property(selector = "setRequiredRecipientContactFields:") + public native void setRequiredRecipientContactFields(NSArray v); + @Property(selector = "recipientContact") + public native PKContact getRecipientContact(); + @Property(selector = "setRecipientContact:") + public native void setRecipientContact(PKContact v); + @Property(selector = "supportedRegions") + public native NSArray getSupportedRegions(); + @Property(selector = "setSupportedRegions:") + public native void setSupportedRegions(NSArray v); + @Property(selector = "applicationData") + public native NSData getApplicationData(); + @Property(selector = "setApplicationData:") + public native void setApplicationData(NSData v); /**/ /**//**/ /**/ - + @Method(selector = "initWithMerchantIdentifier:currencyCode:regionCode:supportedNetworks:merchantCapabilities:summaryItems:") + protected native @Pointer long init(String merchantIdentifier, String currencyCode, String regionCode, NSArray supportedNetworks, PKMerchantCapability merchantCapabilities, NSArray summaryItems); + @Method(selector = "disbursementContactInvalidErrorWithContactField:localizedDescription:") + public static native NSError createDisbursementContactInvalidError(String field, String localizedDescription); + @Method(selector = "disbursementCardUnsupportedError") + public static native NSError disbursementCardUnsupportedError(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementSummaryItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementSummaryItem.java new file mode 100644 index 000000000..ad7163bf7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKDisbursementSummaryItem.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("PassKit") @NativeClass/**/ +/**/public/**/ class /**/PKDisbursementSummaryItem/**/ + extends /**/PKPaymentSummaryItem/**/ + /**//**/ { + + /**/public static class PKDisbursementSummaryItemPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PKDisbursementSummaryItem.class); }/**/ + /**//**/ + /**/ + public PKDisbursementSummaryItem() {} + protected PKDisbursementSummaryItem(Handle h, long handle) { super(h, handle); } + protected PKDisbursementSummaryItem(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKInstantFundsOutFeeSummaryItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKInstantFundsOutFeeSummaryItem.java new file mode 100644 index 000000000..1d69f54a6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKInstantFundsOutFeeSummaryItem.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("PassKit") @NativeClass/**/ +/**/public/**/ class /**/PKInstantFundsOutFeeSummaryItem/**/ + extends /**/PKPaymentSummaryItem/**/ + /**//**/ { + + /**/public static class PKInstantFundsOutFeeSummaryItemPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PKInstantFundsOutFeeSummaryItem.class); }/**/ + /**//**/ + /**/ + public PKInstantFundsOutFeeSummaryItem() {} + protected PKInstantFundsOutFeeSummaryItem(Handle h, long handle) { super(h, handle); } + protected PKInstantFundsOutFeeSummaryItem(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKMerchantCapability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKMerchantCapability.java index edf57557f..a6f72709a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKMerchantCapability.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKMerchantCapability.java @@ -52,6 +52,10 @@ public final class /**/PKMerchantCapability/**/ extends Bits*/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLPKPayLaterValidator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLPKPayLaterValidator.java new file mode 100644 index 000000000..f03de9b4a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLPKPayLaterValidator.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/**/ +/**/@Library("PassKit")/**/ +/**/public/**/ class /**/PKPayLPKPayLaterValidator/**/ + extends /**/CocoaUtility/**/ + /**//**/ { + + /**/ + /**/ + /**/static { Bro.bind(PKPayLPKPayLaterValidator.class); }/**/ + /**//**/ + /**//**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="PKPayLaterValidateAmount", optional=true) + public static native void validateAmount(NSDecimalNumber amount, String currencyCode, @Block VoidBooleanBlock completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterAction.java new file mode 100644 index 000000000..e9558094a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterAction.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PKPayLaterAction/**/ implements ValuedEnum { + /**/ + LearnMore(0L), + Calculator(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PKPayLaterAction/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PKPayLaterAction/**/ valueOf(long n) { + for (/**/PKPayLaterAction/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PKPayLaterAction/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterDisplayStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterDisplayStyle.java new file mode 100644 index 000000000..9b0fbabdd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterDisplayStyle.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PKPayLaterDisplayStyle/**/ implements ValuedEnum { + /**/ + Standard(0L), + Badge(1L), + Checkout(2L), + Price(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PKPayLaterDisplayStyle/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PKPayLaterDisplayStyle/**/ valueOf(long n) { + for (/**/PKPayLaterDisplayStyle/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PKPayLaterDisplayStyle/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterView.java new file mode 100644 index 000000000..ccfe59888 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterView.java @@ -0,0 +1,98 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("PassKit") @NativeClass/**/ +/**/public/**/ class /**/PKPayLaterView/**/ + extends /**/UIView/**/ + /**//**/ { + + /**/public static class PKPayLaterViewPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PKPayLaterView.class); }/**/ + /**//**/ + /**/ + protected PKPayLaterView() {} + protected PKPayLaterView(Handle h, long handle) { super(h, handle); } + protected PKPayLaterView(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithAmount:currencyCode:") + public PKPayLaterView(NSDecimalNumber amount, String currencyCode) { super((SkipInit) null); initObject(init(amount, currencyCode)); } + /**/ + /**/ + @Property(selector = "delegate") + public native PKPayLaterViewDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(PKPayLaterViewDelegate v); + @Property(selector = "amount") + public native NSDecimalNumber getAmount(); + @Property(selector = "setAmount:") + public native void setAmount(NSDecimalNumber v); + @Property(selector = "currencyCode") + public native String getCurrencyCode(); + @Property(selector = "setCurrencyCode:") + public native void setCurrencyCode(String v); + @Property(selector = "displayStyle") + public native PKPayLaterDisplayStyle getDisplayStyle(); + @Property(selector = "setDisplayStyle:") + public native void setDisplayStyle(PKPayLaterDisplayStyle v); + @Property(selector = "action") + public native PKPayLaterAction getAction(); + @Property(selector = "setAction:") + public native void setAction(PKPayLaterAction v); + @WeaklyLinked + @Property(selector = "layerClass") + public static native Class getLayerClass(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithAmount:currencyCode:") + protected native @Pointer long init(NSDecimalNumber amount, String currencyCode); + /** + * @since Available in iOS 9.0 and later. + */ + @Method(selector = "userInterfaceLayoutDirectionForSemanticContentAttribute:") + public static native UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute); + /** + * @since Available in iOS 10.0 and later. + */ + @Method(selector = "userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:") + public static native UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegate.java new file mode 100644 index 000000000..e5fba3b40 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegate.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.passkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/PKPayLaterViewDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "payLaterViewDidUpdateHeight:") + void payLaterViewDidUpdateHeight(PKPayLaterView view); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementNameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegateAdapter.java similarity index 71% rename from compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementNameAdapter.java rename to compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegateAdapter.java index 0a9e5bedb..ad0cc1b69 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/gamecontroller/GCAxisElementNameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPayLaterViewDelegateAdapter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.robovm.apple.gamecontroller; +package org.robovm.apple.passkit; /**/ import java.io.*; @@ -28,17 +28,19 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; -import org.robovm.apple.dispatch.*; import org.robovm.apple.uikit.*; -import org.robovm.apple.corehaptic.*; +import org.robovm.apple.addressbook.*; +import org.robovm.apple.contacts.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; /**/ /**/ /**/ /**//**/ -/**/public/**/ class /**/GCAxisElementNameAdapter/**/ - extends /**/GCPhysicalInputElementNameAdapter/**/ - /**/implements GCAxisElementName/**/ { +/**/public/**/ class /**/PKPayLaterViewDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements PKPayLaterViewDelegate/**/ { /**/ /**/ @@ -51,6 +53,7 @@ /**/ /**//**/ /**/ - + @NotImplemented("payLaterViewDidUpdateHeight:") + public void payLaterViewDidUpdateHeight(PKPayLaterView view) {} /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationController.java index d7c17edb9..aee3e0265 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationController.java @@ -54,6 +54,11 @@ public PKPaymentAuthorizationController() {} protected PKPaymentAuthorizationController(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithPaymentRequest:") public PKPaymentAuthorizationController(PKPaymentRequest request) { super((SkipInit) null); initObject(init(request)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDisbursementRequest:") + public PKPaymentAuthorizationController(PKDisbursementRequest request) { super((SkipInit) null); initObject(init(request)); } /**/ /**/ @Property(selector = "delegate") @@ -69,11 +74,31 @@ public PKPaymentAuthorizationController() {} public native void present(@Block VoidBooleanBlock completion); @Method(selector = "dismissWithCompletion:") public native void dismiss(@Block Runnable completion); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDisbursementRequest:") + protected native @Pointer long init(PKDisbursementRequest request); @Method(selector = "canMakePayments") public static native boolean canMakePayments(); @Method(selector = "canMakePaymentsUsingNetworks:") public static native boolean canMakePaymentsUsingNetworks(NSArray supportedNetworks); @Method(selector = "canMakePaymentsUsingNetworks:capabilities:") public static native boolean canMakePayments(NSArray supportedNetworks, PKMerchantCapability capabilties); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursements") + public static native boolean supportsDisbursements(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursementsUsingNetworks:") + public static native boolean supportsDisbursementsUsingNetworks(NSArray supportedNetworks); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursementsUsingNetworks:capabilities:") + public static native boolean supportsDisbursementsUsingNetworks(NSArray supportedNetworks, PKMerchantCapability capabilties); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationViewController.java index b5a9db7b7..d298ce55e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentAuthorizationViewController.java @@ -52,6 +52,11 @@ public PKPaymentAuthorizationViewController() {} protected PKPaymentAuthorizationViewController(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithPaymentRequest:") public PKPaymentAuthorizationViewController(PKPaymentRequest request) { super((SkipInit) null); initObject(init(request)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDisbursementRequest:") + public PKPaymentAuthorizationViewController(PKDisbursementRequest request) { super((SkipInit) null); initObject(init(request)); } @Method(selector = "initWithNibName:bundle:") public PKPaymentAuthorizationViewController(String nibNameOrNil, NSBundle nibBundleOrNil) { super(nibNameOrNil, nibBundleOrNil); } @Method(selector = "initWithCoder:") @@ -67,6 +72,11 @@ public PKPaymentAuthorizationViewController() {} /**/ @Method(selector = "initWithPaymentRequest:") protected native @Pointer long init(PKPaymentRequest request); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDisbursementRequest:") + protected native @Pointer long init(PKDisbursementRequest request); @Method(selector = "canMakePayments") public static native boolean canMakePayments(); @Method(selector = "canMakePaymentsUsingNetworks:") @@ -76,5 +86,20 @@ public PKPaymentAuthorizationViewController() {} */ @Method(selector = "canMakePaymentsUsingNetworks:capabilities:") public static native boolean canMakePaymentsUsingNetworks(@org.robovm.rt.bro.annotation.Marshaler(PKPaymentNetwork.AsListMarshaler.class) List supportedNetworks, PKMerchantCapability capabilties); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursements") + public static native boolean supportsDisbursements(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursementsUsingNetworks:") + public static native boolean supportsDisbursementsUsingNetworks(NSArray supportedNetworks); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportsDisbursementsUsingNetworks:capabilities:") + public static native boolean supportsDisbursementsUsingNetworks(NSArray supportedNetworks, PKMerchantCapability capabilities); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentNetwork.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentNetwork.java index 27c651450..e02c0e162 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentNetwork.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentNetwork.java @@ -95,8 +95,11 @@ public static long toNative(List l, long flags) { public static final PKPaymentNetwork Amex = new PKPaymentNetwork("Amex"); /** * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use PKPaymentNetworkPagoBancomat instead. */ + @Deprecated public static final PKPaymentNetwork Bancomat = new PKPaymentNetwork("Bancomat"); + public static final PKPaymentNetwork PagoBancomat = new PKPaymentNetwork("PagoBancomat"); /** * @since Available in iOS 16.0 and later. */ @@ -193,9 +196,17 @@ public static long toNative(List l, long flags) { * @since Available in iOS 15.0 and later. */ public static final PKPaymentNetwork Nanaco = new PKPaymentNetwork("Nanaco"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final PKPaymentNetwork PostFinance = new PKPaymentNetwork("PostFinance"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final PKPaymentNetwork Tmoney = new PKPaymentNetwork("Tmoney"); /**/ - private static /**/PKPaymentNetwork/**/[] values = new /**/PKPaymentNetwork/**/[] {/**/Amex, Bancomat, Bancontact, CarteBancaire, CarteBancaires, CartesBancaires, ChinaUnionPay, Dankort, Discover, Eftpos, Electron, Elo, IDCredit, Interac, JCB, Mada, Maestro, MasterCard, Mir, PrivateLabel, QuicPay, Suica, Visa, VPay, Barcode, Girocard, Waon, Nanaco/**/}; + private static /**/PKPaymentNetwork/**/[] values = new /**/PKPaymentNetwork/**/[] {/**/Amex, Bancomat, PagoBancomat, Bancontact, CarteBancaire, CarteBancaires, CartesBancaires, ChinaUnionPay, Dankort, Discover, Eftpos, Electron, Elo, IDCredit, Interac, JCB, Mada, Maestro, MasterCard, Mir, PrivateLabel, QuicPay, Suica, Visa, VPay, Barcode, Girocard, Waon, Nanaco, PostFinance, Tmoney/**/}; /**/PKPaymentNetwork/**/ (String getterName) { super(Values.class, getterName); @@ -222,9 +233,13 @@ public static class Values { public static native NSString Amex(); /** * @since Available in iOS 16.0 and later. + * @deprecated Deprecated in iOS 17.0. Use PKPaymentNetworkPagoBancomat instead. */ + @Deprecated @GlobalValue(symbol="PKPaymentNetworkBancomat", optional=true) public static native NSString Bancomat(); + @GlobalValue(symbol="PKPaymentNetworkPagoBancomat", optional=true) + public static native NSString PagoBancomat(); /** * @since Available in iOS 16.0 and later. */ @@ -347,6 +362,16 @@ public static class Values { */ @GlobalValue(symbol="PKPaymentNetworkNanaco", optional=true) public static native NSString Nanaco(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="PKPaymentNetworkPostFinance", optional=true) + public static native NSString PostFinance(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKPaymentNetworkTmoney", optional=true) + public static native NSString Tmoney(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequest.java index 917ec3b0a..9f56129b8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequest.java @@ -252,6 +252,26 @@ public PKPaymentRequest() {} */ @Property(selector = "setAutomaticReloadPaymentRequest:") public native void setAutomaticReloadPaymentRequest(PKAutomaticReloadPaymentRequest v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "deferredPaymentRequest") + public native PKDeferredPaymentRequest getDeferredPaymentRequest(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDeferredPaymentRequest:") + public native void setDeferredPaymentRequest(PKDeferredPaymentRequest v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "applePayLaterAvailability") + public native PKApplePayLaterAvailability getApplePayLaterAvailability(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setApplePayLaterAvailability:") + public native void setApplePayLaterAvailability(PKApplePayLaterAvailability v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequestUpdate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequestUpdate.java index 797d59d1a..330392394 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequestUpdate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKPaymentRequestUpdate.java @@ -104,6 +104,16 @@ public PKPaymentRequestUpdate() {} */ @Property(selector = "setAutomaticReloadPaymentRequest:") public native void setAutomaticReloadPaymentRequest(PKAutomaticReloadPaymentRequest v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "deferredPaymentRequest") + public native PKDeferredPaymentRequest getDeferredPaymentRequest(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setDeferredPaymentRequest:") + public native void setDeferredPaymentRequest(PKDeferredPaymentRequest v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKShippingContactEditingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKShippingContactEditingMode.java index 7d2111b86..c0da361df 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKShippingContactEditingMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/passkit/PKShippingContactEditingMode.java @@ -43,8 +43,13 @@ /**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ public enum /**/PKShippingContactEditingMode/**/ implements ValuedEnum { /**/ - Enabled(1L), - StorePickup(2L); + Available(1L), + StorePickup(2L), + /** + * @deprecated Use PKShippingContactEditingModeAvailable instead + */ + @Deprecated + Enabled(1L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pdfkit/PDFAnnotation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pdfkit/PDFAnnotation.java index b7a93b93b..751ebd990 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pdfkit/PDFAnnotation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pdfkit/PDFAnnotation.java @@ -222,6 +222,8 @@ public PDFAnnotation() {} public native boolean isMultiline(); @Property(selector = "setMultiline:") public native void setMultiline(boolean v); + @Property(selector = "isActivatableTextField") + public native boolean isActivatableTextField(); @Property(selector = "isPasswordField") public native boolean isPasswordField(); @Property(selector = "hasComb") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKCanvasView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKCanvasView.java index c7680ff58..e48c04799 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKCanvasView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKCanvasView.java @@ -99,6 +99,16 @@ public PKCanvasView() {} */ @Property(selector = "setDrawingPolicy:") public native void setDrawingPolicy(PKCanvasViewDrawingPolicy v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maximumSupportedContentVersion") + public native PKContentVersion getMaximumSupportedContentVersion(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaximumSupportedContentVersion:") + public native void setMaximumSupportedContentVersion(PKContentVersion v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKContentVersion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKContentVersion.java new file mode 100644 index 000000000..612614a23 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKContentVersion.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.pencilkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PKContentVersion/**/ implements ValuedEnum { + /**/ + _1(1L), + _2(2L), + Latest(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PKContentVersion/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PKContentVersion/**/ valueOf(long n) { + for (/**/PKContentVersion/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PKContentVersion/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKDrawing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKDrawing.java index 891c59b48..af02d58c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKDrawing.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKDrawing.java @@ -74,6 +74,11 @@ public PKDrawing(NSData data) throws NSErrorException { public native NSArray getStrokes(); @Property(selector = "bounds") public native @ByVal CGRect getBounds(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "requiredContentVersion") + public native PKContentVersion getRequiredContentVersion(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserTool.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserTool.java index 3468ef142..483bde468 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserTool.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserTool.java @@ -52,14 +52,44 @@ protected PKEraserTool() {} protected PKEraserTool(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithEraserType:") public PKEraserTool(PKEraserType eraserType) { super((SkipInit) null); initObject(init(eraserType)); } + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithEraserType:width:") + public PKEraserTool(PKEraserType eraserType, @MachineSizedFloat double width) { super((SkipInit) null); initObject(init(eraserType, width)); } /**/ /**/ @Property(selector = "eraserType") public native PKEraserType getEraserType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "width") + public native @MachineSizedFloat double getWidth(); /**/ /**//**/ /**/ @Method(selector = "initWithEraserType:") protected native @Pointer long init(PKEraserType eraserType); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "initWithEraserType:width:") + protected native @Pointer long init(PKEraserType eraserType, @MachineSizedFloat double width); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "defaultWidthForEraserType:") + public static native @MachineSizedFloat double defaultWidthForEraserType(PKEraserType eraserType); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "minimumWidthForEraserType:") + public static native @MachineSizedFloat double minimumWidthForEraserType(PKEraserType eraserType); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "maximumWidthForEraserType:") + public static native @MachineSizedFloat double maximumWidthForEraserType(PKEraserType eraserType); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserType.java index 4e83675f7..780fd559a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKEraserType.java @@ -40,7 +40,11 @@ public enum /**/PKEraserType/**/ implements ValuedEnum { /**/ Vector(0L), - Bitmap(1L); + Bitmap(1L), + /** + * @since Available in iOS 16.4 and later. + */ + FixedWidthBitmap(2L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInk.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInk.java index 5ecf72c30..59f190487 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInk.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInk.java @@ -58,6 +58,11 @@ public PKInk() {} public native PKInkType getInkType(); @Property(selector = "color") public native UIColor getColor(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "requiredContentVersion") + public native PKContentVersion getRequiredContentVersion(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkType.java index c7d92f1da..7b2a4c161 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkType.java @@ -102,9 +102,25 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.0 and later. */ public static final PKInkType Marker = new PKInkType("Marker"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final PKInkType Monoline = new PKInkType("Monoline"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final PKInkType FountainPen = new PKInkType("FountainPen"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final PKInkType Watercolor = new PKInkType("Watercolor"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final PKInkType Crayon = new PKInkType("Crayon"); /**/ - private static /**/PKInkType/**/[] values = new /**/PKInkType/**/[] {/**/Pen, Pencil, Marker/**/}; + private static /**/PKInkType/**/[] values = new /**/PKInkType/**/[] {/**/Pen, Pencil, Marker, Monoline, FountainPen, Watercolor, Crayon/**/}; /**/PKInkType/**/ (String getterName) { super(Values.class, getterName); @@ -142,6 +158,26 @@ public static class Values { */ @GlobalValue(symbol="PKInkTypeMarker", optional=true) public static native NSString Marker(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKInkTypeMonoline", optional=true) + public static native NSString Monoline(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKInkTypeFountainPen", optional=true) + public static native NSString FountainPen(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKInkTypeWatercolor", optional=true) + public static native NSString Watercolor(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="PKInkTypeCrayon", optional=true) + public static native NSString Crayon(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkingTool.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkingTool.java index 93d131c0f..44646f74d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkingTool.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKInkingTool.java @@ -72,6 +72,11 @@ protected PKInkingTool() {} */ @Property(selector = "ink") public native PKInk getInk(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "requiredContentVersion") + public native PKContentVersion getRequiredContentVersion(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStroke.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStroke.java index e927223be..9b968f982 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStroke.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStroke.java @@ -76,6 +76,11 @@ public PKStroke() {} */ @Property(selector = "randomSeed") public native int getRandomSeed(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "requiredContentVersion") + public native PKContentVersion getRequiredContentVersion(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStrokePoint.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStrokePoint.java index ff804189c..4fb2d756e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStrokePoint.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKStrokePoint.java @@ -52,6 +52,8 @@ protected PKStrokePoint() {} protected PKStrokePoint(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:") public PKStrokePoint(@ByVal CGPoint location, double timeOffset, @ByVal CGSize size, @MachineSizedFloat double opacity, @MachineSizedFloat double force, @MachineSizedFloat double azimuth, @MachineSizedFloat double altitude) { super((SkipInit) null); initObject(init(location, timeOffset, size, opacity, force, azimuth, altitude)); } + @Method(selector = "initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:") + public PKStrokePoint(@ByVal CGPoint location, double timeOffset, @ByVal CGSize size, @MachineSizedFloat double opacity, @MachineSizedFloat double force, @MachineSizedFloat double azimuth, @MachineSizedFloat double altitude, @MachineSizedFloat double secondaryScale) { super((SkipInit) null); initObject(init(location, timeOffset, size, opacity, force, azimuth, altitude, secondaryScale)); } /**/ /**/ @Property(selector = "location") @@ -68,10 +70,17 @@ protected PKStrokePoint() {} public native @MachineSizedFloat double getForce(); @Property(selector = "altitude") public native @MachineSizedFloat double getAltitude(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "secondaryScale") + public native @MachineSizedFloat double getSecondaryScale(); /**/ /**//**/ /**/ @Method(selector = "initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:") protected native @Pointer long init(@ByVal CGPoint location, double timeOffset, @ByVal CGSize size, @MachineSizedFloat double opacity, @MachineSizedFloat double force, @MachineSizedFloat double azimuth, @MachineSizedFloat double altitude); + @Method(selector = "initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:") + protected native @Pointer long init(@ByVal CGPoint location, double timeOffset, @ByVal CGSize size, @MachineSizedFloat double opacity, @MachineSizedFloat double force, @MachineSizedFloat double azimuth, @MachineSizedFloat double altitude, @MachineSizedFloat double secondaryScale); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKToolPicker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKToolPicker.java index 7bfe3b736..4007818a3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKToolPicker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/pencilkit/PKToolPicker.java @@ -72,6 +72,16 @@ public PKToolPicker() {} */ @Property(selector = "setStateAutosaveName:") public native void setStateAutosaveName(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "maximumSupportedContentVersion") + public native PKContentVersion getMaximumSupportedContentVersion(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMaximumSupportedContentVersion:") + public native void setMaximumSupportedContentVersion(PKContentVersion v); @Property(selector = "overrideUserInterfaceStyle") public native UIUserInterfaceStyle getOverrideUserInterfaceStyle(); @Property(selector = "setOverrideUserInterfaceStyle:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAmbientMixerDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAmbientMixerDefinition.java new file mode 100644 index 000000000..a0bc0c86e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAmbientMixerDefinition.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEAmbientMixerDefinition/**/ + extends /**/PHASEMixerDefinition/**/ + /**//**/ { + + /**/public static class PHASEAmbientMixerDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEAmbientMixerDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEAmbientMixerDefinition() {} + protected PHASEAmbientMixerDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEAmbientMixerDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithChannelLayout:orientation:identifier:") + public PHASEAmbientMixerDefinition(AVAudioChannelLayout layout, @ByVal VectorFloat4 orientation, String identifier) { super((SkipInit) null); initObject(init(layout, orientation, identifier)); } + @Method(selector = "initWithChannelLayout:orientation:") + public PHASEAmbientMixerDefinition(AVAudioChannelLayout layout, @ByVal VectorFloat4 orientation) { super((SkipInit) null); initObject(init(layout, orientation)); } + /**/ + /**/ + @Property(selector = "orientation") + public native @ByVal VectorFloat4 getOrientation(); + @Property(selector = "inputChannelLayout") + public native AVAudioChannelLayout getInputChannelLayout(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithChannelLayout:orientation:identifier:") + protected native @Pointer long init(AVAudioChannelLayout layout, @ByVal VectorFloat4 orientation, String identifier); + @Method(selector = "initWithChannelLayout:orientation:") + protected native @Pointer long init(AVAudioChannelLayout layout, @ByVal VectorFloat4 orientation); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAsset.java new file mode 100644 index 000000000..b75bd5db7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAsset.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEAsset/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEAssetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEAsset.class); }/**/ + /**//**/ + /**/ + protected PHASEAsset() {} + protected PHASEAsset(Handle h, long handle) { super(h, handle); } + protected PHASEAsset(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetError.java new file mode 100644 index 000000000..4563698dd --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetError.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("PHASE")/**/ +public enum /**/PHASEAssetError/**/ implements NSErrorCode { + /**/ + FailedToLoad(1346920801L), + InvalidEngineInstance(1346920802L), + BadParameters(1346920803L), + AlreadyExists(1346920804L), + GeneralError(1346920805L), + MemoryAllocation(1346920806L); + /**/ + + /**/static { Bro.bind(PHASEAssetError.class); }/**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="PHASEAssetErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/PHASEAssetError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEAssetError/**/ valueOf(long n) { + for (/**/PHASEAssetError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEAssetError/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/PHASEAssetError/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/PHASEAssetError/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetRegistry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetRegistry.java new file mode 100644 index 000000000..b5ea0bcac --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetRegistry.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEAssetRegistry/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEAssetRegistryPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEAssetRegistry.class); }/**/ + /**//**/ + /**/ + protected PHASEAssetRegistry() {} + protected PHASEAssetRegistry(Handle h, long handle) { super(h, handle); } + protected PHASEAssetRegistry(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "globalMetaParameters") + public native NSDictionary getGlobalMetaParameters(); + /**/ + /**//**/ + /**/ + public PHASEGlobalMetaParameterAsset registerGlobalMetaParameter(PHASEMetaParameterDefinition metaParameterDefinition) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + PHASEGlobalMetaParameterAsset result = registerGlobalMetaParameter(metaParameterDefinition, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "registerGlobalMetaParameter:error:") + private native PHASEGlobalMetaParameterAsset registerGlobalMetaParameter(PHASEMetaParameterDefinition metaParameterDefinition, NSError.NSErrorPtr error); + public PHASESoundEventNodeAsset registerSoundEventAsset(PHASESoundEventNodeDefinition rootNode, String identifier) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + PHASESoundEventNodeAsset result = registerSoundEventAsset(rootNode, identifier, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "registerSoundEventAssetWithRootNode:identifier:error:") + private native PHASESoundEventNodeAsset registerSoundEventAsset(PHASESoundEventNodeDefinition rootNode, String identifier, NSError.NSErrorPtr error); + public PHASESoundAsset registerSoundAsset(NSURL url, String identifier, PHASEAssetType assetType, AVAudioChannelLayout channelLayout, PHASENormalizationMode normalizationMode) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + PHASESoundAsset result = registerSoundAsset(url, identifier, assetType, channelLayout, normalizationMode, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error:") + private native PHASESoundAsset registerSoundAsset(NSURL url, String identifier, PHASEAssetType assetType, AVAudioChannelLayout channelLayout, PHASENormalizationMode normalizationMode, NSError.NSErrorPtr error); + public PHASESoundAsset registerSoundAsset(NSData data, String identifier, AVAudioFormat format, PHASENormalizationMode normalizationMode) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + PHASESoundAsset result = registerSoundAsset(data, identifier, format, normalizationMode, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "registerSoundAssetWithData:identifier:format:normalizationMode:error:") + private native PHASESoundAsset registerSoundAsset(NSData data, String identifier, AVAudioFormat format, PHASENormalizationMode normalizationMode, NSError.NSErrorPtr error); + @Method(selector = "unregisterAssetWithIdentifier:completion:") + public native void unregisterAsset(String identifier, @Block VoidBooleanBlock handler); + @Method(selector = "assetForIdentifier:") + public native PHASEAsset assetForIdentifier(String identifier); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetType.java new file mode 100644 index 000000000..9393f5377 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEAssetType.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEAssetType/**/ implements ValuedEnum { + /**/ + Resident(0L), + Streamed(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEAssetType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEAssetType/**/ valueOf(long n) { + for (/**/PHASEAssetType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEAssetType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEBlendNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEBlendNodeDefinition.java new file mode 100644 index 000000000..d005b523b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEBlendNodeDefinition.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEBlendNodeDefinition/**/ + extends /**/PHASESoundEventNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASEBlendNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEBlendNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEBlendNodeDefinition() {} + protected PHASEBlendNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEBlendNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithBlendMetaParameterDefinition:identifier:") + public PHASEBlendNodeDefinition(PHASENumberMetaParameterDefinition blendMetaParameterDefinition, String identifier) { super((SkipInit) null); initObject(init(blendMetaParameterDefinition, identifier)); } + @Method(selector = "initWithBlendMetaParameterDefinition:") + public PHASEBlendNodeDefinition(PHASENumberMetaParameterDefinition blendMetaParameterDefinition) { super((SkipInit) null); initObject(init(blendMetaParameterDefinition)); } + @Method(selector = "initDistanceBlendWithSpatialMixerDefinition:identifier:") + public PHASEBlendNodeDefinition(PHASESpatialMixerDefinition spatialMixerDefinition, String identifier) { super((SkipInit) null); initObject(init(spatialMixerDefinition, identifier)); } + @Method(selector = "initDistanceBlendWithSpatialMixerDefinition:") + public PHASEBlendNodeDefinition(PHASESpatialMixerDefinition spatialMixerDefinition) { super((SkipInit) null); initObject(init(spatialMixerDefinition)); } + /**/ + /**/ + @Property(selector = "blendParameterDefinition") + public native PHASENumberMetaParameterDefinition getBlendParameterDefinition(); + @Property(selector = "spatialMixerDefinitionForDistance") + public native PHASESpatialMixerDefinition getSpatialMixerDefinitionForDistance(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithBlendMetaParameterDefinition:identifier:") + protected native @Pointer long init(PHASENumberMetaParameterDefinition blendMetaParameterDefinition, String identifier); + @Method(selector = "initWithBlendMetaParameterDefinition:") + protected native @Pointer long init(PHASENumberMetaParameterDefinition blendMetaParameterDefinition); + @Method(selector = "initDistanceBlendWithSpatialMixerDefinition:identifier:") + protected native @Pointer long init(PHASESpatialMixerDefinition spatialMixerDefinition, String identifier); + @Method(selector = "initDistanceBlendWithSpatialMixerDefinition:") + protected native @Pointer long init(PHASESpatialMixerDefinition spatialMixerDefinition); + @Method(selector = "addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree:") + public native void addRangeForInputValuesBelow(double value, double fullGainAtValue, PHASECurveType fadeCurveType, PHASESoundEventNodeDefinition subtree); + @Method(selector = "addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree:") + public native void addRangeForInputValuesBetween(double lowValue, double highValue, double fullGainAtLowValue, double fullGainAtHighValue, PHASECurveType lowFadeCurveType, PHASECurveType highFadeCurveType, PHASESoundEventNodeDefinition subtree); + @Method(selector = "addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree:") + public native void addRangeForInputValuesAbove(double value, double fullGainAtValue, PHASECurveType fadeCurveType, PHASESoundEventNodeDefinition subtree); + @Method(selector = "addRangeWithEnvelope:subtree:") + public native void addRangeWithEnvelope(PHASEEnvelope envelope, PHASESoundEventNodeDefinition subtree); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECalibrationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECalibrationMode.java new file mode 100644 index 000000000..89423a604 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECalibrationMode.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASECalibrationMode/**/ implements ValuedEnum { + /**/ + None(0L), + RelativeSpl(1L), + AbsoluteSpl(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASECalibrationMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASECalibrationMode/**/ valueOf(long n) { + for (/**/PHASECalibrationMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASECalibrationMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelParameters.java new file mode 100644 index 000000000..8d2fd8577 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelParameters.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASECardioidDirectivityModelParameters/**/ + extends /**/PHASEDirectivityModelParameters/**/ + /**//**/ { + + /**/public static class PHASECardioidDirectivityModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASECardioidDirectivityModelParameters.class); }/**/ + /**//**/ + /**/ + protected PHASECardioidDirectivityModelParameters() {} + protected PHASECardioidDirectivityModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASECardioidDirectivityModelParameters(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSubbandParameters:") + public PHASECardioidDirectivityModelParameters(NSArray subbandParameters) { super((SkipInit) null); initObject(init(subbandParameters)); } + /**/ + /**/ + @Property(selector = "subbandParameters") + public native NSArray getSubbandParameters(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSubbandParameters:") + protected native @Pointer long init(NSArray subbandParameters); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelSubbandParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelSubbandParameters.java new file mode 100644 index 000000000..972230437 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECardioidDirectivityModelSubbandParameters.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASECardioidDirectivityModelSubbandParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASECardioidDirectivityModelSubbandParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASECardioidDirectivityModelSubbandParameters.class); }/**/ + /**//**/ + /**/ + public PHASECardioidDirectivityModelSubbandParameters() {} + protected PHASECardioidDirectivityModelSubbandParameters(Handle h, long handle) { super(h, handle); } + protected PHASECardioidDirectivityModelSubbandParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "frequency") + public native double getFrequency(); + @Property(selector = "setFrequency:") + public native void setFrequency(double v); + @Property(selector = "pattern") + public native double getPattern(); + @Property(selector = "setPattern:") + public native void setPattern(double v); + @Property(selector = "sharpness") + public native double getSharpness(); + @Property(selector = "setSharpness:") + public native void setSharpness(double v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEChannelMixerDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEChannelMixerDefinition.java new file mode 100644 index 000000000..0491a8ab1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEChannelMixerDefinition.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEChannelMixerDefinition/**/ + extends /**/PHASEMixerDefinition/**/ + /**//**/ { + + /**/public static class PHASEChannelMixerDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEChannelMixerDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEChannelMixerDefinition() {} + protected PHASEChannelMixerDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEChannelMixerDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithChannelLayout:identifier:") + public PHASEChannelMixerDefinition(AVAudioChannelLayout layout, String identifier) { super((SkipInit) null); initObject(init(layout, identifier)); } + @Method(selector = "initWithChannelLayout:") + public PHASEChannelMixerDefinition(AVAudioChannelLayout layout) { super((SkipInit) null); initObject(init(layout)); } + /**/ + /**/ + @Property(selector = "inputChannelLayout") + public native AVAudioChannelLayout getInputChannelLayout(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithChannelLayout:identifier:") + protected native @Pointer long init(AVAudioChannelLayout layout, String identifier); + @Method(selector = "initWithChannelLayout:") + protected native @Pointer long init(AVAudioChannelLayout layout); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelParameters.java new file mode 100644 index 000000000..d2106d48f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelParameters.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEConeDirectivityModelParameters/**/ + extends /**/PHASEDirectivityModelParameters/**/ + /**//**/ { + + /**/public static class PHASEConeDirectivityModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEConeDirectivityModelParameters.class); }/**/ + /**//**/ + /**/ + protected PHASEConeDirectivityModelParameters() {} + protected PHASEConeDirectivityModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASEConeDirectivityModelParameters(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSubbandParameters:") + public PHASEConeDirectivityModelParameters(NSArray subbandParameters) { super((SkipInit) null); initObject(init(subbandParameters)); } + /**/ + /**/ + @Property(selector = "subbandParameters") + public native NSArray getSubbandParameters(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSubbandParameters:") + protected native @Pointer long init(NSArray subbandParameters); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelSubbandParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelSubbandParameters.java new file mode 100644 index 000000000..324aa49a9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEConeDirectivityModelSubbandParameters.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEConeDirectivityModelSubbandParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEConeDirectivityModelSubbandParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEConeDirectivityModelSubbandParameters.class); }/**/ + /**//**/ + /**/ + public PHASEConeDirectivityModelSubbandParameters() {} + protected PHASEConeDirectivityModelSubbandParameters(Handle h, long handle) { super(h, handle); } + protected PHASEConeDirectivityModelSubbandParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "frequency") + public native double getFrequency(); + @Property(selector = "setFrequency:") + public native void setFrequency(double v); + @Property(selector = "innerAngle") + public native double getInnerAngle(); + @Property(selector = "outerAngle") + public native double getOuterAngle(); + @Property(selector = "outerGain") + public native double getOuterGain(); + @Property(selector = "setOuterGain:") + public native void setOuterGain(double v); + /**/ + /**//**/ + /**/ + @Method(selector = "setInnerAngle:outerAngle:") + public native void setAngles(double innerAngle, double outerAngle); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEContainerNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEContainerNodeDefinition.java new file mode 100644 index 000000000..4b11b2a13 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEContainerNodeDefinition.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEContainerNodeDefinition/**/ + extends /**/PHASESoundEventNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASEContainerNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEContainerNodeDefinition.class); }/**/ + /**//**/ + /**/ + public PHASEContainerNodeDefinition() {} + protected PHASEContainerNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEContainerNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithIdentifier:") + public PHASEContainerNodeDefinition(String identifier) { super((SkipInit) null); initObject(init(identifier)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithIdentifier:") + protected native @Pointer long init(String identifier); + @Method(selector = "addSubtree:") + public native void addSubtree(PHASESoundEventNodeDefinition subtree); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECullOption.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECullOption.java new file mode 100644 index 000000000..1659054e7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECullOption.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASECullOption/**/ implements ValuedEnum { + /**/ + Terminate(0L), + SleepWakeAtZero(1L), + SleepWakeAtRandomOffset(2L), + SleepWakeAtRealtimeOffset(3L), + DoNotCull(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASECullOption/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASECullOption/**/ valueOf(long n) { + for (/**/PHASECullOption/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASECullOption/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECurveType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECurveType.java new file mode 100644 index 000000000..e5117f429 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASECurveType.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASECurveType/**/ implements ValuedEnum { + /**/ + Linear(1668435054L), + Squared(1668436849L), + InverseSquared(1668434257L), + Cubed(1668432757L), + InverseCubed(1668434243L), + Sine(1668436846L), + InverseSine(1668434259L), + Sigmoid(1668436839L), + InverseSigmoid(1668434247L), + HoldStartValue(1668434003L), + JumpToEndValue(1668434501L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASECurveType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASECurveType/**/ valueOf(long n) { + for (/**/PHASECurveType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASECurveType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDefinition.java new file mode 100644 index 000000000..8b329c251 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDefinition.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEDefinition/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEDefinition() {} + protected PHASEDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEDefinition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDirectivityModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDirectivityModelParameters.java new file mode 100644 index 000000000..68c05bb59 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDirectivityModelParameters.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEDirectivityModelParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEDirectivityModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEDirectivityModelParameters.class); }/**/ + /**//**/ + /**/ + protected PHASEDirectivityModelParameters() {} + protected PHASEDirectivityModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASEDirectivityModelParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelFadeOutParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelFadeOutParameters.java new file mode 100644 index 000000000..2578404f6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelFadeOutParameters.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEDistanceModelFadeOutParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEDistanceModelFadeOutParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEDistanceModelFadeOutParameters.class); }/**/ + /**//**/ + /**/ + protected PHASEDistanceModelFadeOutParameters() {} + protected PHASEDistanceModelFadeOutParameters(Handle h, long handle) { super(h, handle); } + protected PHASEDistanceModelFadeOutParameters(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCullDistance:") + public PHASEDistanceModelFadeOutParameters(double cullDistance) { super((SkipInit) null); initObject(init(cullDistance)); } + /**/ + /**/ + @Property(selector = "cullDistance") + public native double getCullDistance(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCullDistance:") + protected native @Pointer long init(double cullDistance); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelParameters.java new file mode 100644 index 000000000..01e6f3ab2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDistanceModelParameters.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEDistanceModelParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEDistanceModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEDistanceModelParameters.class); }/**/ + /**//**/ + /**/ + protected PHASEDistanceModelParameters() {} + protected PHASEDistanceModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASEDistanceModelParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "fadeOutParameters") + public native PHASEDistanceModelFadeOutParameters getFadeOutParameters(); + @Property(selector = "setFadeOutParameters:") + public native void setFadeOutParameters(PHASEDistanceModelFadeOutParameters v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDucker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDucker.java new file mode 100644 index 000000000..e0eab2eef --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEDucker.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEDucker/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEDuckerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEDucker.class); }/**/ + /**//**/ + /**/ + protected PHASEDucker() {} + protected PHASEDucker(Handle h, long handle) { super(h, handle); } + protected PHASEDucker(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve:") + public PHASEDucker(PHASEEngine engine, NSSet sourceGroups, NSSet targetGroups, double gain, double attackTime, double releaseTime, PHASECurveType attackCurve, PHASECurveType releaseCurve) { super((SkipInit) null); initObject(init(engine, sourceGroups, targetGroups, gain, attackTime, releaseTime, attackCurve, releaseCurve)); } + /**/ + /**/ + @Property(selector = "sourceGroups") + public native NSSet getSourceGroups(); + @Property(selector = "targetGroups") + public native NSSet getTargetGroups(); + @Property(selector = "isActive") + public native boolean isActive(); + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "attackTime") + public native double getAttackTime(); + @Property(selector = "releaseTime") + public native double getReleaseTime(); + @Property(selector = "attackCurve") + public native PHASECurveType getAttackCurve(); + @Property(selector = "releaseCurve") + public native PHASECurveType getReleaseCurve(); + @Property(selector = "identifier") + public native String getIdentifier(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve:") + protected native @Pointer long init(PHASEEngine engine, NSSet sourceGroups, NSSet targetGroups, double gain, double attackTime, double releaseTime, PHASECurveType attackCurve, PHASECurveType releaseCurve); + @Method(selector = "activate") + public native void activate(); + @Method(selector = "deactivate") + public native void deactivate(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEngine.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEngine.java new file mode 100644 index 000000000..b6ebd575f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEngine.java @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEEngine/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEEnginePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEEngine.class); }/**/ + /**//**/ + /**/ + protected PHASEEngine() {} + protected PHASEEngine(Handle h, long handle) { super(h, handle); } + protected PHASEEngine(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithUpdateMode:") + public PHASEEngine(PHASEUpdateMode updateMode) { super((SkipInit) null); initObject(init(updateMode)); } + /**/ + /**/ + @Property(selector = "outputSpatializationMode") + public native PHASESpatializationMode getOutputSpatializationMode(); + @Property(selector = "setOutputSpatializationMode:") + public native void setOutputSpatializationMode(PHASESpatializationMode v); + @Property(selector = "renderingState") + public native PHASERenderingState getRenderingState(); + @Property(selector = "rootObject") + public native PHASEObject getRootObject(); + @Property(selector = "defaultMedium") + public native PHASEMedium getDefaultMedium(); + @Property(selector = "setDefaultMedium:") + public native void setDefaultMedium(PHASEMedium v); + @Property(selector = "defaultReverbPreset") + public native PHASEReverbPreset getDefaultReverbPreset(); + @Property(selector = "setDefaultReverbPreset:") + public native void setDefaultReverbPreset(PHASEReverbPreset v); + @Property(selector = "unitsPerSecond") + public native double getUnitsPerSecond(); + @Property(selector = "setUnitsPerSecond:") + public native void setUnitsPerSecond(double v); + @Property(selector = "unitsPerMeter") + public native double getUnitsPerMeter(); + @Property(selector = "setUnitsPerMeter:") + public native void setUnitsPerMeter(double v); + @Property(selector = "assetRegistry") + public native PHASEAssetRegistry getAssetRegistry(); + @Property(selector = "soundEvents") + public native NSArray getSoundEvents(); + @Property(selector = "groups") + public native NSDictionary getGroups(); + @Property(selector = "duckers") + public native NSArray getDuckers(); + @Property(selector = "activeGroupPreset") + public native PHASEGroupPreset getActiveGroupPreset(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithUpdateMode:") + protected native @Pointer long init(PHASEUpdateMode updateMode); + @Method(selector = "startAndReturnError:") + public native boolean startAndReturnError(NSError.NSErrorPtr error); + @Method(selector = "pause") + public native void pause(); + @Method(selector = "stop") + public native void stop(); + @Method(selector = "update") + public native void update(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelope.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelope.java new file mode 100644 index 000000000..22cc1a4d4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelope.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEEnvelope/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEEnvelopePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEEnvelope.class); }/**/ + /**//**/ + /**/ + protected PHASEEnvelope() {} + protected PHASEEnvelope(Handle h, long handle) { super(h, handle); } + protected PHASEEnvelope(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithStartPoint:segments:") + public PHASEEnvelope(@ByVal VectorDouble2 startPoint, NSArray segments) { super((SkipInit) null); initObject(init(startPoint, segments)); } + /**/ + /**/ + @Property(selector = "startPoint") + public native @ByVal VectorDouble2 getStartPoint(); + @Property(selector = "segments") + public native NSArray getSegments(); + @Property(selector = "domain") + public native PHASENumericPair getDomain(); + @Property(selector = "range") + public native PHASENumericPair getRange(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithStartPoint:segments:") + protected native @Pointer long init(@ByVal VectorDouble2 startPoint, NSArray segments); + @Method(selector = "evaluateForValue:") + public native double evaluateForValue(double x); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeDistanceModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeDistanceModelParameters.java new file mode 100644 index 000000000..9c101a2e4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeDistanceModelParameters.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEEnvelopeDistanceModelParameters/**/ + extends /**/PHASEDistanceModelParameters/**/ + /**//**/ { + + /**/public static class PHASEEnvelopeDistanceModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEEnvelopeDistanceModelParameters.class); }/**/ + /**//**/ + /**/ + protected PHASEEnvelopeDistanceModelParameters() {} + protected PHASEEnvelopeDistanceModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASEEnvelopeDistanceModelParameters(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEnvelope:") + public PHASEEnvelopeDistanceModelParameters(PHASEEnvelope envelope) { super((SkipInit) null); initObject(init(envelope)); } + /**/ + /**/ + @Property(selector = "envelope") + public native PHASEEnvelope getEnvelope(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEnvelope:") + protected native @Pointer long init(PHASEEnvelope envelope); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeSegment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeSegment.java new file mode 100644 index 000000000..913633c66 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEEnvelopeSegment.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEEnvelopeSegment/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEEnvelopeSegmentPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEEnvelopeSegment.class); }/**/ + /**//**/ + /**/ + public PHASEEnvelopeSegment() {} + protected PHASEEnvelopeSegment(Handle h, long handle) { super(h, handle); } + protected PHASEEnvelopeSegment(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEndPoint:curveType:") + public PHASEEnvelopeSegment(@ByVal VectorDouble2 endPoint, PHASECurveType curveType) { super((SkipInit) null); initObject(init(endPoint, curveType)); } + /**/ + /**/ + @Property(selector = "endPoint") + public native @ByVal VectorDouble2 getEndPoint(); + @Property(selector = "setEndPoint:") + public native void setEndPoint(@ByVal VectorDouble2 v); + @Property(selector = "curveType") + public native PHASECurveType getCurveType(); + @Property(selector = "setCurveType:") + public native void setCurveType(PHASECurveType v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEndPoint:curveType:") + protected native @Pointer long init(@ByVal VectorDouble2 endPoint, PHASECurveType curveType); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEError.java new file mode 100644 index 000000000..d6d863376 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEError.java @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("PHASE")/**/ +public enum /**/PHASEError/**/ implements NSErrorCode { + /**/ + InitializeFailed(1346913633L), + InvalidObject(1346913634L); + /**/ + + /**/static { Bro.bind(PHASEError.class); }/**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="PHASEErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/PHASEError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEError/**/ valueOf(long n) { + for (/**/PHASEError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEError/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/PHASEError/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/PHASEError/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeneratorNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeneratorNodeDefinition.java new file mode 100644 index 000000000..3f5fdffb8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeneratorNodeDefinition.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGeneratorNodeDefinition/**/ + extends /**/PHASESoundEventNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASEGeneratorNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGeneratorNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEGeneratorNodeDefinition() {} + protected PHASEGeneratorNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEGeneratorNodeDefinition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "calibrationMode") + public native PHASECalibrationMode getCalibrationMode(); + @Property(selector = "level") + public native double getLevel(); + @Property(selector = "rate") + public native double getRate(); + @Property(selector = "setRate:") + public native void setRate(double v); + @Property(selector = "group") + public native PHASEGroup getGroup(); + @Property(selector = "setGroup:", strongRef = true) + public native void setGroup(PHASEGroup v); + @Property(selector = "gainMetaParameterDefinition") + public native PHASENumberMetaParameterDefinition getGainMetaParameterDefinition(); + @Property(selector = "setGainMetaParameterDefinition:") + public native void setGainMetaParameterDefinition(PHASENumberMetaParameterDefinition v); + @Property(selector = "rateMetaParameterDefinition") + public native PHASENumberMetaParameterDefinition getRateMetaParameterDefinition(); + @Property(selector = "setRateMetaParameterDefinition:") + public native void setRateMetaParameterDefinition(PHASENumberMetaParameterDefinition v); + @Property(selector = "mixerDefinition") + public native PHASEMixerDefinition getMixerDefinition(); + /**/ + /**//**/ + /**/ + @Method(selector = "setCalibrationMode:level:") + public native void setCalibrationMode(PHASECalibrationMode calibrationMode, double level); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeometricSpreadingDistanceModelParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeometricSpreadingDistanceModelParameters.java new file mode 100644 index 000000000..6dadb900b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGeometricSpreadingDistanceModelParameters.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGeometricSpreadingDistanceModelParameters/**/ + extends /**/PHASEDistanceModelParameters/**/ + /**//**/ { + + /**/public static class PHASEGeometricSpreadingDistanceModelParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGeometricSpreadingDistanceModelParameters.class); }/**/ + /**//**/ + /**/ + public PHASEGeometricSpreadingDistanceModelParameters() {} + protected PHASEGeometricSpreadingDistanceModelParameters(Handle h, long handle) { super(h, handle); } + protected PHASEGeometricSpreadingDistanceModelParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "rolloffFactor") + public native double getRolloffFactor(); + @Property(selector = "setRolloffFactor:") + public native void setRolloffFactor(double v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGlobalMetaParameterAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGlobalMetaParameterAsset.java new file mode 100644 index 000000000..254cdc355 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGlobalMetaParameterAsset.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGlobalMetaParameterAsset/**/ + extends /**/PHASEAsset/**/ + /**//**/ { + + /**/public static class PHASEGlobalMetaParameterAssetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGlobalMetaParameterAsset.class); }/**/ + /**//**/ + /**/ + protected PHASEGlobalMetaParameterAsset() {} + protected PHASEGlobalMetaParameterAsset(Handle h, long handle) { super(h, handle); } + protected PHASEGlobalMetaParameterAsset(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroup.java new file mode 100644 index 000000000..5fca6c59f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroup.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGroup/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEGroupPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGroup.class); }/**/ + /**//**/ + /**/ + protected PHASEGroup() {} + protected PHASEGroup(Handle h, long handle) { super(h, handle); } + protected PHASEGroup(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithIdentifier:") + public PHASEGroup(String identifier) { super((SkipInit) null); initObject(init(identifier)); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "setGain:") + public native void setGain(double v); + @Property(selector = "rate") + public native double getRate(); + @Property(selector = "setRate:") + public native void setRate(double v); + @Property(selector = "isMuted") + public native boolean isMuted(); + @Property(selector = "isSoloed") + public native boolean isSoloed(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithIdentifier:") + protected native @Pointer long init(String identifier); + @Method(selector = "registerWithEngine:") + public native void register(PHASEEngine engine); + @Method(selector = "unregisterFromEngine") + public native void unregisterFromEngine(); + @Method(selector = "fadeGain:duration:curveType:") + public native void fadeGain(double gain, double duration, PHASECurveType curveType); + @Method(selector = "fadeRate:duration:curveType:") + public native void fadeRate(double rate, double duration, PHASECurveType curveType); + @Method(selector = "mute") + public native void mute(); + @Method(selector = "unmute") + public native void unmute(); + @Method(selector = "solo") + public native void solo(); + @Method(selector = "unsolo") + public native void unsolo(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPreset.java new file mode 100644 index 000000000..e1e8dff34 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPreset.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGroupPreset/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEGroupPresetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGroupPreset.class); }/**/ + /**//**/ + /**/ + protected PHASEGroupPreset() {} + protected PHASEGroupPreset(Handle h, long handle) { super(h, handle); } + protected PHASEGroupPreset(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:settings:timeToTarget:timeToReset:") + public PHASEGroupPreset(PHASEEngine engine, NSDictionary settings, double timeToTarget, double timeToReset) { super((SkipInit) null); initObject(init(engine, settings, timeToTarget, timeToReset)); } + /**/ + /**/ + @Property(selector = "settings") + public native NSDictionary getSettings(); + @Property(selector = "timeToTarget") + public native double getTimeToTarget(); + @Property(selector = "timeToReset") + public native double getTimeToReset(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:settings:timeToTarget:timeToReset:") + protected native @Pointer long init(PHASEEngine engine, NSDictionary settings, double timeToTarget, double timeToReset); + @Method(selector = "activate") + public native void activate(); + @Method(selector = "activateWithTimeToTargetOverride:") + public native void activate(double timeToTargetOverride); + @Method(selector = "deactivate") + public native void deactivate(); + @Method(selector = "deactivateWithTimeToResetOverride:") + public native void deactivate(double timeToResetOverride); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPresetSetting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPresetSetting.java new file mode 100644 index 000000000..eb45d8026 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEGroupPresetSetting.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEGroupPresetSetting/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEGroupPresetSettingPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEGroupPresetSetting.class); }/**/ + /**//**/ + /**/ + protected PHASEGroupPresetSetting() {} + protected PHASEGroupPresetSetting(Handle h, long handle) { super(h, handle); } + protected PHASEGroupPresetSetting(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithGain:rate:gainCurveType:rateCurveType:") + public PHASEGroupPresetSetting(double gain, double rate, PHASECurveType gainCurveType, PHASECurveType rateCurveType) { super((SkipInit) null); initObject(init(gain, rate, gainCurveType, rateCurveType)); } + /**/ + /**/ + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "rate") + public native double getRate(); + @Property(selector = "gainCurveType") + public native PHASECurveType getGainCurveType(); + @Property(selector = "rateCurveType") + public native PHASECurveType getRateCurveType(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithGain:rate:gainCurveType:rateCurveType:") + protected native @Pointer long init(double gain, double rate, PHASECurveType gainCurveType, PHASECurveType rateCurveType); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEListener.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEListener.java new file mode 100644 index 000000000..54d9166ec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEListener.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEListener/**/ + extends /**/PHASEObject/**/ + /**//**/ { + + /**/public static class PHASEListenerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEListener.class); }/**/ + /**//**/ + /**/ + protected PHASEListener() {} + protected PHASEListener(Handle h, long handle) { super(h, handle); } + protected PHASEListener(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:") + public PHASEListener(PHASEEngine engine) { super((SkipInit) null); initObject(init(engine)); } + /**/ + /**/ + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "setGain:") + public native void setGain(double v); + @Property(selector = "right") + public static native @ByVal VectorFloat3 getRight(); + @Property(selector = "up") + public static native @ByVal VectorFloat3 getUp(); + @Property(selector = "forward") + public static native @ByVal VectorFloat3 getForward(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:") + protected native @Pointer long init(PHASEEngine engine); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMappedMetaParameterDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMappedMetaParameterDefinition.java new file mode 100644 index 000000000..83a929639 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMappedMetaParameterDefinition.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMappedMetaParameterDefinition/**/ + extends /**/PHASENumberMetaParameterDefinition/**/ + /**//**/ { + + /**/public static class PHASEMappedMetaParameterDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMappedMetaParameterDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEMappedMetaParameterDefinition() {} + protected PHASEMappedMetaParameterDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEMappedMetaParameterDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithInputMetaParameterDefinition:envelope:identifier:") + public PHASEMappedMetaParameterDefinition(PHASENumberMetaParameterDefinition inputMetaParameterDefinition, PHASEEnvelope envelope, String identifier) { super((SkipInit) null); initObject(init(inputMetaParameterDefinition, envelope, identifier)); } + @Method(selector = "initWithInputMetaParameterDefinition:envelope:") + public PHASEMappedMetaParameterDefinition(PHASENumberMetaParameterDefinition inputMetaParameterDefinition, PHASEEnvelope envelope) { super((SkipInit) null); initObject(init(inputMetaParameterDefinition, envelope)); } + /**/ + /**/ + @Property(selector = "envelope") + public native PHASEEnvelope getEnvelope(); + @Property(selector = "inputMetaParameterDefinition") + public native PHASENumberMetaParameterDefinition getInputMetaParameterDefinition(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithInputMetaParameterDefinition:envelope:identifier:") + protected native @Pointer long init(PHASENumberMetaParameterDefinition inputMetaParameterDefinition, PHASEEnvelope envelope, String identifier); + @Method(selector = "initWithInputMetaParameterDefinition:envelope:") + protected native @Pointer long init(PHASENumberMetaParameterDefinition inputMetaParameterDefinition, PHASEEnvelope envelope); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterial.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterial.java new file mode 100644 index 000000000..87eb27837 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterial.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMaterial/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEMaterialPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMaterial.class); }/**/ + /**//**/ + /**/ + protected PHASEMaterial() {} + protected PHASEMaterial(Handle h, long handle) { super(h, handle); } + protected PHASEMaterial(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:preset:") + public PHASEMaterial(PHASEEngine engine, PHASEMaterialPreset preset) { super((SkipInit) null); initObject(init(engine, preset)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:preset:") + protected native @Pointer long init(PHASEEngine engine, PHASEMaterialPreset preset); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterialPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterialPreset.java new file mode 100644 index 000000000..9d1561664 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMaterialPreset.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEMaterialPreset/**/ implements ValuedEnum { + /**/ + Cardboard(1833136740L), + Glass(1833397363L), + Brick(1833071211L), + Concrete(1833132914L), + Drywall(1833202295L), + Wood(1834448228L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEMaterialPreset/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEMaterialPreset/**/ valueOf(long n) { + for (/**/PHASEMaterialPreset/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEMaterialPreset/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMedium.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMedium.java new file mode 100644 index 000000000..aa3346567 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMedium.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMedium/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEMediumPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMedium.class); }/**/ + /**//**/ + /**/ + protected PHASEMedium() {} + protected PHASEMedium(Handle h, long handle) { super(h, handle); } + protected PHASEMedium(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:preset:") + public PHASEMedium(PHASEEngine engine, PHASEMediumPreset preset) { super((SkipInit) null); initObject(init(engine, preset)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:preset:") + protected native @Pointer long init(PHASEEngine engine, PHASEMediumPreset preset); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMediumPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMediumPreset.java new file mode 100644 index 000000000..7d34a4734 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMediumPreset.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEMediumPreset/**/ implements ValuedEnum { + /**/ + Air(1835286898L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEMediumPreset/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEMediumPreset/**/ valueOf(long n) { + for (/**/PHASEMediumPreset/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEMediumPreset/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameter.java new file mode 100644 index 000000000..b676bc48e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameter.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMetaParameter/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEMetaParameterPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMetaParameter.class); }/**/ + /**//**/ + /**/ + protected PHASEMetaParameter() {} + protected PHASEMetaParameter(Handle h, long handle) { super(h, handle); } + protected PHASEMetaParameter(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + @Property(selector = "value") + public native NSObject getValue(); + @Property(selector = "setValue:") + public native void setValue(NSObject v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameterDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameterDefinition.java new file mode 100644 index 000000000..5765d3b6d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMetaParameterDefinition.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMetaParameterDefinition/**/ + extends /**/PHASEDefinition/**/ + /**//**/ { + + /**/public static class PHASEMetaParameterDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMetaParameterDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEMetaParameterDefinition() {} + protected PHASEMetaParameterDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEMetaParameterDefinition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "value") + public native NSObject getValue(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixer.java new file mode 100644 index 000000000..bcc948728 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixer.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMixer/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEMixerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMixer.class); }/**/ + /**//**/ + /**/ + protected PHASEMixer() {} + protected PHASEMixer(Handle h, long handle) { super(h, handle); } + protected PHASEMixer(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "gainMetaParameter") + public native PHASEMetaParameter getGainMetaParameter(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerDefinition.java new file mode 100644 index 000000000..191709ead --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerDefinition.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMixerDefinition/**/ + extends /**/PHASEDefinition/**/ + /**//**/ { + + /**/public static class PHASEMixerDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMixerDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEMixerDefinition() {} + protected PHASEMixerDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEMixerDefinition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "setGain:") + public native void setGain(double v); + @Property(selector = "gainMetaParameterDefinition") + public native PHASENumberMetaParameterDefinition getGainMetaParameterDefinition(); + @Property(selector = "setGainMetaParameterDefinition:") + public native void setGainMetaParameterDefinition(PHASENumberMetaParameterDefinition v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerParameters.java new file mode 100644 index 000000000..1d97a6a70 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEMixerParameters.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEMixerParameters/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEMixerParametersPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEMixerParameters.class); }/**/ + /**//**/ + /**/ + public PHASEMixerParameters() {} + protected PHASEMixerParameters(Handle h, long handle) { super(h, handle); } + protected PHASEMixerParameters(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "addSpatialMixerParametersWithIdentifier:source:listener:") + public native void addSpatialMixerParameters(String identifier, PHASESource source, PHASEListener listener); + @Method(selector = "addAmbientMixerParametersWithIdentifier:listener:") + public native void addAmbientMixerParameters(String identifier, PHASEListener listener); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENormalizationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENormalizationMode.java new file mode 100644 index 000000000..f8579d97e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENormalizationMode.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASENormalizationMode/**/ implements ValuedEnum { + /**/ + None(0L), + Dynamic(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASENormalizationMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASENormalizationMode/**/ valueOf(long n) { + for (/**/PHASENormalizationMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASENormalizationMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameter.java new file mode 100644 index 000000000..c36fc88e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASENumberMetaParameter/**/ + extends /**/PHASEMetaParameter/**/ + /**//**/ { + + /**/public static class PHASENumberMetaParameterPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASENumberMetaParameter.class); }/**/ + /**//**/ + /**/ + protected PHASENumberMetaParameter() {} + protected PHASENumberMetaParameter(Handle h, long handle) { super(h, handle); } + protected PHASENumberMetaParameter(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "minimum") + public native double getMinimum(); + @Property(selector = "maximum") + public native double getMaximum(); + /**/ + /**//**/ + /**/ + @Method(selector = "fadeToValue:duration:") + public native void fadeToValue(double value, double duration); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameterDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameterDefinition.java new file mode 100644 index 000000000..868e98645 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumberMetaParameterDefinition.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASENumberMetaParameterDefinition/**/ + extends /**/PHASEMetaParameterDefinition/**/ + /**//**/ { + + /**/public static class PHASENumberMetaParameterDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASENumberMetaParameterDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASENumberMetaParameterDefinition() {} + protected PHASENumberMetaParameterDefinition(Handle h, long handle) { super(h, handle); } + protected PHASENumberMetaParameterDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithValue:identifier:") + public PHASENumberMetaParameterDefinition(double value, String identifier) { super((SkipInit) null); initObject(init(value, identifier)); } + @Method(selector = "initWithValue:") + public PHASENumberMetaParameterDefinition(double value) { super((SkipInit) null); initObject(init(value)); } + @Method(selector = "initWithValue:minimum:maximum:identifier:") + public PHASENumberMetaParameterDefinition(double value, double minimum, double maximum, String identifier) { super((SkipInit) null); initObject(init(value, minimum, maximum, identifier)); } + @Method(selector = "initWithValue:minimum:maximum:") + public PHASENumberMetaParameterDefinition(double value, double minimum, double maximum) { super((SkipInit) null); initObject(init(value, minimum, maximum)); } + /**/ + /**/ + @Property(selector = "minimum") + public native double getMinimum(); + @Property(selector = "maximum") + public native double getMaximum(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithValue:identifier:") + protected native @Pointer long init(double value, String identifier); + @Method(selector = "initWithValue:") + protected native @Pointer long init(double value); + @Method(selector = "initWithValue:minimum:maximum:identifier:") + protected native @Pointer long init(double value, double minimum, double maximum, String identifier); + @Method(selector = "initWithValue:minimum:maximum:") + protected native @Pointer long init(double value, double minimum, double maximum); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumericPair.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumericPair.java new file mode 100644 index 000000000..cb9b7faf4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASENumericPair.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASENumericPair/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASENumericPairPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASENumericPair.class); }/**/ + /**//**/ + /**/ + public PHASENumericPair() {} + protected PHASENumericPair(Handle h, long handle) { super(h, handle); } + protected PHASENumericPair(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithFirstValue:secondValue:") + public PHASENumericPair(double first, double second) { super((SkipInit) null); initObject(init(first, second)); } + /**/ + /**/ + @Property(selector = "first") + public native double getFirst(); + @Property(selector = "setFirst:") + public native void setFirst(double v); + @Property(selector = "second") + public native double getSecond(); + @Property(selector = "setSecond:") + public native void setSecond(double v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithFirstValue:secondValue:") + protected native @Pointer long init(double first, double second); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEObject.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEObject.java new file mode 100644 index 000000000..4ccf4a9be --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEObject.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEObject/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEObjectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEObject.class); }/**/ + /**//**/ + /**/ + protected PHASEObject() {} + protected PHASEObject(Handle h, long handle) { super(h, handle); } + protected PHASEObject(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:") + public PHASEObject(PHASEEngine engine) { super((SkipInit) null); initObject(init(engine)); } + /**/ + /**/ + @Property(selector = "parent") + public native PHASEObject getParent(); + @Property(selector = "children") + public native NSArray getChildren(); + @Property(selector = "right") + public static native @ByVal VectorFloat3 getRight(); + @Property(selector = "up") + public static native @ByVal VectorFloat3 getUp(); + @Property(selector = "forward") + public static native @ByVal VectorFloat3 getForward(); + @Property(selector = "transform") + public native @ByVal MatrixFloat4x4 getTransform(); + @Property(selector = "setTransform:") + public native void setTransform(@ByVal MatrixFloat4x4 v); + @Property(selector = "worldTransform") + public native @ByVal MatrixFloat4x4 getWorldTransform(); + @Property(selector = "setWorldTransform:") + public native void setWorldTransform(@ByVal MatrixFloat4x4 v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:") + protected native @Pointer long init(PHASEEngine engine); + public boolean addChild(PHASEObject child) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = addChild(child, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "addChild:error:") + private native boolean addChild(PHASEObject child, NSError.NSErrorPtr error); + @Method(selector = "removeChild:") + public native void removeChild(PHASEObject child); + @Method(selector = "removeChildren") + public native void removeChildren(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEOccluder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEOccluder.java new file mode 100644 index 000000000..ea1f404d9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEOccluder.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEOccluder/**/ + extends /**/PHASEObject/**/ + /**//**/ { + + /**/public static class PHASEOccluderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEOccluder.class); }/**/ + /**//**/ + /**/ + protected PHASEOccluder() {} + protected PHASEOccluder(Handle h, long handle) { super(h, handle); } + protected PHASEOccluder(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:shapes:") + public PHASEOccluder(PHASEEngine engine, NSArray shapes) { super((SkipInit) null); initObject(init(engine, shapes)); } + /**/ + /**/ + @Property(selector = "shapes") + public native NSArray getShapes(); + @Property(selector = "right") + public static native @ByVal VectorFloat3 getRight(); + @Property(selector = "up") + public static native @ByVal VectorFloat3 getUp(); + @Property(selector = "forward") + public static native @ByVal VectorFloat3 getForward(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:shapes:") + protected native @Pointer long init(PHASEEngine engine, NSArray shapes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPlaybackMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPlaybackMode.java new file mode 100644 index 000000000..257eb4352 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPlaybackMode.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEPlaybackMode/**/ implements ValuedEnum { + /**/ + OneShot(0L), + Looping(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEPlaybackMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEPlaybackMode/**/ valueOf(long n) { + for (/**/PHASEPlaybackMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEPlaybackMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamBufferOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamBufferOptions.java new file mode 100644 index 000000000..4672df402 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamBufferOptions.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/PHASEPushStreamBufferOptions/**/ extends Bits*/PHASEPushStreamBufferOptions/**/> { + /**/ + public static final PHASEPushStreamBufferOptions None = new PHASEPushStreamBufferOptions(0L); + public static final PHASEPushStreamBufferOptions Default = new PHASEPushStreamBufferOptions(1L); + public static final PHASEPushStreamBufferOptions Loops = new PHASEPushStreamBufferOptions(2L); + public static final PHASEPushStreamBufferOptions Interrupts = new PHASEPushStreamBufferOptions(4L); + public static final PHASEPushStreamBufferOptions InterruptsAtLoop = new PHASEPushStreamBufferOptions(8L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/PHASEPushStreamBufferOptions/**/[] values = _values(/**/PHASEPushStreamBufferOptions/**/.class); + + public /**/PHASEPushStreamBufferOptions/**/(long value) { super(value); } + private /**/PHASEPushStreamBufferOptions/**/(long value, long mask) { super(value, mask); } + protected /**/PHASEPushStreamBufferOptions/**/ wrap(long value, long mask) { + return new /**/PHASEPushStreamBufferOptions/**/(value, mask); + } + protected /**/PHASEPushStreamBufferOptions/**/[] _values() { + return values; + } + public static /**/PHASEPushStreamBufferOptions/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamCompletionCallbackCondition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamCompletionCallbackCondition.java new file mode 100644 index 000000000..bc5587dc0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamCompletionCallbackCondition.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEPushStreamCompletionCallbackCondition/**/ implements ValuedEnum { + /**/ + DataRendered(0L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEPushStreamCompletionCallbackCondition/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEPushStreamCompletionCallbackCondition/**/ valueOf(long n) { + for (/**/PHASEPushStreamCompletionCallbackCondition/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEPushStreamCompletionCallbackCondition/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNode.java new file mode 100644 index 000000000..6b093264b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNode.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEPushStreamNode/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEPushStreamNodePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEPushStreamNode.class); }/**/ + /**//**/ + /**/ + protected PHASEPushStreamNode() {} + protected PHASEPushStreamNode(Handle h, long handle) { super(h, handle); } + protected PHASEPushStreamNode(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "gainMetaParameter") + public native PHASENumberMetaParameter getGainMetaParameter(); + @Property(selector = "rateMetaParameter") + public native PHASENumberMetaParameter getRateMetaParameter(); + @Property(selector = "mixer") + public native PHASEMixer getMixer(); + @Property(selector = "format") + public native AVAudioFormat getFormat(); + /**/ + /**//**/ + /**/ + @Method(selector = "scheduleBuffer:") + public native void scheduleBuffer(AVAudioPCMBuffer buffer); + @Method(selector = "scheduleBuffer:completionCallbackType:completionHandler:") + public native void scheduleBuffer(AVAudioPCMBuffer buffer, PHASEPushStreamCompletionCallbackCondition completionCallbackType, @Block VoidBlock1 completionHandler); + @Method(selector = "scheduleBuffer:atTime:options:") + public native void scheduleBuffer(AVAudioPCMBuffer buffer, AVAudioTime when, PHASEPushStreamBufferOptions options); + @Method(selector = "scheduleBuffer:atTime:options:completionCallbackType:completionHandler:") + public native void scheduleBuffer(AVAudioPCMBuffer buffer, AVAudioTime when, PHASEPushStreamBufferOptions options, PHASEPushStreamCompletionCallbackCondition completionCallbackType, @Block VoidBlock1 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNodeDefinition.java new file mode 100644 index 000000000..d75ab6ea9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEPushStreamNodeDefinition.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEPushStreamNodeDefinition/**/ + extends /**/PHASEGeneratorNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASEPushStreamNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEPushStreamNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEPushStreamNodeDefinition() {} + protected PHASEPushStreamNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEPushStreamNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithMixerDefinition:format:identifier:") + public PHASEPushStreamNodeDefinition(PHASEMixerDefinition mixerDefinition, AVAudioFormat format, String identifier) { super((SkipInit) null); initObject(init(mixerDefinition, format, identifier)); } + @Method(selector = "initWithMixerDefinition:format:") + public PHASEPushStreamNodeDefinition(PHASEMixerDefinition mixerDefinition, AVAudioFormat format) { super((SkipInit) null); initObject(init(mixerDefinition, format)); } + /**/ + /**/ + @Property(selector = "format") + public native AVAudioFormat getFormat(); + @Property(selector = "normalize") + public native boolean isNormalize(); + @Property(selector = "setNormalize:") + public native void setNormalize(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithMixerDefinition:format:identifier:") + protected native @Pointer long init(PHASEMixerDefinition mixerDefinition, AVAudioFormat format, String identifier); + @Method(selector = "initWithMixerDefinition:format:") + protected native @Pointer long init(PHASEMixerDefinition mixerDefinition, AVAudioFormat format); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERandomNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERandomNodeDefinition.java new file mode 100644 index 000000000..bd25b42f5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERandomNodeDefinition.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASERandomNodeDefinition/**/ + extends /**/PHASESoundEventNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASERandomNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASERandomNodeDefinition.class); }/**/ + /**//**/ + /**/ + public PHASERandomNodeDefinition() {} + protected PHASERandomNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASERandomNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithIdentifier:") + public PHASERandomNodeDefinition(String identifier) { super((SkipInit) null); initObject(init(identifier)); } + /**/ + /**/ + @Property(selector = "uniqueSelectionQueueLength") + public native @MachineSizedSInt long getUniqueSelectionQueueLength(); + @Property(selector = "setUniqueSelectionQueueLength:") + public native void setUniqueSelectionQueueLength(@MachineSizedSInt long v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithIdentifier:") + protected native @Pointer long init(String identifier); + @Method(selector = "addSubtree:weight:") + public native void addSubtree(PHASESoundEventNodeDefinition subtree, NSNumber weight); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERenderingState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERenderingState.java new file mode 100644 index 000000000..bcdacfe17 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASERenderingState.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASERenderingState/**/ implements ValuedEnum { + /**/ + Stopped(0L), + Started(1L), + Paused(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASERenderingState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASERenderingState/**/ valueOf(long n) { + for (/**/PHASERenderingState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASERenderingState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEReverbPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEReverbPreset.java new file mode 100644 index 000000000..8ccfba710 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEReverbPreset.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEReverbPreset/**/ implements ValuedEnum { + /**/ + None(1917742958L), + SmallRoom(1918063213L), + MediumRoom(1917669997L), + LargeRoom(1917604401L), + LargeRoom2(1917604402L), + MediumChamber(1917666152L), + LargeChamber(1917600616L), + MediumHall(1917667377L), + MediumHall2(1917667378L), + MediumHall3(1917667379L), + LargeHall(1917601841L), + LargeHall2(1917601842L), + Cathedral(1917023336L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEReverbPreset/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEReverbPreset/**/ valueOf(long n) { + for (/**/PHASEReverbPreset/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEReverbPreset/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESamplerNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESamplerNodeDefinition.java new file mode 100644 index 000000000..db5e86b59 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESamplerNodeDefinition.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESamplerNodeDefinition/**/ + extends /**/PHASEGeneratorNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASESamplerNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESamplerNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASESamplerNodeDefinition() {} + protected PHASESamplerNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASESamplerNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSoundAssetIdentifier:mixerDefinition:identifier:") + public PHASESamplerNodeDefinition(String soundAssetIdentifier, PHASEMixerDefinition mixerDefinition, String identifier) { super((SkipInit) null); initObject(init(soundAssetIdentifier, mixerDefinition, identifier)); } + @Method(selector = "initWithSoundAssetIdentifier:mixerDefinition:") + public PHASESamplerNodeDefinition(String soundAssetIdentifier, PHASEMixerDefinition mixerDefinition) { super((SkipInit) null); initObject(init(soundAssetIdentifier, mixerDefinition)); } + /**/ + /**/ + @Property(selector = "assetIdentifier") + public native String getAssetIdentifier(); + @Property(selector = "cullOption") + public native PHASECullOption getCullOption(); + @Property(selector = "setCullOption:") + public native void setCullOption(PHASECullOption v); + @Property(selector = "playbackMode") + public native PHASEPlaybackMode getPlaybackMode(); + @Property(selector = "setPlaybackMode:") + public native void setPlaybackMode(PHASEPlaybackMode v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSoundAssetIdentifier:mixerDefinition:identifier:") + protected native @Pointer long init(String soundAssetIdentifier, PHASEMixerDefinition mixerDefinition, String identifier); + @Method(selector = "initWithSoundAssetIdentifier:mixerDefinition:") + protected native @Pointer long init(String soundAssetIdentifier, PHASEMixerDefinition mixerDefinition); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShape.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShape.java new file mode 100644 index 000000000..8a73eca54 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShape.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEShape/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEShapePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEShape.class); }/**/ + /**//**/ + /**/ + protected PHASEShape() {} + protected PHASEShape(Handle h, long handle) { super(h, handle); } + protected PHASEShape(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:mesh:") + public PHASEShape(PHASEEngine engine, MDLMesh mesh) { super((SkipInit) null); initObject(init(engine, mesh)); } + @Method(selector = "initWithEngine:mesh:materials:") + public PHASEShape(PHASEEngine engine, MDLMesh mesh, NSArray materials) { super((SkipInit) null); initObject(init(engine, mesh, materials)); } + /**/ + /**/ + @Property(selector = "elements") + public native NSArray getElements(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:mesh:") + protected native @Pointer long init(PHASEEngine engine, MDLMesh mesh); + @Method(selector = "initWithEngine:mesh:materials:") + protected native @Pointer long init(PHASEEngine engine, MDLMesh mesh, NSArray materials); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShapeElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShapeElement.java new file mode 100644 index 000000000..a1777d37a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEShapeElement.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEShapeElement/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASEShapeElementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEShapeElement.class); }/**/ + /**//**/ + /**/ + protected PHASEShapeElement() {} + protected PHASEShapeElement(Handle h, long handle) { super(h, handle); } + protected PHASEShapeElement(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "material") + public native PHASEMaterial getMaterial(); + @Property(selector = "setMaterial:") + public native void setMaterial(PHASEMaterial v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundAsset.java new file mode 100644 index 000000000..a9a8672a6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundAsset.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESoundAsset/**/ + extends /**/PHASEAsset/**/ + /**//**/ { + + /**/public static class PHASESoundAssetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESoundAsset.class); }/**/ + /**//**/ + /**/ + protected PHASESoundAsset() {} + protected PHASESoundAsset(Handle h, long handle) { super(h, handle); } + protected PHASESoundAsset(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "url") + public native NSURL getUrl(); + @Property(selector = "data") + public native NSData getData(); + @Property(selector = "type") + public native PHASEAssetType getType(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEvent.java new file mode 100644 index 000000000..4a11214c8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEvent.java @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESoundEvent/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASESoundEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESoundEvent.class); }/**/ + /**//**/ + /**/ + protected PHASESoundEvent() {} + protected PHASESoundEvent(Handle h, long handle) { super(h, handle); } + protected PHASESoundEvent(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:assetIdentifier:mixerParameters:error:") + public PHASESoundEvent(PHASEEngine engine, String assetIdentifier, PHASEMixerParameters mixerParameters) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(engine, assetIdentifier, mixerParameters, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + @Method(selector = "initWithEngine:assetIdentifier:error:") + public PHASESoundEvent(PHASEEngine engine, String assetIdentifier) throws NSErrorException { + super((SkipInit) null); + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + long handle = init(engine, assetIdentifier, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + initObject(handle); + } + /**/ + /**/ + @Property(selector = "renderingState") + public native PHASERenderingState getRenderingState(); + @Property(selector = "prepareState") + public native PHASESoundEventPrepareState getPrepareState(); + @Property(selector = "metaParameters") + public native NSDictionary getMetaParameters(); + @Property(selector = "mixers") + public native NSDictionary getMixers(); + @Property(selector = "pushStreamNodes") + public native NSDictionary getPushStreamNodes(); + @Property(selector = "isIndefinite") + public native boolean isIndefinite(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:assetIdentifier:mixerParameters:error:") + private native @Pointer long init(PHASEEngine engine, String assetIdentifier, PHASEMixerParameters mixerParameters, NSError.NSErrorPtr error); + @Method(selector = "initWithEngine:assetIdentifier:error:") + private native @Pointer long init(PHASEEngine engine, String assetIdentifier, NSError.NSErrorPtr error); + @Method(selector = "prepareWithCompletion:") + public native void prepare(@Block VoidBlock1 handler); + @Method(selector = "startWithCompletion:") + public native void start(@Block VoidBlock1 handler); + @Method(selector = "seekToTime:completion:") + public native void seekToTime(double time, @Block VoidBlock1 handler); + @Method(selector = "pause") + public native void pause(); + @Method(selector = "resume") + public native void resume(); + @Method(selector = "stopAndInvalidate") + public native void stopAndInvalidate(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventError.java new file mode 100644 index 000000000..1bbc1822c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventError.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("PHASE")/**/ +public enum /**/PHASESoundEventError/**/ implements NSErrorCode { + /**/ + NotFound(1346925665L), + BadData(1346925666L), + InvalidInstance(1346925667L), + APIMisuse(1346925668L), + SystemNotInitialized(1346925669L), + OutOfMemory(1346925670L); + /**/ + + /**/static { Bro.bind(PHASESoundEventError.class); }/**/ + /**//**/ + /**//**/ + /**/ + @GlobalValue(symbol="PHASESoundEventErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/PHASESoundEventError/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESoundEventError/**/ valueOf(long n) { + for (/**/PHASESoundEventError/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESoundEventError/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/PHASESoundEventError/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/PHASESoundEventError/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeAsset.java new file mode 100644 index 000000000..648dcd7f8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeAsset.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESoundEventNodeAsset/**/ + extends /**/PHASEAsset/**/ + /**//**/ { + + /**/public static class PHASESoundEventNodeAssetPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESoundEventNodeAsset.class); }/**/ + /**//**/ + /**/ + protected PHASESoundEventNodeAsset() {} + protected PHASESoundEventNodeAsset(Handle h, long handle) { super(h, handle); } + protected PHASESoundEventNodeAsset(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeDefinition.java new file mode 100644 index 000000000..be9e652f0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventNodeDefinition.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESoundEventNodeDefinition/**/ + extends /**/PHASEDefinition/**/ + /**//**/ { + + /**/public static class PHASESoundEventNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESoundEventNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASESoundEventNodeDefinition() {} + protected PHASESoundEventNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASESoundEventNodeDefinition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "children") + public native NSArray getChildren(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareHandlerReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareHandlerReason.java new file mode 100644 index 000000000..e8d388043 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareHandlerReason.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASESoundEventPrepareHandlerReason/**/ implements ValuedEnum { + /**/ + Failure(0L), + Prepared(1L), + Terminated(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASESoundEventPrepareHandlerReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESoundEventPrepareHandlerReason/**/ valueOf(long n) { + for (/**/PHASESoundEventPrepareHandlerReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESoundEventPrepareHandlerReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareState.java new file mode 100644 index 000000000..15638d078 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventPrepareState.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASESoundEventPrepareState/**/ implements ValuedEnum { + /**/ + PrepareNotStarted(0L), + PrepareInProgress(1L), + Prepared(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASESoundEventPrepareState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESoundEventPrepareState/**/ valueOf(long n) { + for (/**/PHASESoundEventPrepareState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESoundEventPrepareState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventSeekHandlerReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventSeekHandlerReason.java new file mode 100644 index 000000000..f2a1316e0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventSeekHandlerReason.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASESoundEventSeekHandlerReason/**/ implements ValuedEnum { + /**/ + Failure(0L), + FailureSeekAlreadyInProgress(1L), + SeekSuccessful(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASESoundEventSeekHandlerReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESoundEventSeekHandlerReason/**/ valueOf(long n) { + for (/**/PHASESoundEventSeekHandlerReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESoundEventSeekHandlerReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventStartHandlerReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventStartHandlerReason.java new file mode 100644 index 000000000..ae652ed22 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESoundEventStartHandlerReason.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASESoundEventStartHandlerReason/**/ implements ValuedEnum { + /**/ + Failure(0L), + FinishedPlaying(1L), + Terminated(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASESoundEventStartHandlerReason/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESoundEventStartHandlerReason/**/ valueOf(long n) { + for (/**/PHASESoundEventStartHandlerReason/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESoundEventStartHandlerReason/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESource.java new file mode 100644 index 000000000..23b39d292 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESource.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESource/**/ + extends /**/PHASEObject/**/ + /**//**/ { + + /**/public static class PHASESourcePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESource.class); }/**/ + /**//**/ + /**/ + protected PHASESource() {} + protected PHASESource(Handle h, long handle) { super(h, handle); } + protected PHASESource(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithEngine:") + public PHASESource(PHASEEngine engine) { super((SkipInit) null); initObject(init(engine)); } + @Method(selector = "initWithEngine:shapes:") + public PHASESource(PHASEEngine engine, NSArray shapes) { super((SkipInit) null); initObject(init(engine, shapes)); } + /**/ + /**/ + @Property(selector = "gain") + public native double getGain(); + @Property(selector = "setGain:") + public native void setGain(double v); + @Property(selector = "shapes") + public native NSArray getShapes(); + @Property(selector = "right") + public static native @ByVal VectorFloat3 getRight(); + @Property(selector = "up") + public static native @ByVal VectorFloat3 getUp(); + @Property(selector = "forward") + public static native @ByVal VectorFloat3 getForward(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithEngine:") + protected native @Pointer long init(PHASEEngine engine); + @Method(selector = "initWithEngine:shapes:") + protected native @Pointer long init(PHASEEngine engine, NSArray shapes); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialCategory.java new file mode 100644 index 000000000..fa9b7944c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialCategory.java @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/**/ +/**/@Library("PHASE") @StronglyLinked/**/ +@Marshaler(/**/PHASESpatialCategory/**/.Marshaler.class) +/**/public/**/ class /**/PHASESpatialCategory/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/PHASESpatialCategory/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static PHASESpatialCategory toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return PHASESpatialCategory.valueOf(o); + } + @MarshalsPointer + public static long toNative(PHASESpatialCategory o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(PHASESpatialCategory.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (PHASESpatialCategory o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + public static final PHASESpatialCategory DirectPathTransmission = new PHASESpatialCategory("DirectPathTransmission"); + public static final PHASESpatialCategory EarlyReflections = new PHASESpatialCategory("EarlyReflections"); + public static final PHASESpatialCategory LateReverb = new PHASESpatialCategory("LateReverb"); + /**/ + + private static /**/PHASESpatialCategory/**/[] values = new /**/PHASESpatialCategory/**/[] {/**/DirectPathTransmission, EarlyReflections, LateReverb/**/}; + + /**/PHASESpatialCategory/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/PHASESpatialCategory/**/ valueOf(/**/NSString/**/ value) { + for (/**/PHASESpatialCategory/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/PHASESpatialCategory/**/.class.getName()); + } + + /**//**/ + + /**/@Library("PHASE") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + @GlobalValue(symbol="PHASESpatialCategoryDirectPathTransmission", optional=true) + public static native NSString DirectPathTransmission(); + @GlobalValue(symbol="PHASESpatialCategoryEarlyReflections", optional=true) + public static native NSString EarlyReflections(); + @GlobalValue(symbol="PHASESpatialCategoryLateReverb", optional=true) + public static native NSString LateReverb(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialMixerDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialMixerDefinition.java new file mode 100644 index 000000000..428cfa8a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialMixerDefinition.java @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESpatialMixerDefinition/**/ + extends /**/PHASEMixerDefinition/**/ + /**//**/ { + + /**/public static class PHASESpatialMixerDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESpatialMixerDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASESpatialMixerDefinition() {} + protected PHASESpatialMixerDefinition(Handle h, long handle) { super(h, handle); } + protected PHASESpatialMixerDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSpatialPipeline:") + public PHASESpatialMixerDefinition(PHASESpatialPipeline spatialPipeline) { super((SkipInit) null); initObject(init(spatialPipeline)); } + @Method(selector = "initWithSpatialPipeline:identifier:") + public PHASESpatialMixerDefinition(PHASESpatialPipeline spatialPipeline, String identifier) { super((SkipInit) null); initObject(init(spatialPipeline, identifier)); } + /**/ + /**/ + @Property(selector = "spatialPipeline") + public native PHASESpatialPipeline getSpatialPipeline(); + @Property(selector = "distanceModelParameters") + public native PHASEDistanceModelParameters getDistanceModelParameters(); + @Property(selector = "setDistanceModelParameters:") + public native void setDistanceModelParameters(PHASEDistanceModelParameters v); + @Property(selector = "listenerDirectivityModelParameters") + public native PHASEDirectivityModelParameters getListenerDirectivityModelParameters(); + @Property(selector = "setListenerDirectivityModelParameters:") + public native void setListenerDirectivityModelParameters(PHASEDirectivityModelParameters v); + @Property(selector = "sourceDirectivityModelParameters") + public native PHASEDirectivityModelParameters getSourceDirectivityModelParameters(); + @Property(selector = "setSourceDirectivityModelParameters:") + public native void setSourceDirectivityModelParameters(PHASEDirectivityModelParameters v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSpatialPipeline:") + protected native @Pointer long init(PHASESpatialPipeline spatialPipeline); + @Method(selector = "initWithSpatialPipeline:identifier:") + protected native @Pointer long init(PHASESpatialPipeline spatialPipeline, String identifier); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipeline.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipeline.java new file mode 100644 index 000000000..c630887f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipeline.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESpatialPipeline/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASESpatialPipelinePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESpatialPipeline.class); }/**/ + /**//**/ + /**/ + protected PHASESpatialPipeline() {} + protected PHASESpatialPipeline(Handle h, long handle) { super(h, handle); } + protected PHASESpatialPipeline(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithFlags:") + public PHASESpatialPipeline(PHASESpatialPipelineFlags flags) { super((SkipInit) null); initObject(init(flags)); } + /**/ + /**/ + @Property(selector = "flags") + public native PHASESpatialPipelineFlags getFlags(); + @Property(selector = "entries") + public native NSDictionary getEntries(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithFlags:") + protected native @Pointer long init(PHASESpatialPipelineFlags flags); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineEntry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineEntry.java new file mode 100644 index 000000000..05415b2a4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineEntry.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESpatialPipelineEntry/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHASESpatialPipelineEntryPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESpatialPipelineEntry.class); }/**/ + /**//**/ + /**/ + public PHASESpatialPipelineEntry() {} + protected PHASESpatialPipelineEntry(Handle h, long handle) { super(h, handle); } + protected PHASESpatialPipelineEntry(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "sendLevel") + public native double getSendLevel(); + @Property(selector = "setSendLevel:") + public native void setSendLevel(double v); + @Property(selector = "sendLevelMetaParameterDefinition") + public native PHASENumberMetaParameterDefinition getSendLevelMetaParameterDefinition(); + @Property(selector = "setSendLevelMetaParameterDefinition:") + public native void setSendLevelMetaParameterDefinition(PHASENumberMetaParameterDefinition v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineFlags.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineFlags.java new file mode 100644 index 000000000..8cfbc04c3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatialPipelineFlags.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/PHASESpatialPipelineFlags/**/ extends Bits*/PHASESpatialPipelineFlags/**/> { + /**/ + public static final PHASESpatialPipelineFlags None = new PHASESpatialPipelineFlags(0L); + public static final PHASESpatialPipelineFlags DirectPathTransmission = new PHASESpatialPipelineFlags(1L); + public static final PHASESpatialPipelineFlags EarlyReflections = new PHASESpatialPipelineFlags(2L); + public static final PHASESpatialPipelineFlags LateReverb = new PHASESpatialPipelineFlags(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/PHASESpatialPipelineFlags/**/[] values = _values(/**/PHASESpatialPipelineFlags/**/.class); + + public /**/PHASESpatialPipelineFlags/**/(long value) { super(value); } + private /**/PHASESpatialPipelineFlags/**/(long value, long mask) { super(value, mask); } + protected /**/PHASESpatialPipelineFlags/**/ wrap(long value, long mask) { + return new /**/PHASESpatialPipelineFlags/**/(value, mask); + } + protected /**/PHASESpatialPipelineFlags/**/[] _values() { + return values; + } + public static /**/PHASESpatialPipelineFlags/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatializationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatializationMode.java new file mode 100644 index 000000000..a1a4e7d15 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESpatializationMode.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASESpatializationMode/**/ implements ValuedEnum { + /**/ + Automatic(0L), + AlwaysUseBinaural(1L), + AlwaysUseChannelBased(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASESpatializationMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASESpatializationMode/**/ valueOf(long n) { + for (/**/PHASESpatializationMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASESpatializationMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameter.java new file mode 100644 index 000000000..5dbd85a40 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameter.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEStringMetaParameter/**/ + extends /**/PHASEMetaParameter/**/ + /**//**/ { + + /**/public static class PHASEStringMetaParameterPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEStringMetaParameter.class); }/**/ + /**//**/ + /**/ + protected PHASEStringMetaParameter() {} + protected PHASEStringMetaParameter(Handle h, long handle) { super(h, handle); } + protected PHASEStringMetaParameter(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameterDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameterDefinition.java new file mode 100644 index 000000000..5545f98e6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEStringMetaParameterDefinition.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASEStringMetaParameterDefinition/**/ + extends /**/PHASEMetaParameterDefinition/**/ + /**//**/ { + + /**/public static class PHASEStringMetaParameterDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASEStringMetaParameterDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASEStringMetaParameterDefinition() {} + protected PHASEStringMetaParameterDefinition(Handle h, long handle) { super(h, handle); } + protected PHASEStringMetaParameterDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithValue:identifier:") + public PHASEStringMetaParameterDefinition(String value, String identifier) { super((SkipInit) null); initObject(init(value, identifier)); } + @Method(selector = "initWithValue:") + public PHASEStringMetaParameterDefinition(String value) { super((SkipInit) null); initObject(init(value)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithValue:identifier:") + protected native @Pointer long init(String value, String identifier); + @Method(selector = "initWithValue:") + protected native @Pointer long init(String value); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESwitchNodeDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESwitchNodeDefinition.java new file mode 100644 index 000000000..d3901b5a5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASESwitchNodeDefinition.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ +/** + * @since Available in iOS 15.0 and later. + */ +/**/ +/**/@Library("PHASE") @NativeClass/**/ +/**/public/**/ class /**/PHASESwitchNodeDefinition/**/ + extends /**/PHASESoundEventNodeDefinition/**/ + /**//**/ { + + /**/public static class PHASESwitchNodeDefinitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHASESwitchNodeDefinition.class); }/**/ + /**//**/ + /**/ + protected PHASESwitchNodeDefinition() {} + protected PHASESwitchNodeDefinition(Handle h, long handle) { super(h, handle); } + protected PHASESwitchNodeDefinition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithSwitchMetaParameterDefinition:identifier:") + public PHASESwitchNodeDefinition(PHASEStringMetaParameterDefinition switchMetaParameterDefinition, String identifier) { super((SkipInit) null); initObject(init(switchMetaParameterDefinition, identifier)); } + @Method(selector = "initWithSwitchMetaParameterDefinition:") + public PHASESwitchNodeDefinition(PHASEStringMetaParameterDefinition switchMetaParameterDefinition) { super((SkipInit) null); initObject(init(switchMetaParameterDefinition)); } + /**/ + /**/ + @Property(selector = "switchMetaParameterDefinition") + public native PHASEStringMetaParameterDefinition getSwitchMetaParameterDefinition(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithSwitchMetaParameterDefinition:identifier:") + protected native @Pointer long init(PHASEStringMetaParameterDefinition switchMetaParameterDefinition, String identifier); + @Method(selector = "initWithSwitchMetaParameterDefinition:") + protected native @Pointer long init(PHASEStringMetaParameterDefinition switchMetaParameterDefinition); + @Method(selector = "addSubtree:switchValue:") + public native void addSubtree(PHASESoundEventNodeDefinition subtree, String switchValue); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEUpdateMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEUpdateMode.java new file mode 100644 index 000000000..bc8bc2b7a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/phase/PHASEUpdateMode.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.phase; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreaudio.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.modelio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHASEUpdateMode/**/ implements ValuedEnum { + /**/ + Automatic(0L), + Manual(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHASEUpdateMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHASEUpdateMode/**/ valueOf(long n) { + for (/**/PHASEUpdateMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHASEUpdateMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAccessLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAccessLevel.java index e66b0b3b5..b2e8ecf37 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAccessLevel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAccessLevel.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAdjustmentData.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAdjustmentData.java index cbf7c77f7..0d3606409 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAdjustmentData.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAdjustmentData.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAsset.java index 365d2afd8..38508b3d6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAsset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAsset.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetBurstSelectionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetBurstSelectionType.java index b3360e1c6..15420122f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetBurstSelectionType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetBurstSelectionType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetChangeRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetChangeRequest.java index 7f0c2bf0a..b8b4f5067 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetChangeRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetChangeRequest.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollection.java index 67656ea7d..6c54afb09 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollection.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionChangeRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionChangeRequest.java index 5439ded97..c36a15d39 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionChangeRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionChangeRequest.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionSubtype.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionSubtype.java index 79f0ec508..febae7a4a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionSubtype.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionSubtype.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionType.java index e779ad41e..97c037278 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCollectionType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCreationRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCreationRequest.java index 98698023f..fa47b5e28 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCreationRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetCreationRequest.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetEditOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetEditOperation.java index 962b75eb9..394b4b815 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetEditOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetEditOperation.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaSubtype.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaSubtype.java index bb969691a..0654adbcf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaSubtype.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaSubtype.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaType.java index d9bb5ca29..a5c40e905 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetMediaType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetPlaybackStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetPlaybackStyle.java index ad6f7df66..04e9db343 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetPlaybackStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetPlaybackStyle.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResource.java index 95820838f..5a9163e71 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResource.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceCreationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceCreationOptions.java index 5312d5c88..d26eded0d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceCreationOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceCreationOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceManager.java index bf3d2ec51..616a05e14 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceManager.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceRequestOptions.java index cc68aa1e1..c914221f2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceRequestOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceType.java index 3d5f64801..401ffa2f3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetResourceType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ @@ -68,7 +69,11 @@ public enum /**/PHAssetResourceType/**/ implements ValuedEnum { /** * @since Available in iOS 13.0 and later. */ - AdjustmentBaseVideo(12L); + AdjustmentBaseVideo(12L), + /** + * @since Available in iOS 17.0 and later. + */ + PhotoProxy(19L); /**/ public static class AsListMarshaler { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetSourceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetSourceType.java index b146cf1b4..e1a6e1da2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetSourceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAssetSourceType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAuthorizationStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAuthorizationStatus.java index 756440328..031a13a7c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAuthorizationStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHAuthorizationStatus.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCachingImageManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCachingImageManager.java index 037df6d4d..f830fe612 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCachingImageManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCachingImageManager.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChange.java index c7bcfbf11..c71c2481d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChange.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChangeRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChangeRequest.java index 7bceb5b16..d9fdd623c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChangeRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHChangeRequest.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifier.java index 6bd9b4733..41a7428e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifier.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifierMapping.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifierMapping.java index 5e44e6e75..4bf5b92df 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifierMapping.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCloudIdentifierMapping.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollection.java index c62c7622a..af8e83591 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollection.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionEditOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionEditOperation.java index 4db5f5a66..ed9af3844 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionEditOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionEditOperation.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionList.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionList.java index 19d743889..bad7bd393 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionList.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionList.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListChangeRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListChangeRequest.java index 867104e4c..67bdfcadb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListChangeRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListChangeRequest.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListSubtype.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListSubtype.java index a97faa78a..bce9a07df 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListSubtype.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListSubtype.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListType.java index 1f2275027..8cfc065f1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHCollectionListType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInput.java index 74a59fdc1..dde74a4b1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInput.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestOptions.java index d34f86cdb..042121b64 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestResult.java index 21da7552c..7e2b1540e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingInputRequestResult.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingOutput.java index 2db289ce6..f20723bc9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingOutput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHContentEditingOutput.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ @@ -64,11 +65,35 @@ public PHContentEditingOutput() {} public native void setAdjustmentData(PHAdjustmentData v); @Property(selector = "renderedContentURL") public native NSURL getRenderedContentURL(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "defaultRenderedContentType") + public native UTType getDefaultRenderedContentType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supportedRenderedContentTypes") + public native NSArray getSupportedRenderedContentTypes(); /**/ /**//**/ /**/ @Method(selector = "initWithContentEditingInput:") protected native @Pointer long init(PHContentEditingInput contentEditingInput); + /** + * @since Available in iOS 17.0 and later. + */ + public NSURL renderedContentURL(UTType type) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSURL result = renderedContentURL(type, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "renderedContentURLForType:error:") + private native NSURL renderedContentURL(UTType type, NSError.NSErrorPtr error); @Method(selector = "initWithPlaceholderForCreatedAsset:") protected native @Pointer long init(PHObjectPlaceholder placeholderForCreatedAsset); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchOptions.java index d600af982..34c583ceb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResult.java index 11bb0b64b..87e43056f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResult.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResultChangeDetails.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResultChangeDetails.java index 394f8a7ac..7726c8aa6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResultChangeDetails.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHFetchResultChangeDetails.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageContentMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageContentMode.java index 73166862f..760d6264a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageContentMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageContentMode.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageManager.java index 7ae19bd85..75c9b90f1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageManager.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptions.java index a8fccb5b3..99214747c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ @@ -82,6 +83,16 @@ public PHImageRequestOptions() {} public native @Block VoidBlock4> getProgressHandler(); @Property(selector = "setProgressHandler:") public native void setProgressHandler(@Block VoidBlock4> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allowSecondaryDegradedImage") + public native boolean isAllowSecondaryDegradedImage(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllowSecondaryDegradedImage:") + public native void setAllowSecondaryDegradedImage(boolean v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsDeliveryMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsDeliveryMode.java index 22d3abd1f..34ffb5ee3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsDeliveryMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsDeliveryMode.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsResizeMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsResizeMode.java index 439005c8a..d0bf9d3f4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsResizeMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsResizeMode.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsVersion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsVersion.java index 0e9077871..8f56396b4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsVersion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestOptionsVersion.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestResult.java index 43add5ae3..ffe7b4a5a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHImageRequestResult.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhoto.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhoto.java index 008cb8970..2f9a34edb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhoto.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhoto.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoEditingContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoEditingContext.java index ca9e5826f..84aa0f449 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoEditingContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoEditingContext.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrame.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrame.java index ce90099f7..35e3df90f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrame.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrame.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameAdapter.java index b5c6a4cae..01124f48a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameAdapter.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameType.java index e8ad5627c..26b06f2f9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoFrameType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoRequestOptions.java index 64380a7ff..3a6edbc07 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLivePhotoRequestOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLocalIdentifierMapping.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLocalIdentifierMapping.java index e5c1dbe1f..7b69941c4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLocalIdentifierMapping.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHLocalIdentifierMapping.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObject.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObject.java index 99d0397b3..0e12a213d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObject.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObject.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectChangeDetails.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectChangeDetails.java index 08c92793a..059abccab 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectChangeDetails.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectChangeDetails.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectPlaceholder.java index cbcf6f1c2..f5048b62b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectPlaceholder.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectType.java index a2c6b8591..ed01961d3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHObjectType.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChange.java index 50f0a39a2..00d1c53a8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChange.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeFetchResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeFetchResult.java index ee3462e7a..2b498188e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeFetchResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeFetchResult.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeToken.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeToken.java index d79698704..534befbb3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeToken.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentChangeToken.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentObjectChangeDetails.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentObjectChangeDetails.java index 7420b267e..a83503d48 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentObjectChangeDetails.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPersistentObjectChangeDetails.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibrary.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibrary.java index 0a348cb3d..c632e9eff 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibrary.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibrary.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserver.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserver.java index 43221f4bb..916a0e1d2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserver.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserver.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserverAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserverAdapter.java index 991505716..5a76aa8d6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserverAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryAvailabilityObserverAdapter.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserver.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserver.java index 3063617ff..7c1d721a0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserver.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserver.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserverAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserverAdapter.java index 9dc303741..1e14f1993 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserverAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotoLibraryChangeObserverAdapter.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotosError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotosError.java index f74bc0858..206995364 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotosError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHPhotosError.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptions.java index 72421fd90..ac093755d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptions.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsDeliveryMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsDeliveryMode.java index a14950c64..5ae52b576 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsDeliveryMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsDeliveryMode.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsVersion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsVersion.java index 831d293a2..48ca29577 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsVersion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photos/PHVideoRequestOptionsVersion.java @@ -35,6 +35,7 @@ import org.robovm.apple.coreimage.*; import org.robovm.apple.coremedia.*; import org.robovm.apple.imageio.*; +import org.robovm.apple.uniformtypeid.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHLivePhotoView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHLivePhotoView.java index 2e4232bfd..62ac2eb06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHLivePhotoView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHLivePhotoView.java @@ -76,6 +76,16 @@ public PHLivePhotoView() {} */ @Property(selector = "setLivePhoto:") public native void setLivePhoto(PHLivePhoto v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "contentsRect") + public native @ByVal org.robovm.apple.coregraphics.CGRect getContentsRect(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setContentsRect:") + public native void setContentsRect(@ByVal org.robovm.apple.coregraphics.CGRect v); /** * @since Available in iOS 9.1 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerCapabilities.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerCapabilities.java new file mode 100644 index 000000000..6be57aedb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerCapabilities.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.photosui; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.photos.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/PHPickerCapabilities/**/ extends Bits*/PHPickerCapabilities/**/> { + /**/ + public static final PHPickerCapabilities None = new PHPickerCapabilities(0L); + public static final PHPickerCapabilities Search = new PHPickerCapabilities(1L); + public static final PHPickerCapabilities StagingArea = new PHPickerCapabilities(2L); + public static final PHPickerCapabilities CollectionNavigation = new PHPickerCapabilities(4L); + public static final PHPickerCapabilities SelectionActions = new PHPickerCapabilities(8L); + public static final PHPickerCapabilities SensitivityAnalysisIntervention = new PHPickerCapabilities(16L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/PHPickerCapabilities/**/[] values = _values(/**/PHPickerCapabilities/**/.class); + + public /**/PHPickerCapabilities/**/(long value) { super(value); } + private /**/PHPickerCapabilities/**/(long value, long mask) { super(value, mask); } + protected /**/PHPickerCapabilities/**/ wrap(long value, long mask) { + return new /**/PHPickerCapabilities/**/(value, mask); + } + protected /**/PHPickerCapabilities/**/[] _values() { + return values; + } + public static /**/PHPickerCapabilities/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfiguration.java index fb760e163..e127da7d1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfiguration.java @@ -107,6 +107,36 @@ public PHPickerConfiguration() {} */ @Property(selector = "setPreselectedAssetIdentifiers:") public native void setPreselectedAssetIdentifiers(NSArray v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "mode") + public native PHPickerMode getMode(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setMode:") + public native void setMode(PHPickerMode v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "edgesWithoutContentMargins") + public native NSDirectionalRectEdge getEdgesWithoutContentMargins(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setEdgesWithoutContentMargins:") + public native void setEdgesWithoutContentMargins(NSDirectionalRectEdge v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "disabledCapabilities") + public native PHPickerCapabilities getDisabledCapabilities(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setDisabledCapabilities:") + public native void setDisabledCapabilities(PHPickerCapabilities v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfigurationSelection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfigurationSelection.java index ed4259dcf..ebbd51abe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfigurationSelection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerConfigurationSelection.java @@ -42,7 +42,15 @@ public enum /**/PHPickerConfigurationSelection/**/ implements ValuedEnum { /**/ Default(0L), - Ordered(1L); + Ordered(1L), + /** + * @since Available in iOS 17.0 and later. + */ + Continuous(2L), + /** + * @since Available in iOS 17.0 and later. + */ + ContinuousAndOrdered(3L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerMode.java new file mode 100644 index 000000000..86ed6c795 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerMode.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.photosui; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.photos.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/PHPickerMode/**/ implements ValuedEnum { + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + Default(0L), + /** + * @since Available in iOS 17.0 and later. + */ + Compact(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/PHPickerMode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/PHPickerMode/**/ valueOf(long n) { + for (/**/PHPickerMode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/PHPickerMode/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerUpdateConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerUpdateConfiguration.java new file mode 100644 index 000000000..624ad3bab --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerUpdateConfiguration.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.photosui; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.photos.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("PhotosUI") @NativeClass/**/ +/**/public/**/ class /**/PHPickerUpdateConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class PHPickerUpdateConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(PHPickerUpdateConfiguration.class); }/**/ + /**//**/ + /**/ + public PHPickerUpdateConfiguration() {} + protected PHPickerUpdateConfiguration(Handle h, long handle) { super(h, handle); } + protected PHPickerUpdateConfiguration(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "selectionLimit") + public native @MachineSizedSInt long getSelectionLimit(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSelectionLimit:") + public native void setSelectionLimit(@MachineSizedSInt long v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "edgesWithoutContentMargins") + public native NSDirectionalRectEdge getEdgesWithoutContentMargins(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setEdgesWithoutContentMargins:") + public native void setEdgesWithoutContentMargins(NSDirectionalRectEdge v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerViewController.java index 8e639798d..27224febf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/photosui/PHPickerViewController.java @@ -80,6 +80,11 @@ protected PHPickerViewController() {} */ @Method(selector = "initWithConfiguration:") protected native @Pointer long init(PHPickerConfiguration configuration); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "updatePickerUsingConfiguration:") + public native void updatePickerUsingConfiguration(PHPickerUpdateConfiguration configuration); /** * @since Available in iOS 16.0 and later. */ @@ -90,5 +95,20 @@ protected PHPickerViewController() {} */ @Method(selector = "moveAssetWithIdentifier:afterAssetWithIdentifier:") public native void moveAsset(String identifier, String afterIdentifier); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "scrollToInitialPosition") + public native void scrollToInitialPosition(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "zoomIn") + public native void zoomIn(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "zoomOut") + public native void zoomOut(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/safariservices/SFSafariViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/safariservices/SFSafariViewController.java index 729bc9592..bb7e8dd26 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/safariservices/SFSafariViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/safariservices/SFSafariViewController.java @@ -111,6 +111,11 @@ protected SFSafariViewController() {} */ @GlobalValue(symbol="SFExtensionMessageKey", optional=true) public static native String getExtensionMessageKey(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SFExtensionProfileKey", optional=true) + public static native String getExtensionProfileKey(); /** * @since Available in iOS 11.0 and later. diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNRenderer.java index 9477953d9..f651f58e7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNRenderer.java @@ -125,6 +125,11 @@ public SCNRenderer() {} */ @Property(selector = "renderingAPI") public native SCNRenderingAPI getRenderingAPI(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "workingColorSpace") + public native CGColorSpace getWorkingColorSpace(); @WeaklyLinked @Property(selector = "context") public native EAGLContext getContext(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRenderer.java index cb646a712..32f8b4f01 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRenderer.java @@ -119,6 +119,11 @@ */ @Property(selector = "renderingAPI") SCNRenderingAPI getRenderingAPI(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "workingColorSpace") + CGColorSpace getWorkingColorSpace(); @WeaklyLinked @Property(selector = "context") EAGLContext getContext(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRendererAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRendererAdapter.java index ccad89545..d739b9827 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRendererAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNSceneRendererAdapter.java @@ -121,6 +121,11 @@ public void setOverlaySKScene(SKScene v) {} */ @NotImplemented("renderingAPI") public SCNRenderingAPI getRenderingAPI() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("workingColorSpace") + public CGColorSpace getWorkingColorSpace() { return null; } @WeaklyLinked @NotImplemented("context") public EAGLContext getContext() { return null; } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNView.java index 903331064..81d847819 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/scenekit/SCNView.java @@ -170,6 +170,11 @@ public SCNView() {} */ @Property(selector = "renderingAPI") public native SCNRenderingAPI getRenderingAPI(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "workingColorSpace") + public native CGColorSpace getWorkingColorSpace(); @WeaklyLinked @Property(selector = "context") public native EAGLContext getContext(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/security/SecKeyAlgorithm.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/security/SecKeyAlgorithm.java index da6fb1303..a5b52a117 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/security/SecKeyAlgorithm.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/security/SecKeyAlgorithm.java @@ -157,11 +157,6 @@ */ @GlobalValue(symbol="kSecKeyAlgorithmRSASignatureMessagePSSSHA512", optional=true) public static native String RSASignatureMessagePSSSHA512(); - /** - * @since Available in iOS 10.0 and later. - */ - @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureRFC4754", optional=true) - public static native String ECDSASignatureRFC4754(); /** * @since Available in iOS 10.0 and later. */ @@ -217,6 +212,68 @@ */ @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageX962SHA512", optional=true) public static native String ECDSASignatureMessageX962SHA512(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754", optional=true) + public static native String ECDSASignatureDigestRFC4754(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754SHA1", optional=true) + public static native String ECDSASignatureDigestRFC4754SHA1(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754SHA224", optional=true) + public static native String ECDSASignatureDigestRFC4754SHA224(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754SHA256", optional=true) + public static native String ECDSASignatureDigestRFC4754SHA256(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754SHA384", optional=true) + public static native String ECDSASignatureDigestRFC4754SHA384(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureDigestRFC4754SHA512", optional=true) + public static native String ECDSASignatureDigestRFC4754SHA512(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageRFC4754SHA1", optional=true) + public static native String ECDSASignatureMessageRFC4754SHA1(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageRFC4754SHA224", optional=true) + public static native String ECDSASignatureMessageRFC4754SHA224(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageRFC4754SHA256", optional=true) + public static native String ECDSASignatureMessageRFC4754SHA256(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageRFC4754SHA384", optional=true) + public static native String ECDSASignatureMessageRFC4754SHA384(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureMessageRFC4754SHA512", optional=true) + public static native String ECDSASignatureMessageRFC4754SHA512(); + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Use kSecKeyAlgorithmECDSASignatureDigestRFC4754 + */ + @Deprecated + @GlobalValue(symbol="kSecKeyAlgorithmECDSASignatureRFC4754", optional=true) + public static native String ECDSASignatureRFC4754(); /** * @since Available in iOS 10.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysis.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysis.java new file mode 100644 index 000000000..f0c5b690b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysis.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensitivecontentanalysis; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensitiveContentAnalysis") @NativeClass/**/ +/**/public/**/ class /**/SCSensitivityAnalysis/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class SCSensitivityAnalysisPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SCSensitivityAnalysis.class); }/**/ + /**//**/ + /**/ + public SCSensitivityAnalysis() {} + protected SCSensitivityAnalysis(Handle h, long handle) { super(h, handle); } + protected SCSensitivityAnalysis(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isSensitive") + public native boolean isSensitive(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysisPolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysisPolicy.java new file mode 100644 index 000000000..6309e0b08 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalysisPolicy.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensitivecontentanalysis; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/SCSensitivityAnalysisPolicy/**/ implements ValuedEnum { + /**/ + Disabled(0L), + SimpleInterventions(1L), + DescriptiveInterventions(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/SCSensitivityAnalysisPolicy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/SCSensitivityAnalysisPolicy/**/ valueOf(long n) { + for (/**/SCSensitivityAnalysisPolicy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/SCSensitivityAnalysisPolicy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalyzer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalyzer.java new file mode 100644 index 000000000..2abf0bf8d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensitivecontentanalysis/SCSensitivityAnalyzer.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensitivecontentanalysis; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensitiveContentAnalysis") @NativeClass/**/ +/**/public/**/ class /**/SCSensitivityAnalyzer/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class SCSensitivityAnalyzerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SCSensitivityAnalyzer.class); }/**/ + /**//**/ + /**/ + public SCSensitivityAnalyzer() {} + protected SCSensitivityAnalyzer(Handle h, long handle) { super(h, handle); } + protected SCSensitivityAnalyzer(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "analysisPolicy") + public native SCSensitivityAnalysisPolicy getAnalysisPolicy(); + /**/ + /**//**/ + /**/ + @Method(selector = "analyzeImageFile:completionHandler:") + public native void analyzeImageFile(NSURL fileURL, @Block VoidBlock2 completionHandler); + @Method(selector = "analyzeCGImage:completionHandler:") + public native void analyzeCGImage(CGImage image, @Block VoidBlock2 completionHandler); + @Method(selector = "analyzeVideoFile:completionHandler:") + public native NSProgress analyzeVideoFile(NSURL fileURL, @Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSDateExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSDateExtensions.java index 283134b70..be7f21dce 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSDateExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSDateExtensions.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSStringExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSStringExtensions.java index 8161fb542..3e434316f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSStringExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/NSStringExtensions.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAbsoluteTime.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAbsoluteTime.java index 0abb4a15f..c87d8df9c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAbsoluteTime.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAbsoluteTime.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightChromaticity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightChromaticity.java index 030329708..79ece0ecd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightChromaticity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightChromaticity.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSample.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSample.java index c13a1d0ba..141d89047 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSample.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSample.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSensorPlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSensorPlacement.java index 2dc71bd5e..3eebb45c4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSensorPlacement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAmbientLightSensorPlacement.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRApplicationUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRApplicationUsage.java index d5387242d..9833729a4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRApplicationUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRApplicationUsage.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -64,10 +68,15 @@ public SRApplicationUsage() {} @Property(selector = "textInputSessions") public native NSArray getTextInputSessions(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.4 and later. */ @Property(selector = "supplementalCategories") public native NSArray getSupplementalCategories(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "relativeStartTime") + public native double getRelativeStartTime(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAudioLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAudioLevel.java new file mode 100644 index 000000000..31ce6b57f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAudioLevel.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRAudioLevel/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRAudioLevelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRAudioLevel.class); }/**/ + /**//**/ + /**/ + protected SRAudioLevel() {} + protected SRAudioLevel(Handle h, long handle) { super(h, handle); } + protected SRAudioLevel(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRAudioLevel(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "timeRange") + public native @ByVal CMTimeRange getTimeRange(); + @Property(selector = "loudness") + public native double getLoudness(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAuthorizationStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAuthorizationStatus.java index cd740fe0f..01e95c96a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAuthorizationStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRAuthorizationStatus.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRCrownOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRCrownOrientation.java index c14217f09..e6fed7b24 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRCrownOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRCrownOrientation.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionReason.java index 0c69160d2..434649285 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionReason.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionRecord.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionRecord.java index faffd6b25..32be59ea7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionRecord.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeletionRecord.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDevice.java index 30ae3116a..b08ecb8a8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDevice.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -61,6 +65,11 @@ public SRDevice() {} public native String getSystemName(); @Property(selector = "systemVersion") public native String getSystemVersion(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "productType") + public native String getProductType(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageCategory.java index a00dea1e4..b29e716fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageCategory.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageReport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageReport.java index 96283ac84..103b33231 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageReport.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRDeviceUsageReport.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -63,6 +67,11 @@ public SRDeviceUsageReport() {} public native @MachineSizedSInt long getTotalUnlocks(); @Property(selector = "totalUnlockDuration") public native double getTotalUnlockDuration(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "version") + public native String getVersion(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRErrorCode.java index 5e43c356a..d6ddcc5e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRErrorCode.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetrics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetrics.java new file mode 100644 index 000000000..fb609ccf0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetrics.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRFaceMetrics/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRFaceMetricsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRFaceMetrics.class); }/**/ + /**//**/ + /**/ + protected SRFaceMetrics() {} + protected SRFaceMetrics(Handle h, long handle) { super(h, handle); } + protected SRFaceMetrics(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRFaceMetrics(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "version") + public native String getVersion(); + @Property(selector = "sessionIdentifier") + public native String getSessionIdentifier(); + @Property(selector = "context") + public native SRFaceMetricsContext getContext(); + @Property(selector = "faceAnchor") + public native ARFaceAnchor getFaceAnchor(); + @Property(selector = "wholeFaceExpressions") + public native NSArray getWholeFaceExpressions(); + @Property(selector = "partialFaceExpressions") + public native NSArray getPartialFaceExpressions(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsContext.java new file mode 100644 index 000000000..a91bc8d6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsContext.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/SRFaceMetricsContext/**/ extends Bits*/SRFaceMetricsContext/**/> { + /**/ + public static final SRFaceMetricsContext None = new SRFaceMetricsContext(0L); + public static final SRFaceMetricsContext DeviceUnlock = new SRFaceMetricsContext(1L); + public static final SRFaceMetricsContext MessagingAppUsage = new SRFaceMetricsContext(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/SRFaceMetricsContext/**/[] values = _values(/**/SRFaceMetricsContext/**/.class); + + public /**/SRFaceMetricsContext/**/(long value) { super(value); } + private /**/SRFaceMetricsContext/**/(long value, long mask) { super(value, mask); } + protected /**/SRFaceMetricsContext/**/ wrap(long value, long mask) { + return new /**/SRFaceMetricsContext/**/(value, mask); + } + protected /**/SRFaceMetricsContext/**/[] _values() { + return values; + } + public static /**/SRFaceMetricsContext/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsExpression.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsExpression.java new file mode 100644 index 000000000..18e8d54d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFaceMetricsExpression.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRFaceMetricsExpression/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRFaceMetricsExpressionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRFaceMetricsExpression.class); }/**/ + /**//**/ + /**/ + protected SRFaceMetricsExpression() {} + protected SRFaceMetricsExpression(Handle h, long handle) { super(h, handle); } + protected SRFaceMetricsExpression(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRFaceMetricsExpression(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "identifier") + public native String getIdentifier(); + @Property(selector = "value") + public native double getValue(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchRequest.java index f9e7fd136..ab4c3b8fe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchRequest.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchResult.java index 21098b501..9f067cdb7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRFetchResult.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetrics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetrics.java index 664e99dac..979ab7870 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetrics.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetrics.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -64,6 +68,11 @@ public SRKeyboardMetrics() {} */ @Property(selector = "inputModes") public native NSArray getInputModes(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sessionIdentifiers") + public native NSArray getSessionIdentifiers(); @Property(selector = "totalWords") public native @MachineSizedSInt long getTotalWords(); @Property(selector = "totalAlteredWords") @@ -129,7 +138,7 @@ public SRKeyboardMetrics() {} @Property(selector = "touchDownDown") public native SRKeyboardProbabilityMetric getTouchDownDown(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.4 and later. */ @Property(selector = "touchUpDown") public native SRKeyboardProbabilityMetric getTouchUpDown(); @@ -196,7 +205,7 @@ public SRKeyboardMetrics() {} @Property(selector = "longWordTouchDownDown") public native NSArray getLongWordTouchDownDown(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.4 and later. */ @Property(selector = "longWordTouchUpDown") public native NSArray getLongWordTouchUpDown(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetricsSentimentCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetricsSentimentCategory.java index e6d569f77..eff9a4b7d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetricsSentimentCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardMetricsSentimentCategory.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardProbabilityMetric.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardProbabilityMetric.java index 02d6aa7a4..c987f493c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardProbabilityMetric.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRKeyboardProbabilityMetric.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRLocationCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRLocationCategory.java index 9f856e62c..c4967dcf5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRLocationCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRLocationCategory.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEvent.java new file mode 100644 index 000000000..010ad0742 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEvent.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRMediaEvent/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRMediaEventPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRMediaEvent.class); }/**/ + /**//**/ + /**/ + public SRMediaEvent() {} + protected SRMediaEvent(Handle h, long handle) { super(h, handle); } + protected SRMediaEvent(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRMediaEvent(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "mediaIdentifier") + public native String getMediaIdentifier(); + @Property(selector = "eventType") + public native SRMediaEventType getEventType(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEventType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEventType.java new file mode 100644 index 000000000..5921ecaa4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMediaEventType.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/SRMediaEventType/**/ implements ValuedEnum { + /**/ + OnScreen(1L), + OffScreen(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/SRMediaEventType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/SRMediaEventType/**/ valueOf(long n) { + for (/**/SRMediaEventType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/SRMediaEventType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMessagesUsageReport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMessagesUsageReport.java index 0f0981681..1ed3d2d1a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMessagesUsageReport.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRMessagesUsageReport.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationEvent.java index c1c76aea1..6ed6d0db3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationEvent.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationUsage.java index 7a8d51cb1..7febff936 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRNotificationUsage.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRPhoneUsageReport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRPhoneUsageReport.java index bbcc0bd68..bd6067bec 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRPhoneUsageReport.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRPhoneUsageReport.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensor.java index ff683641f..584c811a2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensor.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -139,9 +143,29 @@ public static long toNative(List l, long flags) { * @since Available in iOS 15.4 and later. */ public static final SRSensor AmbientPressure = new SRSensor("AmbientPressure"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final SRSensor MediaEvents = new SRSensor("MediaEvents"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final SRSensor WristTemperature = new SRSensor("WristTemperature"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final SRSensor HeartRate = new SRSensor("HeartRate"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final SRSensor FaceMetrics = new SRSensor("FaceMetrics"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final SRSensor Odometer = new SRSensor("Odometer"); /**/ - private static /**/SRSensor/**/[] values = new /**/SRSensor/**/[] {/**/AmbientLightSensor, Accelerometer, RotationRate, Visits, PedometerData, DeviceUsageReport, MessagesUsageReport, PhoneUsageReport, OnWristState, KeyboardMetrics, SiriSpeechMetrics, TelephonySpeechMetrics, AmbientPressure/**/}; + private static /**/SRSensor/**/[] values = new /**/SRSensor/**/[] {/**/AmbientLightSensor, Accelerometer, RotationRate, Visits, PedometerData, DeviceUsageReport, MessagesUsageReport, PhoneUsageReport, OnWristState, KeyboardMetrics, SiriSpeechMetrics, TelephonySpeechMetrics, AmbientPressure, MediaEvents, WristTemperature, HeartRate, FaceMetrics, Odometer/**/}; /**/SRSensor/**/ (String getterName) { super(Values.class, getterName); @@ -229,6 +253,31 @@ public static class Values { */ @GlobalValue(symbol="SRSensorAmbientPressure", optional=true) public static native NSString AmbientPressure(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="SRSensorMediaEvents", optional=true) + public static native NSString MediaEvents(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SRSensorWristTemperature", optional=true) + public static native NSString WristTemperature(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SRSensorHeartRate", optional=true) + public static native NSString HeartRate(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SRSensorFaceMetrics", optional=true) + public static native NSString FaceMetrics(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SRSensorOdometer", optional=true) + public static native NSString Odometer(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReader.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReader.java index 05c954640..615953863 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReader.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReader.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegate.java index 1386813d1..977848bc9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegate.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegateAdapter.java index 3574c8840..5676cee08 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSensorReaderDelegateAdapter.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechExpression.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechExpression.java new file mode 100644 index 000000000..0d626b23d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechExpression.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRSpeechExpression/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRSpeechExpressionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRSpeechExpression.class); }/**/ + /**//**/ + /**/ + protected SRSpeechExpression() {} + protected SRSpeechExpression(Handle h, long handle) { super(h, handle); } + protected SRSpeechExpression(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRSpeechExpression(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "version") + public native String getVersion(); + @Property(selector = "timeRange") + public native @ByVal CMTimeRange getTimeRange(); + @Property(selector = "confidence") + public native double getConfidence(); + @Property(selector = "mood") + public native double getMood(); + @Property(selector = "valence") + public native double getValence(); + @Property(selector = "activation") + public native double getActivation(); + @Property(selector = "dominance") + public native double getDominance(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetrics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetrics.java new file mode 100644 index 000000000..4ea67752c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetrics.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRSpeechMetrics/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRSpeechMetricsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRSpeechMetrics.class); }/**/ + /**//**/ + /**/ + protected SRSpeechMetrics() {} + protected SRSpeechMetrics(Handle h, long handle) { super(h, handle); } + protected SRSpeechMetrics(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRSpeechMetrics(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "sessionIdentifier") + public native String getSessionIdentifier(); + @Property(selector = "sessionFlags") + public native SRSpeechMetricsSessionFlags getSessionFlags(); + @Property(selector = "timestamp") + public native NSDate getTimestamp(); + @Property(selector = "audioLevel") + public native SRAudioLevel getAudioLevel(); + @Property(selector = "speechRecognition") + public native SFSpeechRecognitionResult getSpeechRecognition(); + @Property(selector = "soundClassification") + public native SNClassificationResult getSoundClassification(); + @Property(selector = "speechExpression") + public native SRSpeechExpression getSpeechExpression(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetricsSessionFlags.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetricsSessionFlags.java new file mode 100644 index 000000000..7a6444179 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSpeechMetricsSessionFlags.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/SRSpeechMetricsSessionFlags/**/ extends Bits*/SRSpeechMetricsSessionFlags/**/> { + /**/ + public static final SRSpeechMetricsSessionFlags None = new SRSpeechMetricsSessionFlags(0L); + public static final SRSpeechMetricsSessionFlags Default = new SRSpeechMetricsSessionFlags(0L); + public static final SRSpeechMetricsSessionFlags BypassVoiceProcessing = new SRSpeechMetricsSessionFlags(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/SRSpeechMetricsSessionFlags/**/[] values = _values(/**/SRSpeechMetricsSessionFlags/**/.class); + + public /**/SRSpeechMetricsSessionFlags/**/(long value) { super(value); } + private /**/SRSpeechMetricsSessionFlags/**/(long value, long mask) { super(value, mask); } + protected /**/SRSpeechMetricsSessionFlags/**/ wrap(long value, long mask) { + return new /**/SRSpeechMetricsSessionFlags/**/(value, mask); + } + protected /**/SRSpeechMetricsSessionFlags/**/[] _values() { + return values; + } + public static /**/SRSpeechMetricsSessionFlags/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSupplementalCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSupplementalCategory.java index f15e664c3..a04765b7b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSupplementalCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRSupplementalCategory.java @@ -28,11 +28,15 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.4 and later. */ /**/ /**/@Library("SensorKit") @NativeClass/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSession.java index e8aa39117..eaf275af6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSession.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -53,6 +57,11 @@ public SRTextInputSession() {} public native double getDuration(); @Property(selector = "sessionType") public native SRTextInputSessionType getSessionType(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "sessionIdentifier") + public native String getSessionIdentifier(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSessionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSessionType.java index b7cdea446..21ccc5f49 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSessionType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRTextInputSessionType.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRVisit.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRVisit.java index 7f31e2d43..a7c956b15 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRVisit.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRVisit.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWebUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWebUsage.java index 03dbeb41f..c233c8a14 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWebUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWebUsage.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristDetection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristDetection.java index eaa4e41fd..a68f62000 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristDetection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristDetection.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ @@ -55,6 +59,16 @@ public SRWristDetection() {} public native SRWristLocation getWristLocation(); @Property(selector = "crownOrientation") public native SRCrownOrientation getCrownOrientation(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "onWristDate") + public native NSDate getOnWristDate(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "offWristDate") + public native NSDate getOffWristDate(); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristLocation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristLocation.java index 385e49d35..ed5693cd3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristLocation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristLocation.java @@ -28,6 +28,10 @@ import org.robovm.rt.bro.annotation.*; import org.robovm.rt.bro.ptr.*; import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperature.java new file mode 100644 index 000000000..63863635a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperature.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRWristTemperature/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRWristTemperaturePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRWristTemperature.class); }/**/ + /**//**/ + /**/ + protected SRWristTemperature() {} + protected SRWristTemperature(Handle h, long handle) { super(h, handle); } + protected SRWristTemperature(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRWristTemperature(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "timestamp") + public native NSDate getTimestamp(); + @Property(selector = "value") + public native NSMeasurement getValue(); + @Property(selector = "condition") + public native SRWristTemperatureCondition getCondition(); + @Property(selector = "errorEstimate") + public native NSMeasurement getErrorEstimate(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureCondition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureCondition.java new file mode 100644 index 000000000..336a91863 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureCondition.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/SRWristTemperatureCondition/**/ extends Bits*/SRWristTemperatureCondition/**/> { + /**/ + public static final SRWristTemperatureCondition None = new SRWristTemperatureCondition(0L); + public static final SRWristTemperatureCondition OffWrist = new SRWristTemperatureCondition(1L); + public static final SRWristTemperatureCondition OnCharger = new SRWristTemperatureCondition(2L); + public static final SRWristTemperatureCondition InMotion = new SRWristTemperatureCondition(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/SRWristTemperatureCondition/**/[] values = _values(/**/SRWristTemperatureCondition/**/.class); + + public /**/SRWristTemperatureCondition/**/(long value) { super(value); } + private /**/SRWristTemperatureCondition/**/(long value, long mask) { super(value, mask); } + protected /**/SRWristTemperatureCondition/**/ wrap(long value, long mask) { + return new /**/SRWristTemperatureCondition/**/(value, mask); + } + protected /**/SRWristTemperatureCondition/**/[] _values() { + return values; + } + public static /**/SRWristTemperatureCondition/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureSession.java new file mode 100644 index 000000000..214b61542 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/sensorkit/SRWristTemperatureSession.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.sensorkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.arkit.*; +import org.robovm.apple.speech.*; +import org.robovm.apple.soundanalysis.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("SensorKit") @NativeClass/**/ +/**/public/**/ class /**/SRWristTemperatureSession/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class SRWristTemperatureSessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SRWristTemperatureSession.class); }/**/ + /**//**/ + /**/ + protected SRWristTemperatureSession() {} + protected SRWristTemperatureSession(Handle h, long handle) { super(h, handle); } + protected SRWristTemperatureSession(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public SRWristTemperatureSession(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "startDate") + public native NSDate getStartDate(); + @Property(selector = "duration") + public native double getDuration(); + @Property(selector = "version") + public native String getVersion(); + @Property(selector = "temperatures") + public native NSEnumerator getTemperatures(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHErrorCode.java index c8c1a0c2a..bebdf6404 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHErrorCode.java @@ -48,7 +48,11 @@ public enum /**/SHErrorCode/**/ implements NSErrorCode { /** * @since Available in iOS 16.0 and later. */ - InternalError(500L); + InternalError(500L), + /** + * @since Available in iOS 17.0 and later. + */ + MediaItemFetchFailed(600L); /**/ /**/static { Bro.bind(SHErrorCode.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItem.java index 2d6bbcded..b5406bf2b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItem.java @@ -87,6 +87,11 @@ protected SHMediaItem() {} */ @Property(selector = "frequencySkewRanges") public native NSArray getFrequencySkewRanges(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "creationDate") + public native NSDate getCreationDate(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItemProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItemProperty.java index 77e271927..c58694a23 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItemProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaItemProperty.java @@ -144,6 +144,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 16.0 and later. */ public static final SHMediaItemProperty FrequencySkewRanges = new SHMediaItemProperty("FrequencySkewRanges"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final SHMediaItemProperty CreationDate = new SHMediaItemProperty("CreationDate"); /** * @since Available in iOS 15.0 and later. */ @@ -154,7 +158,7 @@ public static long toNative(List l, long flags) { public static final SHMediaItemProperty FrequencySkew = new SHMediaItemProperty("FrequencySkew"); /**/ - private static /**/SHMediaItemProperty/**/[] values = new /**/SHMediaItemProperty/**/[] {/**/ShazamID, Title, Subtitle, Artist, WebURL, AppleMusicID, AppleMusicURL, ArtworkURL, VideoURL, ExplicitContent, Genres, ISRC, TimeRanges, FrequencySkewRanges, MatchOffset, FrequencySkew/**/}; + private static /**/SHMediaItemProperty/**/[] values = new /**/SHMediaItemProperty/**/[] {/**/ShazamID, Title, Subtitle, Artist, WebURL, AppleMusicID, AppleMusicURL, ArtworkURL, VideoURL, ExplicitContent, Genres, ISRC, TimeRanges, FrequencySkewRanges, CreationDate, MatchOffset, FrequencySkew/**/}; /**/SHMediaItemProperty/**/ (String getterName) { super(Values.class, getterName); @@ -247,6 +251,11 @@ public static class Values { */ @GlobalValue(symbol="SHMediaItemFrequencySkewRanges", optional=true) public static native NSString FrequencySkewRanges(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SHMediaItemCreationDate", optional=true) + public static native NSString CreationDate(); /** * @since Available in iOS 15.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaLibrary.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaLibrary.java index 6a1aa5f7d..3aa75cc81 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaLibrary.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/shazamkit/SHMediaLibrary.java @@ -34,9 +34,10 @@ /**/ /** * @since Available in iOS 15.0 and later. + * @deprecated Use SHLibrary instead */ /**/ -/**/@Library("ShazamKit") @NativeClass/**/ +/**/@Library("ShazamKit") @NativeClass @Deprecated/**/ /**/public/**/ class /**/SHMediaLibrary/**/ extends /**/NSObject/**/ /**//**/ { diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/social/SLComposeServiceViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/social/SLComposeServiceViewController.java index 01553c827..ede9d84ee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/social/SLComposeServiceViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/social/SLComposeServiceViewController.java @@ -109,14 +109,53 @@ public SLComposeServiceViewController() {} public native void didChange(UITextView textView); @Method(selector = "textViewDidChangeSelection:") public native void didChangeSelection(UITextView textView); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:editMenuForTextInRange:suggestedActions:") + public native UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:willPresentEditMenuWithAnimator:") + public native void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:willDismissEditMenuWithAnimator:") + public native void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:primaryActionForTextItem:defaultAction:") + public native UIAction getPrimaryActionForTextItem(UITextView textView, UITextItem textItem, UIAction defaultAction); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:menuConfigurationForTextItem:defaultMenu:") + public native UITextItemMenuConfiguration getMenuConfigurationForTextItem(UITextView textView, UITextItem textItem, UIMenu defaultMenu); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:textItemMenuWillDisplayForTextItem:animator:") + public native void textItemMenuWillDisplayForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:textItemMenuWillEndForTextItem:animator:") + public native void textItemMenuWillEndForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @Method(selector = "textView:shouldInteractWithURL:inRange:interaction:") public native boolean shouldInteractWithURL(UITextView textView, NSURL URL, @ByVal NSRange characterRange, UITextItemInteraction interaction); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @Method(selector = "textView:shouldInteractWithTextAttachment:inRange:interaction:") public native boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange, UITextItemInteraction interaction); /** @@ -131,21 +170,6 @@ public SLComposeServiceViewController() {} @Deprecated @Method(selector = "textView:shouldInteractWithTextAttachment:inRange:") public native boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:editMenuForTextInRange:suggestedActions:") - public native UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:willPresentEditMenuWithAnimator:") - public native void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:willDismissEditMenuWithAnimator:") - public native void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); @Method(selector = "scrollViewDidScroll:") public native void didScroll(UIScrollView scrollView); @Method(selector = "scrollViewDidZoom:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechErrorCode.java new file mode 100644 index 000000000..f19a33ee6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechErrorCode.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.speech; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library("Speech")/**/ +public enum /**/SFSpeechErrorCode/**/ implements NSErrorCode { + /**/ + InternalServiceError(1L), + UndefinedTemplateClassName(7L), + MalformedSupplementalModel(8L); + /**/ + + /**/static { Bro.bind(SFSpeechErrorCode.class); }/**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="SFSpeechErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/SFSpeechErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/SFSpeechErrorCode/**/ valueOf(long n) { + for (/**/SFSpeechErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/SFSpeechErrorCode/**/.class.getName()); + } + + // bind wrap to include it in compilation as long as nserror enum is used + static { Bro.bind(NSErrorWrap.class); } + @StronglyLinked + public static class NSErrorWrap extends NSError { + protected NSErrorWrap(SkipInit skipInit) {super(skipInit);} + + @Override public NSErrorCode getErrorCode() { + try { + return /**/SFSpeechErrorCode/**/.valueOf(getCode()); + } catch (IllegalArgumentException e) { + return null; + } + } + + public static String getClassDomain() { + /** must be inserted in value section */ + return /**/SFSpeechErrorCode/**/.getClassDomain(); + } + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModel.java new file mode 100644 index 000000000..be6b5b4ec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModel.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.speech; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Speech") @NativeClass/**/ +/**/public/**/ class /**/SFSpeechLanguageModel/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class SFSpeechLanguageModelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SFSpeechLanguageModel.class); }/**/ + /**//**/ + /**/ + public SFSpeechLanguageModel() {} + protected SFSpeechLanguageModel(Handle h, long handle) { super(h, handle); } + protected SFSpeechLanguageModel(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "prepareCustomLanguageModelForUrl:clientIdentifier:configuration:completion:") + public static native void prepareCustomLanguageModel(NSURL asset, String clientIdentifier, SFSpeechLanguageModelConfiguration configuration, @Block VoidBlock1 completion); + @Method(selector = "prepareCustomLanguageModelForUrl:clientIdentifier:configuration:ignoresCache:completion:") + public static native void prepareCustomLanguageModel(NSURL asset, String clientIdentifier, SFSpeechLanguageModelConfiguration configuration, boolean ignoresCache, @Block VoidBlock1 completion); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModelConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModelConfiguration.java new file mode 100644 index 000000000..f6f427378 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechLanguageModelConfiguration.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.speech; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.avfoundation.*; +import org.robovm.apple.coremedia.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Speech") @NativeClass/**/ +/**/public/**/ class /**/SFSpeechLanguageModelConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class SFSpeechLanguageModelConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(SFSpeechLanguageModelConfiguration.class); }/**/ + /**//**/ + /**/ + public SFSpeechLanguageModelConfiguration() {} + protected SFSpeechLanguageModelConfiguration(Handle h, long handle) { super(h, handle); } + protected SFSpeechLanguageModelConfiguration(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithLanguageModel:") + public SFSpeechLanguageModelConfiguration(NSURL languageModel) { super((SkipInit) null); initObject(init(languageModel)); } + @Method(selector = "initWithLanguageModel:vocabulary:") + public SFSpeechLanguageModelConfiguration(NSURL languageModel, NSURL vocabulary) { super((SkipInit) null); initObject(init(languageModel, vocabulary)); } + /**/ + /**/ + @Property(selector = "languageModel") + public native NSURL getLanguageModel(); + @Property(selector = "vocabulary") + public native NSURL getVocabulary(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithLanguageModel:") + protected native @Pointer long init(NSURL languageModel); + @Method(selector = "initWithLanguageModel:vocabulary:") + protected native @Pointer long init(NSURL languageModel, NSURL vocabulary); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechRecognitionRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechRecognitionRequest.java index 3b5c21b0a..6a88df325 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechRecognitionRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/speech/SFSpeechRecognitionRequest.java @@ -97,6 +97,16 @@ public SFSpeechRecognitionRequest() {} */ @Property(selector = "setAddsPunctuation:") public native void setAddsPunctuation(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "customizedLanguageModel") + public native SFSpeechLanguageModelConfiguration getCustomizedLanguageModel(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setCustomizedLanguageModel:") + public native void setCustomizedLanguageModel(SFSpeechLanguageModelConfiguration v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdImpression.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdImpression.java index fb4cbd853..ba7c5b385 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdImpression.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdImpression.java @@ -73,12 +73,12 @@ public SKAdImpression() {} @Property(selector = "setAdCampaignIdentifier:") public native void setAdCampaignIdentifier(NSNumber v); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @Property(selector = "sourceIdentifier") public native NSNumber getSourceIdentifier(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @Property(selector = "setSourceIdentifier:") public native void setSourceIdentifier(NSNumber v); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdNetworkCoarseConversionValue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdNetworkCoarseConversionValue.java index 6f6e386d7..45a34eef9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdNetworkCoarseConversionValue.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKAdNetworkCoarseConversionValue.java @@ -90,15 +90,15 @@ public static long toNative(List l, long flags /**/ /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ public static final SKAdNetworkCoarseConversionValue High = new SKAdNetworkCoarseConversionValue("High"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ public static final SKAdNetworkCoarseConversionValue Medium = new SKAdNetworkCoarseConversionValue("Medium"); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ public static final SKAdNetworkCoarseConversionValue Low = new SKAdNetworkCoarseConversionValue("Low"); /**/ @@ -127,17 +127,17 @@ public static class Values { /**/ /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @GlobalValue(symbol="SKAdNetworkCoarseConversionValueHigh", optional=true) public static native NSString High(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @GlobalValue(symbol="SKAdNetworkCoarseConversionValueMedium", optional=true) public static native NSString Medium(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @GlobalValue(symbol="SKAdNetworkCoarseConversionValueLow", optional=true) public static native NSString Low(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKStoreProductParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKStoreProductParameters.java index 9aca2252b..1d25223e6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKStoreProductParameters.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/storekit/SKStoreProductParameters.java @@ -175,7 +175,7 @@ public static class Keys { @GlobalValue(symbol="SKStoreProductParameterAdNetworkCampaignIdentifier", optional=true) public static native NSString AdNetworkCampaignIdentifier(); /** - * @since Available in iOS 16.0 and later. + * @since Available in iOS 16.1 and later. */ @GlobalValue(symbol="SKStoreProductParameterAdNetworkSourceIdentifier", optional=true) public static native NSString AdNetworkSourceIdentifier(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAppearEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAppearEffect.java new file mode 100644 index 000000000..722f5deaf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAppearEffect.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolAppearEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolAppearEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolAppearEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolAppearEffect() {} + protected NSSymbolAppearEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolAppearEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithByLayer") + public native NSSymbolAppearEffect withByLayer(); + @Method(selector = "effectWithWholeSymbol") + public native NSSymbolAppearEffect withWholeSymbol(); + @Method(selector = "effect") + public static native NSSymbolAppearEffect effect(); + @Method(selector = "appearUpEffect") + public static native NSSymbolAppearEffect appearUpEffect(); + @Method(selector = "appearDownEffect") + public static native NSSymbolAppearEffect appearDownEffect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAutomaticContentTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAutomaticContentTransition.java new file mode 100644 index 000000000..abb6cd352 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolAutomaticContentTransition.java @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolAutomaticContentTransition/**/ + extends /**/NSSymbolContentTransition/**/ + /**//**/ { + + /**/public static class NSSymbolAutomaticContentTransitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolAutomaticContentTransition.class); }/**/ + /**//**/ + /**/ + protected NSSymbolAutomaticContentTransition() {} + protected NSSymbolAutomaticContentTransition(Handle h, long handle) { super(h, handle); } + protected NSSymbolAutomaticContentTransition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "transition") + public static native NSSymbolAutomaticContentTransition transition(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolBounceEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolBounceEffect.java new file mode 100644 index 000000000..ed2321a0d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolBounceEffect.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolBounceEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolBounceEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolBounceEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolBounceEffect() {} + protected NSSymbolBounceEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolBounceEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithByLayer") + public native NSSymbolBounceEffect withByLayer(); + @Method(selector = "effectWithWholeSymbol") + public native NSSymbolBounceEffect withWholeSymbol(); + @Method(selector = "effect") + public static native NSSymbolBounceEffect effect(); + @Method(selector = "bounceUpEffect") + public static native NSSymbolBounceEffect bounceUpEffect(); + @Method(selector = "bounceDownEffect") + public static native NSSymbolBounceEffect bounceDownEffect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolContentTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolContentTransition.java new file mode 100644 index 000000000..7b07703fb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolContentTransition.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolContentTransition/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NSSymbolContentTransitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolContentTransition.class); }/**/ + /**//**/ + /**/ + protected NSSymbolContentTransition() {} + protected NSSymbolContentTransition(Handle h, long handle) { super(h, handle); } + protected NSSymbolContentTransition(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public NSSymbolContentTransition(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolDisappearEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolDisappearEffect.java new file mode 100644 index 000000000..f7696b66b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolDisappearEffect.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolDisappearEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolDisappearEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolDisappearEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolDisappearEffect() {} + protected NSSymbolDisappearEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolDisappearEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithByLayer") + public native NSSymbolDisappearEffect withByLayer(); + @Method(selector = "effectWithWholeSymbol") + public native NSSymbolDisappearEffect withWholeSymbol(); + @Method(selector = "effect") + public static native NSSymbolDisappearEffect effect(); + @Method(selector = "disappearUpEffect") + public static native NSSymbolDisappearEffect disappearUpEffect(); + @Method(selector = "disappearDownEffect") + public static native NSSymbolDisappearEffect disappearDownEffect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffect.java new file mode 100644 index 000000000..689e48ae5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffect.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolEffect/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NSSymbolEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolEffect() {} + protected NSSymbolEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolEffect(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public NSSymbolEffect(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffectOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffectOptions.java new file mode 100644 index 000000000..db2e32ce1 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolEffectOptions.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolEffectOptions/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class NSSymbolEffectOptionsPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolEffectOptions.class); }/**/ + /**//**/ + /**/ + protected NSSymbolEffectOptions() {} + protected NSSymbolEffectOptions(Handle h, long handle) { super(h, handle); } + protected NSSymbolEffectOptions(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public NSSymbolEffectOptions(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "optionsWithRepeating") + public native NSSymbolEffectOptions withRepeating(); + @Method(selector = "optionsWithNonRepeating") + public native NSSymbolEffectOptions withNonRepeating(); + @Method(selector = "optionsWithRepeatCount:") + public native NSSymbolEffectOptions withRepeatCount$(@MachineSizedSInt long count); + @Method(selector = "optionsWithSpeed:") + public native NSSymbolEffectOptions withSpeed$(double speed); + @Method(selector = "options") + public static native NSSymbolEffectOptions options(); + @Method(selector = "optionsWithRepeating") + public static native NSSymbolEffectOptions optionsWithRepeating(); + @Method(selector = "optionsWithNonRepeating") + public static native NSSymbolEffectOptions optionsWithNonRepeating(); + @Method(selector = "optionsWithRepeatCount:") + public static native NSSymbolEffectOptions optionsWithRepeatCount$(@MachineSizedSInt long count); + @Method(selector = "optionsWithSpeed:") + public static native NSSymbolEffectOptions optionsWithSpeed$(double speed); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolPulseEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolPulseEffect.java new file mode 100644 index 000000000..4fed8d35d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolPulseEffect.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolPulseEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolPulseEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolPulseEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolPulseEffect() {} + protected NSSymbolPulseEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolPulseEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithByLayer") + public native NSSymbolPulseEffect withByLayer(); + @Method(selector = "effectWithWholeSymbol") + public native NSSymbolPulseEffect withWholeSymbol(); + @Method(selector = "effect") + public static native NSSymbolPulseEffect effect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolReplaceContentTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolReplaceContentTransition.java new file mode 100644 index 000000000..cb1740dd4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolReplaceContentTransition.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolReplaceContentTransition/**/ + extends /**/NSSymbolContentTransition/**/ + /**//**/ { + + /**/public static class NSSymbolReplaceContentTransitionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolReplaceContentTransition.class); }/**/ + /**//**/ + /**/ + protected NSSymbolReplaceContentTransition() {} + protected NSSymbolReplaceContentTransition(Handle h, long handle) { super(h, handle); } + protected NSSymbolReplaceContentTransition(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "transitionWithByLayer") + public native NSSymbolReplaceContentTransition withByLayer(); + @Method(selector = "transitionWithWholeSymbol") + public native NSSymbolReplaceContentTransition withWholeSymbol(); + @Method(selector = "transition") + public static native NSSymbolReplaceContentTransition transition(); + @Method(selector = "replaceDownUpTransition") + public static native NSSymbolReplaceContentTransition replaceDownUpTransition(); + @Method(selector = "replaceUpUpTransition") + public static native NSSymbolReplaceContentTransition replaceUpUpTransition(); + @Method(selector = "replaceOffUpTransition") + public static native NSSymbolReplaceContentTransition replaceOffUpTransition(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolScaleEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolScaleEffect.java new file mode 100644 index 000000000..ebf68c076 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolScaleEffect.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolScaleEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolScaleEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolScaleEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolScaleEffect() {} + protected NSSymbolScaleEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolScaleEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithByLayer") + public native NSSymbolScaleEffect withByLayer(); + @Method(selector = "effectWithWholeSymbol") + public native NSSymbolScaleEffect withWholeSymbol(); + @Method(selector = "effect") + public static native NSSymbolScaleEffect effect(); + @Method(selector = "scaleUpEffect") + public static native NSSymbolScaleEffect scaleUpEffect(); + @Method(selector = "scaleDownEffect") + public static native NSSymbolScaleEffect scaleDownEffect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolVariableColorEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolVariableColorEffect.java new file mode 100644 index 000000000..59cc682ef --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/symbols/NSSymbolVariableColorEffect.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.symbols; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Symbols") @NativeClass/**/ +/**/public/**/ class /**/NSSymbolVariableColorEffect/**/ + extends /**/NSSymbolEffect/**/ + /**//**/ { + + /**/public static class NSSymbolVariableColorEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(NSSymbolVariableColorEffect.class); }/**/ + /**//**/ + /**/ + protected NSSymbolVariableColorEffect() {} + protected NSSymbolVariableColorEffect(Handle h, long handle) { super(h, handle); } + protected NSSymbolVariableColorEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "effectWithIterative") + public native NSSymbolVariableColorEffect withIterative(); + @Method(selector = "effectWithCumulative") + public native NSSymbolVariableColorEffect withCumulative(); + @Method(selector = "effectWithReversing") + public native NSSymbolVariableColorEffect withReversing(); + @Method(selector = "effectWithNonReversing") + public native NSSymbolVariableColorEffect withNonReversing(); + @Method(selector = "effectWithHideInactiveLayers") + public native NSSymbolVariableColorEffect withHideInactiveLayers(); + @Method(selector = "effectWithDimInactiveLayers") + public native NSSymbolVariableColorEffect withDimInactiveLayers(); + @Method(selector = "effect") + public static native NSSymbolVariableColorEffect effect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/threadnetwork/THClient.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/threadnetwork/THClient.java index a7bde2747..5c5702ecd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/threadnetwork/THClient.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/threadnetwork/THClient.java @@ -58,6 +58,11 @@ public THClient() {} */ @Method(selector = "retrieveAllCredentials:") public native void retrieveAllCredentials(@Block VoidBlock2, NSError> completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "retrieveAllActiveCredentials:") + public native void retrieveAllActiveCredentials(@Block VoidBlock2, NSError> completion); /** * @since Available in iOS 15.0 and later. */ @@ -84,9 +89,14 @@ public THClient() {} @Method(selector = "retrieveCredentialsForExtendedPANID:completion:") public native void retrieveCredentialsForExtendedPANID(NSData extendedPANID, @Block VoidBlock2 completion); /** - * @since Available in iOS 15.0 and later. + * @since Available in iOS 15.5 and later. */ @Method(selector = "checkPreferredNetworkForActiveOperationalDataset:completion:") public native void checkPreferredNetworkForActiveOperationalDataset(NSData activeOperationalDataSet, @Block VoidBooleanBlock completion); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "isPreferredNetworkAvailableWithCompletion:") + public native void isPreferredNetworkAvailable(@Block VoidBooleanBlock completion); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIColorExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIColorExtensions.java index 8da968f5b..86e563de8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIColorExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIColorExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIImageExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIImageExtensions.java index 70331dda2..421f3aee5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIImageExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/CIImageExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttribute.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttribute.java index 8c039e71f..cd09f25cf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttribute.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttribute.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -105,6 +106,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 11.0 and later. */ public static final NSAttributedStringAttribute SpeechQueueAnnouncement = new NSAttributedStringAttribute("SpeechQueueAnnouncement"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSAttributedStringAttribute SpeechAnnouncementPriority = new NSAttributedStringAttribute("SpeechAnnouncementPriority"); /** * @since Available in iOS 11.0 and later. */ @@ -134,9 +139,21 @@ public static long toNative(List l, long flags) { public static final NSAttributedStringAttribute BaselineOffset = new NSAttributedStringAttribute("BaselineOffset"); public static final NSAttributedStringAttribute UnderlineColor = new NSAttributedStringAttribute("UnderlineColor"); public static final NSAttributedStringAttribute StrikethroughColor = new NSAttributedStringAttribute("StrikethroughColor"); + public static final NSAttributedStringAttribute WritingDirection = new NSAttributedStringAttribute("WritingDirection"); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public static final NSAttributedStringAttribute Obliqueness = new NSAttributedStringAttribute("Obliqueness"); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public static final NSAttributedStringAttribute Expansion = new NSAttributedStringAttribute("Expansion"); - public static final NSAttributedStringAttribute WritingDirection = new NSAttributedStringAttribute("WritingDirection"); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public static final NSAttributedStringAttribute VerticalGlyphForm = new NSAttributedStringAttribute("VerticalGlyphForm"); /** * @deprecated Deprecated in iOS 7.0. Use NSFontAttributeName @@ -160,7 +177,7 @@ public static long toNative(List l, long flags) { public static final NSAttributedStringAttribute TextShadowOffset = new NSAttributedStringAttribute("TextShadowOffset"); /**/ - private static /**/NSAttributedStringAttribute/**/[] values = new /**/NSAttributedStringAttribute/**/[] {/**/SpeechPunctuation, SpeechLanguage, SpeechPitch, SpeechQueueAnnouncement, SpeechIPANotation, SpeechSpellOut, Font, ParagraphStyle, ForegroundColor, BackgroundColor, Ligature, Kern, Tracking, StrikethroughStyle, UnderlineStyle, StrokeColor, StrokeWidth, Shadow, TextEffect, Attachment, Link, BaselineOffset, UnderlineColor, StrikethroughColor, Obliqueness, Expansion, WritingDirection, VerticalGlyphForm, TextFont, TextColor, TextShadowColor, TextShadowOffset/**/}; + private static /**/NSAttributedStringAttribute/**/[] values = new /**/NSAttributedStringAttribute/**/[] {/**/SpeechPunctuation, SpeechLanguage, SpeechPitch, SpeechQueueAnnouncement, SpeechAnnouncementPriority, SpeechIPANotation, SpeechSpellOut, Font, ParagraphStyle, ForegroundColor, BackgroundColor, Ligature, Kern, Tracking, StrikethroughStyle, UnderlineStyle, StrokeColor, StrokeWidth, Shadow, TextEffect, Attachment, Link, BaselineOffset, UnderlineColor, StrikethroughColor, WritingDirection, Obliqueness, Expansion, VerticalGlyphForm, TextFont, TextColor, TextShadowColor, TextShadowOffset/**/}; /**/NSAttributedStringAttribute/**/ (String getterName) { super(Values.class, getterName); @@ -194,6 +211,11 @@ public static class Values { */ @GlobalValue(symbol="UIAccessibilitySpeechAttributeQueueAnnouncement", optional=true) public static native NSString SpeechQueueAnnouncement(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilitySpeechAttributeAnnouncementPriority", optional=true) + public static native NSString SpeechAnnouncementPriority(); /** * @since Available in iOS 11.0 and later. */ @@ -243,12 +265,24 @@ public static class Values { public static native NSString UnderlineColor(); @GlobalValue(symbol="NSStrikethroughColorAttributeName", optional=true) public static native NSString StrikethroughColor(); + @GlobalValue(symbol="NSWritingDirectionAttributeName", optional=true) + public static native NSString WritingDirection(); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated @GlobalValue(symbol="NSObliquenessAttributeName", optional=true) public static native NSString Obliqueness(); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated @GlobalValue(symbol="NSExpansionAttributeName", optional=true) public static native NSString Expansion(); - @GlobalValue(symbol="NSWritingDirectionAttributeName", optional=true) - public static native NSString WritingDirection(); + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated @GlobalValue(symbol="NSVerticalGlyphFormAttributeName", optional=true) public static native NSString VerticalGlyphForm(); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttributes.java index 213776aa9..02b0683c1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringAttributes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -339,6 +340,10 @@ public NSAttributedStringAttributes setStrikethroughColor(UIColor strikethroughC set(NSAttributedStringAttribute.StrikethroughColor, strikethroughColor); return this; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public double getObliqueness() { if (has(NSAttributedStringAttribute.Obliqueness)) { NSNumber val = (NSNumber) get(NSAttributedStringAttribute.Obliqueness); @@ -346,10 +351,18 @@ public double getObliqueness() { } return 0; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public NSAttributedStringAttributes setObliqueness(double obliqueness) { set(NSAttributedStringAttribute.Obliqueness, NSNumber.valueOf(obliqueness)); return this; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public double getExpansion() { if (has(NSAttributedStringAttribute.Expansion)) { NSNumber val = (NSNumber) get(NSAttributedStringAttribute.Expansion); @@ -357,10 +370,18 @@ public double getExpansion() { } return 0; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public NSAttributedStringAttributes setExpansion(double expansion) { set(NSAttributedStringAttribute.Expansion, NSNumber.valueOf(expansion)); return this; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public boolean isVerticalText() { if (has(NSAttributedStringAttribute.VerticalGlyphForm)) { NSNumber val = (NSNumber) get(NSAttributedStringAttribute.VerticalGlyphForm); @@ -368,6 +389,10 @@ public boolean isVerticalText() { } return false; } + /** + * @deprecated This attribute is no longer supported with TextKit 2 + */ + @Deprecated public NSAttributedStringAttributes setVerticalText(boolean verticalText) { set(NSAttributedStringAttribute.VerticalGlyphForm, NSNumber.valueOf(verticalText)); return this; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttribute.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttribute.java index db27793ec..78f393ccb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttribute.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttribute.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -106,6 +107,10 @@ public static long toNative(List l, long fl public static final NSAttributedStringDocumentAttribute ViewSize = new NSAttributedStringDocumentAttribute("ViewSize"); public static final NSAttributedStringDocumentAttribute ViewZoom = new NSAttributedStringDocumentAttribute("ViewZoom"); public static final NSAttributedStringDocumentAttribute ViewMode = new NSAttributedStringDocumentAttribute("ViewMode"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final NSAttributedStringDocumentAttribute DefaultFontExcluded = new NSAttributedStringDocumentAttribute("DefaultFontExcluded"); public static final NSAttributedStringDocumentAttribute ReadOnly = new NSAttributedStringDocumentAttribute("ReadOnly"); public static final NSAttributedStringDocumentAttribute BackgroundColor = new NSAttributedStringDocumentAttribute("BackgroundColor"); public static final NSAttributedStringDocumentAttribute HyphenationFactor = new NSAttributedStringDocumentAttribute("HyphenationFactor"); @@ -125,7 +130,7 @@ public static long toNative(List l, long fl public static final NSAttributedStringDocumentAttribute CocoaVersion = new NSAttributedStringDocumentAttribute("CocoaVersion"); /**/ - private static /**/NSAttributedStringDocumentAttribute/**/[] values = new /**/NSAttributedStringDocumentAttribute/**/[] {/**/DocumentType, CharacterEncoding, DefaultAttributes, PaperSize, PaperMargin, ViewSize, ViewZoom, ViewMode, ReadOnly, BackgroundColor, HyphenationFactor, DefaultTabInterval, TextLayoutSections, TextScaling, SourceTextScaling, CocoaVersion/**/}; + private static /**/NSAttributedStringDocumentAttribute/**/[] values = new /**/NSAttributedStringDocumentAttribute/**/[] {/**/DocumentType, CharacterEncoding, DefaultAttributes, PaperSize, PaperMargin, ViewSize, ViewZoom, ViewMode, DefaultFontExcluded, ReadOnly, BackgroundColor, HyphenationFactor, DefaultTabInterval, TextLayoutSections, TextScaling, SourceTextScaling, CocoaVersion/**/}; /**/NSAttributedStringDocumentAttribute/**/ (String getterName) { super(Values.class, getterName); @@ -164,6 +169,11 @@ public static class Values { public static native NSString ViewZoom(); @GlobalValue(symbol="NSViewModeDocumentAttribute", optional=true) public static native NSString ViewMode(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="NSDefaultFontExcludedDocumentAttribute", optional=true) + public static native NSString DefaultFontExcluded(); @GlobalValue(symbol="NSReadOnlyDocumentAttribute", optional=true) public static native NSString ReadOnly(); @GlobalValue(symbol="NSBackgroundColorDocumentAttribute", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttributes.java index 846b266ba..e2414165d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentAttributes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentReadingOptionKeys.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentReadingOptionKeys.java index ccdee6776..92e60516e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentReadingOptionKeys.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringDocumentReadingOptionKeys.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringExtensions.java index 99eab3832..72400409e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSAttributedStringExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSBundleExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSBundleExtensions.java index 145b24e99..ee53a32ad 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSBundleExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSBundleExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCoderExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCoderExtensions.java index 909c0a7a0..37bc9afd8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCoderExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCoderExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutAnchor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutAnchor.java index 45364ba3a..3f2fc21b2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutAnchor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutAnchor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutBoundarySupplementaryItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutBoundarySupplementaryItem.java index 87f117fa6..2d2f8cfa4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutBoundarySupplementaryItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutBoundarySupplementaryItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainer.java index 5545a774b..09cc0d7bf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainerAdapter.java index 7810d4990..8db2bca2e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDecorationItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDecorationItem.java index 1d90daf5f..7d63b71db 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDecorationItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDecorationItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDimension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDimension.java index 2b736fa2e..aca21b43a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDimension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutDimension.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -68,6 +69,11 @@ protected NSCollectionLayoutDimension() {} public native boolean isAbsolute(); @Property(selector = "isEstimated") public native boolean isEstimated(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isUniformAcrossSiblings") + public native boolean isUniformAcrossSiblings(); @Property(selector = "dimension") public native @MachineSizedFloat double getDimension(); /**/ @@ -81,5 +87,10 @@ protected NSCollectionLayoutDimension() {} public static native NSCollectionLayoutDimension absoluteDimension(@MachineSizedFloat double absoluteDimension); @Method(selector = "estimatedDimension:") public static native NSCollectionLayoutDimension estimatedDimension(@MachineSizedFloat double estimatedDimension); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "uniformAcrossSiblingsWithEstimate:") + public static native NSCollectionLayoutDimension uniformAcrossSiblings(@MachineSizedFloat double estimatedDimension); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEdgeSpacing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEdgeSpacing.java index 1082abb35..322488ac1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEdgeSpacing.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEdgeSpacing.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironment.java index c60520ba4..5e57fae3b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironmentAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironmentAdapter.java index a5b13f67e..c8781c2aa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironmentAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutEnvironmentAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroup.java index fa08cf4d3..054b7bc48 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroup.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroupCustomItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroupCustomItem.java index 3c027ae1d..13f246e2d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroupCustomItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutGroupCustomItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutItem.java index 89429e040..96b02b36e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSection.java index 5905bb333..d5e35b870 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -97,6 +98,11 @@ protected NSCollectionLayoutSection() {} public native UICollectionLayoutSectionOrthogonalScrollingBehavior getOrthogonalScrollingBehavior(); @Property(selector = "setOrthogonalScrollingBehavior:") public native void setOrthogonalScrollingBehavior(UICollectionLayoutSectionOrthogonalScrollingBehavior v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "orthogonalScrollingProperties") + public native UICollectionLayoutSectionOrthogonalScrollingProperties getOrthogonalScrollingProperties(); @Property(selector = "boundarySupplementaryItems") public native NSArray getBoundarySupplementaryItems(); @Property(selector = "setBoundarySupplementaryItems:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSize.java index e2258d0b8..4be811b56 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSpacing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSpacing.java index 0b1e15f62..4e497369e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSpacing.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSpacing.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSupplementaryItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSupplementaryItem.java index 0f21f735b..7fc5693fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSupplementaryItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutSupplementaryItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItem.java index 9170c9ed9..a923abaf2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItemAdapter.java index 0285beac0..58bbf858d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSCollectionLayoutVisibleItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSControlCharacterAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSControlCharacterAction.java index 9a3662145..c07ed1773 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSControlCharacterAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSControlCharacterAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDataAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDataAsset.java index 9bbd988e9..4c9c37dd4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDataAsset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDataAsset.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionSnapshot.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionSnapshot.java index 7ce8af127..61d469696 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionSnapshot.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionSnapshot.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionTransaction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionTransaction.java index fe828b1fd..b52199334 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionTransaction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSectionTransaction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSnapshot.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSnapshot.java index c7a27fb94..2b0c38704 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSnapshot.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceSnapshot.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceTransaction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceTransaction.java index 3b15326ef..f3cc9685f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceTransaction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDiffableDataSourceTransaction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalEdgeInsets.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalEdgeInsets.java index 1f677de57..827628840 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalEdgeInsets.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalEdgeInsets.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalRectEdge.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalRectEdge.java index ed58629d5..48dbb2173 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalRectEdge.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDirectionalRectEdge.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDocumentType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDocumentType.java index 6258d53c2..f47e4a268 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDocumentType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSDocumentType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSFileProviderExtension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSFileProviderExtension.java index 254ff1c5e..73bde58b3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSFileProviderExtension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSFileProviderExtension.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSGlyphProperty.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSGlyphProperty.java index b51529fc4..7ff1036be 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSGlyphProperty.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSGlyphProperty.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSIndexPathExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSIndexPathExtensions.java index 310083afe..102ca35a0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSIndexPathExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSIndexPathExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAnchor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAnchor.java index 121d23e96..ae7d22cbd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAnchor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAnchor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAttribute.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAttribute.java index f3b3c1e5a..02775bbff 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAttribute.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutAttribute.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutConstraint.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutConstraint.java index 28c9aec9f..fb405981b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutConstraint.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutConstraint.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutDimension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutDimension.java index 8f773dea6..54a95d0de 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutDimension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutDimension.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutFormatOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutFormatOptions.java index 238b0696b..ed55f7a00 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutFormatOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutFormatOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManager.java index ef009c9b7..f0b1ea0c2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManager.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegate.java index e6c1f0d86..a7887f23c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegateAdapter.java index 3f8f1d188..20b05a397 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutManagerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutRelation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutRelation.java index ca0b56f1e..0de3f1ff7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutRelation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutRelation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutXAxisAnchor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutXAxisAnchor.java index e1a38d358..c4e73ccd0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutXAxisAnchor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutXAxisAnchor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutYAxisAnchor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutYAxisAnchor.java index 5753657f4..14e7e9e4b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutYAxisAnchor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLayoutYAxisAnchor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakMode.java index 8ed5b4c30..59f63fb25 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakStrategy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakStrategy.java index 1da4122b8..251343b33 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakStrategy.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSLineBreakStrategy.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableAttributedStringExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableAttributedStringExtensions.java index 861ba025d..0f4a9249c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableAttributedStringExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableAttributedStringExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableParagraphStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableParagraphStyle.java index 0c9f343e6..8bd15b0cf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableParagraphStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSMutableParagraphStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSParagraphStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSParagraphStyle.java index 1d4c09fc2..ee4fcb4fc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSParagraphStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSParagraphStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSRectAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSRectAlignment.java index c3b84a217..014960cb2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSRectAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSRectAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSShadow.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSShadow.java index 0cb651f74..b6a97c865 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSShadow.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSShadow.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingContext.java index 030f95566..9bfa4d1cb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingOptions.java index ddd19d47c..1413215e2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringDrawingOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringExtensions.java index df7ec634f..6371a5b30 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSStringExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAlignment.java index faca66053..350818526 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachment.java index 09db29b62..e0ba233ed 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainer.java index 3e59b4991..11f030dc0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainerAdapter.java index be15c33da..eb20c73ea 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayout.java index c9bed8554..32c60057a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayoutAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayoutAdapter.java index 29e655fa0..f3bd4a38c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayoutAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentLayoutAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentViewProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentViewProvider.java index 89f0805ca..962805e40 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentViewProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextAttachmentViewProvider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContainer.java index 13c33b45c..32d35cd09 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManager.java index 3c7a66370..5878115c9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManager.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegate.java index a0ff4e1f0..6505a67d7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegateAdapter.java index 8b5bdb0fe..83ac536ff 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerEnumerationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerEnumerationOptions.java index b4fdd5db8..c7f9c0a95 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerEnumerationOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentManagerEnumerationOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorage.java index 13def09cd..93d30f987 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorage.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegate.java index a1783ab27..50713542b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegateAdapter.java index 84c08a14d..17befe827 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextContentStorageDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextEffect.java index e177132cb..f84531933 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElement.java index ebd2b347d..168c80ee3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProvider.java index d7c4b6786..cf9eeed29 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProvider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProviderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProviderAdapter.java index aa75cbf45..e0bf61d43 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProviderAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextElementProviderAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragment.java index fd6e29485..91e2b4a82 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -101,6 +102,16 @@ protected NSTextLayoutFragment() {} protected native @Pointer long init(NSTextElement textElement, NSTextRange rangeInElement); @Method(selector = "initWithCoder:") protected native @Pointer long init(NSCoder coder); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textLineFragmentForVerticalOffset:requiresExactMatch:") + public native NSTextLineFragment getTextLineFragmentForVerticalOffset(@MachineSizedFloat double verticalOffset, boolean requiresExactMatch); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textLineFragmentForTextLocation:isUpstreamAffinity:") + public native NSTextLineFragment getTextLineFragmentForTextLocation(NSTextLocation textLocation, boolean isUpstreamAffinity); @Method(selector = "invalidateLayout") public native void invalidateLayout(); @Method(selector = "drawAtPoint:inContext:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentEnumerationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentEnumerationOptions.java index 949a805b0..f7ffa2b0f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentEnumerationOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentEnumerationOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentState.java index 39add4830..ed40ae772 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutFragmentState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManager.java index 977187b0b..d3ff97381 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManager.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegate.java index da116f47e..cd86d33f8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegateAdapter.java index 8a89740d6..134983787 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentOptions.java index 4c39289fd..f8548e540 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentType.java index 4f9a1e0ed..4527fcc29 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutManagerSegmentType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientation.java index 202fdb064..3584f5d59 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProvider.java index 8d7c46e00..4c782df16 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProvider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProviderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProviderAdapter.java index 896f855ce..ebf871083 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProviderAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutOrientationProviderAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutSection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutSection.java index 66300e8a6..32b6547ad 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutSection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLayoutSection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLineFragment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLineFragment.java index 0f4abbd82..ce9b9a26a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLineFragment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLineFragment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextList.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextList.java index a0a3fab03..66232bd73 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextList.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextList.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListElement.java index 969b613f3..04fb69824 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListElement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListMarkerFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListMarkerFormat.java index d63d20d4c..44053f803 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListMarkerFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListMarkerFormat.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListOptions.java index 9f024fc06..59bc90986 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextListOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocation.java index 1f5f1eb6e..9abb3502b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocationAdapter.java index 65c0725db..4b7ffe448 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextLocationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextParagraph.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextParagraph.java index 20d46db0c..064e3ba2d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextParagraph.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextParagraph.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextRange.java index 315b45557..9550c5b34 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextRange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextRange.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextScalingType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextScalingType.java index 9c01f7dd4..0df3d00fe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextScalingType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextScalingType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelection.java index b9aa10e30..b18d75654 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionAffinity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionAffinity.java index d1f96e411..d84cc9a1c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionAffinity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionAffinity.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSource.java index aacf9ed77..d3e4c9edd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSourceAdapter.java index 462031fdc..6e1045114 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionDataSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionGranularity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionGranularity.java index 2ea437688..a6da25383 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionGranularity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionGranularity.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigation.java index 318055b71..578721576 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDestination.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDestination.java index 4dfff813b..c206100e4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDestination.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDestination.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDirection.java index 21af66838..18116ad5a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationLayoutOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationLayoutOrientation.java index e1766f2cd..920c2c9d3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationLayoutOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationLayoutOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationModifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationModifier.java index 9e685fba6..0fe714c5b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationModifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationModifier.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationWritingDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationWritingDirection.java index 8eae68f10..18908558a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationWritingDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextSelectionNavigationWritingDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorage.java index 1b3249cfa..98eef9201 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorage.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegate.java index 3f204e2c4..ae12d418d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegateAdapter.java index 3960e9728..87a841f43 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageEditActions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageEditActions.java index e58958e9e..12f4f2200 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageEditActions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageEditActions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObserving.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObserving.java index b827b9f61..43a3b2d67 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObserving.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObserving.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObservingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObservingAdapter.java index 3c43a7a06..1f022a096 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObservingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextStorageObservingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTab.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTab.java index 347bafe06..0c39ad13d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTab.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTab.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTabOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTabOptions.java index 406694a66..452349fe5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTabOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextTabOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutController.java index b29186d4a..e09120b73 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegate.java index afd5c9b36..a07262756 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegateAdapter.java index 14a06acb8..5f23b56fc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextViewportLayoutControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextWritingDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextWritingDirection.java index 52bfc729b..465323a14 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextWritingDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSTextWritingDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSUnderlineStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSUnderlineStyle.java index 9264d37d0..dacc08769 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSUnderlineStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSUnderlineStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSValueExtensions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSValueExtensions.java index 047be8b33..4fe7e4277 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSValueExtensions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSValueExtensions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirection.java index cd113477f..aead5d0bc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirectionFormatType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirectionFormatType.java index 73513b276..32ecc96b2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirectionFormatType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/NSWritingDirectionFormatType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegate.java index 5688aedab..e12f3b21c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegateAdapter.java index b28cbabab..c8b27f78f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccelerometerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibility.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibility.java index 6db805cbe..b421001d9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibility.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibility.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -356,6 +357,326 @@ public void invoke(NSNotification a) { */ @Property(selector = "setAccessibilityTextualContext:") void setAccessibilityTextualContext(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityDirectTouchOptions") + UIAccessibilityDirectTouchOptions getAccessibilityDirectTouchOptions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityDirectTouchOptions:") + void setAccessibilityDirectTouchOptions(UIAccessibilityDirectTouchOptions v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isAccessibilityElementBlock") + @Block BooleanBlock getIsAccessibilityElementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setIsAccessibilityElementBlock:") + void setIsAccessibilityElementBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityLabelBlock") + @Block Block0 getAccessibilityLabelBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityLabelBlock:") + void setAccessibilityLabelBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityValueBlock") + @Block Block0 getAccessibilityValueBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityValueBlock:") + void setAccessibilityValueBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityHintBlock") + @Block Block0 getAccessibilityHintBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityHintBlock:") + void setAccessibilityHintBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityTraitsBlock") + @Block Block0 getAccessibilityTraitsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityTraitsBlock:") + void setAccessibilityTraitsBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityIdentifierBlock") + @Block Block0 getAccessibilityIdentifierBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityIdentifierBlock:") + void setAccessibilityIdentifierBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityHeaderElementsBlock") + @Block Block0> getAccessibilityHeaderElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityHeaderElementsBlock:") + void setAccessibilityHeaderElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedLabelBlock") + @Block Block0 getAccessibilityAttributedLabelBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedLabelBlock:") + void setAccessibilityAttributedLabelBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedHintBlock") + @Block Block0 getAccessibilityAttributedHintBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedHintBlock:") + void setAccessibilityAttributedHintBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityLanguageBlock") + @Block Block0 getAccessibilityLanguageBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityLanguageBlock:") + void setAccessibilityLanguageBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityTextualContextBlock") + @Block Block0 getAccessibilityTextualContextBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityTextualContextBlock:") + void setAccessibilityTextualContextBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityUserInputLabelsBlock") + @Block Block0> getAccessibilityUserInputLabelsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityUserInputLabelsBlock:") + void setAccessibilityUserInputLabelsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedUserInputLabelsBlock") + @Block Block0> getAccessibilityAttributedUserInputLabelsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedUserInputLabelsBlock:") + void setAccessibilityAttributedUserInputLabelsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedValueBlock") + @Block Block0 getAccessibilityAttributedValueBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedValueBlock:") + void setAccessibilityAttributedValueBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityElementsHiddenBlock") + @Block BooleanBlock getAccessibilityElementsHiddenBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityElementsHiddenBlock:") + void setAccessibilityElementsHiddenBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityRespondsToUserInteractionBlock") + @Block BooleanBlock getAccessibilityRespondsToUserInteractionBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityRespondsToUserInteractionBlock:") + void setAccessibilityRespondsToUserInteractionBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityViewIsModalBlock") + @Block BooleanBlock getAccessibilityViewIsModalBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityViewIsModalBlock:") + void setAccessibilityViewIsModalBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityShouldGroupAccessibilityChildrenBlock") + @Block BooleanBlock getAccessibilityShouldGroupAccessibilityChildrenBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityShouldGroupAccessibilityChildrenBlock:") + void setAccessibilityShouldGroupAccessibilityChildrenBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityElementsBlock") + @Block Block0> getAccessibilityElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityElementsBlock:") + void setAccessibilityElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "automationElementsBlock") + @Block Block0> getAutomationElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAutomationElementsBlock:") + void setAutomationElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityContainerTypeBlock") + @Block Block0 getAccessibilityContainerTypeBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityContainerTypeBlock:") + void setAccessibilityContainerTypeBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityActivationPointBlock") + @Block Block0 getAccessibilityActivationPointBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityActivationPointBlock:") + void setAccessibilityActivationPointBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityFrameBlock") + @Block Block0 getAccessibilityFrameBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityFrameBlock:") + void setAccessibilityFrameBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityNavigationStyleBlock") + @Block Block0 getAccessibilityNavigationStyleBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityNavigationStyleBlock:") + void setAccessibilityNavigationStyleBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityPathBlock") + @Block Block0 getAccessibilityPathBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityPathBlock:") + void setAccessibilityPathBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityActivateBlock") + @Block BooleanBlock getAccessibilityActivateBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityActivateBlock:") + void setAccessibilityActivateBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityIncrementBlock") + @Block Runnable getAccessibilityIncrementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityIncrementBlock:") + void setAccessibilityIncrementBlock(@Block Runnable v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityDecrementBlock") + @Block Runnable getAccessibilityDecrementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityDecrementBlock:") + void setAccessibilityDecrementBlock(@Block Runnable v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityPerformEscapeBlock") + @Block BooleanBlock getAccessibilityPerformEscapeBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityPerformEscapeBlock:") + void setAccessibilityPerformEscapeBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityMagicTapBlock") + @Block BooleanBlock getAccessibilityMagicTapBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityMagicTapBlock:") + void setAccessibilityMagicTapBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityCustomActionsBlock") + @Block Block0> getAccessibilityCustomActionsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityCustomActionsBlock:") + void setAccessibilityCustomActionsBlock(@Block Block0> v); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAction.java index 68267f6af..4c1457d0b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -66,6 +67,16 @@ void increment(); @Method(selector = "accessibilityDecrement") void decrement(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "accessibilityZoomInAtPoint:") + boolean zoomInAtPoint(@ByVal CGPoint point); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "accessibilityZoomOutAtPoint:") + boolean zoomOutAtPoint(@ByVal CGPoint point); @Method(selector = "accessibilityScroll:") boolean scroll(UIAccessibilityScrollDirection direction); @Method(selector = "accessibilityPerformEscape") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityActionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityActionAdapter.java index 7aabc8f81..700b8c59d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityActionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityActionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -68,6 +69,16 @@ public void setAccessibilityCustomActions(NSArray v public void increment() {} @NotImplemented("accessibilityDecrement") public void decrement() {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityZoomInAtPoint:") + public boolean zoomInAtPoint(@ByVal CGPoint point) { return false; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityZoomOutAtPoint:") + public boolean zoomOutAtPoint(@ByVal CGPoint point) { return false; } @NotImplemented("accessibilityScroll:") public boolean scroll(UIAccessibilityScrollDirection direction) { return false; } @NotImplemented("accessibilityPerformEscape") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAdapter.java index 3ff8cb3e8..11686dbf5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -177,6 +178,326 @@ public void setAccessibilityAttributedUserInputLabels(NSArray getAccessibilityLabelBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityLabelBlock:") + public void setAccessibilityLabelBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityValueBlock") + public @Block Block0 getAccessibilityValueBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityValueBlock:") + public void setAccessibilityValueBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityHintBlock") + public @Block Block0 getAccessibilityHintBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityHintBlock:") + public void setAccessibilityHintBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityTraitsBlock") + public @Block Block0 getAccessibilityTraitsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityTraitsBlock:") + public void setAccessibilityTraitsBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityIdentifierBlock") + public @Block Block0 getAccessibilityIdentifierBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityIdentifierBlock:") + public void setAccessibilityIdentifierBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityHeaderElementsBlock") + public @Block Block0> getAccessibilityHeaderElementsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityHeaderElementsBlock:") + public void setAccessibilityHeaderElementsBlock(@Block Block0> v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityAttributedLabelBlock") + public @Block Block0 getAccessibilityAttributedLabelBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityAttributedLabelBlock:") + public void setAccessibilityAttributedLabelBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityAttributedHintBlock") + public @Block Block0 getAccessibilityAttributedHintBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityAttributedHintBlock:") + public void setAccessibilityAttributedHintBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityLanguageBlock") + public @Block Block0 getAccessibilityLanguageBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityLanguageBlock:") + public void setAccessibilityLanguageBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityTextualContextBlock") + public @Block Block0 getAccessibilityTextualContextBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityTextualContextBlock:") + public void setAccessibilityTextualContextBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityUserInputLabelsBlock") + public @Block Block0> getAccessibilityUserInputLabelsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityUserInputLabelsBlock:") + public void setAccessibilityUserInputLabelsBlock(@Block Block0> v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityAttributedUserInputLabelsBlock") + public @Block Block0> getAccessibilityAttributedUserInputLabelsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityAttributedUserInputLabelsBlock:") + public void setAccessibilityAttributedUserInputLabelsBlock(@Block Block0> v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityAttributedValueBlock") + public @Block Block0 getAccessibilityAttributedValueBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityAttributedValueBlock:") + public void setAccessibilityAttributedValueBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityElementsHiddenBlock") + public @Block BooleanBlock getAccessibilityElementsHiddenBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityElementsHiddenBlock:") + public void setAccessibilityElementsHiddenBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityRespondsToUserInteractionBlock") + public @Block BooleanBlock getAccessibilityRespondsToUserInteractionBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityRespondsToUserInteractionBlock:") + public void setAccessibilityRespondsToUserInteractionBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityViewIsModalBlock") + public @Block BooleanBlock getAccessibilityViewIsModalBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityViewIsModalBlock:") + public void setAccessibilityViewIsModalBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityShouldGroupAccessibilityChildrenBlock") + public @Block BooleanBlock getAccessibilityShouldGroupAccessibilityChildrenBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityShouldGroupAccessibilityChildrenBlock:") + public void setAccessibilityShouldGroupAccessibilityChildrenBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityElementsBlock") + public @Block Block0> getAccessibilityElementsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityElementsBlock:") + public void setAccessibilityElementsBlock(@Block Block0> v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("automationElementsBlock") + public @Block Block0> getAutomationElementsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAutomationElementsBlock:") + public void setAutomationElementsBlock(@Block Block0> v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityContainerTypeBlock") + public @Block Block0 getAccessibilityContainerTypeBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityContainerTypeBlock:") + public void setAccessibilityContainerTypeBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityActivationPointBlock") + public @Block Block0 getAccessibilityActivationPointBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityActivationPointBlock:") + public void setAccessibilityActivationPointBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityFrameBlock") + public @Block Block0 getAccessibilityFrameBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityFrameBlock:") + public void setAccessibilityFrameBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityNavigationStyleBlock") + public @Block Block0 getAccessibilityNavigationStyleBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityNavigationStyleBlock:") + public void setAccessibilityNavigationStyleBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityPathBlock") + public @Block Block0 getAccessibilityPathBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityPathBlock:") + public void setAccessibilityPathBlock(@Block Block0 v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityActivateBlock") + public @Block BooleanBlock getAccessibilityActivateBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityActivateBlock:") + public void setAccessibilityActivateBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityIncrementBlock") + public @Block Runnable getAccessibilityIncrementBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityIncrementBlock:") + public void setAccessibilityIncrementBlock(@Block Runnable v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityDecrementBlock") + public @Block Runnable getAccessibilityDecrementBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityDecrementBlock:") + public void setAccessibilityDecrementBlock(@Block Runnable v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityPerformEscapeBlock") + public @Block BooleanBlock getAccessibilityPerformEscapeBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityPerformEscapeBlock:") + public void setAccessibilityPerformEscapeBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityMagicTapBlock") + public @Block BooleanBlock getAccessibilityMagicTapBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityMagicTapBlock:") + public void setAccessibilityMagicTapBlock(@Block BooleanBlock v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("accessibilityCustomActionsBlock") + public @Block Block0> getAccessibilityCustomActionsBlock() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAccessibilityCustomActionsBlock:") + public void setAccessibilityCustomActionsBlock(@Block Block0> v) {} /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityConstants.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityConstants.java index 7931e9549..5d491791f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityConstants.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityConstants.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -91,6 +92,21 @@ */ @GlobalValue(symbol="UIAccessibilityTextualContextConsole", optional=true) public static native String TextualContextConsole(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilityPriorityHigh", optional=true) + public static native String PriorityHigh(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilityPriorityDefault", optional=true) + public static native String PriorityDefault(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilityPriorityLow", optional=true) + public static native String PriorityLow(); /** * @since Available in iOS 11.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainer.java index aad5f3c08..b1a7e5c56 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -68,6 +69,16 @@ */ @Property(selector = "setAccessibilityContainerType:") void setAccessibilityContainerType(UIAccessibilityContainerType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "automationElements") + NSArray getAutomationElements(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAutomationElements:") + void setAutomationElements(NSArray v); /**/ /**/ @Method(selector = "accessibilityElementCount") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerAdapter.java index b6e6aa6e9..e1ce94e85 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -69,6 +70,16 @@ public void setAccessibilityElements(NSArray v) {} */ @NotImplemented("setAccessibilityContainerType:") public void setAccessibilityContainerType(UIAccessibilityContainerType v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("automationElements") + public NSArray getAutomationElements() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setAutomationElements:") + public void setAutomationElements(NSArray v) {} /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTable.java index 8b60548f6..548366167 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTable.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTable.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableAdapter.java index 28ca3895c..f36e0c0bf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCell.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCell.java index d1aad849f..45ac99e87 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCell.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCell.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCellAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCellAdapter.java index 63cdc0322..973d6c9b7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCellAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerDataTableCellAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerType.java index b8d5b4cac..1aa7674a8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContainerType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjusting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjusting.java index 12a4b1313..c9656e448 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjusting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjusting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjustingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjustingAdapter.java index a2af131bf..3b976b714 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjustingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContentSizeCategoryImageAdjustingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContrast.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContrast.java index 171b0dda5..b431ac0f1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContrast.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityContrast.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomAction.java index b4a31f839..35a541f50 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotor.java index af5448ac1..88b1e130d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorDirection.java index 02ee7e680..68fda770a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorItemResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorItemResult.java index a12565332..35c0bc253 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorItemResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorItemResult.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorSearchPredicate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorSearchPredicate.java index eba82f7e0..0b8ba753b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorSearchPredicate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomRotorSearchPredicate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomSystemRotorType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomSystemRotorType.java index 07927827e..9927574f8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomSystemRotorType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityCustomSystemRotorType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityDirectTouchOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityDirectTouchOptions.java new file mode 100644 index 000000000..d924100e2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityDirectTouchOptions.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/ +public final class /**/UIAccessibilityDirectTouchOptions/**/ extends Bits*/UIAccessibilityDirectTouchOptions/**/> { + /**/ + public static final UIAccessibilityDirectTouchOptions None = new UIAccessibilityDirectTouchOptions(0L); + public static final UIAccessibilityDirectTouchOptions SilentOnTouch = new UIAccessibilityDirectTouchOptions(1L); + public static final UIAccessibilityDirectTouchOptions RequiresActivation = new UIAccessibilityDirectTouchOptions(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private static final /**/UIAccessibilityDirectTouchOptions/**/[] values = _values(/**/UIAccessibilityDirectTouchOptions/**/.class); + + public /**/UIAccessibilityDirectTouchOptions/**/(long value) { super(value); } + private /**/UIAccessibilityDirectTouchOptions/**/(long value, long mask) { super(value, mask); } + protected /**/UIAccessibilityDirectTouchOptions/**/ wrap(long value, long mask) { + return new /**/UIAccessibilityDirectTouchOptions/**/(value, mask); + } + protected /**/UIAccessibilityDirectTouchOptions/**/[] _values() { + return values; + } + public static /**/UIAccessibilityDirectTouchOptions/**/[] values() { + return values.clone(); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElement.java index fe0cbf2f5..098309bdd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElementFocusedNotification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElementFocusedNotification.java index 92d875ce7..fe872d25a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElementFocusedNotification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityElementFocusedNotification.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocus.java index 14184d41a..c0fc03d1e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocus.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocusAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocusAdapter.java index 457f3393f..6a5a906b4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocusAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityFocusAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityGlobals.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityGlobals.java index 371e28b82..2a01a6535 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityGlobals.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityGlobals.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityHearingDeviceEar.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityHearingDeviceEar.java index 4335fb17b..b5128bf80 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityHearingDeviceEar.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityHearingDeviceEar.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentification.java index 41802523b..ce5fc6c73 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentification.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentificationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentificationAdapter.java index 1c5cee5b8..4b320994d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentificationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityIdentificationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityLocationDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityLocationDescriptor.java index 34ed1d9d3..40078aec1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityLocationDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityLocationDescriptor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNavigationStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNavigationStyle.java index a189cf1d6..194db4269 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNavigationStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNavigationStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNotification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNotification.java index c2d9473b8..b4369db30 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNotification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityNotification.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContent.java index f20a61e4a..a1fdfac0d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContentAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContentAdapter.java index c5ad579c3..9e17ecbd4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContentAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityReadingContentAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityScrollDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityScrollDirection.java index c7d52269c..c0fa1b80c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityScrollDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityScrollDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityTraits.java old mode 100755 new mode 100644 index f2ef0dc7c..0e6a5eee3 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityTraits.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityTraits.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -47,6 +48,8 @@ /**/public final/**/ class /**/UIAccessibilityTraits/**/ extends /**/Bits/**/ { + /**/static { Bro.bind(UIAccessibilityTraits.class); }/**/ + /**/ public static final UIAccessibilityTraits None = new UIAccessibilityTraits(NoneValue()); public static final UIAccessibilityTraits Button = new UIAccessibilityTraits(ButtonValue()); @@ -83,6 +86,15 @@ * @since Available in iOS 10.0 and later. */ public static final UIAccessibilityTraits TabBarValue = new UIAccessibilityTraits(TabBarValue()); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIAccessibilityTraits ToggleButtonValue = new UIAccessibilityTraits(ToggleButtonValue()); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIAccessibilityTraits SupportsZoomValue = new UIAccessibilityTraits(SupportsZoomValue()); + /**/ private static final /**/UIAccessibilityTraits/**/[] values = _values(/**/UIAccessibilityTraits/**/.class); @@ -139,5 +151,15 @@ */ @GlobalValue(symbol="UIAccessibilityTraitTabBar", optional=true) protected static native long TabBarValue(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilityTraitToggleButton", optional=true) + protected static native long ToggleButtonValue(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIAccessibilityTraitSupportsZoom", optional=true) + protected static native long SupportsZoomValue(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityZoomType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityZoomType.java index 235d3a780..e3f863ee5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityZoomType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAccessibilityZoomType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAction.java index a3ab3b8b0..683d830bd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -94,6 +95,16 @@ protected UIAction() {} */ @Property(selector = "sender") public native NSObject getSender(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "selectedImage") + public native UIImage getSelectedImage(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSelectedImage:") + public native void setSelectedImage(UIImage v); /** * @since Available in iOS 16.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionIdentifier.java index 927cee01a..645ec1b56 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionIdentifier.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheet.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheet.java index d916fef1a..1ee391062 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheet.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheet.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegate.java index 4e130413b..3dc7da3da 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegateAdapter.java index c6f840f13..9302e5736 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetStyle.java index 07b6174a8..9a1141088 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActionSheetStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivity.java index 43c25257d..15afca18c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivity.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityCategory.java index 37947a052..ffa5214a4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityCategory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorView.java index 0df082395..6ef53475b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorViewStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorViewStyle.java index b8575374f..5de2ac06a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorViewStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityIndicatorViewStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemProvider.java index 8251bd0c0..7ba1f82ba 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemProvider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSource.java index f0f400df5..7be576529 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSourceAdapter.java index eb9521f96..fe5f51769 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfiguration.java index a0e4c93fe..5b84894aa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationInteraction.java index ef5f180ba..c7a8d68e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -102,9 +103,13 @@ public static long toNative(List l, lon * @since Available in iOS 13.0 and later. */ public static final UIActivityItemsConfigurationInteraction Share = new UIActivityItemsConfigurationInteraction("Share"); + /** + * @since Available in iOS 16.4 and later. + */ + public static final UIActivityItemsConfigurationInteraction Copy = new UIActivityItemsConfigurationInteraction("Copy"); /**/ - private static /**/UIActivityItemsConfigurationInteraction/**/[] values = new /**/UIActivityItemsConfigurationInteraction/**/[] {/**/Share/**/}; + private static /**/UIActivityItemsConfigurationInteraction/**/[] values = new /**/UIActivityItemsConfigurationInteraction/**/[] {/**/Share, Copy/**/}; /**/UIActivityItemsConfigurationInteraction/**/ (String getterName) { super(Values.class, getterName); @@ -132,6 +137,11 @@ public static class Values { */ @GlobalValue(symbol="UIActivityItemsConfigurationInteractionShare", optional=true) public static native NSString Share(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="UIActivityItemsConfigurationInteractionCopy", optional=true) + public static native NSString Copy(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationMetadataKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationMetadataKey.java index ff2668cae..f44d5d94f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationMetadataKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationMetadataKey.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationPreviewIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationPreviewIntent.java index ca4e9b25b..6a7939e9e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationPreviewIntent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationPreviewIntent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProviding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProviding.java index 8642ed511..318890fca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProviding.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProviding.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProvidingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProvidingAdapter.java index d0d1cbc11..0c320775f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProvidingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationProvidingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReading.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReading.java index df5889630..4eb969bd8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReading.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReading.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReadingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReadingAdapter.java index be3e57993..afb600d26 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReadingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityItemsConfigurationReadingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityType.java index 3dd47b440..4945c4b4a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -109,5 +110,10 @@ */ @GlobalValue(symbol="UIActivityTypeCollaborationCopyLink", optional=true) public static native String CollaborationCopyLink(); + /** + * @since Available in iOS 16.4 and later. + */ + @GlobalValue(symbol="UIActivityTypeAddToHomeScreen", optional=true) + public static native String AddToHomeScreen(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityViewController.java index 6608ab461..e34dc70ee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIActivityViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegate.java index d09eb3e5c..22af4c631 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegateAdapter.java index 543522589..1fab42db9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAdaptivePresentationControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertAction.java index 2a3be2a33..2a8516769 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertActionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertActionStyle.java index cf1a3e846..b6cddb0d5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertActionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertActionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertController.java index b37eced92..c9d767d61 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerSeverity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerSeverity.java index fc8234384..6c5161500 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerSeverity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerSeverity.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerStyle.java index 778f2e8db..e9a3028be 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertControllerStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertView.java index 00490a852..6a1888da1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegate.java index 749885aa4..5b1b2d837 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegateAdapter.java index cde9f5d14..b2e1657a4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewStyle.java index 70adb7ccd..553ed94ea 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAlertViewStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAppearanceContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAppearanceContainer.java index 7c48cf289..f0101d18e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAppearanceContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAppearanceContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplication.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplication.java index 657a73590..e9ed9f66e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplication.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplication.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -297,8 +298,16 @@ public UIApplication() {} @Deprecated @Property(selector = "statusBarFrame") public native @ByVal CGRect getStatusBarFrame(); + /** + * @deprecated Deprecated in iOS 17.0. Use -[UNUserNotificationCenter setBadgeCount:withCompletionHandler:] instead. + */ + @Deprecated @Property(selector = "applicationIconBadgeNumber") public native @MachineSizedSInt long getApplicationIconBadgeNumber(); + /** + * @deprecated Deprecated in iOS 17.0. Use -[UNUserNotificationCenter setBadgeCount:withCompletionHandler:] instead. + */ + @Deprecated @Property(selector = "setApplicationIconBadgeNumber:") public native void setApplicationIconBadgeNumber(@MachineSizedSInt long v); @Property(selector = "applicationSupportsShakeToEdit") @@ -585,9 +594,16 @@ private static void preloadClasses() throws UnsupportedEncodingException { @Deprecated @Method(selector = "setMinimumBackgroundFetchInterval:") public native void setMinimumBackgroundFetchInterval(double minimumBackgroundFetchInterval); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "activateSceneSessionForRequest:errorHandler:") + public native void activateSceneSession(UISceneSessionActivationRequest request, @Block VoidBlock1 errorHandler); /** * @since Available in iOS 13.0 and later. + * @deprecated Please use activateSceneSessionForRequest:errorHandler: */ + @Deprecated @Method(selector = "requestSceneSessionActivation:userActivity:options:errorHandler:") public native void requestSceneSessionActivation(UISceneSession sceneSession, NSUserActivity userActivity, UISceneActivationRequestOptions options, @Block VoidBlock1 errorHandler); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegate.java index ff785fcf7..e16ffeef7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegateAdapter.java index 1847fa06f..434e4d47b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationExtensionPointIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationExtensionPointIdentifier.java index ecdc7417a..313d66958 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationExtensionPointIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationExtensionPointIdentifier.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptions.java index 24a3f66a0..f8bd9118b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptionsUserActivityInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptionsUserActivityInfo.java index 9191c685c..cfd1ea987 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptionsUserActivityInfo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationLaunchOptionsUserActivityInfo.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationOpenURLOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationOpenURLOptions.java index 55cb06966..ef82e8832 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationOpenURLOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationOpenURLOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIcon.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIcon.java index adbfc08a2..6b13b3e90 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIcon.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIcon.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIconType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIconType.java index 96dc8664b..5dc4ea0f8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIconType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutIconType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutItem.java index e32355a3d..fc2b1f6d1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationShortcutItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -58,7 +59,7 @@ protected UIApplicationShortcutItem(Handle h, long handle) { super(h, handle); } protected UIApplicationShortcutItem(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithType:localizedTitle:localizedSubtitle:icon:userInfo:") - public UIApplicationShortcutItem(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo) { super((SkipInit) null); initObject(init(type, localizedTitle, localizedSubtitle, icon, userInfo)); } + public UIApplicationShortcutItem(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo) { super((SkipInit) null); initObject(init(type, localizedTitle, localizedSubtitle, icon, userInfo)); } @Method(selector = "initWithType:localizedTitle:") public UIApplicationShortcutItem(String type, String localizedTitle) { super((SkipInit) null); initObject(init(type, localizedTitle)); } /**/ @@ -72,7 +73,7 @@ @Property(selector = "icon") public native UIApplicationShortcutIcon getIcon(); @Property(selector = "userInfo") - public native NSDictionary getUserInfo(); + public native NSDictionary getUserInfo(); @Property(selector = "targetContentIdentifier") public native NSObject getTargetContentIdentifier(); /**/ @@ -92,13 +93,13 @@ public void setIcon(UIApplicationShortcutIcon v) { throw new UnsupportedOperationException("UIApplicationShortcutItem is immutable"); } - public void setUserInfo(NSDictionary v) { + public void setUserInfo(NSDictionary v) { throw new UnsupportedOperationException("UIApplicationShortcutItem is immutable"); } /**//**/ /**/ @Method(selector = "initWithType:localizedTitle:localizedSubtitle:icon:userInfo:") - protected native @Pointer long init(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo); + protected native @Pointer long init(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo); @Method(selector = "initWithType:localizedTitle:") protected native @Pointer long init(String type, String localizedTitle); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationState.java index 43db8c706..3fd195c88 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIApplicationState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehavior.java index 591cc8c3a..9cb5b3bf5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehaviorType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehaviorType.java index c2be0ca5d..b6d3d0b4e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehaviorType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAttachmentBehaviorType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAxis.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAxis.java index 18800fe88..746546104 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAxis.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIAxis.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundConfiguration.java index aac62518f..c4ea7a085 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundFetchResult.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundFetchResult.java index 6f592e03b..9d2970ca3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundFetchResult.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundFetchResult.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundRefreshStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundRefreshStatus.java index d1dbbac7c..3c7276580 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundRefreshStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBackgroundRefreshStatus.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteraction.java index 9ede79e43..e06aa240f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteractionState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteractionState.java index 2833d210d..49985de59 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteractionState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBandSelectionInteractionState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarAppearance.java index 0397943f9..70b344e51 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItem.java index bfd2b83c0..8032d47fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -276,6 +277,16 @@ public void setOnClickListener(OnClickListener listener) { */ @Property(selector = "setHidden:") public native void setHidden(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isSymbolAnimationEnabled") + public native boolean isSymbolAnimationEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSymbolAnimationEnabled:") + public native void setSymbolAnimationEnabled(boolean v); /** * @since Available in iOS 16.0 and later. */ @@ -413,5 +424,65 @@ public void setOnClickListener(OnClickListener listener) { */ @Method(selector = "flexibleSpaceItem") public static native UIBarButtonItem flexibleSpaceItem(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:options:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:options:animated:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:") + public native void removeSymbolEffectOfType(NSSymbolEffect symbolEffect); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:options:") + public native void removeSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:options:animated:") + public native void removeSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffects") + public native void removeAllSymbolEffects(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffectsWithOptions:") + public native void removeAllSymbolEffect(NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffectsWithOptions:animated:") + public native void removeAllSymbolEffects(NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setSymbolImage:withContentTransition:") + public native void setSymbolImage(UIImage symbolImage, NSSymbolContentTransition transition); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setSymbolImage:withContentTransition:options:") + public native void setSymbolImage(UIImage symbolImage, NSSymbolContentTransition transition, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "frameInView:") + public native @ByVal CGRect frameInView(UIView referenceView); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemAppearance.java index 63c2bb253..df62c8206 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemGroup.java index 341c555d1..e2db1410e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemGroup.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStateAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStateAppearance.java index 2b4583540..29109673e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStateAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStateAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStyle.java index 2b4807d9f..09c778897 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonItemStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonSystemItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonSystemItem.java index cf27aa2e0..4ee8d0690 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonSystemItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarButtonSystemItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarItem.java index 6cb94a5bc..e3bb79380 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarMetrics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarMetrics.java index cd1fb3e9a..1455f9d2a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarMetrics.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarMetrics.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPosition.java index c508d9a9c..1f8dba6ab 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioning.java index 757f5b095..b4068eeda 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioning.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioning.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningAdapter.java index ad857e89d..315444061 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegate.java index 18d919a15..e39bc7658 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegateAdapter.java index 22dd048f5..50bdf1b6f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarPositioningDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarStyle.java index b348b2a93..b727396a0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBarStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBaselineAdjustment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBaselineAdjustment.java index f43ffdafe..9093a2675 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBaselineAdjustment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBaselineAdjustment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBehavioralStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBehavioralStyle.java index de33e865e..fd19ec61f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBehavioralStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBehavioralStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBezierPath.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBezierPath.java index 1f1059e6b..a01c4cc30 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBezierPath.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBezierPath.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffect.java index dd5419e20..499f75866 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffectStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffectStyle.java index 30784113c..02d09e054 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffectStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIBlurEffectStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButton.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButton.java index 1d6a932d3..d7ef5d7fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButton.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButton.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfiguration.java index b267db6d4..4332ca204 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -118,6 +119,10 @@ protected UIButtonConfiguration() {} public native @Block Block1, NSDictionary> getTitleTextAttributesTransformer(); @Property(selector = "setTitleTextAttributesTransformer:") public native void setTitleTextAttributesTransformer(@Block Block1, NSDictionary> v); + @Property(selector = "titleLineBreakMode") + public native NSLineBreakMode getTitleLineBreakMode(); + @Property(selector = "setTitleLineBreakMode:") + public native void setTitleLineBreakMode(NSLineBreakMode v); @Property(selector = "subtitle") public native String getSubtitle(); @Property(selector = "setSubtitle:") @@ -130,6 +135,10 @@ protected UIButtonConfiguration() {} public native @Block Block1, NSDictionary> getSubtitleTextAttributesTransformer(); @Property(selector = "setSubtitleTextAttributesTransformer:") public native void setSubtitleTextAttributesTransformer(@Block Block1, NSDictionary> v); + @Property(selector = "subtitleLineBreakMode") + public native NSLineBreakMode getSubtitleLineBreakMode(); + @Property(selector = "setSubtitleLineBreakMode:") + public native void setSubtitleLineBreakMode(NSLineBreakMode v); /** * @since Available in iOS 16.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationCornerStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationCornerStyle.java index 4e509e185..d75b8e3f1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationCornerStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationCornerStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationIndicator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationIndicator.java index e58f3b219..b4f40751b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationIndicator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationIndicator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationMacIdiomStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationMacIdiomStyle.java index d1ad2b689..b38f5bfba 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationMacIdiomStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationMacIdiomStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationSize.java index 8b17cf5f1..332eaf83a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationTitleAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationTitleAlignment.java index 203925efa..144b45581 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationTitleAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonConfigurationTitleAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonRole.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonRole.java index 2b1d47e9f..4130297b0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonRole.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonRole.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonType.java index 193df0ab6..d663e5028 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIButtonType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinition.java new file mode 100644 index 000000000..add59fab4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinition.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UICGFloatTraitDefinition/**/ + /**/extends UITraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinitionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinitionAdapter.java new file mode 100644 index 000000000..6ce12ce77 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICGFloatTraitDefinitionAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UICGFloatTraitDefinitionAdapter/**/ + extends /**/UITraitDefinitionAdapter/**/ + /**/implements UICGFloatTraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelection.java index 46c66433c..c3d185446 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDate.java index 627a411eb..f0ef3736c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegate.java index 7c8c8dc58..7568b8261 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegateAdapter.java index 303808280..3a7ca80d3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionMultiDateDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDate.java index 953e7e50e..8c545945e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegate.java index 0c4e4fd17..72badbe99 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegateAdapter.java index ac89484e1..bed27b36a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarSelectionSingleDateDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarView.java index bb67e9e0f..389633852 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecoration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecoration.java index 97b3e6ed8..0cb80ffdd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecoration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecoration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecorationSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecorationSize.java index 1e122dcb6..d53b16553 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecorationSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDecorationSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegate.java index 74886dcd8..44bbccdb0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegateAdapter.java index 35fb47c7c..fd87be133 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICalendarViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessory.java index 27ed3a07a..93f8c9605 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCheckmark.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCheckmark.java index ce6c556fc..a88338b00 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCheckmark.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCheckmark.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCustomView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCustomView.java index 3a4094341..8d02137e9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCustomView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryCustomView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDelete.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDelete.java index a49973ee9..6915b2702 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDelete.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDelete.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDetail.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDetail.java index a00dc8d1b..e252e1231 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDetail.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDetail.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisclosureIndicator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisclosureIndicator.java index cccfeb3e3..8e969a8fd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisclosureIndicator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisclosureIndicator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisplayedState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisplayedState.java index be54f8b61..c56f39d2a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisplayedState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryDisplayedState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryInsert.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryInsert.java index 6edbffd70..e9dd64134 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryInsert.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryInsert.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryLabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryLabel.java index 91dd40f10..bdf54cd7e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryLabel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryLabel.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryMultiselect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryMultiselect.java index 3e1d5d6e0..fae673697 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryMultiselect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryMultiselect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosure.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosure.java index 2c6c55488..7bb590f23 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosure.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosure.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosureStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosureStyle.java index d236bd7ba..5079c5a0c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosureStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryOutlineDisclosureStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPlacement.java index bb314ee9c..9a616ca0d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPlacement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPlacement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPopUpMenu.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPopUpMenu.java index c77721d8b..5683cc56c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPopUpMenu.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryPopUpMenu.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryReorder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryReorder.java index a26b4c498..bc145df3c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryReorder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellAccessoryReorder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDragState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDragState.java index 7d2002593..445ce6969 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDragState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDragState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDropState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDropState.java index 4d9ac4432..387c8a473 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDropState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationDropState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationState.java index 4ad38bedc..6d1216ba1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICellConfigurationState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingController.java index 61e6d7969..6126068a1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -58,6 +59,11 @@ public UICloudSharingController() {} protected UICloudSharingController(Handle h, long handle) { super(h, handle); } protected UICloudSharingController(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Use -[UIActivityViewController initWithActivityItemsConfiguration:] and pass it a UIActivityItemsConfigurationReading-conforming object with an NSItemProvider and registered preparation handler + */ + @Deprecated @Method(selector = "initWithPreparationHandler:") public UICloudSharingController(@Block("(,@Block)") VoidBlock2> preparationHandler) { super((SkipInit) null); initObject(init(preparationHandler)); } @Method(selector = "initWithShare:container:") @@ -77,6 +83,11 @@ public UICloudSharingController() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Use -[UIActivityViewController initWithActivityItemsConfiguration:] and pass it a UIActivityItemsConfigurationReading-conforming object with an NSItemProvider and registered preparation handler + */ + @Deprecated @Method(selector = "initWithPreparationHandler:") protected native @Pointer long init(@Block("(,@Block)") VoidBlock2> preparationHandler); @Method(selector = "initWithShare:container:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegate.java index 17fc80463..572e6ee72 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegateAdapter.java index 412890669..bfb871314 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingPermissionOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingPermissionOptions.java index 2553ca273..c083fb3d3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingPermissionOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICloudSharingPermissionOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementCategory.java index 965bd7888..e6c52fa86 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementCategory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementKind.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementKind.java index ce957cd1b..47c1780c1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementKind.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionElementKind.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListAppearance.java index 2722aeb44..251db7c6c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListConfiguration.java index 1b91ffab0..5b5e59943 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListFooterMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListFooterMode.java index a94c83216..f5e9d8285 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListFooterMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListFooterMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListHeaderMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListHeaderMode.java index 0dc90b3af..b01d3ce2b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListHeaderMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutListHeaderMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBehavior.java index 311e38dcd..9a08ee073 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBounce.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBounce.java new file mode 100644 index 000000000..5a8ffe8da --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingBounce.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UICollectionLayoutSectionOrthogonalScrollingBounce/**/ implements ValuedEnum { + /**/ + Automatic(0L), + Always(1L), + Never(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UICollectionLayoutSectionOrthogonalScrollingBounce/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UICollectionLayoutSectionOrthogonalScrollingBounce/**/ valueOf(long n) { + for (/**/UICollectionLayoutSectionOrthogonalScrollingBounce/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UICollectionLayoutSectionOrthogonalScrollingBounce/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingProperties.java new file mode 100644 index 000000000..615a956ff --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionLayoutSectionOrthogonalScrollingProperties.java @@ -0,0 +1,98 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UICollectionLayoutSectionOrthogonalScrollingProperties/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UICollectionLayoutSectionOrthogonalScrollingPropertiesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UICollectionLayoutSectionOrthogonalScrollingProperties.class); }/**/ + /**//**/ + /**/ + public UICollectionLayoutSectionOrthogonalScrollingProperties() {} + protected UICollectionLayoutSectionOrthogonalScrollingProperties(Handle h, long handle) { super(h, handle); } + protected UICollectionLayoutSectionOrthogonalScrollingProperties(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "decelerationRate") + public native @MachineSizedFloat double getDecelerationRate(); + @Property(selector = "setDecelerationRate:") + public native void setDecelerationRate(@MachineSizedFloat double v); + @Property(selector = "bounce") + public native UICollectionLayoutSectionOrthogonalScrollingBounce getBounce(); + @Property(selector = "setBounce:") + public native void setBounce(UICollectionLayoutSectionOrthogonalScrollingBounce v); + /**/ + /**//**/ + /**/ + @Library("UIKit") + public static class DecelerationRate { + static { Bro.bind(DecelerationRate.class); } + + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UICollectionLayoutSectionOrthogonalScrollingDecelerationRateAutomatic", optional=true) + public static native @MachineSizedFloat double Automatic(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UICollectionLayoutSectionOrthogonalScrollingDecelerationRateNormal", optional=true) + public static native @MachineSizedFloat double Normal(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UICollectionLayoutSectionOrthogonalScrollingDecelerationRateFast", optional=true) + public static native @MachineSizedFloat double Fast(); + } + + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionReusableView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionReusableView.java index e4580012e..623bbaa91 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionReusableView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionReusableView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionUpdateAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionUpdateAction.java index 62b8d54f6..99b6b5336 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionUpdateAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionUpdateAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionView.java index e8e6cc624..f72bc5ff4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCell.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCell.java index fdcf6f303..25b77eeb3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCell.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCell.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellDragState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellDragState.java index 7016b389d..be2c92e93 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellDragState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellDragState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellRegistration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellRegistration.java index 2946d4fca..b578b2a5d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellRegistration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCellRegistration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayout.java index 951fec0c7..32a9980bd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayoutConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayoutConfiguration.java index 7d34b7a98..7643334c1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayoutConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewCompositionalLayoutConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewController.java index f5ad5c35a..146e19bcc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSource.java index 6d4fd57ad..d3c97f685 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourceAdapter.java index 29c1cc506..ea19e8279 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetching.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetching.java index f5f30ed18..f377a96ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetching.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetching.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetchingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetchingAdapter.java index 71bec783a..bb4f62dd0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetchingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDataSourcePrefetchingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegate.java index 33f265602..63d235969 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateAdapter.java index b6079713f..717ac9699 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayout.java index 2c03c2e94..7448cb82d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayoutAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayoutAdapter.java index 15482e8da..3d9620588 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayoutAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDelegateFlowLayoutAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSource.java index 671f3a04b..a26f17533 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceReorderingHandlers.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceReorderingHandlers.java index b80e7d773..ac16ae806 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceReorderingHandlers.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceReorderingHandlers.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceSectionSnapshotHandlers.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceSectionSnapshotHandlers.java index 852231367..3377ae060 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceSectionSnapshotHandlers.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDiffableDataSourceSectionSnapshotHandlers.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegate.java index 0f472dac6..eb690e40b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegateAdapter.java index d93e03ac8..d1b40ff06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDragDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinator.java index 716011953..81bb93c9c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinatorAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinatorAdapter.java index 9ffc6348f..3f8a17dd9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinatorAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropCoordinatorAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegate.java index f4ef4dd80..840f00514 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegateAdapter.java index af81f6e28..912022506 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropIntent.java index 8f0080ec9..f23d2408a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropIntent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropIntent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItem.java index 2b20c3db3..8b13e868a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItemAdapter.java index c657fac95..75aafac62 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholder.java index a96f50a15..c2dafa6bb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContext.java index 31846f8b9..18fff74a7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContextAdapter.java index 2165bfb00..d8568da0a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropPlaceholderContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropProposal.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropProposal.java index 70a1fd8a1..735032482 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropProposal.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewDropProposal.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayout.java index d1519a28f..13ea2fa3e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutInvalidationContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutInvalidationContext.java index 807bfcbd3..0c5865990 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutInvalidationContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutInvalidationContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutSectionInsetReference.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutSectionInsetReference.java index 5b000f0c6..5128f2a08 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutSectionInsetReference.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFlowLayoutSectionInsetReference.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFocusUpdateContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFocusUpdateContext.java index e56d9e857..92d4d84ac 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFocusUpdateContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewFocusUpdateContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayout.java index 223775393..0c299205d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutAttributes.java index c2657c709..7723e3ca8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutAttributes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutInvalidationContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutInvalidationContext.java index f8d5d3375..f4a2453cf 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutInvalidationContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewLayoutInvalidationContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewListCell.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewListCell.java index 3dcc727bb..647f9ad9a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewListCell.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewListCell.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewPlaceholder.java index 53d90bd7a..22093088b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewPlaceholder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewReorderingCadence.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewReorderingCadence.java index d707113cf..826439f7b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewReorderingCadence.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewReorderingCadence.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollDirection.java index 4f507ce21..d4e662175 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollPosition.java index 1d638bf57..ca80fbc5f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewScrollPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSelfSizingInvalidation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSelfSizingInvalidation.java index c06abe9b8..0730d522e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSelfSizingInvalidation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSelfSizingInvalidation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSupplementaryRegistration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSupplementaryRegistration.java index fb909de30..8df021175 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSupplementaryRegistration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewSupplementaryRegistration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewTransitionLayout.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewTransitionLayout.java index 33f9186d0..60d8115ce 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewTransitionLayout.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewTransitionLayout.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewUpdateItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewUpdateItem.java index d1601fa28..0c22106ff 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewUpdateItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollectionViewUpdateItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehavior.java index 9ce36908a..26688eee6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegate.java index fb0ad2434..d87b21c89 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegateAdapter.java index d62683f9a..ba053dd2b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorMode.java index 6214b2a17..4847005e8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICollisionBehaviorMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColor.java index c5e817f9f..ea7ee666f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewController.java index a6cfa2b74..c211f4a63 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegate.java index 359569d52..f21bed78e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegateAdapter.java index 9418bb934..ccc07713a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorPickerViewControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorWell.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorWell.java index 4c295608b..2cb3421e1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorWell.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIColorWell.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommand.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommand.java index 3bd8215f2..29086abf6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommand.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommand.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -90,6 +91,16 @@ protected UICommand() {} public native void setState(UIMenuElementState v); @Property(selector = "alternates") public native NSArray getAlternates(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "selectedImage") + public native UIImage getSelectedImage(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSelectedImage:") + public native void setSelectedImage(UIImage v); @Property(selector = "sender") public native NSObject getSender(); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommandAlternate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommandAlternate.java index b1ba71c39..95c59bf51 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommandAlternate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICommandAlternate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationColorTransformer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationColorTransformer.java index c16314528..a427844ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationColorTransformer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationColorTransformer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationState.java index 063a39ebf..ae5892959 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationStateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationStateAdapter.java index 5cbfd5804..57ec359cc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationStateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIConfigurationStateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfiguration.java index 44d627c64..0351f6447 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfigurationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfigurationAdapter.java index dac4b0616..598b7f7fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfigurationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentConfigurationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainer.java index e49788045..4cee0ea94 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainerAdapter.java index e58eb65f9..26e484693 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentInsetsReference.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentInsetsReference.java index cbdeb172f..818fdba64 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentInsetsReference.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentInsetsReference.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategory.java index be9dfe528..6c2839795 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjusting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjusting.java index b43b15cfa..95594a630 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjusting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjusting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjustingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjustingAdapter.java index 53a79f36f..b4b4f5759 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjustingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentSizeCategoryAdjustingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableAlignment.java new file mode 100644 index 000000000..22fee1add --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableAlignment.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UIContentUnavailableAlignment/**/ implements ValuedEnum { + /**/ + Center(0L), + Natural(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UIContentUnavailableAlignment/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UIContentUnavailableAlignment/**/ valueOf(long n) { + for (/**/UIContentUnavailableAlignment/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UIContentUnavailableAlignment/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableButtonProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableButtonProperties.java new file mode 100644 index 000000000..7207e8eb6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableButtonProperties.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableButtonProperties/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class UIContentUnavailableButtonPropertiesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableButtonProperties.class); }/**/ + /**//**/ + /**/ + public UIContentUnavailableButtonProperties() {} + protected UIContentUnavailableButtonProperties(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableButtonProperties(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableButtonProperties(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "primaryAction") + public native UIAction getPrimaryAction(); + @Property(selector = "setPrimaryAction:") + public native void setPrimaryAction(UIAction v); + @Property(selector = "menu") + public native UIMenu getMenu(); + @Property(selector = "setMenu:") + public native void setMenu(UIMenu v); + @Property(selector = "isEnabled") + public native boolean isEnabled(); + @Property(selector = "setEnabled:") + public native void setEnabled(boolean v); + @Property(selector = "role") + public native UIButtonRole getRole(); + @Property(selector = "setRole:") + public native void setRole(UIButtonRole v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfiguration.java new file mode 100644 index 000000000..c44e3a2d4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfiguration.java @@ -0,0 +1,156 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableConfiguration/**/ + extends /**/NSObject/**/ + /**/implements UIContentConfiguration, NSSecureCoding/**/ { + + /**/public static class UIContentUnavailableConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableConfiguration.class); }/**/ + /**//**/ + /**/ + protected UIContentUnavailableConfiguration() {} + protected UIContentUnavailableConfiguration(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableConfiguration(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableConfiguration(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "image") + public native UIImage getImage(); + @Property(selector = "setImage:") + public native void setImage(UIImage v); + @Property(selector = "imageProperties") + public native UIContentUnavailableImageProperties getImageProperties(); + @Property(selector = "text") + public native String getText(); + @Property(selector = "setText:") + public native void setText(String v); + @Property(selector = "attributedText") + public native NSAttributedString getAttributedText(); + @Property(selector = "setAttributedText:") + public native void setAttributedText(NSAttributedString v); + @Property(selector = "textProperties") + public native UIContentUnavailableTextProperties getTextProperties(); + @Property(selector = "secondaryText") + public native String getSecondaryText(); + @Property(selector = "setSecondaryText:") + public native void setSecondaryText(String v); + @Property(selector = "secondaryAttributedText") + public native NSAttributedString getSecondaryAttributedText(); + @Property(selector = "setSecondaryAttributedText:") + public native void setSecondaryAttributedText(NSAttributedString v); + @Property(selector = "secondaryTextProperties") + public native UIContentUnavailableTextProperties getSecondaryTextProperties(); + @Property(selector = "button") + public native UIButtonConfiguration getButton(); + @Property(selector = "setButton:") + public native void setButton(UIButtonConfiguration v); + @Property(selector = "buttonProperties") + public native UIContentUnavailableButtonProperties getButtonProperties(); + @Property(selector = "secondaryButton") + public native UIButtonConfiguration getSecondaryButton(); + @Property(selector = "setSecondaryButton:") + public native void setSecondaryButton(UIButtonConfiguration v); + @Property(selector = "secondaryButtonProperties") + public native UIContentUnavailableButtonProperties getSecondaryButtonProperties(); + @Property(selector = "alignment") + public native UIContentUnavailableAlignment getAlignment(); + @Property(selector = "setAlignment:") + public native void setAlignment(UIContentUnavailableAlignment v); + @Property(selector = "axesPreservingSuperviewLayoutMargins") + public native UIAxis getAxesPreservingSuperviewLayoutMargins(); + @Property(selector = "setAxesPreservingSuperviewLayoutMargins:") + public native void setAxesPreservingSuperviewLayoutMargins(UIAxis v); + @Property(selector = "directionalLayoutMargins") + public native @ByVal NSDirectionalEdgeInsets getDirectionalLayoutMargins(); + @Property(selector = "setDirectionalLayoutMargins:") + public native void setDirectionalLayoutMargins(@ByVal NSDirectionalEdgeInsets v); + @Property(selector = "imageToTextPadding") + public native @MachineSizedFloat double getImageToTextPadding(); + @Property(selector = "setImageToTextPadding:") + public native void setImageToTextPadding(@MachineSizedFloat double v); + @Property(selector = "textToSecondaryTextPadding") + public native @MachineSizedFloat double getTextToSecondaryTextPadding(); + @Property(selector = "setTextToSecondaryTextPadding:") + public native void setTextToSecondaryTextPadding(@MachineSizedFloat double v); + @Property(selector = "textToButtonPadding") + public native @MachineSizedFloat double getTextToButtonPadding(); + @Property(selector = "setTextToButtonPadding:") + public native void setTextToButtonPadding(@MachineSizedFloat double v); + @Property(selector = "buttonToSecondaryButtonPadding") + public native @MachineSizedFloat double getButtonToSecondaryButtonPadding(); + @Property(selector = "setButtonToSecondaryButtonPadding:") + public native void setButtonToSecondaryButtonPadding(@MachineSizedFloat double v); + @Property(selector = "background") + public native UIBackgroundConfiguration getBackground(); + @Property(selector = "setBackground:") + public native void setBackground(UIBackgroundConfiguration v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "emptyConfiguration") + public static native UIContentUnavailableConfiguration emptyConfiguration(); + @Method(selector = "loadingConfiguration") + public static native UIContentUnavailableConfiguration loadingConfiguration(); + @Method(selector = "searchConfiguration") + public static native UIContentUnavailableConfiguration searchConfiguration(); + @Method(selector = "makeContentView") + public native UIView makeContentView(); + @Method(selector = "updatedConfigurationForState:") + public native UIContentUnavailableConfiguration updatedConfigurationForState(UIConfigurationState state); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfigurationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfigurationState.java new file mode 100644 index 000000000..3b9fe4d24 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableConfigurationState.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableConfigurationState/**/ + extends /**/NSObject/**/ + /**/implements UIConfigurationState/**/ { + + /**/public static class UIContentUnavailableConfigurationStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableConfigurationState.class); }/**/ + /**//**/ + /**/ + protected UIContentUnavailableConfigurationState() {} + protected UIContentUnavailableConfigurationState(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableConfigurationState(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithTraitCollection:") + public UIContentUnavailableConfigurationState(UITraitCollection traitCollection) { super((SkipInit) null); initObject(init(traitCollection)); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableConfigurationState(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "traitCollection") + public native UITraitCollection getTraitCollection(); + @Property(selector = "setTraitCollection:") + public native void setTraitCollection(UITraitCollection v); + @Property(selector = "searchText") + public native String getSearchText(); + @Property(selector = "setSearchText:") + public native void setSearchText(String v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithTraitCollection:") + protected native @Pointer long init(UITraitCollection traitCollection); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + @Method(selector = "customStateForKey:") + public native NSObject customStateForKey(String key); + @Method(selector = "setCustomState:forKey:") + public native void setCustomState(NSObject customState, String key); + @Method(selector = "objectForKeyedSubscript:") + public native NSObject objectForKeyedSubscript(String key); + @Method(selector = "setObject:forKeyedSubscript:") + public native void setObject(NSObject obj, String key); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableImageProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableImageProperties.java new file mode 100644 index 000000000..95934648c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableImageProperties.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableImageProperties/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class UIContentUnavailableImagePropertiesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableImageProperties.class); }/**/ + /**//**/ + /**/ + public UIContentUnavailableImageProperties() {} + protected UIContentUnavailableImageProperties(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableImageProperties(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableImageProperties(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "preferredSymbolConfiguration") + public native UIImageSymbolConfiguration getPreferredSymbolConfiguration(); + @Property(selector = "setPreferredSymbolConfiguration:") + public native void setPreferredSymbolConfiguration(UIImageSymbolConfiguration v); + @Property(selector = "tintColor") + public native UIColor getTintColor(); + @Property(selector = "setTintColor:") + public native void setTintColor(UIColor v); + @Property(selector = "cornerRadius") + public native @MachineSizedFloat double getCornerRadius(); + @Property(selector = "setCornerRadius:") + public native void setCornerRadius(@MachineSizedFloat double v); + @Property(selector = "maximumSize") + public native @ByVal CGSize getMaximumSize(); + @Property(selector = "setMaximumSize:") + public native void setMaximumSize(@ByVal CGSize v); + @Property(selector = "accessibilityIgnoresInvertColors") + public native boolean isAccessibilityIgnoresInvertColors(); + @Property(selector = "setAccessibilityIgnoresInvertColors:") + public native void setAccessibilityIgnoresInvertColors(boolean v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableTextProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableTextProperties.java new file mode 100644 index 000000000..2dbe92a58 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableTextProperties.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableTextProperties/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class UIContentUnavailableTextPropertiesPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableTextProperties.class); }/**/ + /**//**/ + /**/ + public UIContentUnavailableTextProperties() {} + protected UIContentUnavailableTextProperties(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableTextProperties(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableTextProperties(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "font") + public native UIFont getFont(); + @Property(selector = "setFont:") + public native void setFont(UIFont v); + @Property(selector = "color") + public native UIColor getColor(); + @Property(selector = "setColor:") + public native void setColor(UIColor v); + @Property(selector = "lineBreakMode") + public native NSLineBreakMode getLineBreakMode(); + @Property(selector = "setLineBreakMode:") + public native void setLineBreakMode(NSLineBreakMode v); + @Property(selector = "numberOfLines") + public native @MachineSizedSInt long getNumberOfLines(); + @Property(selector = "setNumberOfLines:") + public native void setNumberOfLines(@MachineSizedSInt long v); + @Property(selector = "adjustsFontSizeToFitWidth") + public native boolean adjustsFontSizeToFitWidth(); + @Property(selector = "setAdjustsFontSizeToFitWidth:") + public native void setAdjustsFontSizeToFitWidth(boolean v); + @Property(selector = "minimumScaleFactor") + public native @MachineSizedFloat double getMinimumScaleFactor(); + @Property(selector = "setMinimumScaleFactor:") + public native void setMinimumScaleFactor(@MachineSizedFloat double v); + @Property(selector = "allowsDefaultTighteningForTruncation") + public native boolean allowsDefaultTighteningForTruncation(); + @Property(selector = "setAllowsDefaultTighteningForTruncation:") + public native void setAllowsDefaultTighteningForTruncation(boolean v); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableView.java new file mode 100644 index 000000000..c8b5fe664 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentUnavailableView.java @@ -0,0 +1,109 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIContentUnavailableView/**/ + extends /**/UIView/**/ + /**/implements UIContentView/**/ { + + /**/public static class UIContentUnavailableViewPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIContentUnavailableView.class); }/**/ + /**//**/ + /**/ + protected UIContentUnavailableView() {} + protected UIContentUnavailableView(Handle h, long handle) { super(h, handle); } + protected UIContentUnavailableView(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithConfiguration:") + public UIContentUnavailableView(UIContentUnavailableConfiguration configuration) { super((SkipInit) null); initObject(init(configuration)); } + @Method(selector = "initWithCoder:") + public UIContentUnavailableView(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "configuration") + public native UIContentUnavailableConfiguration getConfiguration(); + @Property(selector = "setConfiguration:") + public native void setConfiguration(UIContentUnavailableConfiguration v); + @Property(selector = "isScrollEnabled") + public native boolean isScrollEnabled(); + @Property(selector = "setScrollEnabled:") + public native void setScrollEnabled(boolean v); + @WeaklyLinked + @Property(selector = "layerClass") + public static native Class getLayerClass(); + /**/ + /**//**/ + + // dkimitsa: manually added code + @Override + public void setConfiguration(UIContentConfiguration v) { + setConfiguration((UIContentUnavailableConfiguration)v); + } + + /**/ + @Method(selector = "initWithConfiguration:") + protected native @Pointer long init(UIContentUnavailableConfiguration configuration); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /** + * @since Available in iOS 9.0 and later. + */ + @Method(selector = "userInterfaceLayoutDirectionForSemanticContentAttribute:") + public static native UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute); + /** + * @since Available in iOS 10.0 and later. + */ + @Method(selector = "userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:") + public static native UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "supportsConfiguration:") + public native boolean supportsConfiguration(UIContentConfiguration configuration); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentView.java index 903b12a6f..54a2e882d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentViewAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentViewAdapter.java index 359b16091..cb8bd0cb2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentViewAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContentViewAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfiguration.java index 548643f06..87dbe0525 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfigurationElementOrder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfigurationElementOrder.java index 708968388..b87ee413a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfigurationElementOrder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuConfigurationElementOrder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteraction.java index d7fcbfe76..bd1f453c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimating.java index 2a6ac88f1..13d281e9b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimatingAdapter.java index 2822120b4..b7495cf9e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAppearance.java index c1750095d..db50bcd32 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimating.java index 7228fc660..8a3d185ab 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimatingAdapter.java index 86b688d26..48a2704b7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitStyle.java index 45f849038..df87fb64f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionCommitStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegate.java index 75b9d0f06..bada0f0ac 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -79,14 +80,14 @@ void willEnd(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator); /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:previewForHighlightingItemWithIdentifier: + * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: */ @Deprecated @Method(selector = "contextMenuInteraction:previewForHighlightingMenuWithConfiguration:") UITargetedPreview getPreviewForHighlightingMenu(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration); /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:previewForDismissingToItemWithIdentifier: + * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: */ @Deprecated @Method(selector = "contextMenuInteraction:previewForDismissingMenuWithConfiguration:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegateAdapter.java index f59d0203b..7f735e0a6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextMenuInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -79,14 +80,14 @@ public void willDisplayMenu(UIContextMenuInteraction interaction, UIContextMenuC public void willEnd(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator) {} /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:previewForHighlightingItemWithIdentifier: + * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: */ @Deprecated @NotImplemented("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:") public UITargetedPreview getPreviewForHighlightingMenu(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration) { return null; } /** * @since Available in iOS 13.0 and later. - * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:previewForDismissingToItemWithIdentifier: + * @deprecated Deprecated in iOS 16.0. Use contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: */ @Deprecated @NotImplemented("contextMenuInteraction:previewForDismissingMenuWithConfiguration:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualAction.java index 357630d8e..508ce7636 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualActionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualActionStyle.java index 994594d41..6686821c9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualActionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIContextualActionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControl.java index 94d32edc9..aef1a9686 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControl.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControl.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -140,6 +141,16 @@ public UIControl() {} */ @Property(selector = "toolTipInteraction") public native UIToolTipInteraction getToolTipInteraction(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isSymbolAnimationEnabled") + public native boolean isSymbolAnimationEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSymbolAnimationEnabled:") + public native void setSymbolAnimationEnabled(boolean v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentHorizontalAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentHorizontalAlignment.java index dd851c9f1..16c39588b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentHorizontalAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentHorizontalAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentVerticalAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentVerticalAlignment.java index e53776a8b..23570992f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentVerticalAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlContentVerticalAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlEvents.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlEvents.java index 897a8e85e..079730d20 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlEvents.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlEvents.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlState.java index 8642ea40a..d7ce963a2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIControlState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpace.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpace.java index 88500cd1b..469ccbd7e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpace.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpace.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpaceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpaceAdapter.java index f0ee76d45..080286815 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpaceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICoordinateSpaceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICornerCurve.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICornerCurve.java new file mode 100644 index 000000000..0b0967041 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICornerCurve.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UICornerCurve/**/ implements ValuedEnum { + /**/ + Automatic(0L), + Circular(1L), + Continuous(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UICornerCurve/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UICornerCurve/**/ valueOf(long n) { + for (/**/UICornerCurve/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UICornerCurve/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICubicTimingParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICubicTimingParameters.java index 2a77d717f..c2667b8a6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICubicTimingParameters.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UICubicTimingParameters.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataDetectorTypes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataDetectorTypes.java index dd9970a2e..f55cbef28 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataDetectorTypes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataDetectorTypes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociation.java index ab48491da..82a879a6e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociationAdapter.java index 0af76390e..d2dc013c8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceModelAssociationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslating.java index bc167ed11..0d53fd797 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslatingAdapter.java index 3be925c5d..b044bc6f3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDataSourceTranslatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePicker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePicker.java index 2f76d72e0..c409849e6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePicker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePicker.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerMode.java index 76ddeaead..2d7089f08 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerStyle.java index 98c0e2e51..9e61eaf0b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDatePickerStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeferredMenuElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeferredMenuElement.java index 7d22636bf..03bde7139 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeferredMenuElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeferredMenuElement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDevice.java index 6788daf3e..1900c0f33 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDevice.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceBatteryState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceBatteryState.java index c1632949d..a9971d621 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceBatteryState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceBatteryState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceOrientation.java index 060f2981d..f1e4b9940 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDeviceOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDictationPhrase.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDictationPhrase.java index af236dd7f..9c9c4890f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDictationPhrase.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDictationPhrase.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDirectionalRectEdge.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDirectionalRectEdge.java index c853b0535..c2fb6c8ad 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDirectionalRectEdge.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDirectionalRectEdge.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDisplayGamut.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDisplayGamut.java index df6929d76..fea7093dc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDisplayGamut.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDisplayGamut.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocument.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocument.java index c48f1ecbd..57ff9c742 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocument.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocument.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -47,7 +48,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIDocument/**/ extends /**/NSObject/**/ - /**/implements NSFilePresenter, NSProgressReporting, UIUserActivityRestoring/**/ { + /**/implements NSFilePresenter, NSProgressReporting, UINavigationItemRenameDelegate, UIUserActivityRestoring/**/ { public static class Notifications { /** @@ -240,5 +241,13 @@ public boolean read(NSURL url) throws NSErrorException { public native void presentedSubitemAtURLDidLoseVersion(NSURL url, NSFileVersion version); @Method(selector = "presentedSubitemAtURL:didResolveConflictVersion:") public native void presentedSubitemAtURLDidResolveConflictVersion(NSURL url, NSFileVersion version); + @Method(selector = "navigationItem:didEndRenamingWithTitle:") + public native void didEndRenaming(UINavigationItem navigationItem, String title); + @Method(selector = "navigationItemShouldBeginRenaming:") + public native boolean navigationItemShouldBeginRenaming(UINavigationItem navigationItem); + @Method(selector = "navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:") + public native String willBeginRenaming(UINavigationItem navigationItem, String title, NSRange selectedRange); + @Method(selector = "navigationItem:shouldEndRenamingWithTitle:") + public native boolean shouldEndRenaming(UINavigationItem navigationItem, String title); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserAction.java index 8aac86c85..3ab24acab 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserActionAvailability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserActionAvailability.java index 6c5cb8d3e..b8bf9f9f0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserActionAvailability.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserActionAvailability.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserErrorCode.java index 8d33c4940..3ebbc0398 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserErrorCode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserImportMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserImportMode.java index 1e560f3fc..7902ef032 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserImportMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserImportMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserTransitionController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserTransitionController.java index a1e2cb5bc..ef4802f3c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserTransitionController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserTransitionController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserUserInterfaceStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserUserInterfaceStyle.java index 21995464a..c77dae4c6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserUserInterfaceStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserUserInterfaceStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewController.java index a9607e7ee..91154d261 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegate.java index 3c303b4ad..89976994f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegateAdapter.java index c9b81391b..af9eb7fc9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentBrowserViewControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentChangeKind.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentChangeKind.java index b86e02cf2..7bb5aa5e6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentChangeKind.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentChangeKind.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionController.java index dcbff7c62..abf3f2c3e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegate.java index 869606caf..575fa4e63 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegateAdapter.java index 0f741cba6..b62d5a9d2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentInteractionControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegate.java index e0db7549f..b346ffa0d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegateAdapter.java index abedc4e17..9d295e293 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuOrder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuOrder.java index 56eaeb771..7eaea827f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuOrder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuOrder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuViewController.java index bd4faa629..f069474f2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentMenuViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegate.java index cdebf5496..ac1287204 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegateAdapter.java index 5138edb76..e1efb1601 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerExtensionViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerExtensionViewController.java index 7dbad2b2b..e8e376ecc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerExtensionViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerExtensionViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerMode.java index 9bcb8ea54..79483c2cd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerViewController.java index ff15b0a37..d01362191 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentPickerViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentProperties.java index f4354618a..4e9e18371 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentProperties.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentProperties.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentSaveOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentSaveOperation.java index 54547ce11..05ed33c68 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentSaveOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentSaveOperation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentState.java index 94223b003..13d845973 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentViewController.java new file mode 100644 index 000000000..8063774c2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDocumentViewController.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIDocumentViewController/**/ + extends /**/UIViewController/**/ + /**//**/ { + + /**/public static class UIDocumentViewControllerPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIDocumentViewController.class); }/**/ + /**//**/ + /**/ + public UIDocumentViewController() {} + protected UIDocumentViewController(Handle h, long handle) { super(h, handle); } + protected UIDocumentViewController(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithDocument:") + public UIDocumentViewController(UIDocument document) { super((SkipInit) null); initObject(init(document)); } + @Method(selector = "initWithNibName:bundle:") + public UIDocumentViewController(String nibNameOrNil, NSBundle nibBundleOrNil) { super(nibNameOrNil, nibBundleOrNil); } + @Method(selector = "initWithCoder:") + public UIDocumentViewController(NSCoder coder) { super(coder); } + /**/ + /**/ + @Property(selector = "document") + public native UIDocument getDocument(); + @Property(selector = "setDocument:") + public native void setDocument(UIDocument v); + @Property(selector = "undoRedoItemGroup") + public native UIBarButtonItemGroup getUndoRedoItemGroup(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithDocument:") + protected native @Pointer long init(UIDocument document); + @Method(selector = "navigationItemDidUpdate") + public native void navigationItemDidUpdate(); + @Method(selector = "openDocumentWithCompletionHandler:") + public native void openDocument(@Block VoidBooleanBlock completionHandler); + @Method(selector = "documentDidOpen") + public native void documentDidOpen(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimating.java index fc5deb9ca..b529755e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimatingAdapter.java index ff5346efc..b5a2e4cfd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSession.java index a6154c416..7519bc459 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSessionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSessionAdapter.java index 55473aca8..beefca5c4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSessionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragDropSessionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteraction.java index 990dc5abc..9a147c178 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegate.java index c64873717..8b1d3bca0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegateAdapter.java index e85a0b36c..06e8de7bd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragItem.java index 3b4110e9a..0d6f1f7f7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreview.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreview.java index 50bc9fb54..67588be99 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreview.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreview.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewParameters.java index 957cdd964..a573ceca2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewParameters.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewParameters.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewTarget.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewTarget.java index 455991fa0..0118b378f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewTarget.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragPreviewTarget.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSession.java index d734d7a32..e172400b6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSessionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSessionAdapter.java index bf11f0078..91916d692 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSessionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDragSessionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteraction.java index fc3145f48..7a595fb46 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegate.java index 099f9866d..052fe2675 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegateAdapter.java index 3ff5cdd31..85e2aeef4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropOperation.java index 1f1a396be..d5b1c488f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropOperation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropProposal.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropProposal.java index c2bb6ffcd..5fe70dea2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropProposal.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropProposal.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSession.java index 8f5693396..ef8054799 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionAdapter.java index e03031e86..bf5a48f68 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionProgressIndicatorStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionProgressIndicatorStyle.java index 2115db81f..489b07ae2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionProgressIndicatorStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDropSessionProgressIndicatorStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimator.java index 86433a464..b37a187b0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegate.java index 021fabaf6..46b3cc349 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegateAdapter.java index a2ca55578..cd2203963 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicAnimatorDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicBehavior.java index ce48fcd0a..7b238f4be 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItem.java index 202606401..dadf4bcc5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemAdapter.java index 2431989c5..97d4f9ec0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemBehavior.java index b10e54630..4395c3f9d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemCollisionBoundsType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemCollisionBoundsType.java index fa9290e97..388677c1b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemCollisionBoundsType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemCollisionBoundsType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemGroup.java index ad08dcdd4..a5cb4180c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIDynamicItemGroup.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEdgeInsets.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEdgeInsets.java index aab74dde4..0166e3ac0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEdgeInsets.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEdgeInsets.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuArrowDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuArrowDirection.java index 06a1ff2d2..20a3112e1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuArrowDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuArrowDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuConfiguration.java index cbbec60ff..b94ce9d9d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteraction.java index bd675a9ed..b7b8c4ee7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimating.java index 5173642dc..caba169af 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimatingAdapter.java index 454b6c8bf..510606720 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegate.java index 536d82c0f..3073a0ca1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegateAdapter.java index 28d00ca9a..62d300a70 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditMenuInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditingInteractionConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditingInteractionConfiguration.java index 582c0e603..c1787e971 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditingInteractionConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEditingInteractionConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEvent.java index 8aad0c1a1..ea2afd793 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEvent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttribution.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttribution.java index 5186e55be..e12c7b83a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttribution.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttribution.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttributionView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttributionView.java index 4c4e40970..83da220ad 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttributionView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventAttributionView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventButtonMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventButtonMask.java index 6519aa58e..876a0fbfc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventButtonMask.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventButtonMask.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventSubtype.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventSubtype.java index 19116b4d4..9793870a4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventSubtype.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventSubtype.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventType.java index 5149402ea..d40ce844e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIEventType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFeedbackGenerator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFeedbackGenerator.java index bd8354dc2..119bb2b14 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFeedbackGenerator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFeedbackGenerator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFieldBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFieldBehavior.java index c01f5b279..3fd0c03d8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFieldBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFieldBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteraction.java index 3b0eaf342..16c950829 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegate.java index fa9df9826..c284a9717 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegateAdapter.java index b44e762ed..ad2d910fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSession.java index 575ead8d9..0c52fa70a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSessionSearchResultDisplayStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSessionSearchResultDisplayStyle.java index 249177007..6429d6237 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSessionSearchResultDisplayStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFindSessionSearchResultDisplayStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFloatRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFloatRange.java index 71a494837..3b0a6b91a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFloatRange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFloatRange.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContext.java index b63ac0fd9..06e427d36 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContextAdapter.java index 7413a71a0..2d52abe4b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationCoordinator.java index 5280c6228..91c2e521c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusAnimationCoordinator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebugger.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebugger.java index 1c60cecad..f77b0134e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebugger.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebugger.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutput.java index 121cd6663..cb34f9ac5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutput.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutputAdapter.java index 19ba6ca68..3eda75621 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusDebuggerOutputAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEffect.java index e19f67ea5..19b899d0f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironment.java index 53717bceb..a4b1e9176 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentAdapter.java index e31f033f5..a35ae4b61 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentConstants.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentConstants.java index a1e9c93d8..5af53096e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentConstants.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusEnvironmentConstants.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGroupPriority.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGroupPriority.java index 8c1be9980..49e8a5fe3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGroupPriority.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGroupPriority.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGuide.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGuide.java index b3716cc7d..0160337a3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGuide.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusGuide.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffect.java index 4be8d3437..e03c044a2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffectPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffectPosition.java index 32062cfbf..929c42a71 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffectPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHaloEffectPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHeading.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHeading.java index 37cd84314..22538954e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHeading.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusHeading.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItem.java index 98438ecd5..7724de612 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemAdapter.java index a65b4c9be..ad0c60d63 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainer.java index bec5dd701..01ec2c20e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainerAdapter.java index f7a071053..de6273d68 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainer.java index 4b807052b..5bff43aeb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainerAdapter.java index 427b359f8..28e000873 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusItemScrollableContainerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusMovementHint.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusMovementHint.java index d49de502d..ac8b171f2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusMovementHint.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusMovementHint.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusSystem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusSystem.java index 72e7b2042..7f1fe4684 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusSystem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusSystem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusUpdateContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusUpdateContext.java index 73fb5627d..456c26988 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusUpdateContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFocusUpdateContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFont.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFont.java index d0d89a49c..20c590886 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFont.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFont.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptor.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptor.java index 5cb0e08c9..defe9b9a6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptor.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptor.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttribute.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttribute.java index ebb9d3765..8b791e7fc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttribute.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttribute.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttributes.java index ed81e9f01..3fbe9d4af 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorAttributes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSymbolicTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSymbolicTraits.java index af312212c..b534dbda1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSymbolicTraits.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSymbolicTraits.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSystemDesign.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSystemDesign.java index 729a5991b..412e93851 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSystemDesign.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorSystemDesign.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorTraits.java index 99256d06c..674056ed3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorTraits.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontDescriptorTraits.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontFeatureSetting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontFeatureSetting.java index 3be9e9921..17fc1e1be 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontFeatureSetting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontFeatureSetting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontMetrics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontMetrics.java index a9e0d8abb..49fcf87fa 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontMetrics.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontMetrics.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewController.java index 967216a6f..b071afda9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerConfiguration.java index 95b62be32..ea45789ea 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegate.java index 0ada394f6..c59ac3ca3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegateAdapter.java index a7c21e4c0..106081095 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontPickerViewControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontTextStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontTextStyle.java index 35468bc62..e9ac45b05 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontTextStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontTextStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -102,6 +103,14 @@ public static long toNative(List l, long flags) { * @since Available in iOS 11.0 and later. */ public static final UIFontTextStyle LargeTitle = new UIFontTextStyle("LargeTitle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIFontTextStyle ExtraLargeTitle = new UIFontTextStyle("ExtraLargeTitle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIFontTextStyle ExtraLargeTitle2 = new UIFontTextStyle("ExtraLargeTitle2"); /** * @since Available in iOS 9.0 and later. */ @@ -126,7 +135,7 @@ public static long toNative(List l, long flags) { public static final UIFontTextStyle Caption2 = new UIFontTextStyle("Caption2"); /**/ - private static /**/UIFontTextStyle/**/[] values = new /**/UIFontTextStyle/**/[] {/**/LargeTitle, Title1, Title2, Title3, Headline, Subheadline, Body, Callout, Footnote, Caption1, Caption2/**/}; + private static /**/UIFontTextStyle/**/[] values = new /**/UIFontTextStyle/**/[] {/**/LargeTitle, ExtraLargeTitle, ExtraLargeTitle2, Title1, Title2, Title3, Headline, Subheadline, Body, Callout, Footnote, Caption1, Caption2/**/}; /**/UIFontTextStyle/**/ (String getterName) { super(Values.class, getterName); @@ -154,6 +163,16 @@ public static class Values { */ @GlobalValue(symbol="UIFontTextStyleLargeTitle", optional=true) public static native NSString LargeTitle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIFontTextStyleExtraLargeTitle", optional=true) + public static native NSString ExtraLargeTitle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIFontTextStyleExtraLargeTitle2", optional=true) + public static native NSString ExtraLargeTitle2(); /** * @since Available in iOS 9.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWeight.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWeight.java index f4edb1105..333b1bf7b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWeight.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWeight.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWidth.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWidth.java index 85872e650..8bcb944fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWidth.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIFontWidth.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIForceTouchCapability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIForceTouchCapability.java index 8f2796d1e..ce5211235 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIForceTouchCapability.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIForceTouchCapability.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGeometry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGeometry.java index 742ed8e3f..264f676c1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGeometry.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGeometry.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizer.java index ed7c5f614..404bf4be2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegate.java index 4657f33d9..a7e930564 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegateAdapter.java index cd5be8399..e79c6d514 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerState.java index 525f9ce1e..75e8a70bc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGestureRecognizerState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphics.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphics.java index a5d40540d..7abc5df55 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphics.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphics.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -73,12 +74,28 @@ public static native void rectFrame(@ByVal CGRect rect); @Bridge(symbol="UIRectClip", optional=true) public static native void rectClip(@ByVal CGRect rect); + /** + * @deprecated Replace usage of UIGraphicsBeginImageContext with UIGraphicsImageRenderer. + */ + @Deprecated @Bridge(symbol="UIGraphicsBeginImageContext", optional=true) public static native void beginImageContext(@ByVal CGSize size); + /** + * @deprecated Replace usage of UIGraphicsBeginImageContextWithOptions with UIGraphicsImageRenderer. + */ + @Deprecated @Bridge(symbol="UIGraphicsBeginImageContextWithOptions", optional=true) public static native void beginImageContext(@ByVal CGSize size, boolean opaque, @MachineSizedFloat double scale); + /** + * @deprecated Replace usage of UIGraphicsGetImageFromCurrentImageContext with UIGraphicsImageRendererContext.currentImage. + */ + @Deprecated @Bridge(symbol="UIGraphicsGetImageFromCurrentImageContext", optional=true) public static native UIImage getImageFromCurrentImageContext(); + /** + * @deprecated UIGraphicsEndImageContext should only be used alongside UIGraphicsBeginImageContext[WithOptions]. + */ + @Deprecated @Bridge(symbol="UIGraphicsEndImageContext", optional=true) public static native void endImageContext(); @Bridge(symbol="UIGraphicsBeginPDFContextToFile", optional=true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRenderer.java index 2927ac7e4..909e53f33 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRenderer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererContext.java index a42088223..58f61859c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormat.java index f34fcbd15..d96918922 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormat.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -82,6 +83,11 @@ public UIGraphicsImageRendererFormat() {} @Deprecated @Property(selector = "setPrefersExtendedRange:") public native void setPrefersExtendedRange(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supportsHighDynamicRange") + public native boolean supportsHighDynamicRange(); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormatRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormatRange.java index 3b0405420..13915c67f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormatRange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsImageRendererFormatRange.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRenderer.java index ac4e27e18..d10e86121 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRenderer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererContext.java index a0d4ead79..051b954d3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererFormat.java index cf08bc893..c8701c8f7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsPDFRendererFormat.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRenderer.java index 081666d23..a7359ace7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRenderer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererContext.java index 70ebf3e03..5ad64d861 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererFormat.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererFormat.java index 161598db7..126c7475e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererFormat.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGraphicsRendererFormat.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGravityBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGravityBehavior.java index 3bee109c2..266b0fdff 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGravityBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGravityBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccess.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccess.java index 230840564..f9e032a81 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccess.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccess.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessAccessibilityFeature.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessAccessibilityFeature.java index 9e501e1fb..71c18aece 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessAccessibilityFeature.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessAccessibilityFeature.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessErrorCode.java index 9e14459b9..ac9e75e35 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessErrorCode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestriction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestriction.java index e58772510..014774a48 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestriction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestriction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegate.java index f807a2dc9..2f16eb57d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegateAdapter.java index eb1ee6b2d..302b971a1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionState.java index 466c1ca0e..2dd2d766e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIGuidedAccessRestrictionState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverAutomaticEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverAutomaticEffect.java new file mode 100644 index 000000000..7c2dddc5a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverAutomaticEffect.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIHoverAutomaticEffect/**/ + extends /**/NSObject/**/ + /**/implements UIHoverEffect/**/ { + + /**/public static class UIHoverAutomaticEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIHoverAutomaticEffect.class); }/**/ + /**//**/ + /**/ + protected UIHoverAutomaticEffect() {} + protected UIHoverAutomaticEffect(Handle h, long handle) { super(h, handle); } + protected UIHoverAutomaticEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "effect") + public static native UIHoverAutomaticEffect effect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffect.java new file mode 100644 index 000000000..f7ff28da3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffect.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIHoverEffect/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffectAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffectAdapter.java new file mode 100644 index 000000000..1443f17d7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverEffectAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIHoverEffectAdapter/**/ + extends /**/NSObject/**/ + /**/implements UIHoverEffect/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverGestureRecognizer.java index 0356a1ddd..5d19e9e2c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -69,9 +70,23 @@ public UIHoverGestureRecognizer() {} */ @Property(selector = "zOffset") public native @MachineSizedFloat double getZOffset(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "altitudeAngle") + public native @MachineSizedFloat double getAltitudeAngle(); /**/ /**//**/ /**/ - + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "azimuthAngleInView:") + public native @MachineSizedFloat double azimuthAngleInView(UIView view); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "azimuthUnitVectorInView:") + public native @ByVal CGVector azimuthUnitVectorInView(UIView view); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverHighlightEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverHighlightEffect.java new file mode 100644 index 000000000..33b0a79bc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverHighlightEffect.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIHoverHighlightEffect/**/ + extends /**/NSObject/**/ + /**/implements UIHoverEffect/**/ { + + /**/public static class UIHoverHighlightEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIHoverHighlightEffect.class); }/**/ + /**//**/ + /**/ + protected UIHoverHighlightEffect() {} + protected UIHoverHighlightEffect(Handle h, long handle) { super(h, handle); } + protected UIHoverHighlightEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "effect") + public static native UIHoverHighlightEffect effect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverLiftEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverLiftEffect.java new file mode 100644 index 000000000..e7c7608ca --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverLiftEffect.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIHoverLiftEffect/**/ + extends /**/NSObject/**/ + /**/implements UIHoverEffect/**/ { + + /**/public static class UIHoverLiftEffectPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIHoverLiftEffect.class); }/**/ + /**//**/ + /**/ + protected UIHoverLiftEffect() {} + protected UIHoverLiftEffect(Handle h, long handle) { super(h, handle); } + protected UIHoverLiftEffect(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "effect") + public static native UIHoverLiftEffect effect(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverStyle.java new file mode 100644 index 000000000..b2a9bca90 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIHoverStyle.java @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIHoverStyle/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIHoverStylePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIHoverStyle.class); }/**/ + /**//**/ + /**/ + protected UIHoverStyle() {} + protected UIHoverStyle(Handle h, long handle) { super(h, handle); } + protected UIHoverStyle(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "effect") + public native UIHoverEffect getEffect(); + @Property(selector = "setEffect:") + public native void setEffect(UIHoverEffect v); + @Property(selector = "shape") + public native UIShape getShape(); + @Property(selector = "setShape:") + public native void setShape(UIShape v); + @Property(selector = "isEnabled") + public native boolean isEnabled(); + @Property(selector = "setEnabled:") + public native void setEnabled(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "styleWithEffect:shape:") + public static native UIHoverStyle styleWithEffect(UIHoverEffect effect, UIShape shape); + @Method(selector = "styleWithShape:") + public static native UIHoverStyle styleWithShape(UIShape shape); + @Method(selector = "automaticStyle") + public static native UIHoverStyle automaticStyle(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImage.java index 4af1e4167..214bcfe41 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImage.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -162,6 +163,11 @@ public UIImage(File file) { */ @Property(selector = "symbolConfiguration") public native UIImageSymbolConfiguration getSymbolConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isHighDynamicRange") + public native boolean isHighDynamicRange(); /** * @since Available in iOS 13.0 and later. */ @@ -313,6 +319,326 @@ public UIImage(File file) { */ @Property(selector = "setAccessibilityTextualContext:") public native void setAccessibilityTextualContext(String v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityDirectTouchOptions") + public native UIAccessibilityDirectTouchOptions getAccessibilityDirectTouchOptions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityDirectTouchOptions:") + public native void setAccessibilityDirectTouchOptions(UIAccessibilityDirectTouchOptions v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isAccessibilityElementBlock") + public native @Block BooleanBlock getIsAccessibilityElementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setIsAccessibilityElementBlock:") + public native void setIsAccessibilityElementBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityLabelBlock") + public native @Block Block0 getAccessibilityLabelBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityLabelBlock:") + public native void setAccessibilityLabelBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityValueBlock") + public native @Block Block0 getAccessibilityValueBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityValueBlock:") + public native void setAccessibilityValueBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityHintBlock") + public native @Block Block0 getAccessibilityHintBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityHintBlock:") + public native void setAccessibilityHintBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityTraitsBlock") + public native @Block Block0 getAccessibilityTraitsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityTraitsBlock:") + public native void setAccessibilityTraitsBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityIdentifierBlock") + public native @Block Block0 getAccessibilityIdentifierBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityIdentifierBlock:") + public native void setAccessibilityIdentifierBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityHeaderElementsBlock") + public native @Block Block0> getAccessibilityHeaderElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityHeaderElementsBlock:") + public native void setAccessibilityHeaderElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedLabelBlock") + public native @Block Block0 getAccessibilityAttributedLabelBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedLabelBlock:") + public native void setAccessibilityAttributedLabelBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedHintBlock") + public native @Block Block0 getAccessibilityAttributedHintBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedHintBlock:") + public native void setAccessibilityAttributedHintBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityLanguageBlock") + public native @Block Block0 getAccessibilityLanguageBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityLanguageBlock:") + public native void setAccessibilityLanguageBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityTextualContextBlock") + public native @Block Block0 getAccessibilityTextualContextBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityTextualContextBlock:") + public native void setAccessibilityTextualContextBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityUserInputLabelsBlock") + public native @Block Block0> getAccessibilityUserInputLabelsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityUserInputLabelsBlock:") + public native void setAccessibilityUserInputLabelsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedUserInputLabelsBlock") + public native @Block Block0> getAccessibilityAttributedUserInputLabelsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedUserInputLabelsBlock:") + public native void setAccessibilityAttributedUserInputLabelsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityAttributedValueBlock") + public native @Block Block0 getAccessibilityAttributedValueBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityAttributedValueBlock:") + public native void setAccessibilityAttributedValueBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityElementsHiddenBlock") + public native @Block BooleanBlock getAccessibilityElementsHiddenBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityElementsHiddenBlock:") + public native void setAccessibilityElementsHiddenBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityRespondsToUserInteractionBlock") + public native @Block BooleanBlock getAccessibilityRespondsToUserInteractionBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityRespondsToUserInteractionBlock:") + public native void setAccessibilityRespondsToUserInteractionBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityViewIsModalBlock") + public native @Block BooleanBlock getAccessibilityViewIsModalBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityViewIsModalBlock:") + public native void setAccessibilityViewIsModalBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityShouldGroupAccessibilityChildrenBlock") + public native @Block BooleanBlock getAccessibilityShouldGroupAccessibilityChildrenBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityShouldGroupAccessibilityChildrenBlock:") + public native void setAccessibilityShouldGroupAccessibilityChildrenBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityElementsBlock") + public native @Block Block0> getAccessibilityElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityElementsBlock:") + public native void setAccessibilityElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "automationElementsBlock") + public native @Block Block0> getAutomationElementsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAutomationElementsBlock:") + public native void setAutomationElementsBlock(@Block Block0> v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityContainerTypeBlock") + public native @Block Block0 getAccessibilityContainerTypeBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityContainerTypeBlock:") + public native void setAccessibilityContainerTypeBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityActivationPointBlock") + public native @Block Block0 getAccessibilityActivationPointBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityActivationPointBlock:") + public native void setAccessibilityActivationPointBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityFrameBlock") + public native @Block Block0 getAccessibilityFrameBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityFrameBlock:") + public native void setAccessibilityFrameBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityNavigationStyleBlock") + public native @Block Block0 getAccessibilityNavigationStyleBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityNavigationStyleBlock:") + public native void setAccessibilityNavigationStyleBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityPathBlock") + public native @Block Block0 getAccessibilityPathBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityPathBlock:") + public native void setAccessibilityPathBlock(@Block Block0 v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityActivateBlock") + public native @Block BooleanBlock getAccessibilityActivateBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityActivateBlock:") + public native void setAccessibilityActivateBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityIncrementBlock") + public native @Block Runnable getAccessibilityIncrementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityIncrementBlock:") + public native void setAccessibilityIncrementBlock(@Block Runnable v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityDecrementBlock") + public native @Block Runnable getAccessibilityDecrementBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityDecrementBlock:") + public native void setAccessibilityDecrementBlock(@Block Runnable v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityPerformEscapeBlock") + public native @Block BooleanBlock getAccessibilityPerformEscapeBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityPerformEscapeBlock:") + public native void setAccessibilityPerformEscapeBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityMagicTapBlock") + public native @Block BooleanBlock getAccessibilityMagicTapBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityMagicTapBlock:") + public native void setAccessibilityMagicTapBlock(@Block BooleanBlock v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "accessibilityCustomActionsBlock") + public native @Block Block0> getAccessibilityCustomActionsBlock(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAccessibilityCustomActionsBlock:") + public native void setAccessibilityCustomActionsBlock(@Block Block0> v); @Property(selector = "accessibilityIdentifier") public native String getAccessibilityIdentifier(); @Property(selector = "setAccessibilityIdentifier:") @@ -337,6 +663,11 @@ public static UIImage getImage(File file) { public native NSData toPNGData(); @Bridge(symbol="UIImageJPEGRepresentation", optional=true) public native NSData toJPEGData(@MachineSizedFloat double compressionQuality); + /** + * @since Available in iOS 17.0 and later. + */ + @Bridge(symbol="UIImageHEICRepresentation", optional=true) + public native NSData toHEICData(); @Bridge(symbol="UIImageWriteToSavedPhotosAlbum", optional=true) public native void saveToPhotosAlbum(NSObject completionTarget, Selector completionSelector, @Pointer long contextInfo); @@ -434,6 +765,11 @@ public static UIImage getImage(File file) { */ @Method(selector = "prepareThumbnailOfSize:completionHandler:") public native void prepareThumbnail(@ByVal CGSize size, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "imageRestrictedToStandardDynamicRange") + public native UIImage imageRestrictedToStandardDynamicRange(); /** * @since Available in iOS 13.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageAsset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageAsset.java index fb564d36b..66e224bdc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageAsset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageAsset.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageConfiguration.java index 66f8b0b5e..9f5d1ca61 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -58,21 +59,49 @@ protected UIImageConfiguration() {} protected UIImageConfiguration(Handle h, long handle) { super(h, handle); } protected UIImageConfiguration(SkipInit skipInit) { super(skipInit); } + /** + * @since Available in iOS 17.0 and later. + */ + public UIImageConfiguration(UITraitCollection traitCollection) { super((Handle) null, create(traitCollection)); retain(getHandle()); } + /** + * @since Available in iOS 17.0 and later. + */ + public UIImageConfiguration(NSLocale locale) { super((Handle) null, create(locale)); retain(getHandle()); } @Method(selector = "initWithCoder:") public UIImageConfiguration(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } /**/ /**/ @Property(selector = "traitCollection") public native UITraitCollection getTraitCollection(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "locale") + public native NSLocale getLocale(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ @Method(selector = "configurationWithTraitCollection:") - public native UIImageConfiguration create(UITraitCollection traitCollection); + public native UIImageConfiguration applyTraitCollection(UITraitCollection traitCollection); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "configurationWithLocale:") + public native UIImageConfiguration applyLocale(NSLocale locale); @Method(selector = "configurationByApplyingConfiguration:") public native UIImageConfiguration configurationByApplyingConfiguration(UIImageConfiguration otherConfiguration); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "configurationWithTraitCollection:") + protected static native @Pointer long create(UITraitCollection traitCollection); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "configurationWithLocale:") + protected static native @Pointer long create(NSLocale locale); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageDynamicRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageDynamicRange.java new file mode 100644 index 000000000..ce53998df --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageDynamicRange.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UIImageDynamicRange/**/ implements ValuedEnum { + /**/ + Unspecified(-1L), + Standard(0L), + ConstrainedHigh(1L), + High(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UIImageDynamicRange/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UIImageDynamicRange/**/ valueOf(long n) { + for (/**/UIImageDynamicRange/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UIImageDynamicRange/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageOrientation.java index 44acddd32..bcdf51b6d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerController.java index 5232db10f..bf27be9e8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraCaptureMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraCaptureMode.java index a0fd369b0..eab98588e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraCaptureMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraCaptureMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraDevice.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraDevice.java index 9487bbcfc..de1d526cc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraDevice.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraDevice.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraFlashMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraFlashMode.java index b61ab4b66..f687fb060 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraFlashMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerCameraFlashMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegate.java index 8f9006525..e207b182a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegateAdapter.java index 48cd69fec..422142c60 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerEditingInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerEditingInfo.java index b0c12a2c5..c67a28130 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerEditingInfo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerEditingInfo.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerImageURLExportPreset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerImageURLExportPreset.java index 810d1c467..1c02c7bf6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerImageURLExportPreset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerImageURLExportPreset.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerQualityType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerQualityType.java index 391593e4b..9414f1b4f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerQualityType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerQualityType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerSourceType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerSourceType.java index 4d666e2cd..2f54bc81d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerSourceType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImagePickerControllerSourceType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReader.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReader.java new file mode 100644 index 000000000..0fc604308 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReader.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIImageReader/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIImageReaderPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIImageReader.class); }/**/ + /**//**/ + /**/ + public UIImageReader() {} + protected UIImageReader(Handle h, long handle) { super(h, handle); } + protected UIImageReader(SkipInit skipInit) { super(skipInit); } + public UIImageReader(UIImageReaderConfiguration configuration) { super((Handle) null, create(configuration)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "defaultReader") + public static native UIImageReader getDefaultReader(); + @Property(selector = "configuration") + public native UIImageReaderConfiguration getConfiguration(); + /**/ + /**//**/ + /**/ + @Method(selector = "imageWithContentsOfFileURL:") + public native UIImage readImage(NSURL url); + @Method(selector = "imageWithData:") + public native UIImage readImage(NSData data); + @Method(selector = "imageWithContentsOfFileURL:completion:") + public native void readImage(NSURL url, @Block VoidBlock1 completion); + @Method(selector = "imageWithData:completion:") + public native void readImage(NSData data, @Block VoidBlock1 completion); + @Method(selector = "readerWithConfiguration:") + protected static native @Pointer long create(UIImageReaderConfiguration configuration); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReaderConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReaderConfiguration.java new file mode 100644 index 000000000..9e8dea165 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageReaderConfiguration.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIImageReaderConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIImageReaderConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIImageReaderConfiguration.class); }/**/ + /**//**/ + /**/ + public UIImageReaderConfiguration() {} + protected UIImageReaderConfiguration(Handle h, long handle) { super(h, handle); } + protected UIImageReaderConfiguration(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "prefersHighDynamicRange") + public native boolean prefersHighDynamicRange(); + @Property(selector = "setPrefersHighDynamicRange:") + public native void setPrefersHighDynamicRange(boolean v); + @Property(selector = "preparesImagesForDisplay") + public native boolean isPreparesImagesForDisplay(); + @Property(selector = "setPreparesImagesForDisplay:") + public native void setPreparesImagesForDisplay(boolean v); + @Property(selector = "preferredThumbnailSize") + public native @ByVal CGSize getPreferredThumbnailSize(); + @Property(selector = "setPreferredThumbnailSize:") + public native void setPreferredThumbnailSize(@ByVal CGSize v); + @Property(selector = "pixelsPerInch") + public native @MachineSizedFloat double getPixelsPerInch(); + @Property(selector = "setPixelsPerInch:") + public native void setPixelsPerInch(@MachineSizedFloat double v); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageRenderingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageRenderingMode.java index d1d2dacb8..a496bb71a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageRenderingMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageRenderingMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageResizingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageResizingMode.java index e200c17a8..227820408 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageResizingMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageResizingMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolConfiguration.java index aa168f817..72b462f1c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolScale.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolScale.java index 266f5f15b..d3762bc06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolScale.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolScale.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolWeight.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolWeight.java index fd21bb7db..85930f746 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolWeight.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageSymbolWeight.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageView.java index 3d006edda..110d1d928 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImageView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -114,6 +115,14 @@ public UIImageView() {} public native void setTintColor(UIColor v); @Property(selector = "isAnimating") public native boolean isAnimating(); + @Property(selector = "preferredImageDynamicRange") + public native UIImageDynamicRange getPreferredImageDynamicRange(); + @Property(selector = "setPreferredImageDynamicRange:") + public native void setPreferredImageDynamicRange(UIImageDynamicRange v); + @Property(selector = "imageDynamicRange") + public native UIImageDynamicRange getImageDynamicRange(); + @Property(selector = "setImageDynamicRange:") + public native void setImageDynamicRange(UIImageDynamicRange v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); @@ -142,5 +151,75 @@ public UIImageView() {} */ @Method(selector = "userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:") public static native UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:options:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:options:animated:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "addSymbolEffect:options:animated:completion:") + public native void addSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:") + public native void removeSymbolEffectOfType(NSSymbolEffect symbolEffect); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:options:") + public native void removeSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:options:animated:") + public native void removeSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeSymbolEffectOfType:options:animated:completion:") + public native void removeSymbolEffect(NSSymbolEffect symbolEffect, NSSymbolEffectOptions options, boolean animated, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffects") + public native void removeAllSymbolEffects(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffectsWithOptions:") + public native void removeAllSymbolEffects(NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeAllSymbolEffectsWithOptions:animated:") + public native void removeAllSymbolEffects(NSSymbolEffectOptions options, boolean animated); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setSymbolImage:withContentTransition:") + public native void setSymbolImage(UIImage symbolImage, NSSymbolContentTransition transition); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setSymbolImage:withContentTransition:options:") + public native void setSymbolImage(UIImage symbolImage, NSSymbolContentTransition transition, NSSymbolEffectOptions options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setSymbolImage:withContentTransition:options:completion:") + public native void setSymbolImage(UIImage symbolImage, NSSymbolContentTransition transition, NSSymbolEffectOptions options, @Block VoidBlock1 completionHandler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackGenerator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackGenerator.java index 32a368c9b..3e3551424 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackGenerator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackGenerator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackStyle.java index 565b3c094..519b5bd4b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIImpactFeedbackStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteraction.java index 2dfbe65ff..cbd0c7b81 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegate.java index 509b2dfe6..e38d33596 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegateAdapter.java index b64ca3158..581cab562 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIIndirectScribbleInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputView.java index 8f8748f17..a9be01ee8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedback.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedback.java index b04a2b949..717e97e0b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedback.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedback.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedbackAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedbackAdapter.java index cb81d2232..e2e692640 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedbackAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewAudioFeedbackAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewController.java index de9d54b98..fbb064013 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewStyle.java index 489149b45..9e4449c44 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInputViewStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteraction.java index 3d128079b..c09712eb5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteractionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteractionAdapter.java index 955929b1a..c130f499a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteractionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInteractionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientation.java index 4af6ac17d..c89978e9b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientationMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientationMask.java index 1fc5e0530..4feef0412 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientationMask.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterfaceOrientationMask.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffect.java index 9f12d0ba3..1ef635bbd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffectType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffectType.java index bdaa45018..32b371b21 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffectType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIInterpolatingMotionEffectType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProviding.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProviding.java index ed5a6b90d..a547218da 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProviding.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProviding.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProvidingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProvidingAdapter.java index e84ec7521..e6d967ad1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProvidingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIItemProviderPresentationSizeProvidingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKey.java index 42d029cc1..6e3b3b6b6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKey.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyCommand.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyCommand.java index 39e5153aa..ce10e607b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyCommand.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyCommand.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInput.java index 0c42ccea3..e229d0055 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInput.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInputAdapter.java index 700454c0f..c00dc122f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyInputAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyModifierFlags.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyModifierFlags.java index 5a579d4ba..bb3700030 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyModifierFlags.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyModifierFlags.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAnimation.java index 2b3a885a0..28dbcaa9c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAnimation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAppearance.java index 8ed8f362e..136f7a1bb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardHIDUsage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardHIDUsage.java index 70639e800..719cf8226 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardHIDUsage.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardHIDUsage.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardLayoutGuide.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardLayoutGuide.java index ed0a774bd..4d2d38e4d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardLayoutGuide.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardLayoutGuide.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -64,6 +65,26 @@ public UIKeyboardLayoutGuide() {} public native boolean isFollowsUndockedKeyboard(); @Property(selector = "setFollowsUndockedKeyboard:") public native void setFollowsUndockedKeyboard(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "usesBottomSafeArea") + public native boolean usesBottomSafeArea(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setUsesBottomSafeArea:") + public native void setUsesBottomSafeArea(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "keyboardDismissPadding") + public native @MachineSizedFloat double getKeyboardDismissPadding(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setKeyboardDismissPadding:") + public native void setKeyboardDismissPadding(@MachineSizedFloat double v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardType.java index c71b2f5fd..fe4e0b578 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIKeyboardType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabel.java index 07f0a1c65..9584a4514 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabel.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -47,7 +48,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UILabel/**/ extends /**/UIView/**/ - /**/implements NSCoding, UIContentSizeCategoryAdjusting/**/ { + /**/implements NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting/**/ { /**/public static class UILabelPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UILabel.class); }/**/ @@ -74,6 +75,16 @@ public UILabel() {} public native UIColor getTextColor(); @Property(selector = "setTextColor:") public native void setTextColor(UIColor v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "preferredVibrancy") + public native UILabelVibrancy getPreferredVibrancy(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPreferredVibrancy:") + public native void setPreferredVibrancy(UILabelVibrancy v); @Property(selector = "shadowColor") public native UIColor getShadowColor(); @Property(selector = "setShadowColor:") @@ -173,6 +184,10 @@ public UILabel() {} public native boolean adjustsFontForContentSizeCategory(); @Property(selector = "setAdjustsFontForContentSizeCategory:") public native void setAdjustsFontForContentSizeCategory(boolean v); + @Property(selector = "sizingRule") + public native UILetterformAwareSizingRule getSizingRule(); + @Property(selector = "setSizingRule:") + public native void setSizingRule(UILetterformAwareSizingRule v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabelVibrancy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabelVibrancy.java new file mode 100644 index 000000000..e89fa57b5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILabelVibrancy.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UILabelVibrancy/**/ implements ValuedEnum { + /**/ + None(0L), + Automatic(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UILabelVibrancy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UILabelVibrancy/**/ valueOf(long n) { + for (/**/UILabelVibrancy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UILabelVibrancy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewer.java index 8ca7bd66b..37565d2c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteraction.java index 4a7a25474..019bf8c65 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegate.java index 0c983aa75..1daad5c59 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegateAdapter.java index 3a7b43743..01081dacd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItem.java index 0b5dea5d8..4f51c591e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItemAdapter.java index 9b88af158..2054b051f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILargeContentViewerItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutConstraintAxis.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutConstraintAxis.java index 762456bc8..ad4885667 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutConstraintAxis.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutConstraintAxis.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutFittingSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutFittingSize.java index cb1bd08bf..2b6f3bcbb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutFittingSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutFittingSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuide.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuide.java index 95e2d1459..4a04f46cb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuide.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuide.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -109,5 +110,10 @@ public UILayoutGuide() {} public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") protected native @Pointer long init(NSCoder coder); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "frameInView:") + public native @ByVal CGRect frameInView(UIView referenceView); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFitting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFitting.java index 82c1e91c8..5a2bb576e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFitting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFitting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFittingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFittingAdapter.java index 82feb776a..f79020d1f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFittingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutGuideAspectFittingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutPriority.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutPriority.java index a04e52937..886460b63 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutPriority.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutPriority.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupport.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupport.java index 25893ff00..9eb6a71da 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupport.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupport.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupportAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupportAdapter.java index 18f29f44d..a82ffc9f1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupportAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILayoutSupportAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILegibilityWeight.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILegibilityWeight.java index bf340d406..1cd6afb00 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILegibilityWeight.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILegibilityWeight.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjusting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjusting.java new file mode 100644 index 000000000..ffe55c8fc --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjusting.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UILetterformAwareAdjusting/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "sizingRule") + UILetterformAwareSizingRule getSizingRule(); + @Property(selector = "setSizingRule:") + void setSizingRule(UILetterformAwareSizingRule v); + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjustingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjustingAdapter.java new file mode 100644 index 000000000..b2726cd39 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareAdjustingAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UILetterformAwareAdjustingAdapter/**/ + extends /**/NSObject/**/ + /**/implements UILetterformAwareAdjusting/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("sizingRule") + public UILetterformAwareSizingRule getSizingRule() { return null; } + @NotImplemented("setSizingRule:") + public void setSizingRule(UILetterformAwareSizingRule v) {} + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareSizingRule.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareSizingRule.java new file mode 100644 index 000000000..78321d96a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILetterformAwareSizingRule.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UILetterformAwareSizingRule/**/ implements ValuedEnum { + /**/ + Typographic(0L), + Oversize(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UILetterformAwareSizingRule/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UILetterformAwareSizingRule/**/ valueOf(long n) { + for (/**/UILetterformAwareSizingRule/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UILetterformAwareSizingRule/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexicon.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexicon.java index 2df2e26cc..51b63118c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexicon.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexicon.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexiconEntry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexiconEntry.java index acd5a4183..bbf841a12 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexiconEntry.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILexiconEntry.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentConfiguration.java index 3bdb22a40..e72c3f056 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentImageProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentImageProperties.java index 72bd75fe8..04330511d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentImageProperties.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentImageProperties.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextAlignment.java index cd1a7d92e..5aa5d56fc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextProperties.java index f4dd8a0a0..2e9b1826d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextProperties.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextProperties.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextTransform.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextTransform.java index 14650c017..2f5ccac59 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextTransform.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentTextTransform.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentView.java index d8b966697..abd1d1d3a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListContentView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorConfiguration.java index 110b0d8e7..c4e482f9a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorVisibility.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorVisibility.java index 21cb542b1..17f83cdd9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorVisibility.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIListSeparatorVisibility.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalNotification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalNotification.java index bd9019ce8..17e5f781d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalNotification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalNotification.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalizedIndexedCollation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalizedIndexedCollation.java index 22daf5356..cac1709d3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalizedIndexedCollation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILocalizedIndexedCollation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILongPressGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILongPressGestureRecognizer.java index 5161fd84d..10bd3627f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILongPressGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILongPressGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapable.java new file mode 100644 index 000000000..2ef57110f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapable.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ + +/**/ +/**//**/ +/**/public/**/ interface /**/UILookToDictateCapable/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isLookToDictateEnabled") + boolean isLookToDictateEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLookToDictateEnabled:") + void setLookToDictateEnabled(boolean v); + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapableAdapter.java new file mode 100644 index 000000000..5b16f8515 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UILookToDictateCapableAdapter.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UILookToDictateCapableAdapter/**/ + extends /**/NSObject/**/ + /**/implements UILookToDictateCapable/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("isLookToDictateEnabled") + public boolean isLookToDictateEnabled() { return false; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setLookToDictateEnabled:") + public void setLookToDictateEnabled(boolean v) {} + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIManagedDocument.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIManagedDocument.java index 4385db39f..67b06bfa7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIManagedDocument.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIManagedDocument.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMarkupTextPrintFormatter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMarkupTextPrintFormatter.java index 2b2bf09e1..3e75bf77e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMarkupTextPrintFormatter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMarkupTextPrintFormatter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenu.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenu.java index 8fadfd2f8..9e03c70c1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenu.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenu.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilder.java index 1bc020b4f..631a76f18 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilderAdapter.java index 2b27dedb6..136351408 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilderAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuBuilderAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuController.java index a5ed9f69f..c43f70b2d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuControllerArrowDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuControllerArrowDirection.java index 57811cea6..a6d9da06c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuControllerArrowDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuControllerArrowDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElement.java index 2b6c16997..f1c2114ec 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementAttributes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementAttributes.java index bb20f998e..002907472 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementAttributes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementAttributes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementSize.java index 915f2fa38..2422bb561 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -51,7 +52,11 @@ public enum /**/UIMenuElementSize/**/ implements ValuedEnum { /**/ Small(0L), Medium(1L), - Large(2L); + Large(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Automatic(-1L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementState.java index 25694b9ed..387c413e8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuElementState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuIdentifier.java index fbc1f604b..9677c1f97 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuIdentifier.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -230,6 +231,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 13.0 and later. */ public static final UIMenuIdentifier Format = new UIMenuIdentifier("Format"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIMenuIdentifier AutoFill = new UIMenuIdentifier("AutoFill"); /** * @since Available in iOS 13.0 and later. */ @@ -284,7 +289,7 @@ public static long toNative(List l, long flags) { public static final UIMenuIdentifier Root = new UIMenuIdentifier("Root"); /**/ - private static /**/UIMenuIdentifier/**/[] values = new /**/UIMenuIdentifier/**/[] {/**/Application, File, Edit, View, Window, Help, About, Preferences, Services, Hide, Quit, NewScene, OpenRecent, Close, Print, Document, UndoRedo, StandardEdit, Find, Replace, Share, TextStyle, Spelling, SpellingPanel, SpellingOptions, Substitutions, SubstitutionsPanel, SubstitutionOptions, Transformations, Speech, Lookup, Learn, Format, Font, TextSize, TextColor, TextStylePasteboard, Text, WritingDirection, Alignment, Toolbar, Sidebar, Fullscreen, MinimizeAndZoom, BringAllToFront, Root/**/}; + private static /**/UIMenuIdentifier/**/[] values = new /**/UIMenuIdentifier/**/[] {/**/Application, File, Edit, View, Window, Help, About, Preferences, Services, Hide, Quit, NewScene, OpenRecent, Close, Print, Document, UndoRedo, StandardEdit, Find, Replace, Share, TextStyle, Spelling, SpellingPanel, SpellingOptions, Substitutions, SubstitutionsPanel, SubstitutionOptions, Transformations, Speech, Lookup, Learn, Format, AutoFill, Font, TextSize, TextColor, TextStylePasteboard, Text, WritingDirection, Alignment, Toolbar, Sidebar, Fullscreen, MinimizeAndZoom, BringAllToFront, Root/**/}; /**/UIMenuIdentifier/**/ (String getterName) { super(Values.class, getterName); @@ -472,6 +477,11 @@ public static class Values { */ @GlobalValue(symbol="UIMenuFormat", optional=true) public static native NSString Format(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UIMenuAutoFill", optional=true) + public static native NSString AutoFill(); /** * @since Available in iOS 13.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuItem.java index 9b91c37b8..af780d254 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeaf.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeaf.java index cdce7808e..096bbcd3b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeaf.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeaf.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -64,6 +65,16 @@ UIImage getImage(); @Property(selector = "setImage:") void setImage(UIImage v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "selectedImage") + UIImage getSelectedImage(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSelectedImage:") + void setSelectedImage(UIImage v); @Property(selector = "discoverabilityTitle") String getDiscoverabilityTitle(); @Property(selector = "setDiscoverabilityTitle:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeafAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeafAdapter.java index 17cca5254..ae8b91187 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeafAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuLeafAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -63,6 +64,16 @@ public void setTitle(String v) {} public UIImage getImage() { return null; } @NotImplemented("setImage:") public void setImage(UIImage v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("selectedImage") + public UIImage getSelectedImage() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setSelectedImage:") + public void setSelectedImage(UIImage v) {} @NotImplemented("discoverabilityTitle") public String getDiscoverabilityTitle() { return null; } @NotImplemented("setDiscoverabilityTitle:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuOptions.java index 2377af38d..899245685 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -56,6 +57,10 @@ public final class /**/UIMenuOptions/**/ extends Bits*/UIM * @since Available in iOS 15.0 and later. */ public static final UIMenuOptions SingleSelection = new UIMenuOptions(32L); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UIMenuOptions DisplayAsPalette = new UIMenuOptions(128L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuSystem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuSystem.java index 84c0a4fba..06a3be25b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuSystem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMenuSystem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalPresentationStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalPresentationStyle.java index 75b10d193..ab60f9dc4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalPresentationStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalPresentationStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalTransitionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalTransitionStyle.java index e265ca2a9..46b8ee862 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalTransitionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIModalTransitionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffect.java index 58872814a..6ff5e5c1e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffectGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffectGroup.java index 47bc84e3b..e7c8f2d76 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffectGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMotionEffectGroup.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableApplicationShortcutItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableApplicationShortcutItem.java index 11016f0f6..7c1e55a9c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableApplicationShortcutItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableApplicationShortcutItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -58,7 +59,7 @@ protected UIMutableApplicationShortcutItem(Handle h, long handle) { super(h, handle); } protected UIMutableApplicationShortcutItem(SkipInit skipInit) { super(skipInit); } @Method(selector = "initWithType:localizedTitle:localizedSubtitle:icon:userInfo:") - public UIMutableApplicationShortcutItem(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo) { super(type, localizedTitle, localizedSubtitle, icon, userInfo); } + public UIMutableApplicationShortcutItem(String type, String localizedTitle, String localizedSubtitle, UIApplicationShortcutIcon icon, NSDictionary userInfo) { super(type, localizedTitle, localizedSubtitle, icon, userInfo); } @Method(selector = "initWithType:localizedTitle:") public UIMutableApplicationShortcutItem(String type, String localizedTitle) { super(type, localizedTitle); } /**/ @@ -80,9 +81,9 @@ @Property(selector = "setIcon:") public native void setIcon(UIApplicationShortcutIcon v); @Property(selector = "userInfo") - public native NSDictionary getUserInfo(); + public native NSDictionary getUserInfo(); @Property(selector = "setUserInfo:") - public native void setUserInfo(NSDictionary v); + public native void setUserInfo(NSDictionary v); @Property(selector = "targetContentIdentifier") public native NSObject getTargetContentIdentifier(); @Property(selector = "setTargetContentIdentifier:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraits.java new file mode 100644 index 000000000..b06d82b5e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraits.java @@ -0,0 +1,151 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIMutableTraits/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "userInterfaceIdiom") + UIUserInterfaceIdiom getUserInterfaceIdiom(); + @Property(selector = "setUserInterfaceIdiom:") + void setUserInterfaceIdiom(UIUserInterfaceIdiom v); + @Property(selector = "userInterfaceStyle") + UIUserInterfaceStyle getUserInterfaceStyle(); + @Property(selector = "setUserInterfaceStyle:") + void setUserInterfaceStyle(UIUserInterfaceStyle v); + @Property(selector = "layoutDirection") + UITraitEnvironmentLayoutDirection getLayoutDirection(); + @Property(selector = "setLayoutDirection:") + void setLayoutDirection(UITraitEnvironmentLayoutDirection v); + @Property(selector = "displayScale") + @MachineSizedFloat double getDisplayScale(); + @Property(selector = "setDisplayScale:") + void setDisplayScale(@MachineSizedFloat double v); + @Property(selector = "horizontalSizeClass") + UIUserInterfaceSizeClass getHorizontalSizeClass(); + @Property(selector = "setHorizontalSizeClass:") + void setHorizontalSizeClass(UIUserInterfaceSizeClass v); + @Property(selector = "verticalSizeClass") + UIUserInterfaceSizeClass getVerticalSizeClass(); + @Property(selector = "setVerticalSizeClass:") + void setVerticalSizeClass(UIUserInterfaceSizeClass v); + @Property(selector = "forceTouchCapability") + UIForceTouchCapability getForceTouchCapability(); + @Property(selector = "setForceTouchCapability:") + void setForceTouchCapability(UIForceTouchCapability v); + @Property(selector = "preferredContentSizeCategory") + String getPreferredContentSizeCategory(); + @Property(selector = "setPreferredContentSizeCategory:") + void setPreferredContentSizeCategory(String v); + @Property(selector = "displayGamut") + UIDisplayGamut getDisplayGamut(); + @Property(selector = "setDisplayGamut:") + void setDisplayGamut(UIDisplayGamut v); + @Property(selector = "accessibilityContrast") + UIAccessibilityContrast getAccessibilityContrast(); + @Property(selector = "setAccessibilityContrast:") + void setAccessibilityContrast(UIAccessibilityContrast v); + @Property(selector = "userInterfaceLevel") + UIUserInterfaceLevel getUserInterfaceLevel(); + @Property(selector = "setUserInterfaceLevel:") + void setUserInterfaceLevel(UIUserInterfaceLevel v); + @Property(selector = "legibilityWeight") + UILegibilityWeight getLegibilityWeight(); + @Property(selector = "setLegibilityWeight:") + void setLegibilityWeight(UILegibilityWeight v); + @Property(selector = "activeAppearance") + UIUserInterfaceActiveAppearance getActiveAppearance(); + @Property(selector = "setActiveAppearance:") + void setActiveAppearance(UIUserInterfaceActiveAppearance v); + @Property(selector = "toolbarItemPresentationSize") + UINSToolbarItemPresentationSize getToolbarItemPresentationSize(); + @Property(selector = "setToolbarItemPresentationSize:") + void setToolbarItemPresentationSize(UINSToolbarItemPresentationSize v); + @Property(selector = "imageDynamicRange") + UIImageDynamicRange getImageDynamicRange(); + @Property(selector = "setImageDynamicRange:") + void setImageDynamicRange(UIImageDynamicRange v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sceneCaptureState") + UISceneCaptureState getSceneCaptureState(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setSceneCaptureState:") + void setSceneCaptureState(UISceneCaptureState v); + @Property(selector = "typesettingLanguage") + String getTypesettingLanguage(); + @Property(selector = "setTypesettingLanguage:") + void setTypesettingLanguage(String v); + /**/ + /**/ + @Method(selector = "setCGFloatValue:forTrait:") + void setFloatValue(@MachineSizedFloat double value, Class trait); + @Method(selector = "valueForCGFloatTrait:") + @MachineSizedFloat double valueForCGFloatTrait(Class trait); + @Method(selector = "setNSIntegerValue:forTrait:") + void setInteger(@MachineSizedSInt long value, Class trait); + @Method(selector = "valueForNSIntegerTrait:") + @MachineSizedSInt long valueForNSIntegerTrait(Class trait); + @Method(selector = "setObject:forTrait:") + void setObject(NSObject object, Class trait); + @Method(selector = "objectForTrait:") + NSObject objectForTrait(Class trait); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraitsAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraitsAdapter.java new file mode 100644 index 000000000..343823145 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableTraitsAdapter.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIMutableTraitsAdapter/**/ + extends /**/NSObject/**/ + /**/implements UIMutableTraits/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("userInterfaceIdiom") + public UIUserInterfaceIdiom getUserInterfaceIdiom() { return null; } + @NotImplemented("setUserInterfaceIdiom:") + public void setUserInterfaceIdiom(UIUserInterfaceIdiom v) {} + @NotImplemented("userInterfaceStyle") + public UIUserInterfaceStyle getUserInterfaceStyle() { return null; } + @NotImplemented("setUserInterfaceStyle:") + public void setUserInterfaceStyle(UIUserInterfaceStyle v) {} + @NotImplemented("layoutDirection") + public UITraitEnvironmentLayoutDirection getLayoutDirection() { return null; } + @NotImplemented("setLayoutDirection:") + public void setLayoutDirection(UITraitEnvironmentLayoutDirection v) {} + @NotImplemented("displayScale") + public @MachineSizedFloat double getDisplayScale() { return 0; } + @NotImplemented("setDisplayScale:") + public void setDisplayScale(@MachineSizedFloat double v) {} + @NotImplemented("horizontalSizeClass") + public UIUserInterfaceSizeClass getHorizontalSizeClass() { return null; } + @NotImplemented("setHorizontalSizeClass:") + public void setHorizontalSizeClass(UIUserInterfaceSizeClass v) {} + @NotImplemented("verticalSizeClass") + public UIUserInterfaceSizeClass getVerticalSizeClass() { return null; } + @NotImplemented("setVerticalSizeClass:") + public void setVerticalSizeClass(UIUserInterfaceSizeClass v) {} + @NotImplemented("forceTouchCapability") + public UIForceTouchCapability getForceTouchCapability() { return null; } + @NotImplemented("setForceTouchCapability:") + public void setForceTouchCapability(UIForceTouchCapability v) {} + @NotImplemented("preferredContentSizeCategory") + public String getPreferredContentSizeCategory() { return null; } + @NotImplemented("setPreferredContentSizeCategory:") + public void setPreferredContentSizeCategory(String v) {} + @NotImplemented("displayGamut") + public UIDisplayGamut getDisplayGamut() { return null; } + @NotImplemented("setDisplayGamut:") + public void setDisplayGamut(UIDisplayGamut v) {} + @NotImplemented("accessibilityContrast") + public UIAccessibilityContrast getAccessibilityContrast() { return null; } + @NotImplemented("setAccessibilityContrast:") + public void setAccessibilityContrast(UIAccessibilityContrast v) {} + @NotImplemented("userInterfaceLevel") + public UIUserInterfaceLevel getUserInterfaceLevel() { return null; } + @NotImplemented("setUserInterfaceLevel:") + public void setUserInterfaceLevel(UIUserInterfaceLevel v) {} + @NotImplemented("legibilityWeight") + public UILegibilityWeight getLegibilityWeight() { return null; } + @NotImplemented("setLegibilityWeight:") + public void setLegibilityWeight(UILegibilityWeight v) {} + @NotImplemented("activeAppearance") + public UIUserInterfaceActiveAppearance getActiveAppearance() { return null; } + @NotImplemented("setActiveAppearance:") + public void setActiveAppearance(UIUserInterfaceActiveAppearance v) {} + @NotImplemented("toolbarItemPresentationSize") + public UINSToolbarItemPresentationSize getToolbarItemPresentationSize() { return null; } + @NotImplemented("setToolbarItemPresentationSize:") + public void setToolbarItemPresentationSize(UINSToolbarItemPresentationSize v) {} + @NotImplemented("imageDynamicRange") + public UIImageDynamicRange getImageDynamicRange() { return null; } + @NotImplemented("setImageDynamicRange:") + public void setImageDynamicRange(UIImageDynamicRange v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("sceneCaptureState") + public UISceneCaptureState getSceneCaptureState() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setSceneCaptureState:") + public void setSceneCaptureState(UISceneCaptureState v) {} + @NotImplemented("typesettingLanguage") + public String getTypesettingLanguage() { return null; } + @NotImplemented("setTypesettingLanguage:") + public void setTypesettingLanguage(String v) {} + /**/ + /**//**/ + /**/ + @NotImplemented("setCGFloatValue:forTrait:") + public void setFloatValue(@MachineSizedFloat double value, Class trait) {} + @NotImplemented("valueForCGFloatTrait:") + public @MachineSizedFloat double valueForCGFloatTrait(Class trait) { return 0; } + @NotImplemented("setNSIntegerValue:forTrait:") + public void setInteger(@MachineSizedSInt long value, Class trait) {} + @NotImplemented("valueForNSIntegerTrait:") + public @MachineSizedSInt long valueForNSIntegerTrait(Class trait) { return 0; } + @NotImplemented("setObject:forTrait:") + public void setObject(NSObject object, Class trait) {} + @NotImplemented("objectForTrait:") + public NSObject objectForTrait(Class trait) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationAction.java index ab3d7ce89..e55cfbc40 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationCategory.java index 90cb9df59..1a3e2280a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIMutableUserNotificationCategory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinition.java new file mode 100644 index 000000000..5a037d424 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinition.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UINSIntegerTraitDefinition/**/ + /**/extends UITraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinitionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinitionAdapter.java new file mode 100644 index 000000000..7e67ad131 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSIntegerTraitDefinitionAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UINSIntegerTraitDefinitionAdapter/**/ + extends /**/UITraitDefinitionAdapter/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSToolbarItemPresentationSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSToolbarItemPresentationSize.java index 99e2d2bee..35ff16d80 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSToolbarItemPresentationSize.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINSToolbarItemPresentationSize.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBar.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBar.java index 237e9be37..5e6d52806 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBar.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBar.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarAppearance.java index f676d5c6c..b8aa96b1f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegate.java index 195317b4e..7b3ff573b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegateAdapter.java index c43a49466..738558645 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarNSToolbarSection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarNSToolbarSection.java index 43f8c157a..cc5b243c4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarNSToolbarSection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationBarNSToolbarSection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationController.java index 55dbcd526..6695a20aa 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegate.java index 2e0bf1544..50607593c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegateAdapter.java index 8d55da99f..89e191c30 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerOperation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerOperation.java index 57272e7fc..ae2883515 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerOperation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationControllerOperation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItem.java index f40ad531b..6295eee71 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemBackButtonDisplayMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemBackButtonDisplayMode.java index 29a1be385..47aa567b1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemBackButtonDisplayMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemBackButtonDisplayMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemLargeTitleDisplayMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemLargeTitleDisplayMode.java index dd749452b..3e2ce847f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemLargeTitleDisplayMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemLargeTitleDisplayMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -49,7 +50,11 @@ public enum /**/UINavigationItemLargeTitleDisplayMode/**/ implement /**/ Automatic(0L), Always(1L), - Never(2L); + Never(2L), + /** + * @since Available in iOS 17.0 and later. + */ + Inline(3L); /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegate.java index 0e111ceac..e4f7f5821 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegateAdapter.java index cf0a59cbe..1be9042c3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemRenameDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemSearchBarPlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemSearchBarPlacement.java index a844db128..ad3429756 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemSearchBarPlacement.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemSearchBarPlacement.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemStyle.java index 04e88f817..05f3e51e2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINavigationItemStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINib.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINib.java index 480242728..a10059529 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINib.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINib.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditions.java index ca8923128..816fd5a54 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditionsAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditionsAdapter.java index 39b58c7a7..b1a0af7dc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditionsAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingAdditionsAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingOptions.java index 916d2c07f..6a7c3c5e3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINibLoadingOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackGenerator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackGenerator.java index 35669e3dd..c56281f52 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackGenerator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackGenerator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackType.java index a0e7d77db..fa9028983 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UINotificationFeedbackType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestoration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestoration.java index f9113c665..03f04eeb8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestoration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestoration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestorationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestorationAdapter.java index 94f5d93e6..c22bcc36e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestorationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectRestorationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinition.java new file mode 100644 index 000000000..1ec41eb4c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinition.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIObjectTraitDefinition/**/ + /**/extends UITraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinitionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinitionAdapter.java new file mode 100644 index 000000000..62d786e5f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIObjectTraitDefinitionAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIObjectTraitDefinitionAdapter/**/ + extends /**/UITraitDefinitionAdapter/**/ + /**/implements UIObjectTraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOffset.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOffset.java index 4ac73a47d..ea9b6744b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOffset.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOffset.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOpenURLContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOpenURLContext.java index 5b9015a5d..e3a5ac5b1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOpenURLContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIOpenURLContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControl.java index b4a9f1cdc..9fa2c2682 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControl.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControl.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -79,6 +80,16 @@ public UIPageControl() {} public native boolean hidesForSinglePage(); @Property(selector = "setHidesForSinglePage:") public native void setHidesForSinglePage(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "progress") + public native UIPageControlProgress getProgress(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setProgress:") + public native void setProgress(UIPageControlProgress v); @Property(selector = "pageIndicatorTintColor") public native UIColor getPageIndicatorTintColor(); @Property(selector = "setPageIndicatorTintColor:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlBackgroundStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlBackgroundStyle.java index d7915f9df..e62bce13a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlBackgroundStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlBackgroundStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlDirection.java index b2a662575..5f3cd2471 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlInteractionState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlInteractionState.java index 460481243..fee32809f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlInteractionState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlInteractionState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgress.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgress.java new file mode 100644 index 000000000..2c18d5c28 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgress.java @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIPageControlProgress/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIPageControlProgressPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIPageControlProgress.class); }/**/ + /**//**/ + /**/ + public UIPageControlProgress() {} + protected UIPageControlProgress(Handle h, long handle) { super(h, handle); } + protected UIPageControlProgress(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "delegate") + public native UIPageControlProgressDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(UIPageControlProgressDelegate v); + @Property(selector = "currentProgress") + public native float getCurrentProgress(); + @Property(selector = "setCurrentProgress:") + public native void setCurrentProgress(float v); + @Property(selector = "isProgressVisible") + public native boolean isProgressVisible(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegate.java new file mode 100644 index 000000000..7baba9c5a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegate.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIPageControlProgressDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "pageControlProgress:initialProgressForPage:") + float getInitialProgress(UIPageControlProgress progress, @MachineSizedSInt long page); + @Method(selector = "pageControlProgressVisibilityDidChange:") + void visibilityDidChange(UIPageControlProgress progress); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegateAdapter.java new file mode 100644 index 000000000..a48d12ffa --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlProgressDelegateAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIPageControlProgressDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements UIPageControlProgressDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("pageControlProgress:initialProgressForPage:") + public float getInitialProgress(UIPageControlProgress progress, @MachineSizedSInt long page) { return 0; } + @NotImplemented("pageControlProgressVisibilityDidChange:") + public void visibilityDidChange(UIPageControlProgress progress) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgress.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgress.java new file mode 100644 index 000000000..14c1c9010 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgress.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIPageControlTimerProgress/**/ + extends /**/UIPageControlProgress/**/ + /**//**/ { + + /**/public static class UIPageControlTimerProgressPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIPageControlTimerProgress.class); }/**/ + /**//**/ + /**/ + protected UIPageControlTimerProgress() {} + protected UIPageControlTimerProgress(Handle h, long handle) { super(h, handle); } + protected UIPageControlTimerProgress(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPreferredDuration:") + public UIPageControlTimerProgress(double preferredDuration) { super((SkipInit) null); initObject(init(preferredDuration)); } + /**/ + /**/ + @Property(selector = "delegate") + public native UIPageControlTimerProgressDelegate getDelegate(); + @Property(selector = "setDelegate:", strongRef = true) + public native void setDelegate(UIPageControlTimerProgressDelegate v); + @Property(selector = "resetsToInitialPageAfterEnd") + public native boolean resetsToInitialPageAfterEnd(); + @Property(selector = "setResetsToInitialPageAfterEnd:") + public native void setResetsToInitialPageAfterEnd(boolean v); + @Property(selector = "isRunning") + public native boolean isRunning(); + @Property(selector = "preferredDuration") + public native double getPreferredDuration(); + @Property(selector = "setPreferredDuration:") + public native void setPreferredDuration(double v); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPreferredDuration:") + protected native @Pointer long init(double preferredDuration); + @Method(selector = "resumeTimer") + public native void resumeTimer(); + @Method(selector = "pauseTimer") + public native void pauseTimer(); + @Method(selector = "setDuration:forPage:") + public native void setDuration(double duration, @MachineSizedSInt long page); + @Method(selector = "durationForPage:") + public native double durationForPage(@MachineSizedSInt long page); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegate.java new file mode 100644 index 000000000..8d4bf0125 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegate.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIPageControlTimerProgressDelegate/**/ + /**/extends UIPageControlProgressDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "pageControlTimerProgressDidChange:") + void didChange(UIPageControlTimerProgress progress); + @Method(selector = "pageControlTimerProgress:shouldAdvanceToPage:") + boolean shouldAdvanceToPage(UIPageControlTimerProgress progress, @MachineSizedSInt long page); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegateAdapter.java new file mode 100644 index 000000000..c24a390f9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageControlTimerProgressDelegateAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIPageControlTimerProgressDelegateAdapter/**/ + extends /**/UIPageControlProgressDelegateAdapter/**/ + /**/implements UIPageControlTimerProgressDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("pageControlTimerProgressDidChange:") + public void didChange(UIPageControlTimerProgress progress) {} + @NotImplemented("pageControlTimerProgress:shouldAdvanceToPage:") + public boolean shouldAdvanceToPage(UIPageControlTimerProgress progress, @MachineSizedSInt long page) { return false; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewController.java index 39d93be05..317ef2351 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSource.java index 5cc971014..89efda1fa 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSourceAdapter.java index d6d1a59ae..6ef41844d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDataSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegate.java index 1b46cb32b..ee0cc5c7a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegateAdapter.java index fbb41f225..9801c41bb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationDirection.java index 5865410fb..0a641d9e6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationOrientation.java index c50b1674b..99034737a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerNavigationOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerOptions.java index 5f37b3dcf..0290371d3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerSpineLocation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerSpineLocation.java index a885e1695..a3c6a9f38 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerSpineLocation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerSpineLocation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerTransitionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerTransitionStyle.java index ad903894c..89753e5e6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerTransitionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPageViewControllerTransitionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPanGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPanGestureRecognizer.java index c262af053..a9d795181 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPanGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPanGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfiguration.java index 0c1a25c83..601eef5dc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupporting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupporting.java index 1955deeef..923afd5f6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupporting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupporting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupportingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupportingAdapter.java index baf9ea81c..9632ddf1b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupportingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteConfigurationSupportingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControl.java index 0d30fd446..49ed4140b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControl.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControl.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlConfiguration.java index 53c95b4d8..21847874a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlDisplayMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlDisplayMode.java index 4be70c0e1..a33a20f36 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlDisplayMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteControlDisplayMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboard.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboard.java index 6127699e0..c746b3f5b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboard.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboard.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardChangedNotification.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardChangedNotification.java index d2514ed67..633742001 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardChangedNotification.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardChangedNotification.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardOptions.java index 37a27d618..11b559c73 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPasteboardOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteraction.java index c864211c4..3dbde29a0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegate.java index 74ae92fae..57850f0a8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegateAdapter.java index 3656508ca..4756b32b6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilPreferredAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilPreferredAction.java index 7d69f1985..2287174d8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilPreferredAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPencilPreferredAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPercentDrivenInteractiveTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPercentDrivenInteractiveTransition.java index bbf9b05d0..7864740be 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPercentDrivenInteractiveTransition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPercentDrivenInteractiveTransition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerView.java index 6951c397a..63e2a4551 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegate.java index e05204439..3e198e250 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegateAdapter.java index e5e10a065..6854e26dd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewAccessibilityDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSource.java index c619f1f0d..7834b4b38 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSourceAdapter.java index ea14b570a..a90f97783 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDataSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegate.java index f582c82dc..474e2ba9c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegateAdapter.java index b24cc5b5b..fb2059ed3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPickerViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPinchGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPinchGestureRecognizer.java index 6ae00166c..349e1fa12 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPinchGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPinchGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessory.java index 0a800ace9..12806abcf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessoryPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessoryPosition.java index e37242ec6..efea688ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessoryPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerAccessoryPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffect.java index 35f9c9861..fb1f9e5c6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIPointerEffect/**/ extends /**/NSObject/**/ - /**//**/ { + /**/implements UIHoverEffect/**/ { /**/public static class UIPointerEffectPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UIPointerEffect.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffectTintMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffectTintMode.java index 807a6698e..1480a1cc6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffectTintMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerEffectTintMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHighlightEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHighlightEffect.java index 6e2f014cf..55d145116 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHighlightEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHighlightEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHoverEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHoverEffect.java index 1e9544f25..0791fecc6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHoverEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerHoverEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteraction.java index 6d91f1997..44e5c943f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimating.java index bf28d6d22..e52f9159f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimatingAdapter.java index 3411046df..c2a704cda 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegate.java index 201cf729e..cad80cbc1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegateAdapter.java index 6b8da685e..7fc6dc9c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLiftEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLiftEffect.java index 1ba1a410f..29536327a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLiftEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLiftEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLockState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLockState.java index 7cc31ae56..5b41d60c6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLockState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerLockState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegion.java index 74a94298c..5cff50a0c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegion.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegionRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegionRequest.java index 8dc664493..5f3b2e22b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegionRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerRegionRequest.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerShape.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerShape.java index 41c134103..f5d1725a6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerShape.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerShape.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerStyle.java index 60a247446..7e91df36a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPointerStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -48,7 +49,7 @@ /**/ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIPointerStyle/**/ - extends /**/NSObject/**/ + extends /**/UIHoverStyle/**/ /**//**/ { /**/public static class UIPointerStylePtr extends Ptr {}/**/ @@ -86,5 +87,9 @@ protected UIPointerStyle() {} */ @Method(selector = "systemPointerStyle") public static native UIPointerStyle systemPointerStyle(); + @Method(selector = "styleWithShape:") + public static native UIPointerStyle styleWithShape(UIShape shape); + @Method(selector = "automaticStyle") + public static native UIPointerStyle automaticStyle(); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverArrowDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverArrowDirection.java index 1c9f4ef75..d4b902e7b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverArrowDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverArrowDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundView.java index 65a9b6874..d38cabab9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethods.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethods.java index bef54ecea..258b5da44 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethods.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethods.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethodsAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethodsAdapter.java index 89335052c..e3abd6832 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethodsAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverBackgroundViewMethodsAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverController.java index bbb0d1675..e8d2c36a1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegate.java index cebb35650..2713bf33f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegateAdapter.java index 3dde30213..d95a6bfef 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationController.java index 5bd2ffbcd..c83426fc6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegate.java index 415e6f645..22f68f4e2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegateAdapter.java index bf39ae0da..79c24d92e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItem.java index a6c9130e4..b72f1baaf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -59,7 +60,11 @@ /**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "frameInView:") + @ByVal CGRect frameInView(UIView referenceView); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItemAdapter.java index bdb475d6e..99e0c851e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPopoverPresentationControllerSourceItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -59,6 +60,10 @@ /**/ /**//**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("frameInView:") + public @ByVal CGRect frameInView(UIView referenceView) { return null; } /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreferredPresentationStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreferredPresentationStyle.java index d567db053..8fb2671cc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreferredPresentationStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreferredPresentationStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPresentationController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPresentationController.java index b7d9e1b52..08250d3d9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPresentationController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPresentationController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -47,7 +48,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIPresentationController/**/ extends /**/NSObject/**/ - /**/implements UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment/**/ { + /**/implements UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment, UITraitChangeObservable/**/ { /**/public static class UIPresentationControllerPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UIPresentationController.class); }/**/ @@ -82,10 +83,20 @@ protected UIPresentationController() {} public native boolean shouldPresentInFullscreen(); @Property(selector = "shouldRemovePresentersView") public native boolean shouldRemovePresentersView(); + /** + * @deprecated Deprecated in iOS 17.0. Use the traitOverrides property instead + */ + @Deprecated @Property(selector = "overrideTraitCollection") public native UITraitCollection getOverrideTraitCollection(); + /** + * @deprecated Deprecated in iOS 17.0. Use the traitOverrides property instead + */ + @Deprecated @Property(selector = "setOverrideTraitCollection:") public native void setOverrideTraitCollection(UITraitCollection v); + @Property(selector = "traitOverrides") + public native UITraitOverrides getTraitOverrides(); @Property(selector = "traitCollection") public native UITraitCollection getTraitCollection(); @Property(selector = "preferredContentSize") @@ -136,6 +147,10 @@ protected UIPresentationController() {} public native void dismissalTransitionWillBegin(); @Method(selector = "dismissalTransitionDidEnd:") public native void dismissalTransitionDidEnd(boolean completed); + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @Method(selector = "traitCollectionDidChange:") public native void traitCollectionDidChange(UITraitCollection previousTraitCollection); @Method(selector = "preferredContentSizeDidChangeForChildContentContainer:") @@ -156,5 +171,7 @@ protected UIPresentationController() {} public native boolean shouldUpdateFocus(UIFocusUpdateContext context); @Method(selector = "didUpdateFocusInContext:withAnimationCoordinator:") public native void didUpdateFocus(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator); + @Method(selector = "unregisterForTraitChanges:") + public native void unregisterForTraitChanges(UITraitChangeRegistration registration); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPress.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPress.java index 28cce4307..b5646fbd1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPress.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPress.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressPhase.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressPhase.java index 1ed514387..2f8b4fce1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressPhase.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressPhase.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressType.java index 349eed8cd..f91331a36 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressesEvent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressesEvent.java index 8e1ed342c..fe2ba86f2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressesEvent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPressesEvent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewAction.java index 42024f159..d980ea6d7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionGroup.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionGroup.java index 470366c9b..af88c6ea0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionGroup.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionGroup.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItem.java index b511544ae..8bd9a2f54 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItemAdapter.java index 70fe23c1a..326639714 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionStyle.java index d3c961cd0..7c8e762df 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewActionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteraction.java index 70322db31..804a30191 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegate.java index 6d63042a1..c258aa065 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegateAdapter.java index 1badf8011..ea0510130 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewParameters.java index d26f108b1..365426099 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewParameters.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewParameters.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewTarget.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewTarget.java index 3548f8030..3c3198705 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewTarget.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPreviewTarget.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintError.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintError.java index 2df5e4029..9a1559bee 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintError.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintError.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintFormatter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintFormatter.java index 75b7af1f5..2ae8f3263 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintFormatter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintFormatter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfo.java index 5350cb178..522c87018 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfo.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoDuplex.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoDuplex.java index 300131fbf..4cf56c7db 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoDuplex.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoDuplex.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOrientation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOrientation.java index c6de917d4..d6c394823 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOrientation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOrientation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOutputType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOutputType.java index 1de013995..422685e4f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOutputType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInfoOutputType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionController.java index fd5f3d19b..857de6611 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegate.java index a64e0bd79..6b6e336a3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegateAdapter.java index 5d7258f39..3a533ba4f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintInteractionControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPageRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPageRenderer.java index 8e3b39613..8eb95c3a4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPageRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPageRenderer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPaper.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPaper.java index 5b0781389..129ffd73f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPaper.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintPaper.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintRenderingQuality.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintRenderingQuality.java index cb04e7f81..50a20435a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintRenderingQuality.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintRenderingQuality.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintServiceExtension.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintServiceExtension.java index 946c81b87..37d07851b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintServiceExtension.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrintServiceExtension.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinter.java index fa60ea189..a6a40473c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterCutterBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterCutterBehavior.java index 93a2066f7..c39db2be9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterCutterBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterCutterBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterDestination.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterDestination.java index 69a9014fa..03fdb16c8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterDestination.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterDestination.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterJobTypes.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterJobTypes.java index 01e4d55a7..2cac228b6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterJobTypes.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterJobTypes.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerController.java index 72c773689..a5b3826e9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegate.java index 067414d9c..ad22d4766 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegateAdapter.java index 516c69ba7..5658b2635 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPrinterPickerControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressView.java index 89d6da3cc..e8250e6db 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressViewStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressViewStyle.java index a1426fac7..bea1f0c3d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressViewStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIProgressViewStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehavior.java index 135881336..5b9987e64 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehaviorMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehaviorMode.java index b7346dd74..c47b0bf55 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehaviorMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIPushBehaviorMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectCorner.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectCorner.java index 6ff38c917..8f123c949 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectCorner.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectCorner.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectEdge.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectEdge.java index 0b8d38703..36dccb7b8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectEdge.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRectEdge.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReferenceLibraryViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReferenceLibraryViewController.java index 3f5e48db8..f234cd3f6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReferenceLibraryViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReferenceLibraryViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRefreshControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRefreshControl.java index c6e43a9ac..6c5363710 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRefreshControl.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRefreshControl.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRegion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRegion.java index c591c1ea3..128b0fdc1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRegion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRegion.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRemoteNotificationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRemoteNotificationType.java index d7dee6742..f1c336c02 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRemoteNotificationType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRemoteNotificationType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResolvedShape.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResolvedShape.java new file mode 100644 index 000000000..0866c0aad --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResolvedShape.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIResolvedShape/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIResolvedShapePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIResolvedShape.class); }/**/ + /**//**/ + /**/ + protected UIResolvedShape() {} + protected UIResolvedShape(Handle h, long handle) { super(h, handle); } + protected UIResolvedShape(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "shape") + public native UIShape getShape(); + @Property(selector = "boundingRect") + public native @ByVal CGRect getBoundingRect(); + @Property(selector = "path") + public native UIBezierPath getPath(); + /**/ + /**//**/ + /**/ + @Method(selector = "shapeByApplyingInsets:") + public native UIResolvedShape shapeByApplyingInsets(@ByVal UIEdgeInsets insets); + @Method(selector = "shapeByApplyingInset:") + public native UIResolvedShape shapeByApplyingInset(@MachineSizedFloat double inset); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponder.java index 2745bdbd6..58f56024b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActions.java index 1de7dec39..6ee4c6e54 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActionsAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActionsAdapter.java index e63d9ecbe..6ddd142df 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActionsAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIResponderStandardEditActionsAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReturnKeyType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReturnKeyType.java index adf5af49f..bd55faae4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReturnKeyType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIReturnKeyType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRotationGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRotationGestureRecognizer.java index d8e06e9a8..c22811205 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRotationGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRotationGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRunLoopMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRunLoopMode.java index 316872cfb..6c94e9c27 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRunLoopMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIRunLoopMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScene.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScene.java index bc818eb5c..171c95cf4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScene.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScene.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -104,5 +105,7 @@ protected UIScene() {} public native void extendStateRestoration(); @Method(selector = "completeStateRestoration") public native void completeStateRestoration(); + @Method(selector = "getDefaultAudioSessionWithCompletionHandler:") + public native void getDefaultAudioSession(@Block VoidBlock1 handler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationConditions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationConditions.java index 6eaf43a16..70206a645 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationConditions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationConditions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationRequestOptions.java index 634dace77..7b4c63665 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationRequestOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationState.java index aa465e116..da0b03515 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneActivationState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneCaptureState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneCaptureState.java new file mode 100644 index 000000000..e8197dcc5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneCaptureState.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UISceneCaptureState/**/ implements ValuedEnum { + /**/ + Unspecified(-1L), + Inactive(0L), + Active(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UISceneCaptureState/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UISceneCaptureState/**/ valueOf(long n) { + for (/**/UISceneCaptureState/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UISceneCaptureState/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConfiguration.java index dddbd23f2..6311903fb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConnectionOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConnectionOptions.java index 83dec8919..577b584f4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConnectionOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneConnectionOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegate.java index 619f5d3ab..a3504f7c9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegateAdapter.java index c74218ae5..d73658148 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDestructionRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDestructionRequestOptions.java index 31c21fb93..dd393ae6a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDestructionRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneDestructionRequestOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneErrorCode.java index 9860b4cbe..8393dd6ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneErrorCode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneNotifications.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneNotifications.java index 2ecc192ef..8321a4d6a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneNotifications.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneNotifications.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenExternalURLOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenExternalURLOptions.java index 4dac29aaa..fba837673 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenExternalURLOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenExternalURLOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenURLOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenURLOptions.java index 18508b388..2650c5e40 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenURLOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneOpenURLOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSession.java index 91d860b4a..3c6b34338 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionActivationRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionActivationRequest.java new file mode 100644 index 000000000..52fc52ba0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionActivationRequest.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UISceneSessionActivationRequest/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UISceneSessionActivationRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UISceneSessionActivationRequest.class); }/**/ + /**//**/ + /**/ + protected UISceneSessionActivationRequest(Handle h, long handle) { super(h, handle); } + protected UISceneSessionActivationRequest(SkipInit skipInit) { super(skipInit); } + public UISceneSessionActivationRequest() { super((Handle) null, create()); retain(getHandle()); } + public UISceneSessionActivationRequest(UISceneSessionRole role) { super((Handle) null, create(role)); retain(getHandle()); } + public UISceneSessionActivationRequest(UISceneSession session) { super((Handle) null, create(session)); retain(getHandle()); } + /**/ + /**/ + @Property(selector = "role") + public native UISceneSessionRole getRole(); + @Property(selector = "session") + public native UISceneSession getSession(); + @Property(selector = "userActivity") + public native NSUserActivity getUserActivity(); + @Property(selector = "setUserActivity:") + public native void setUserActivity(NSUserActivity v); + @Property(selector = "options") + public native UISceneActivationRequestOptions getOptions(); + @Property(selector = "setOptions:") + public native void setOptions(UISceneActivationRequestOptions v); + /**/ + /**//**/ + /**/ + @Method(selector = "request") + protected static native @Pointer long create(); + @Method(selector = "requestWithRole:") + protected static native @Pointer long create(UISceneSessionRole role); + @Method(selector = "requestWithSession:") + protected static native @Pointer long create(UISceneSession session); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionRole.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionRole.java index 6eea95f76..8f5c83377 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionRole.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSessionRole.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSizeRestrictions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSizeRestrictions.java index ea2b1c0ce..f135522ce 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSizeRestrictions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneSizeRestrictions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneWindowingBehaviors.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneWindowingBehaviors.java index e3a0a3a23..955d91647 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneWindowingBehaviors.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISceneWindowingBehaviors.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreen.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreen.java index 12623464c..ce2d2cd60 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreen.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreen.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -249,6 +250,10 @@ public UIScreen() {} public native CADisplayLink getDisplayLink(NSObject target, Selector sel); @Method(selector = "snapshotViewAfterScreenUpdates:") public native UIView snapshotView(boolean afterUpdates); + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @Method(selector = "traitCollectionDidChange:") public native void traitCollectionDidChange(UITraitCollection previousTraitCollection); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenEdgePanGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenEdgePanGestureRecognizer.java index a706f437c..69245ffbd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenEdgePanGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenEdgePanGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenMode.java index 4ee2dd3d4..0dcf92e70 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenOverscanCompensation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenOverscanCompensation.java index 7da57e3c3..2e09ef9a2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenOverscanCompensation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenOverscanCompensation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenReferenceDisplayModeStatus.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenReferenceDisplayModeStatus.java index b90b7211b..433647b2e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenReferenceDisplayModeStatus.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenReferenceDisplayModeStatus.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotService.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotService.java index a36fc39dd..cb25257d8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotService.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotService.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegate.java index 3f4e6a0c7..374eb348f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegateAdapter.java index aa5200e80..843854aca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScreenshotServiceDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteraction.java index 26bc66088..c42441995 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegate.java index d5c02e705..4d9f83c76 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegateAdapter.java index 93b3e1708..0ab5cf38f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScribbleInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollType.java index 42ef75553..d278a8845 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollTypeMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollTypeMask.java index a19757e80..ad91840be 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollTypeMask.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollTypeMask.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollView.java index dea677a65..1e206aedc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -239,6 +240,16 @@ public UIScrollView() {} */ @Property(selector = "setRefreshControl:") public native void setRefreshControl(UIRefreshControl v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allowsKeyboardScrolling") + public native boolean allowsKeyboardScrolling(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllowsKeyboardScrolling:") + public native void setAllowsKeyboardScrolling(boolean v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegate.java index 2c009d196..5ed6e6ca0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegateAdapter.java index 14636c114..220f41763 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewAccessibilityDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewContentInsetAdjustmentBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewContentInsetAdjustmentBehavior.java index 295e5c899..55cd57795 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewContentInsetAdjustmentBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewContentInsetAdjustmentBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegate.java index 5733ee980..c319b3563 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegateAdapter.java index f22fa3586..94b87d84e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndexDisplayMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndexDisplayMode.java index 5cebb19d2..9d2449cbc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndexDisplayMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndexDisplayMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndicatorStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndicatorStyle.java index 7098ca3f2..89adddcee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndicatorStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewIndicatorStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewKeyboardDismissMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewKeyboardDismissMode.java index 2fcdac63c..6397c63a5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewKeyboardDismissMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIScrollViewKeyboardDismissMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBar.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBar.java index e22382550..9ebe48e23 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBar.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBar.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UISearchBar/**/ extends /**/UIView/**/ - /**/implements UIBarPositioning, UITextInputTraits/**/ { + /**/implements UIBarPositioning, UITextInputTraits, UILookToDictateCapable/**/ { /**/public static class UISearchBarPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UISearchBar.class); }/**/ @@ -142,6 +143,16 @@ public UISearchBar() {} public native UIView getInputAccessoryView(); @Property(selector = "setInputAccessoryView:") public native void setInputAccessoryView(UIView v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "isEnabled") + public native boolean isEnabled(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setEnabled:") + public native void setEnabled(boolean v); @Property(selector = "backgroundImage") public native UIImage getBackgroundImage(); @Property(selector = "setBackgroundImage:") @@ -158,6 +169,16 @@ public UISearchBar() {} public native @ByVal UIOffset getSearchTextPositionAdjustment(); @Property(selector = "setSearchTextPositionAdjustment:") public native void setSearchTextPositionAdjustment(@ByVal UIOffset v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isLookToDictateEnabled") + public native boolean isLookToDictateEnabled(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setLookToDictateEnabled:") + public native void setLookToDictateEnabled(boolean v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); @@ -205,6 +226,16 @@ public UISearchBar() {} */ @Property(selector = "setSmartInsertDeleteType:") public native void setSmartInsertDeleteType(UITextSmartInsertDeleteType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "inlinePredictionType") + public native UITextInlinePredictionType getInlinePredictionType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInlinePredictionType:") + public native void setInlinePredictionType(UITextInlinePredictionType v); @Property(selector = "keyboardType") public native UIKeyboardType getKeyboardType(); @Property(selector = "setKeyboardType:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegate.java index 994816881..2509650a6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegateAdapter.java index 38e992911..a2ca330b7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarIcon.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarIcon.java index 66ad95380..cb420e5d2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarIcon.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarIcon.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarStyle.java index 6e08e1e45..23303d32b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchBarStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchContainerViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchContainerViewController.java index 3a78300dd..767e22afe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchContainerViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchContainerViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchController.java index 62105eaea..6485af114 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegate.java index c5c9c5706..72be4c4e2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegateAdapter.java index 388af0f97..44151d176 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerScopeBarActivation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerScopeBarActivation.java index efcb3bb48..f291d8306 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerScopeBarActivation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchControllerScopeBarActivation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayController.java index 499092434..6a3134f57 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegate.java index abdd13b4d..93a6b205f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegateAdapter.java index 56749a310..8d423ac2c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchDisplayDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdating.java index 73594431d..d0ec51886 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdatingAdapter.java index f6aa7a687..bef7a6af2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchResultsUpdatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestion.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestion.java index 8f313fd3f..05db4e4f5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestion.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestion.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionAdapter.java index 65ec82000..40075654d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionItem.java index cd7c8852f..f1a1fdd96 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchSuggestionItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextField.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextField.java index 9b9062281..76dc70b3d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextField.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextField.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegate.java index 311f0b8cf..4fc99d4f6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegateAdapter.java index 654d0e4bb..734ffdc3c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItem.java index c94846532..fe0617dce 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItemAdapter.java index 7a2087863..16b89fbf0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchTextFieldPasteItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchToken.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchToken.java index 56070b564..604312655 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchToken.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISearchToken.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControl.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControl.java index a16775df3..d522ac448 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControl.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControl.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlSegment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlSegment.java index 941177677..40d47d91d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlSegment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlSegment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlStyle.java index f2652cd46..e7ccb47be 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISegmentedControlStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISelectionFeedbackGenerator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISelectionFeedbackGenerator.java index a065676fa..136299d88 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISelectionFeedbackGenerator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISelectionFeedbackGenerator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISemanticContentAttribute.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISemanticContentAttribute.java index 1c4c4336d..574b321ec 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISemanticContentAttribute.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISemanticContentAttribute.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShape.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShape.java new file mode 100644 index 000000000..66bd443d3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShape.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIShape/**/ + extends /**/NSObject/**/ + /**/implements UIShapeProvider/**/ { + + /**/public static class UIShapePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIShape.class); }/**/ + /**//**/ + /**/ + protected UIShape() {} + protected UIShape(Handle h, long handle) { super(h, handle); } + protected UIShape(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "rectShape") + public static native UIShape getRectShape(); + @Property(selector = "capsuleShape") + public static native UIShape getCapsuleShape(); + @Property(selector = "circleShape") + public static native UIShape getCircleShape(); + /**/ + /**//**/ + /**/ + @Method(selector = "shapeByApplyingInsets:") + public native UIShape shapeByApplyingInsets(@ByVal UIEdgeInsets insets); + @Method(selector = "shapeByApplyingInset:") + public native UIShape shapeByApplyingInset(@MachineSizedFloat double inset); + @Method(selector = "resolvedShapeInContext:") + public native UIResolvedShape resolvedShapeInContext(UIShapeResolutionContext context); + @Method(selector = "rectShapeWithCornerRadius:") + public static native UIShape rectShapeWithCornerRadius(@MachineSizedFloat double cornerRadius); + @Method(selector = "rectShapeWithCornerRadius:cornerCurve:") + public static native UIShape rectShapeWithCornerRadius(@MachineSizedFloat double cornerRadius, UICornerCurve cornerCurve); + @Method(selector = "rectShapeWithCornerRadius:cornerCurve:maskedCorners:") + public static native UIShape rectShapeWithCornerRadius(@MachineSizedFloat double cornerRadius, UICornerCurve cornerCurve, UIRectCorner maskedCorners); + @Method(selector = "fixedRectShapeWithRect:") + public static native UIShape fixedRectShape(@ByVal CGRect rect); + @Method(selector = "fixedRectShapeWithRect:cornerRadius:") + public static native UIShape fixedRectShape(@ByVal CGRect rect, @MachineSizedFloat double cornerRadius); + @Method(selector = "fixedRectShapeWithRect:cornerRadius:cornerCurve:maskedCorners:") + public static native UIShape fixedRectShape(@ByVal CGRect rect, @MachineSizedFloat double cornerRadius, UICornerCurve cornerCurve, UIRectCorner maskedCorners); + @Method(selector = "shapeWithBezierPath:") + public static native UIShape shapeWithBezierPath(UIBezierPath path); + @Method(selector = "shapeWithProvider:") + public static native UIShape shapeWithProvider(UIShapeProvider provider); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProvider.java new file mode 100644 index 000000000..ba3e80c7f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProvider.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UIShapeProvider/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "resolvedShapeInContext:") + UIResolvedShape resolvedShapeInContext(UIShapeResolutionContext context); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProviderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProviderAdapter.java new file mode 100644 index 000000000..605fce48e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeProviderAdapter.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UIShapeProviderAdapter/**/ + extends /**/NSObject/**/ + /**/implements UIShapeProvider/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("resolvedShapeInContext:") + public UIResolvedShape resolvedShapeInContext(UIShapeResolutionContext context) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeResolutionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeResolutionContext.java new file mode 100644 index 000000000..c761ca03f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIShapeResolutionContext.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIShapeResolutionContext/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIShapeResolutionContextPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIShapeResolutionContext.class); }/**/ + /**//**/ + /**/ + protected UIShapeResolutionContext() {} + protected UIShapeResolutionContext(Handle h, long handle) { super(h, handle); } + protected UIShapeResolutionContext(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "contentShape") + public native UIResolvedShape getContentShape(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationController.java index 81d91d370..765d48e48 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -70,6 +71,16 @@ protected UISheetPresentationController() {} public native UIView getSourceView(); @Property(selector = "setSourceView:") public native void setSourceView(UIView v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "prefersPageSizing") + public native boolean prefersPageSizing(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPrefersPageSizing:") + public native void setPrefersPageSizing(boolean v); @Property(selector = "prefersEdgeAttachedInCompactHeight") public native boolean prefersEdgeAttachedInCompactHeight(); @Property(selector = "setPrefersEdgeAttachedInCompactHeight:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegate.java index 499ab41bf..3b72f9121 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegateAdapter.java index 3453d4821..7e78cbc4f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetent.java index ff2bb2a85..66a38d00f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentIdentifier.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentIdentifier.java index 5d55dcb4f..b1a20b498 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentIdentifier.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentIdentifier.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContext.java index adaa531cf..f7da0f1da 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContextAdapter.java index daf5f9ff9..28632a2bc 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISheetPresentationControllerDetentResolutionContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISimpleTextPrintFormatter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISimpleTextPrintFormatter.java index bc536d7df..a74fc5bf4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISimpleTextPrintFormatter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISimpleTextPrintFormatter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISlider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISlider.java index 11f5705ec..86c422a63 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISlider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISlider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISnapBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISnapBehavior.java index 2719103f3..df4e12885 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISnapBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISnapBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewController.java index e096726cb..9328bcaeb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerBackgroundStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerBackgroundStyle.java index 75acf840e..28a6d206f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerBackgroundStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerBackgroundStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerColumn.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerColumn.java index ddb803e5e..3284975f2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerColumn.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerColumn.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegate.java index 0711bc6c7..9e5e62fe1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegateAdapter.java index ca9ee6c6e..a62627b77 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayMode.java index 8f39a864d..1f93eb070 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayModeButtonVisibility.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayModeButtonVisibility.java index 0f0d85c35..b7f577880 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayModeButtonVisibility.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerDisplayModeButtonVisibility.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerPrimaryEdge.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerPrimaryEdge.java index 8c5ed9fd5..1e0fa9d7b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerPrimaryEdge.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerPrimaryEdge.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerSplitBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerSplitBehavior.java index 40ffd74eb..8249ad5ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerSplitBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerSplitBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerStyle.java index 06d844b6e..b101aa600 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISplitViewControllerStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteraction.java index 8c7f9bc53..11a219a89 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehavior.java index 3aa5feed4..dafefc053 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehaviorAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehaviorAdapter.java index b15cba405..1af6d1ca9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehaviorAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionBehaviorAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContext.java index 032c4e372..fd9ca2fff 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContextAdapter.java index 646be56ee..dbdf02f5c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffect.java index 7f5d9a411..76d5ff099 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectAdapter.java index 960ff761a..63056ec07 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectState.java index 38c4874d9..c957c2dca 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionEffectState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupporting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupporting.java index 221ddafee..49eacb602 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupporting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupporting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupportingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupportingAdapter.java index ed6283e7d..7bb7931e6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupportingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringLoadedInteractionSupportingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringTimingParameters.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringTimingParameters.java index 19497e1b9..14741ab8d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringTimingParameters.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISpringTimingParameters.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -66,6 +67,16 @@ public UISpringTimingParameters() {} public UISpringTimingParameters(@MachineSizedFloat double mass, @MachineSizedFloat double stiffness, @MachineSizedFloat double damping, @ByVal CGVector velocity) { super((SkipInit) null); initObject(init(mass, stiffness, damping, velocity)); } @Method(selector = "initWithDampingRatio:") public UISpringTimingParameters(@MachineSizedFloat double ratio) { super((SkipInit) null); initObject(init(ratio)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDuration:bounce:initialVelocity:") + public UISpringTimingParameters(double duration, @MachineSizedFloat double bounce, @ByVal CGVector velocity) { super((SkipInit) null); initObject(init(duration, bounce, velocity)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDuration:bounce:") + public UISpringTimingParameters(double duration, @MachineSizedFloat double bounce) { super((SkipInit) null); initObject(init(duration, bounce)); } /**/ /**/ @Property(selector = "initialVelocity") @@ -87,6 +98,16 @@ public UISpringTimingParameters() {} protected native @Pointer long init(@MachineSizedFloat double mass, @MachineSizedFloat double stiffness, @MachineSizedFloat double damping, @ByVal CGVector velocity); @Method(selector = "initWithDampingRatio:") protected native @Pointer long init(@MachineSizedFloat double ratio); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDuration:bounce:initialVelocity:") + protected native @Pointer long init(double duration, @MachineSizedFloat double bounce, @ByVal CGVector velocity); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithDuration:bounce:") + protected native @Pointer long init(double duration, @MachineSizedFloat double bounce); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackView.java index 81511e93c..f693664fc 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewAlignment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewAlignment.java index fd1c58a7a..4da5c6314 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewAlignment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewAlignment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewDistribution.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewDistribution.java index c2648502d..4db930b29 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewDistribution.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStackViewDistribution.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestorationKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestorationKey.java index 6d72d9be1..242e58a21 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestorationKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestorationKey.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoring.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoring.java index d61b314c6..a730f4dda 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoring.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoring.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoringAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoringAdapter.java index 52a4af4e8..05b3b121e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoringAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStateRestoringAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarAnimation.java index c1d37c867..ef7d57f65 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarAnimation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarManager.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarManager.java index 2ca5ef426..fa1346cef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarManager.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarManager.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarStyle.java index 7d8c20043..18d93c0ca 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStatusBarStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStepper.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStepper.java index fbe9fa469..1ff0c5a3a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStepper.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStepper.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboard.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboard.java index 3f26dc853..e62da5fdd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboard.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboard.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardPopoverSegue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardPopoverSegue.java index 8587440d7..6b739dddd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardPopoverSegue.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardPopoverSegue.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardSegue.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardSegue.java index e06947cd6..f584dc2d5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardSegue.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardSegue.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardUnwindSegueSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardUnwindSegueSource.java index 176da33f0..856b84a91 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardUnwindSegueSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIStoryboardUnwindSegueSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeActionsConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeActionsConfiguration.java index 0d36dd0b3..8dde097ee 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeActionsConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeActionsConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizer.java index 788d7a0ca..cbdc4bf12 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizerDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizerDirection.java index cbe45ffc2..988ccd8c7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizerDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwipeGestureRecognizerDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitch.java index 55cd25eed..c9216c8b1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitch.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitch.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitchStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitchStyle.java index bd71ffdb2..3f11abfc8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitchStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISwitchStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISymbolEffectCompletionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISymbolEffectCompletionContext.java new file mode 100644 index 000000000..d780c9e3f --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISymbolEffectCompletionContext.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UISymbolEffectCompletionContext/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UISymbolEffectCompletionContextPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UISymbolEffectCompletionContext.class); }/**/ + /**//**/ + /**/ + protected UISymbolEffectCompletionContext() {} + protected UISymbolEffectCompletionContext(Handle h, long handle) { super(h, handle); } + protected UISymbolEffectCompletionContext(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isFinished") + public native boolean isFinished(); + @Property(selector = "sender") + public native NSObject getSender(); + @Property(selector = "effect") + public native NSSymbolEffect getEffect(); + @Property(selector = "contentTransition") + public native NSSymbolContentTransition getContentTransition(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISystemAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISystemAnimation.java index 8bee06e6a..e5d1ec0d9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISystemAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UISystemAnimation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBar.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBar.java index 3f771bc20..928fa30e1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBar.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBar.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarAppearance.java index 08e25ec5d..6e8730692 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarController.java index 8dc51814e..75e80d714 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegate.java index b8ee00bcb..3a0d6dd5c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegateAdapter.java index 5c0729a05..9752f7fb3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegate.java index ce8a8639d..a989cc379 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegateAdapter.java index 7e460dabc..8d702ed88 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItem.java index bd6e23e5b..755ccb5d8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -157,5 +158,10 @@ public UITabBarItem() {} */ @Method(selector = "badgeTextAttributesForState:") public native NSDictionary getBadgeTextAttributes(UIControlState state); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "frameInView:") + public native @ByVal CGRect frameInView(UIView referenceView); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearance.java index c86cfaae6..ea8d971bb 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearanceStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearanceStyle.java index 97a593aae..8f1c7b1f8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearanceStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemAppearanceStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemPositioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemPositioning.java index 93bb6f537..574d99fee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemPositioning.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemPositioning.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemStateAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemStateAppearance.java index 1e03dd42c..013f8fc8a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemStateAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarItemStateAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarSystemItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarSystemItem.java index da3c3b3d3..672ab49b8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarSystemItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITabBarSystemItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableView.java index efae03198..2fe00f83e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCell.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCell.java index afa697a17..c0768dfec 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCell.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCell.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellAccessoryType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellAccessoryType.java index 82acd5970..b25507ee9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellAccessoryType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellAccessoryType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellDragState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellDragState.java index 0ddd7742a..c82cc3d24 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellDragState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellDragState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellEditingStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellEditingStyle.java index 995f01694..a359ec308 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellEditingStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellEditingStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellFocusStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellFocusStyle.java index f4410c5fb..569c3326f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellFocusStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellFocusStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSelectionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSelectionStyle.java index dbfd9c255..00ad5167d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSelectionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSelectionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSeparatorStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSeparatorStyle.java index 73cb50460..572f51b05 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSeparatorStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellSeparatorStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStateMask.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStateMask.java index 62332af3d..c73680010 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStateMask.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStateMask.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStyle.java index 16d00dcf7..805580fbe 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewCellStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewController.java index d3337996d..98c9593ed 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSource.java index f9e3e901b..da43857a1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourceAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourceAdapter.java index ab87c0cac..c10e88c59 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourceAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourceAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetching.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetching.java index a95634b4d..c4b196aea 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetching.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetching.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetchingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetchingAdapter.java index 5ce3db204..cfbcabde6 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetchingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDataSourcePrefetchingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegate.java index 889b13315..4e73d6167 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegateAdapter.java index 7166d0e6f..98465d56c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDiffableDataSource.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDiffableDataSource.java index 45735c75c..f35b62a92 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDiffableDataSource.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDiffableDataSource.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegate.java index c2b23faa0..935307ae2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegateAdapter.java index bbbc9f57d..10d7aaa24 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDragDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinator.java index 3b337a184..18b686194 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinatorAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinatorAdapter.java index e677ffa87..b68363ce8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinatorAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropCoordinatorAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegate.java index bf07ab2e0..29aeb55a5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegateAdapter.java index 4aacf9892..49cc08707 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropIntent.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropIntent.java index e4ed50d71..bdcf91b6f 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropIntent.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropIntent.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItem.java index e93c3e5a8..c0cb2533b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItemAdapter.java index a4edc7885..c4ec56456 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholder.java index a588bd586..2d415f1b2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContext.java index ee0117de4..cdc599551 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContextAdapter.java index fc948dada..fd8e193e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropPlaceholderContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropProposal.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropProposal.java index 397f0d76a..80752c42c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropProposal.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewDropProposal.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewFocusUpdateContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewFocusUpdateContext.java index 11a95a6e1..6066344a7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewFocusUpdateContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewFocusUpdateContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewHeaderFooterView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewHeaderFooterView.java index 7f8ff8666..5822b6bc1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewHeaderFooterView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewHeaderFooterView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewPlaceholder.java index d72b21629..e6a06d9b9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewPlaceholder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAction.java index 82ed32f90..d2486b07b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowActionStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowActionStyle.java index 5bb6c9c67..b55149d03 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowActionStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowActionStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAnimation.java index df9ad9a42..5d81ea308 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewRowAnimation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewScrollPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewScrollPosition.java index 0ebc1bfd9..0a3242424 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewScrollPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewScrollPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSelfSizingInvalidation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSelfSizingInvalidation.java index 4c6220330..bee4b05ed 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSelfSizingInvalidation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSelfSizingInvalidation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSeparatorInsetReference.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSeparatorInsetReference.java index c38e21006..8b5147e61 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSeparatorInsetReference.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewSeparatorInsetReference.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewStyle.java index d1298e568..2795ed6e3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITableViewStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITapGestureRecognizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITapGestureRecognizer.java index 2c8ea0f7f..0c4a10cfb 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITapGestureRecognizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITapGestureRecognizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedDragPreview.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedDragPreview.java index 6ffa6a812..c0a089575 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedDragPreview.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedDragPreview.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedPreview.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedPreview.java index 3321f881f..cab686211 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedPreview.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITargetedPreview.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAlternativeStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAlternativeStyle.java index 56e1e36dd..0d301abaf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAlternativeStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAlternativeStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocapitalizationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocapitalizationType.java index 47b4111b3..c596618a7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocapitalizationType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocapitalizationType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocorrectionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocorrectionType.java index e8af940d1..eae8b03e4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocorrectionType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextAutocorrectionType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextBorderStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextBorderStyle.java index d949d1b88..8c841e858 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextBorderStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextBorderStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextChecker.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextChecker.java index e3a60f38c..54d5be33e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextChecker.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextChecker.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextContentType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextContentType.java index e520800d7..23fb12243 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextContentType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextContentType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -218,9 +219,61 @@ public static long toNative(List l, long flags) { * @since Available in iOS 15.0 and later. */ public static final UITextContentType DateTime = new UITextContentType("DateTime"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType Birthdate = new UITextContentType("Birthdate"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType BirthdateDay = new UITextContentType("BirthdateDay"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType BirthdateMonth = new UITextContentType("BirthdateMonth"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType BirthdateYear = new UITextContentType("BirthdateYear"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardSecurityCode = new UITextContentType("CreditCardSecurityCode"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardName = new UITextContentType("CreditCardName"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardGivenName = new UITextContentType("CreditCardGivenName"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardMiddleName = new UITextContentType("CreditCardMiddleName"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardFamilyName = new UITextContentType("CreditCardFamilyName"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardExpiration = new UITextContentType("CreditCardExpiration"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardExpirationMonth = new UITextContentType("CreditCardExpirationMonth"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardExpirationYear = new UITextContentType("CreditCardExpirationYear"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final UITextContentType CreditCardType = new UITextContentType("CreditCardType"); /**/ - private static /**/UITextContentType/**/[] values = new /**/UITextContentType/**/[] {/**/Name, NamePrefix, GivenName, MiddleName, FamilyName, NameSuffix, Nickname, JobTitle, OrganizationName, Location, FullStreetAddress, StreetAddressLine1, StreetAddressLine2, AddressCity, AddressState, AddressCityAndState, Sublocality, CountryName, PostalCode, TelephoneNumber, EmailAddress, URL, CreditCardNumber, Username, Password, NewPassword, OneTimeCode, ShipmentTrackingNumber, FlightNumber, DateTime/**/}; + private static /**/UITextContentType/**/[] values = new /**/UITextContentType/**/[] {/**/Name, NamePrefix, GivenName, MiddleName, FamilyName, NameSuffix, Nickname, JobTitle, OrganizationName, Location, FullStreetAddress, StreetAddressLine1, StreetAddressLine2, AddressCity, AddressState, AddressCityAndState, Sublocality, CountryName, PostalCode, TelephoneNumber, EmailAddress, URL, CreditCardNumber, Username, Password, NewPassword, OneTimeCode, ShipmentTrackingNumber, FlightNumber, DateTime, Birthdate, BirthdateDay, BirthdateMonth, BirthdateYear, CreditCardSecurityCode, CreditCardName, CreditCardGivenName, CreditCardMiddleName, CreditCardFamilyName, CreditCardExpiration, CreditCardExpirationMonth, CreditCardExpirationYear, CreditCardType/**/}; /**/UITextContentType/**/ (String getterName) { super(Values.class, getterName); @@ -393,6 +446,71 @@ public static class Values { */ @GlobalValue(symbol="UITextContentTypeDateTime", optional=true) public static native NSString DateTime(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeBirthdate", optional=true) + public static native NSString Birthdate(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeBirthdateDay", optional=true) + public static native NSString BirthdateDay(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeBirthdateMonth", optional=true) + public static native NSString BirthdateMonth(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeBirthdateYear", optional=true) + public static native NSString BirthdateYear(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardSecurityCode", optional=true) + public static native NSString CreditCardSecurityCode(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardName", optional=true) + public static native NSString CreditCardName(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardGivenName", optional=true) + public static native NSString CreditCardGivenName(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardMiddleName", optional=true) + public static native NSString CreditCardMiddleName(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardFamilyName", optional=true) + public static native NSString CreditCardFamilyName(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardExpiration", optional=true) + public static native NSString CreditCardExpiration(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardExpirationMonth", optional=true) + public static native NSString CreditCardExpirationMonth(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardExpirationYear", optional=true) + public static native NSString CreditCardExpirationYear(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextContentTypeCreditCardType", optional=true) + public static native NSString CreditCardType(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorView.java new file mode 100644 index 000000000..531e05021 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorView.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITextCursorView/**/ + /**/extends UICoordinateSpace/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "isBlinking") + boolean isBlinking(); + @Property(selector = "setBlinking:") + void setBlinking(boolean v); + /**/ + /**/ + @Method(selector = "resetBlinkAnimation") + void resetBlinkAnimation(); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorViewAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorViewAdapter.java new file mode 100644 index 000000000..f6453ad4e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextCursorViewAdapter.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITextCursorViewAdapter/**/ + extends /**/UICoordinateSpaceAdapter/**/ + /**/implements UITextCursorView/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("isBlinking") + public boolean isBlinking() { return false; } + @NotImplemented("setBlinking:") + public void setBlinking(boolean v) {} + /**/ + /**//**/ + /**/ + @NotImplemented("resetBlinkAnimation") + public void resetBlinkAnimation() {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxy.java index 66d7fee9f..397b0b075 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxy.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxy.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxyAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxyAdapter.java index ce5c9dc59..991311863 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxyAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDocumentProxyAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegate.java index 70ca9f142..3c480cff9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegateAdapter.java index 91a26e11c..018dd97e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragOptions.java index 1a11d4606..725126a62 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragPreviewRenderer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragPreviewRenderer.java index f30f1573a..b9526bb4e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragPreviewRenderer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragPreviewRenderer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequest.java index bf6356477..b8450e136 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequest.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequestAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequestAdapter.java index 1c91d4d67..4a9fd5333 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequestAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDragRequestAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggable.java index ebbea26e1..f88be483c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggable.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggable.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggableAdapter.java index e58710e72..387f4c0ab 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggableAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDraggableAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropAction.java index 12cd81b62..3694ca283 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegate.java index 3054eeaf9..16b857701 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegateAdapter.java index 787e1eeb5..3c4187dd2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropEditability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropEditability.java index e8ea9c917..6ee783473 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropEditability.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropEditability.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropPerformer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropPerformer.java index 889cf125e..cf4876c7e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropPerformer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropPerformer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProgressMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProgressMode.java index 0488fdefe..fba0beffe 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProgressMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProgressMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProposal.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProposal.java index 791b83283..5c4136ace 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProposal.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropProposal.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequest.java index f670eb0ca..8e2729580 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequest.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequestAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequestAdapter.java index ee56daeb7..73ca5886c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequestAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDropRequestAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppable.java index 432bbd8b5..d9a25cf27 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppable.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppable.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppableAdapter.java index 3fbca187f..133273bb3 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppableAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextDroppableAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextField.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextField.java index 6e2f8db22..242a62328 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextField.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextField.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UITextField/**/ extends /**/UIControl/**/ - /**/implements UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting/**/ { + /**/implements UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting/**/ { public static class Notifications { public static NSObject observeDidBeginEditing(UITextField object, final VoidBlock1 block) { @@ -398,6 +399,16 @@ public void setTypingCoreTextAttributes(CTAttributedStringAttributes v) { */ @Property(selector = "setSmartInsertDeleteType:") public native void setSmartInsertDeleteType(UITextSmartInsertDeleteType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "inlinePredictionType") + public native UITextInlinePredictionType getInlinePredictionType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInlinePredictionType:") + public native void setInlinePredictionType(UITextInlinePredictionType v); @Property(selector = "keyboardType") public native UIKeyboardType getKeyboardType(); @Property(selector = "setKeyboardType:") @@ -442,6 +453,10 @@ public void setTypingCoreTextAttributes(CTAttributedStringAttributes v) { public native boolean adjustsFontForContentSizeCategory(); @Property(selector = "setAdjustsFontForContentSizeCategory:") public native void setAdjustsFontForContentSizeCategory(boolean v); + @Property(selector = "sizingRule") + public native UILetterformAwareSizingRule getSizingRule(); + @Property(selector = "setSizingRule:") + public native void setSizingRule(UILetterformAwareSizingRule v); @Property(selector = "textDragDelegate") public native UITextDragDelegate getTextDragDelegate(); @Property(selector = "setTextDragDelegate:", strongRef = true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegate.java index b3cc27d07..953b66293 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegateAdapter.java index 649af64db..53f0cdf63 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDidEndEditingReason.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDidEndEditingReason.java index 5d0a58b10..909e52ad9 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDidEndEditingReason.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldDidEndEditingReason.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldViewMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldViewMode.java index 5054488ed..377e431ee 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldViewMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFieldViewMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinator.java index f4d4b0727..dda39b254 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegate.java index 6c433dadf..6e998f036 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegateAdapter.java index e17bdf410..90594801c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextFormattingCoordinatorDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextGranularity.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextGranularity.java index f059bfd8d..d5b8009e6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextGranularity.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextGranularity.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInlinePredictionType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInlinePredictionType.java new file mode 100644 index 000000000..aa56002e6 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInlinePredictionType.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UITextInlinePredictionType/**/ implements ValuedEnum { + /**/ + Default(0L), + No(1L), + Yes(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UITextInlinePredictionType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UITextInlinePredictionType/**/ valueOf(long n) { + for (/**/UITextInlinePredictionType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UITextInlinePredictionType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInput.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInput.java index fb2f4ef51..02ea31dbd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInput.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInput.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAdapter.java index ed16fd5a7..359e3c9e2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAssistantItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAssistantItem.java index ace700df9..e55e2a16b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAssistantItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputAssistantItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputContext.java new file mode 100644 index 000000000..5e39d1403 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputContext.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 16.4 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextInputContext/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UITextInputContextPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextInputContext.class); }/**/ + /**//**/ + /**/ + protected UITextInputContext() {} + protected UITextInputContext(Handle h, long handle) { super(h, handle); } + protected UITextInputContext(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "isPencilInputExpected") + public native boolean isPencilInputExpected(); + @Property(selector = "setPencilInputExpected:") + public native void setPencilInputExpected(boolean v); + @Property(selector = "isDictationInputExpected") + public native boolean isDictationInputExpected(); + @Property(selector = "setDictationInputExpected:") + public native void setDictationInputExpected(boolean v); + @Property(selector = "isHardwareKeyboardInputExpected") + public native boolean isHardwareKeyboardInputExpected(); + @Property(selector = "setHardwareKeyboardInputExpected:") + public native void setHardwareKeyboardInputExpected(boolean v); + /**/ + /**//**/ + /**/ + @Method(selector = "current") + public static native UITextInputContext current(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegate.java index e91c0f312..2dfdf172e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegateAdapter.java index ab395b5d5..b9786e389 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputMode.java index 9272f96ba..4d4d60ee5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputPasswordRules.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputPasswordRules.java index 601a78877..24058bae1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputPasswordRules.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputPasswordRules.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputStringTokenizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputStringTokenizer.java index 42300a8a3..019e50230 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputStringTokenizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputStringTokenizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTextStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTextStyle.java index 230fd6957..66b089cad 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTextStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTextStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizer.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizer.java index c830097ac..a9db20a2f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizer.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizer.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizerAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizerAdapter.java index 421c4f643..a3dd6f485 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizerAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTokenizerAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraits.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraits.java index 83a62c2a9..0f6de5740 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraits.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraits.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -96,6 +97,16 @@ */ @Property(selector = "setSmartInsertDeleteType:") void setSmartInsertDeleteType(UITextSmartInsertDeleteType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "inlinePredictionType") + UITextInlinePredictionType getInlinePredictionType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInlinePredictionType:") + void setInlinePredictionType(UITextInlinePredictionType v); @Property(selector = "keyboardType") UIKeyboardType getKeyboardType(); @Property(selector = "setKeyboardType:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraitsAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraitsAdapter.java index 7c6c6521f..4c84f8f1e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraitsAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInputTraitsAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -97,6 +98,16 @@ public void setSmartDashesType(UITextSmartDashesType v) {} */ @NotImplemented("setSmartInsertDeleteType:") public void setSmartInsertDeleteType(UITextSmartInsertDeleteType v) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("inlinePredictionType") + public UITextInlinePredictionType getInlinePredictionType() { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("setInlinePredictionType:") + public void setInlinePredictionType(UITextInlinePredictionType v) {} @NotImplemented("keyboardType") public UIKeyboardType getKeyboardType() { return null; } @NotImplemented("setKeyboardType:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteraction.java index db63e3947..89ca61395 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegate.java index 35155a383..f42fd9c14 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegate.java @@ -39,10 +39,13 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ - +/** + * @since Available in iOS 13.0 and later. + */ /**/ /**//**/ /**/public/**/ interface /**/UITextInteractionDelegate/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegateAdapter.java index 1c963ab9f..b5676fe83 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionMode.java index 4e48d8502..2eb429623 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextInteractionMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItem.java new file mode 100644 index 000000000..da957e96c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItem.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextItem/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UITextItemPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextItem.class); }/**/ + /**//**/ + /**/ + protected UITextItem() {} + protected UITextItem(Handle h, long handle) { super(h, handle); } + protected UITextItem(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "contentType") + public native UITextItemContentType getContentType(); + @Property(selector = "range") + public native @ByVal NSRange getRange(); + @Property(selector = "link") + public native NSURL getLink(); + @Property(selector = "textAttachment") + public native NSTextAttachment getTextAttachment(); + @Property(selector = "tagIdentifier") + public native String getTagIdentifier(); + /**/ + /**//**/ + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UITextItemTagAttributeName", optional=true) + public static native NSString TagAttributeName(); + + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemContentType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemContentType.java new file mode 100644 index 000000000..b0c7aa29a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemContentType.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UITextItemContentType/**/ implements ValuedEnum { + /**/ + Link(0L), + TextAttachment(1L), + Tag(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UITextItemContentType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UITextItemContentType/**/ valueOf(long n) { + for (/**/UITextItemContentType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UITextItemContentType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemInteraction.java index 57e1c3bef..a6e12a349 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemInteraction.java @@ -39,14 +39,16 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. UITextItemInteraction has been replaced by text item methods on UITextViewDelegate */ /**/ -/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Deprecated/**/ public enum /**/UITextItemInteraction/**/ implements ValuedEnum { /**/ InvokeDefaultAction(0L), diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuConfiguration.java new file mode 100644 index 000000000..b43bfc3e5 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuConfiguration.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextItemMenuConfiguration/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UITextItemMenuConfigurationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextItemMenuConfiguration.class); }/**/ + /**//**/ + /**/ + protected UITextItemMenuConfiguration() {} + protected UITextItemMenuConfiguration(Handle h, long handle) { super(h, handle); } + protected UITextItemMenuConfiguration(SkipInit skipInit) { super(skipInit); } + public UITextItemMenuConfiguration(UIMenu menu) { super((Handle) null, create(menu)); retain(getHandle()); } + public UITextItemMenuConfiguration(UITextItemMenuPreview preview, UIMenu menu) { super((Handle) null, create(preview, menu)); retain(getHandle()); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "configurationWithMenu:") + protected static native @Pointer long create(UIMenu menu); + @Method(selector = "configurationWithPreview:menu:") + protected static native @Pointer long create(UITextItemMenuPreview preview, UIMenu menu); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuPreview.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuPreview.java new file mode 100644 index 000000000..8199b90df --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextItemMenuPreview.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextItemMenuPreview/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UITextItemMenuPreviewPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextItemMenuPreview.class); }/**/ + /**//**/ + /**/ + protected UITextItemMenuPreview() {} + protected UITextItemMenuPreview(Handle h, long handle) { super(h, handle); } + protected UITextItemMenuPreview(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithView:") + public UITextItemMenuPreview(UIView view) { super((SkipInit) null); initObject(init(view)); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "initWithView:") + protected native @Pointer long init(UIView view); + @Method(selector = "defaultPreview") + public static native UITextItemMenuPreview defaultPreview(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLayoutDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLayoutDirection.java index 641336fd5..28e27ce8d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLayoutDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLayoutDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLoupeSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLoupeSession.java new file mode 100644 index 000000000..47236652b --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextLoupeSession.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextLoupeSession/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UITextLoupeSessionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextLoupeSession.class); }/**/ + /**//**/ + /**/ + public UITextLoupeSession() {} + protected UITextLoupeSession(Handle h, long handle) { super(h, handle); } + protected UITextLoupeSession(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "moveToPoint:withCaretRect:trackingCaret:") + public native void moveToPoint(@ByVal CGPoint point, @ByVal CGRect caretRect, boolean tracksCaret); + @Method(selector = "invalidate") + public native void invalidate(); + @Method(selector = "beginLoupeSessionAtPoint:fromSelectionWidgetView:inView:") + public static native UITextLoupeSession beginLoupeSession(@ByVal CGPoint point, UIView selectionWidget, UIView interactionView); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupporting.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupporting.java index a78f2fb8a..be0dfac23 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupporting.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupporting.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupportingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupportingAdapter.java index 790f4a901..1a4c9227d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupportingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteConfigurationSupportingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegate.java index 86c6a03bc..7410d7fa4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegateAdapter.java index 86b586400..37c01be1e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItem.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItem.java index e19e5b799..714f81292 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItem.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItem.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItemAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItemAdapter.java index d85090f4c..1ef384916 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItemAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPasteItemAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPlaceholder.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPlaceholder.java index 3079ee0dc..0735f5d23 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPlaceholder.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPlaceholder.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPosition.java index 7437d5407..c0eafbda3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextRange.java index 578b93fdb..fd4599406 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextRange.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextRange.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregator.java index a139351e1..bbaa33f62 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregatorAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregatorAdapter.java index 1acd4806a..7e2e43b30 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregatorAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchAggregatorAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchFoundTextStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchFoundTextStyle.java index 4fc781719..adcfb37a0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchFoundTextStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchFoundTextStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchMatchMethod.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchMatchMethod.java index 12b4db226..8bda2fb39 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchMatchMethod.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchMatchMethod.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchOptions.java index 5228e6675..2facc2669 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearching.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearching.java index 6241a82e7..bde99b183 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearching.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearching.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingAdapter.java index 51a4b3a5c..ee1d060e4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingFindSession.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingFindSession.java index c7def4b29..1ce519889 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingFindSession.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSearchingFindSession.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteraction.java new file mode 100644 index 000000000..edf067771 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteraction.java @@ -0,0 +1,102 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITextSelectionDisplayInteraction/**/ + extends /**/NSObject/**/ + /**/implements UIInteraction/**/ { + + /**/public static class UITextSelectionDisplayInteractionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITextSelectionDisplayInteraction.class); }/**/ + /**//**/ + /**/ + protected UITextSelectionDisplayInteraction() {} + protected UITextSelectionDisplayInteraction(Handle h, long handle) { super(h, handle); } + protected UITextSelectionDisplayInteraction(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithTextInput:delegate:") + public UITextSelectionDisplayInteraction(UITextInput textInput, UITextSelectionDisplayInteractionDelegate delegate) { super((SkipInit) null); initObject(init(textInput, delegate)); } + /**/ + /**/ + @Property(selector = "isActivated") + public native boolean isActivated(); + @Property(selector = "setActivated:") + public native void setActivated(boolean v); + @Property(selector = "textInput") + public native UITextInput getTextInput(); + @Property(selector = "delegate") + public native UITextSelectionDisplayInteractionDelegate getDelegate(); + @Property(selector = "cursorView") + public native UIView getCursorView(); + @Property(selector = "setCursorView:") + public native void setCursorView(UIView v); + @Property(selector = "highlightView") + public native UIView getHighlightView(); + @Property(selector = "setHighlightView:") + public native void setHighlightView(UIView v); + @Property(selector = "handleViews") + public native NSArray getHandleViews(); + @Property(selector = "setHandleViews:") + public native void setHandleViews(NSArray v); + @Property(selector = "view") + public native UIView getView(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithTextInput:delegate:") + protected native @Pointer long init(UITextInput textInput, UITextSelectionDisplayInteractionDelegate delegate); + @Method(selector = "layoutManagedSubviews") + public native void layoutManagedSubviews(); + @Method(selector = "setNeedsSelectionUpdate") + public native void setNeedsSelectionUpdate(); + @Method(selector = "willMoveToView:") + public native void willMoveToView(UIView view); + @Method(selector = "didMoveToView:") + public native void didMoveToView(UIView view); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegate.java new file mode 100644 index 000000000..4869e08a7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegate.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITextSelectionDisplayInteractionDelegate/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "selectionContainerViewBelowTextForSelectionDisplayInteraction:") + UIView getSelectionContainerViewBelowText(UITextSelectionDisplayInteraction interaction); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegateAdapter.java new file mode 100644 index 000000000..2c45853eb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionDisplayInteractionDelegateAdapter.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITextSelectionDisplayInteractionDelegateAdapter/**/ + extends /**/NSObject/**/ + /**/implements UITextSelectionDisplayInteractionDelegate/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("selectionContainerViewBelowTextForSelectionDisplayInteraction:") + public UIView getSelectionContainerViewBelowText(UITextSelectionDisplayInteraction interaction) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleView.java new file mode 100644 index 000000000..4fdc5b448 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleView.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITextSelectionHandleView/**/ + /**/extends UICoordinateSpace/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "direction") + NSDirectionalRectEdge getDirection(); + @Property(selector = "setDirection:") + void setDirection(NSDirectionalRectEdge v); + @Property(selector = "isVertical") + boolean isVertical(); + @Property(selector = "customShape") + UIBezierPath getCustomShape(); + @Property(selector = "setCustomShape:") + void setCustomShape(UIBezierPath v); + /**/ + /**/ + @Method(selector = "preferredFrameForRect:") + @ByVal CGRect preferredFrameForRect(@ByVal CGRect rect); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleViewAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleViewAdapter.java new file mode 100644 index 000000000..127362a8d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHandleViewAdapter.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITextSelectionHandleViewAdapter/**/ + extends /**/UICoordinateSpaceAdapter/**/ + /**/implements UITextSelectionHandleView/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("direction") + public NSDirectionalRectEdge getDirection() { return null; } + @NotImplemented("setDirection:") + public void setDirection(NSDirectionalRectEdge v) {} + @NotImplemented("isVertical") + public boolean isVertical() { return false; } + @NotImplemented("customShape") + public UIBezierPath getCustomShape() { return null; } + @NotImplemented("setCustomShape:") + public void setCustomShape(UIBezierPath v) {} + /**/ + /**//**/ + /**/ + @NotImplemented("preferredFrameForRect:") + public @ByVal CGRect preferredFrameForRect(@ByVal CGRect rect) { return null; } + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightView.java new file mode 100644 index 000000000..e6c4c39e9 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightView.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITextSelectionHighlightView/**/ + /**/extends UICoordinateSpace/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + @Property(selector = "selectionRects") + NSArray getSelectionRects(); + @Property(selector = "setSelectionRects:") + void setSelectionRects(NSArray v); + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightViewAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightViewAdapter.java new file mode 100644 index 000000000..2f44077ec --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionHighlightViewAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITextSelectionHighlightViewAdapter/**/ + extends /**/UICoordinateSpaceAdapter/**/ + /**/implements UITextSelectionHighlightView/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + @NotImplemented("selectionRects") + public NSArray getSelectionRects() { return null; } + @NotImplemented("setSelectionRects:") + public void setSelectionRects(NSArray v) {} + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionRect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionRect.java index 499ce12e1..82ae20b51 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionRect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSelectionRect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartDashesType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartDashesType.java index 528464631..6fac457e4 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartDashesType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartDashesType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartInsertDeleteType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartInsertDeleteType.java index 69a48b455..61a9b0f34 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartInsertDeleteType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartInsertDeleteType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartQuotesType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartQuotesType.java index 245fb709b..8239d4dad 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartQuotesType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSmartQuotesType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSpellCheckingType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSpellCheckingType.java index f9f698ef0..f3674aa1e 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSpellCheckingType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextSpellCheckingType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextStorageDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextStorageDirection.java index 344660d6b..808422556 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextStorageDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextStorageDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextView.java index 6af44fedd..6d4b7f4d8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.corefoundation.CFDictionary; import org.robovm.apple.coremedia.CMTextMarkupAttributes; @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UITextView/**/ extends /**/UIScrollView/**/ - /**/implements UITextInput, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting, UIFindInteractionDelegate, UITextSearching/**/ { + /**/implements UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting, UIFindInteractionDelegate, UITextSearching/**/ { public static class Notifications { public static NSObject observeDidBeginEditing(UITextView object, final VoidBlock1 block) { @@ -315,6 +316,16 @@ public void setTypingCoreTextAttributes(CTAttributedStringAttributes v) { */ @Property(selector = "setFindInteractionEnabled:") public native void setFindInteractionEnabled(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "borderStyle") + public native UITextViewBorderStyle getBorderStyle(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setBorderStyle:") + public native void setBorderStyle(UITextViewBorderStyle v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); @@ -400,6 +411,16 @@ public void setTypingCoreTextAttributes(CTAttributedStringAttributes v) { */ @Property(selector = "setSmartInsertDeleteType:") public native void setSmartInsertDeleteType(UITextSmartInsertDeleteType v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "inlinePredictionType") + public native UITextInlinePredictionType getInlinePredictionType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInlinePredictionType:") + public native void setInlinePredictionType(UITextInlinePredictionType v); @Property(selector = "keyboardType") public native UIKeyboardType getKeyboardType(); @Property(selector = "setKeyboardType:") @@ -444,6 +465,10 @@ public void setTypingCoreTextAttributes(CTAttributedStringAttributes v) { public native boolean adjustsFontForContentSizeCategory(); @Property(selector = "setAdjustsFontForContentSizeCategory:") public native void setAdjustsFontForContentSizeCategory(boolean v); + @Property(selector = "sizingRule") + public native UILetterformAwareSizingRule getSizingRule(); + @Property(selector = "setSizingRule:") + public native void setSizingRule(UILetterformAwareSizingRule v); @Property(selector = "textDragDelegate") public native UITextDragDelegate getTextDragDelegate(); @Property(selector = "setTextDragDelegate:", strongRef = true) diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewBorderStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewBorderStyle.java new file mode 100644 index 000000000..da4407df0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewBorderStyle.java @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/UITextViewBorderStyle/**/ implements ValuedEnum { + /**/ + None(0L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/UITextViewBorderStyle/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/UITextViewBorderStyle/**/ valueOf(long n) { + for (/**/UITextViewBorderStyle/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/UITextViewBorderStyle/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegate.java index 7cebd2933..71dba5aa7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -71,14 +72,53 @@ void didChange(UITextView textView); @Method(selector = "textViewDidChangeSelection:") void didChangeSelection(UITextView textView); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:editMenuForTextInRange:suggestedActions:") + UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:willPresentEditMenuWithAnimator:") + void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); + /** + * @since Available in iOS 16.0 and later. + */ + @Method(selector = "textView:willDismissEditMenuWithAnimator:") + void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:primaryActionForTextItem:defaultAction:") + UIAction getPrimaryActionForTextItem(UITextView textView, UITextItem textItem, UIAction defaultAction); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:menuConfigurationForTextItem:defaultMenu:") + UITextItemMenuConfiguration getMenuConfigurationForTextItem(UITextView textView, UITextItem textItem, UIMenu defaultMenu); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:textItemMenuWillDisplayForTextItem:animator:") + void textItemMenuWillDisplayForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "textView:textItemMenuWillEndForTextItem:animator:") + void textItemMenuWillEndForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @Method(selector = "textView:shouldInteractWithURL:inRange:interaction:") boolean shouldInteractWithURL(UITextView textView, NSURL URL, @ByVal NSRange characterRange, UITextItemInteraction interaction); /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @Method(selector = "textView:shouldInteractWithTextAttachment:inRange:interaction:") boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange, UITextItemInteraction interaction); /** @@ -93,21 +133,6 @@ @Deprecated @Method(selector = "textView:shouldInteractWithTextAttachment:inRange:") boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:editMenuForTextInRange:suggestedActions:") - UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:willPresentEditMenuWithAnimator:") - void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); - /** - * @since Available in iOS 16.0 and later. - */ - @Method(selector = "textView:willDismissEditMenuWithAnimator:") - void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegateAdapter.java index d15edc7b4..8a7480858 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITextViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -73,14 +74,53 @@ public void didEndEditing(UITextView textView) {} public void didChange(UITextView textView) {} @NotImplemented("textViewDidChangeSelection:") public void didChangeSelection(UITextView textView) {} + /** + * @since Available in iOS 16.0 and later. + */ + @NotImplemented("textView:editMenuForTextInRange:suggestedActions:") + public UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions) { return null; } + /** + * @since Available in iOS 16.0 and later. + */ + @NotImplemented("textView:willPresentEditMenuWithAnimator:") + public void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator) {} + /** + * @since Available in iOS 16.0 and later. + */ + @NotImplemented("textView:willDismissEditMenuWithAnimator:") + public void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("textView:primaryActionForTextItem:defaultAction:") + public UIAction getPrimaryActionForTextItem(UITextView textView, UITextItem textItem, UIAction defaultAction) { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("textView:menuConfigurationForTextItem:defaultMenu:") + public UITextItemMenuConfiguration getMenuConfigurationForTextItem(UITextView textView, UITextItem textItem, UIMenu defaultMenu) { return null; } + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("textView:textItemMenuWillDisplayForTextItem:animator:") + public void textItemMenuWillDisplayForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator) {} + /** + * @since Available in iOS 17.0 and later. + */ + @NotImplemented("textView:textItemMenuWillEndForTextItem:animator:") + public void textItemMenuWillEndForTextItem(UITextView textView, UITextItem textItem, UIContextMenuInteractionAnimating animator) {} /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @NotImplemented("textView:shouldInteractWithURL:inRange:interaction:") public boolean shouldInteractWithURL(UITextView textView, NSURL URL, @ByVal NSRange characterRange, UITextItemInteraction interaction) { return false; } /** * @since Available in iOS 10.0 and later. + * @deprecated Deprecated in iOS 17.0. Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options. */ + @Deprecated @NotImplemented("textView:shouldInteractWithTextAttachment:inRange:interaction:") public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange, UITextItemInteraction interaction) { return false; } /** @@ -95,20 +135,5 @@ public void didChangeSelection(UITextView textView) {} @Deprecated @NotImplemented("textView:shouldInteractWithTextAttachment:inRange:") public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, @ByVal NSRange characterRange) { return false; } - /** - * @since Available in iOS 16.0 and later. - */ - @NotImplemented("textView:editMenuForTextInRange:suggestedActions:") - public UIMenu getEditMenu(UITextView textView, @ByVal NSRange range, NSArray suggestedActions) { return null; } - /** - * @since Available in iOS 16.0 and later. - */ - @NotImplemented("textView:willPresentEditMenuWithAnimator:") - public void willPresentEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator) {} - /** - * @since Available in iOS 16.0 and later. - */ - @NotImplemented("textView:willDismissEditMenuWithAnimator:") - public void willDismissEditMenu(UITextView textView, UIEditMenuInteractionAnimating animator) {} /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProvider.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProvider.java index ec2fe683a..2dfee1050 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProvider.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProvider.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProviderAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProviderAdapter.java index 551af0e5e..535beba55 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProviderAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveProviderAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveType.java index 110573aa4..a8da65b1c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITimingCurveType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipConfiguration.java index 6e8eb13a0..5e1164f93 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteraction.java index 4994ae54c..e570f7a7a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegate.java index 41151fe6b..458986512 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegateAdapter.java index d873e55cf..1149e854d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolTipInteractionDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbar.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbar.java index 050db1fc8..74f1ee5f5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbar.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbar.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarAppearance.java index 803101e72..212d052bf 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegate.java index b1f950b19..eb8cc594b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegateAdapter.java index 093113f96..e21bdd0d6 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIToolbarDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouch.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouch.java index 2eb367eb6..8a1346fb1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouch.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouch.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.rt.annotation.WeaklyLinked; import org.robovm.apple.spritekit.SKNode; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchPhase.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchPhase.java index a0c9fb8a0..8636d7710 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchPhase.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchPhase.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchProperties.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchProperties.java index 7c1df071e..c11914ed5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchProperties.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchProperties.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchType.java index 493597699..ffc508953 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITouchType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITrackingLayoutGuide.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITrackingLayoutGuide.java index c95434d3e..9f014ed88 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITrackingLayoutGuide.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITrackingLayoutGuide.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitAccessibilityContrast.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitAccessibilityContrast.java new file mode 100644 index 000000000..23a0b90cb --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitAccessibilityContrast.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitAccessibilityContrast/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitAccessibilityContrastPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitAccessibilityContrast.class); }/**/ + /**//**/ + /**/ + public UITraitAccessibilityContrast() {} + protected UITraitAccessibilityContrast(Handle h, long handle) { super(h, handle); } + protected UITraitAccessibilityContrast(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitActiveAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitActiveAppearance.java new file mode 100644 index 000000000..f7a69c212 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitActiveAppearance.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitActiveAppearance/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitActiveAppearancePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitActiveAppearance.class); }/**/ + /**//**/ + /**/ + public UITraitActiveAppearance() {} + protected UITraitActiveAppearance(Handle h, long handle) { super(h, handle); } + protected UITraitActiveAppearance(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservable.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservable.java new file mode 100644 index 000000000..7ce9fa375 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservable.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITraitChangeObservable/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "unregisterForTraitChanges:") + void unregisterForTraitChanges(UITraitChangeRegistration registration); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservableAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservableAdapter.java new file mode 100644 index 000000000..d89278d2d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeObservableAdapter.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITraitChangeObservableAdapter/**/ + extends /**/NSObject/**/ + /**/implements UITraitChangeObservable/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("unregisterForTraitChanges:") + public void unregisterForTraitChanges(UITraitChangeRegistration registration) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistration.java new file mode 100644 index 000000000..e113e7109 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistration.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITraitChangeRegistration/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistrationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistrationAdapter.java new file mode 100644 index 000000000..accf58a83 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitChangeRegistrationAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITraitChangeRegistrationAdapter/**/ + extends /**/NSObject/**/ + /**/implements UITraitChangeRegistration/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitCollection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitCollection.java index 24db75b15..4b8a316d0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitCollection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitCollection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -94,6 +95,22 @@ public UITraitCollection() {} * @since Available in iOS 14.0 and later. */ public UITraitCollection(UIUserInterfaceActiveAppearance userInterfaceActiveAppearance) { super((Handle) null, create(userInterfaceActiveAppearance)); retain(getHandle()); } + /** + * @since Available in iOS 17.0 and later. + */ + public UITraitCollection(UIImageDynamicRange imageDynamicRange) { super((Handle) null, create(imageDynamicRange)); retain(getHandle()); } + /** + * @since Available in iOS 17.0 and later. + */ + public UITraitCollection(String language) { super((Handle) null, create(language)); retain(getHandle()); } + /** + * @since Available in iOS 17.0 and later. + */ + public UITraitCollection(UISceneCaptureState sceneCaptureState) { super((Handle) null, create(sceneCaptureState)); retain(getHandle()); } + public UITraitCollection(@Block VoidBlock1 mutations) { super((Handle) null, create(mutations)); retain(getHandle()); } + public UITraitCollection(@MachineSizedFloat double value, Class trait) { super((Handle) null, create(value, trait)); retain(getHandle()); } + public UITraitCollection(@MachineSizedSInt long value, Class trait) { super((Handle) null, create(value, trait)); retain(getHandle()); } + public UITraitCollection(NSObject object, Class trait) { super((Handle) null, create(object, trait)); retain(getHandle()); } /**/ /**/ @Property(selector = "userInterfaceIdiom") @@ -151,6 +168,21 @@ public UITraitCollection() {} public native UIUserInterfaceActiveAppearance getActiveAppearance(); @Property(selector = "toolbarItemPresentationSize") public native UINSToolbarItemPresentationSize getToolbarItemPresentationSize(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "imageDynamicRange") + public native UIImageDynamicRange getImageDynamicRange(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "typesettingLanguage") + public native String getTypesettingLanguage(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "sceneCaptureState") + public native UISceneCaptureState getSceneCaptureState(); /** * @since Available in iOS 13.0 and later. */ @@ -173,8 +205,16 @@ public UITraitCollection() {} /**/ @Method(selector = "initWithCoder:") protected native @Pointer long init(NSCoder coder); + /** + * @deprecated Deprecated in iOS 17.0. Compare values for specific traits in the trait collections instead + */ + @Deprecated @Method(selector = "containsTraitsInCollection:") public native boolean containsTraits(UITraitCollection trait); + /** + * @deprecated Deprecated in iOS 17.0. Use +[UITraitCollection traitCollectionWithTraits:] and -[UITraitCollection traitCollectionByModifyingTraits:] to create and modify trait collections + */ + @Deprecated @Method(selector = "traitCollectionWithTraitsFromCollections:") public static native UITraitCollection createWithTraits(NSArray traitCollections); @Method(selector = "traitCollectionWithUserInterfaceIdiom:") @@ -232,6 +272,43 @@ public UITraitCollection() {} protected static native @Pointer long create(UIUserInterfaceActiveAppearance userInterfaceActiveAppearance); @Method(selector = "traitCollectionWithToolbarItemPresentationSize:") public static native UITraitCollection createWithToolbarItemPresentationSize(UINSToolbarItemPresentationSize toolbarItemPresentationSize); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "traitCollectionWithImageDynamicRange:") + protected static native @Pointer long create(UIImageDynamicRange imageDynamicRange); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "traitCollectionWithTypesettingLanguage:") + protected static native @Pointer long create(String language); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "traitCollectionWithSceneCaptureState:") + protected static native @Pointer long create(UISceneCaptureState sceneCaptureState); + @Method(selector = "traitCollectionByModifyingTraits:") + public native UITraitCollection traitCollectionByModifyingTraits(@Block VoidBlock1 mutations); + @Method(selector = "traitCollectionByReplacingCGFloatValue:forTrait:") + public native UITraitCollection traitCollectionByReplacing(@MachineSizedFloat double value, Class trait); + @Method(selector = "valueForCGFloatTrait:") + public native @MachineSizedFloat double valueForCGFloatTrait(Class trait); + @Method(selector = "traitCollectionByReplacingNSIntegerValue:forTrait:") + public native UITraitCollection traitCollectionByReplacing(@MachineSizedSInt long value, Class trait); + @Method(selector = "valueForNSIntegerTrait:") + public native @MachineSizedSInt long valueForNSIntegerTrait(Class trait); + @Method(selector = "traitCollectionByReplacingObject:forTrait:") + public native UITraitCollection traitCollectionByReplacing(NSObject object, Class trait); + @Method(selector = "objectForTrait:") + public native NSObject objectForTrait(Class trait); + @Method(selector = "traitCollectionWithTraits:") + protected static native @Pointer long create(@Block VoidBlock1 mutations); + @Method(selector = "traitCollectionWithCGFloatValue:forTrait:") + protected static native @Pointer long create(@MachineSizedFloat double value, Class trait); + @Method(selector = "traitCollectionWithNSIntegerValue:forTrait:") + protected static native @Pointer long create(@MachineSizedSInt long value, Class trait); + @Method(selector = "traitCollectionWithObject:forTrait:") + protected static native @Pointer long create(NSObject object, Class trait); /** * @since Available in iOS 13.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinition.java new file mode 100644 index 000000000..30d10892c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinition.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITraitDefinition/**/ + /**/extends NSObjectProtocol/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinitionAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinitionAdapter.java new file mode 100644 index 000000000..0e3182d0a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDefinitionAdapter.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITraitDefinitionAdapter/**/ + extends /**/NSObject/**/ + /**/implements UITraitDefinition/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayGamut.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayGamut.java new file mode 100644 index 000000000..c51bbac60 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayGamut.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitDisplayGamut/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitDisplayGamutPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitDisplayGamut.class); }/**/ + /**//**/ + /**/ + public UITraitDisplayGamut() {} + protected UITraitDisplayGamut(Handle h, long handle) { super(h, handle); } + protected UITraitDisplayGamut(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayScale.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayScale.java new file mode 100644 index 000000000..cd4e91fdf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitDisplayScale.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitDisplayScale/**/ + extends /**/NSObject/**/ + /**/implements UICGFloatTraitDefinition/**/ { + + /**/public static class UITraitDisplayScalePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitDisplayScale.class); }/**/ + /**//**/ + /**/ + public UITraitDisplayScale() {} + protected UITraitDisplayScale(Handle h, long handle) { super(h, handle); } + protected UITraitDisplayScale(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedFloat double getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironment.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironment.java index 7f6cc0494..f2f77bb65 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironment.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironment.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -58,6 +59,10 @@ UITraitCollection getTraitCollection(); /**/ /**/ + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @Method(selector = "traitCollectionDidChange:") void traitCollectionDidChange(UITraitCollection previousTraitCollection); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentAdapter.java index 4f4bdac40..69b019114 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -60,6 +61,10 @@ /**/ /**//**/ /**/ + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @NotImplemented("traitCollectionDidChange:") public void traitCollectionDidChange(UITraitCollection previousTraitCollection) {} /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentLayoutDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentLayoutDirection.java index 8f6b8543f..e7beb8057 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentLayoutDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitEnvironmentLayoutDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitForceTouchCapability.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitForceTouchCapability.java new file mode 100644 index 000000000..53029d0e2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitForceTouchCapability.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitForceTouchCapability/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitForceTouchCapabilityPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitForceTouchCapability.class); }/**/ + /**//**/ + /**/ + public UITraitForceTouchCapability() {} + protected UITraitForceTouchCapability(Handle h, long handle) { super(h, handle); } + protected UITraitForceTouchCapability(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitHorizontalSizeClass.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitHorizontalSizeClass.java new file mode 100644 index 000000000..3e5191f5a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitHorizontalSizeClass.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitHorizontalSizeClass/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitHorizontalSizeClassPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitHorizontalSizeClass.class); }/**/ + /**//**/ + /**/ + public UITraitHorizontalSizeClass() {} + protected UITraitHorizontalSizeClass(Handle h, long handle) { super(h, handle); } + protected UITraitHorizontalSizeClass(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitImageDynamicRange.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitImageDynamicRange.java new file mode 100644 index 000000000..87f28975a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitImageDynamicRange.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitImageDynamicRange/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitImageDynamicRangePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitImageDynamicRange.class); }/**/ + /**//**/ + /**/ + public UITraitImageDynamicRange() {} + protected UITraitImageDynamicRange(Handle h, long handle) { super(h, handle); } + protected UITraitImageDynamicRange(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLayoutDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLayoutDirection.java new file mode 100644 index 000000000..c0c03de54 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLayoutDirection.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitLayoutDirection/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitLayoutDirectionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitLayoutDirection.class); }/**/ + /**//**/ + /**/ + public UITraitLayoutDirection() {} + protected UITraitLayoutDirection(Handle h, long handle) { super(h, handle); } + protected UITraitLayoutDirection(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLegibilityWeight.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLegibilityWeight.java new file mode 100644 index 000000000..ee5556d03 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitLegibilityWeight.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitLegibilityWeight/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitLegibilityWeightPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitLegibilityWeight.class); }/**/ + /**//**/ + /**/ + public UITraitLegibilityWeight() {} + protected UITraitLegibilityWeight(Handle h, long handle) { super(h, handle); } + protected UITraitLegibilityWeight(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverrides.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverrides.java new file mode 100644 index 000000000..b20718b87 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverrides.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**//**/ +/**/public/**/ interface /**/UITraitOverrides/**/ + /**/extends UIMutableTraits/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**/ + + /**/ + /**/ + @Method(selector = "containsTrait:") + boolean containsTrait(Class trait); + @Method(selector = "removeTrait:") + void removeTrait(Class trait); + /**/ + /**/ + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverridesAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverridesAdapter.java new file mode 100644 index 000000000..75747157a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitOverridesAdapter.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/**/ +/**//**/ +/**/public/**/ class /**/UITraitOverridesAdapter/**/ + extends /**/UIMutableTraitsAdapter/**/ + /**/implements UITraitOverrides/**/ { + + /**/ + /**/ + /**/ + /**/ + /**//**/ + /**//**/ + /**/ + + /**/ + /**//**/ + /**/ + @NotImplemented("containsTrait:") + public boolean containsTrait(Class trait) { return false; } + @NotImplemented("removeTrait:") + public void removeTrait(Class trait) {} + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitPreferredContentSizeCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitPreferredContentSizeCategory.java new file mode 100644 index 000000000..ab3b69c44 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitPreferredContentSizeCategory.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitPreferredContentSizeCategory/**/ + extends /**/NSObject/**/ + /**/implements UIObjectTraitDefinition/**/ { + + /**/public static class UITraitPreferredContentSizeCategoryPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitPreferredContentSizeCategory.class); }/**/ + /**//**/ + /**/ + public UITraitPreferredContentSizeCategory() {} + protected UITraitPreferredContentSizeCategory(Handle h, long handle) { super(h, handle); } + protected UITraitPreferredContentSizeCategory(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native NSObject getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitSceneCaptureState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitSceneCaptureState.java new file mode 100644 index 000000000..7fd10d297 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitSceneCaptureState.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitSceneCaptureState/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitSceneCaptureStatePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitSceneCaptureState.class); }/**/ + /**//**/ + /**/ + public UITraitSceneCaptureState() {} + protected UITraitSceneCaptureState(Handle h, long handle) { super(h, handle); } + protected UITraitSceneCaptureState(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitToolbarItemPresentationSize.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitToolbarItemPresentationSize.java new file mode 100644 index 000000000..deb2bf794 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitToolbarItemPresentationSize.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitToolbarItemPresentationSize/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitToolbarItemPresentationSizePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitToolbarItemPresentationSize.class); }/**/ + /**//**/ + /**/ + public UITraitToolbarItemPresentationSize() {} + protected UITraitToolbarItemPresentationSize(Handle h, long handle) { super(h, handle); } + protected UITraitToolbarItemPresentationSize(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitTypesettingLanguage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitTypesettingLanguage.java new file mode 100644 index 000000000..afdfb8061 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitTypesettingLanguage.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitTypesettingLanguage/**/ + extends /**/NSObject/**/ + /**/implements UIObjectTraitDefinition/**/ { + + /**/public static class UITraitTypesettingLanguagePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitTypesettingLanguage.class); }/**/ + /**//**/ + /**/ + public UITraitTypesettingLanguage() {} + protected UITraitTypesettingLanguage(Handle h, long handle) { super(h, handle); } + protected UITraitTypesettingLanguage(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native NSObject getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceIdiom.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceIdiom.java new file mode 100644 index 000000000..34b8e49ff --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceIdiom.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitUserInterfaceIdiom/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitUserInterfaceIdiomPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitUserInterfaceIdiom.class); }/**/ + /**//**/ + /**/ + public UITraitUserInterfaceIdiom() {} + protected UITraitUserInterfaceIdiom(Handle h, long handle) { super(h, handle); } + protected UITraitUserInterfaceIdiom(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceLevel.java new file mode 100644 index 000000000..ae5020180 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceLevel.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitUserInterfaceLevel/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitUserInterfaceLevelPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitUserInterfaceLevel.class); }/**/ + /**//**/ + /**/ + public UITraitUserInterfaceLevel() {} + protected UITraitUserInterfaceLevel(Handle h, long handle) { super(h, handle); } + protected UITraitUserInterfaceLevel(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceStyle.java new file mode 100644 index 000000000..5ebc8dfd8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitUserInterfaceStyle.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitUserInterfaceStyle/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitUserInterfaceStylePtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitUserInterfaceStyle.class); }/**/ + /**//**/ + /**/ + public UITraitUserInterfaceStyle() {} + protected UITraitUserInterfaceStyle(Handle h, long handle) { super(h, handle); } + protected UITraitUserInterfaceStyle(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitVerticalSizeClass.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitVerticalSizeClass.java new file mode 100644 index 000000000..4338b88a7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITraitVerticalSizeClass.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UITraitVerticalSizeClass/**/ + extends /**/NSObject/**/ + /**/implements UINSIntegerTraitDefinition/**/ { + + /**/public static class UITraitVerticalSizeClassPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UITraitVerticalSizeClass.class); }/**/ + /**//**/ + /**/ + public UITraitVerticalSizeClass() {} + protected UITraitVerticalSizeClass(Handle h, long handle) { super(h, handle); } + protected UITraitVerticalSizeClass(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "defaultValue") + public static native @MachineSizedSInt long getDefaultValue(); + @Property(selector = "identifier") + public static native String getIdentifier(); + @Property(selector = "name") + public static native String getName(); + @Property(selector = "affectsColorAppearance") + public static native boolean isAffectsColorAppearance(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewControllerType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewControllerType.java index 93a3bda2a..bda50b8c0 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewControllerType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewControllerType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewType.java index 0f7cf8494..d04d72c28 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UITransitionContextViewType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoring.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoring.java index 49c19be38..77b82a76c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoring.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoring.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoringAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoringAdapter.java index 7fa6a6798..871c1e629 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoringAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserActivityRestoringAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceActiveAppearance.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceActiveAppearance.java index bc01a3a51..19a4122c2 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceActiveAppearance.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceActiveAppearance.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceIdiom.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceIdiom.java index 705cd18ce..35feb37f1 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceIdiom.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceIdiom.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -61,7 +62,11 @@ public enum /**/UIUserInterfaceIdiom/**/ implements ValuedEnum { /** * @since Available in iOS 14.0 and later. */ - Mac(5L); + Mac(5L), + /** + * @since Available in iOS 17.0 and later. + */ + Vision(6L); /**/ private final long n; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLayoutDirection.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLayoutDirection.java index 163343161..ae398acc2 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLayoutDirection.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLayoutDirection.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLevel.java index 459f4d132..c886e6f3b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLevel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceLevel.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceSizeClass.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceSizeClass.java index 59d972d71..1a518848a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceSizeClass.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceSizeClass.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceStyle.java index 66242e2e3..c2aed7f81 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserInterfaceStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationAction.java index 10fc07bf9..67c3e2c95 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionBehavior.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionBehavior.java index 2c637efc3..9dfb3d039 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionBehavior.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionBehavior.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionContext.java index 909b6a7dd..f964850b7 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActionContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActivationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActivationMode.java index f71c929a8..c45ef3e6b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActivationMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationActivationMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationCategory.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationCategory.java index ccb6ebba1..d4dc60e06 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationCategory.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationCategory.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationSettings.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationSettings.java index cdf04b0ff..4a5453da9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationSettings.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationSettings.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationType.java index 600bbb43d..1c824bfc9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIUserNotificationType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffect.java index 83b9b406e..e23bbb8a8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.rt.annotation.WeaklyLinked; diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffectStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffectStyle.java index 6dff13790..2c3747190 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffectStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVibrancyEffectStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideo.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideo.java index df3cb06dc..d4939fb40 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideo.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideo.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorController.java index 54e619da8..bf33edd2a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegate.java index e6f1fa9a9..3f15f5032 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegateAdapter.java index 109ace236..597400e88 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVideoEditorControllerDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIView.java index 603e8f85e..12d07127d 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -47,7 +48,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIView/**/ extends /**/UIResponder/**/ - /**/implements NSCoding, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate, UIAccessibilityIdentification, UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem/**/ { + /**/implements NSCoding, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate, UITraitChangeObservable, UIAccessibilityIdentification, UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem/**/ { /**/public static class UIViewPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UIView.class); }/**/ @@ -430,6 +431,8 @@ public UIView() {} */ @Property(selector = "appliedContentSizeCategoryLimitsDescription") public native String getAppliedContentSizeCategoryLimitsDescription(); + @Property(selector = "traitOverrides") + public native UITraitOverrides getTraitOverrides(); /** * @since Available in iOS 11.0 and later. */ @@ -500,6 +503,10 @@ public UIView() {} */ @Property(selector = "setLargeContentImageInsets:") public native void setLargeContentImageInsets(@ByVal UIEdgeInsets v); + @Property(selector = "hoverStyle") + public native UIHoverStyle getHoverStyle(); + @Property(selector = "setHoverStyle:") + public native void setHoverStyle(UIHoverStyle v); /** * @since Available in iOS 9.0 and later. */ @@ -641,6 +648,11 @@ public UIView() {} public static native void animate(double duration, @Block Runnable animations, @Block VoidBooleanBlock completion); @Method(selector = "animateWithDuration:animations:") public static native void animate(double duration, @Block Runnable animations); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "animateWithSpringDuration:bounce:initialSpringVelocity:delay:options:animations:completion:") + public static native void animateWithSpring(double duration, @MachineSizedFloat double bounce, @MachineSizedFloat double velocity, double delay, UIViewAnimationOptions options, @Block Runnable animations, @Block VoidBooleanBlock completion); @Method(selector = "animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:") public static native void animate(double duration, double delay, @MachineSizedFloat double dampingRatio, @MachineSizedFloat double velocity, UIViewAnimationOptions options, @Block Runnable animations, @Block VoidBooleanBlock completion); @Method(selector = "transitionWithView:duration:options:animations:completion:") @@ -810,6 +822,8 @@ public UIView() {} @Deprecated @Method(selector = "setAnimationTransition:forView:cache:") public static native void setAnimationTransition(UIViewAnimationTransition transition, UIView view, boolean cache); + @Method(selector = "updateTraitsIfNeeded") + public native void updateTraitsIfNeeded(); /** * @since Available in iOS 11.0 and later. */ @@ -828,6 +842,10 @@ public UIView() {} public native void draw(@ByVal CGRect rect, UIViewPrintFormatter formatter); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @Method(selector = "traitCollectionDidChange:") public native void traitCollectionDidChange(UITraitCollection previousTraitCollection); @Method(selector = "convertPoint:toCoordinateSpace:") @@ -866,5 +884,12 @@ public UIView() {} public native void layoutSublayers(CALayer layer); @Method(selector = "actionForLayer:forKey:") public native CAAction getAction(CALayer layer, String event); + @Method(selector = "unregisterForTraitChanges:") + public native void unregisterForTraitChanges(UITraitChangeRegistration registration); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "frameInView:") + public native @ByVal CGRect frameInView(UIView referenceView); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimating.java index 8165db78f..6c409ac74 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingAdapter.java index f78be3870..bebeea9e7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingPosition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingPosition.java index 6b228609c..f8e4e3071 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingPosition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingPosition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingState.java index 7fd363b1b..5f9016817 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimatingState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationCurve.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationCurve.java index 5b5df1c22..c338b0af4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationCurve.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationCurve.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationOptions.java index 4e82e53bd..17a113390 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationTransition.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationTransition.java index d37346a0a..ee848b376 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationTransition.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAnimationTransition.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAutoresizing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAutoresizing.java index 3b2956d60..45443cf54 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAutoresizing.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewAutoresizing.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewConfigurationState.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewConfigurationState.java index 48d1d5d42..55fb9586d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewConfigurationState.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewConfigurationState.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewContentMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewContentMode.java index 1f473e601..5e75c65f3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewContentMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewContentMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewController.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewController.java index 629d1a1d7..397e8e601 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewController.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewController.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ import org.robovm.apple.iad.ADInterstitialPresentationPolicy; import org.robovm.apple.mediaplayer.MPMoviePlayerViewController; @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIViewController/**/ extends /**/UIResponder/**/ - /**/implements NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment, UIStateRestoring, NSExtensionRequestHandling/**/ { + /**/implements NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment, UIStateRestoring, NSExtensionRequestHandling, UITraitChangeObservable/**/ { public static class Notifications { /** @@ -364,6 +365,21 @@ public UIViewController() {} */ @Property(selector = "prefersPointerLocked") public native boolean prefersPointerLocked(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "contentUnavailableConfiguration") + public native UIContentConfiguration getContentUnavailableConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setContentUnavailableConfiguration:") + public native void setContentUnavailableConfiguration(UIContentConfiguration v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "contentUnavailableConfigurationState") + public native UIContentUnavailableConfigurationState getContentUnavailableConfigurationState(); /** * @since Available in iOS 9.0 and later. * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. @@ -371,6 +387,8 @@ public UIViewController() {} @Deprecated @Property(selector = "previewActionItems") public native @org.robovm.rt.bro.annotation.Marshaler(NSArray.AsListMarshaler.class) List getPreviewActionItems(); + @Property(selector = "traitOverrides") + public native UITraitOverrides getTraitOverrides(); @Property(selector = "navigationItem") public native UINavigationItem getNavigationItem(); @Property(selector = "hidesBottomBarWhenPushed") @@ -590,6 +608,11 @@ public void dismissMoviePlayerViewController() { public native UIStoryboardSegue getSegueForUnwinding(UIViewController toViewController, UIViewController fromViewController, String identifier); @Method(selector = "viewWillAppear:") public native void viewWillAppear(boolean animated); + /** + * @since Available in iOS 13.0 and later. + */ + @Method(selector = "viewIsAppearing:") + public native void viewIsAppearing(boolean animated); @Method(selector = "viewDidAppear:") public native void viewDidAppear(boolean animated); @Method(selector = "viewWillDisappear:") @@ -677,8 +700,16 @@ public void dismissMoviePlayerViewController() { public native void beginAppearanceTransition(boolean isAppearing, boolean animated); @Method(selector = "endAppearanceTransition") public native void endAppearanceTransition(); + /** + * @deprecated Deprecated in iOS 17.0. Use the traitOverrides property on the child view controller instead + */ + @Deprecated @Method(selector = "setOverrideTraitCollection:forChildViewController:") public native void setOverrideTraitCollection(UITraitCollection collection, UIViewController childViewController); + /** + * @deprecated Deprecated in iOS 17.0. Use the traitOverrides property on the child view controller instead + */ + @Deprecated @Method(selector = "overrideTraitCollectionForChildViewController:") public native UITraitCollection getOverrideTraitCollection(UIViewController childViewController); /** @@ -721,14 +752,14 @@ public void dismissMoviePlayerViewController() { public native void removeKeyCommand(UIKeyCommand keyCommand); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Method(selector = "registerForPreviewingWithDelegate:sourceView:") public native UIViewControllerPreviewing registerForPreviewing(UIViewControllerPreviewingDelegate delegate, UIView sourceView); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Method(selector = "unregisterForPreviewingWithContext:") @@ -748,6 +779,18 @@ public void dismissMoviePlayerViewController() { */ @Method(selector = "setNeedsUpdateOfPrefersPointerLocked") public native void setNeedsUpdateOfPrefersPointerLocked(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setNeedsUpdateContentUnavailableConfiguration") + public native void setNeedsUpdateContentUnavailableConfiguration(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "updateContentUnavailableConfigurationUsingState:") + public native void updateContentUnavailableConfigurationUsingState(UIContentUnavailableConfigurationState state); + @Method(selector = "updateTraitsIfNeeded") + public native void updateTraitsIfNeeded(); @Method(selector = "setToolbarItems:animated:") public native void setToolbarItems(NSArray toolbarItems, boolean animated); @Method(selector = "collapseSecondaryViewController:forSplitViewController:") @@ -756,6 +799,10 @@ public void dismissMoviePlayerViewController() { public native UIViewController separateSecondaryViewController(UISplitViewController splitViewController); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated @Method(selector = "traitCollectionDidChange:") public native void traitCollectionDidChange(UITraitCollection previousTraitCollection); @Method(selector = "preferredContentSizeDidChangeForChildContentContainer:") @@ -778,5 +825,7 @@ public void dismissMoviePlayerViewController() { public native void didUpdateFocus(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator); @Method(selector = "beginRequestWithExtensionContext:") public native void beginRequest(NSExtensionContext context); + @Method(selector = "unregisterForTraitChanges:") + public native void unregisterForTraitChanges(UITraitChangeRegistration registration); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioning.java index 521d125ca..26adc6cce 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioning.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioning.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioningAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioningAdapter.java index 7141c815c..0b3bed49c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioningAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerAnimatedTransitioningAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioning.java index de854aae6..3b4cb11e8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioning.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioning.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioningAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioningAdapter.java index 940638835..4d6181180 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioningAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerContextTransitioningAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioning.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioning.java index 630cf0a3b..66559673c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioning.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioning.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioningAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioningAdapter.java index b660e5ac1..e53c00509 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioningAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerInteractiveTransitioningAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewing.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewing.java index a511e6871..9cc16bb34 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewing.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewing.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -56,35 +57,35 @@ /**/ /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Property(selector = "previewingGestureRecognizerForFailureRelationship") UIGestureRecognizer getPreviewingGestureRecognizerForFailureRelationship(); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Property(selector = "delegate") UIViewControllerPreviewingDelegate getDelegate(); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Property(selector = "sourceView") UIView getSourceView(); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Property(selector = "sourceRect") @ByVal CGRect getSourceRect(); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Property(selector = "setSourceRect:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingAdapter.java index 97d7a6de3..98e813918 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -57,35 +58,35 @@ /**/ /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("previewingGestureRecognizerForFailureRelationship") public UIGestureRecognizer getPreviewingGestureRecognizerForFailureRelationship() { return null; } /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("delegate") public UIViewControllerPreviewingDelegate getDelegate() { return null; } /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("sourceView") public UIView getSourceView() { return null; } /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("sourceRect") public @ByVal CGRect getSourceRect() { return null; } /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("setSourceRect:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegate.java index 046869f45..5f7672ec7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -61,14 +62,14 @@ /**/ /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Method(selector = "previewingContext:viewControllerForLocation:") UIViewController getViewControllerForLocation(UIViewControllerPreviewing previewingContext, @ByVal CGPoint location); /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @Method(selector = "previewingContext:commitViewController:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegateAdapter.java index df41bf879..0f2d22031 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerPreviewingDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -61,14 +62,14 @@ /**/ /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("previewingContext:viewControllerForLocation:") public UIViewController getViewControllerForLocation(UIViewControllerPreviewing previewingContext, @ByVal CGPoint location) { return null; } /** * @since Available in iOS 9.0 and later. - * @deprecated Deprecated in iOS 13.0. Use UIContextMenuInteraction + * @deprecated Deprecated in iOS 13.0. UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. */ @Deprecated @NotImplemented("previewingContext:commitViewController:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestoration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestoration.java index 8ad76794d..4089c849a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestoration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestoration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestorationAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestorationAdapter.java index 63039d2a3..875f17e19 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestorationAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerRestorationAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinator.java index 11d77fffb..c0396496b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorAdapter.java index d9c0c5d8d..2105bd8e8 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContext.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContext.java index 77a2b8d7a..34e105233 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContext.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContext.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContextAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContextAdapter.java index 8885a5f58..8bd5ffc55 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContextAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitionCoordinatorContextAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegate.java index dfda794a0..203f3eee5 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegateAdapter.java index 99b3ce338..34a69dfca 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewControllerTransitioningDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimating.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimating.java index 1c7662ea9..e3b6442b7 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimating.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimating.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimatingAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimatingAdapter.java index 40d303411..b6feb0708 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimatingAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewImplicitlyAnimatingAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewKeyframeAnimationOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewKeyframeAnimationOptions.java index a35540279..fe62e4525 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewKeyframeAnimationOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewKeyframeAnimationOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPrintFormatter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPrintFormatter.java index ea0fe6770..560d5672c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPrintFormatter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPrintFormatter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPropertyAnimator.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPropertyAnimator.java index 03996cf16..e99ff1241 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPropertyAnimator.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewPropertyAnimator.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewTintAdjustmentMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewTintAdjustmentMode.java index e7b9b9cc1..5c8e5d97f 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewTintAdjustmentMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIViewTintAdjustmentMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffect.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffect.java index b0fbecd7f..1a328fa33 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffect.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffect.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffectView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffectView.java index 97c717fce..bc4c3cd78 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffectView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIVisualEffectView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationBreakingMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationBreakingMode.java index 50770e73d..dabdccb6c 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationBreakingMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationBreakingMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationMode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationMode.java index e1c323b6e..b8af6b321 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationMode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebPaginationMode.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebView.java index 08941804a..a10386c8c 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebView.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegate.java index 888b19d3c..ace328d3a 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegateAdapter.java index eef8a1626..1a32c0406 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewNavigationType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewNavigationType.java index c49c244cc..7677cb706 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewNavigationType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWebViewNavigationType.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindow.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindow.java index 8d1ea7687..d76237ca8 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindow.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindow.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowLevel.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowLevel.java index a83cf07e4..a11df00d9 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowLevel.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowLevel.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScene.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScene.java index 5cd7ec22b..40bf6d563 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScene.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScene.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -49,7 +50,7 @@ /**/@Library("UIKit") @NativeClass/**/ /**/public/**/ class /**/UIWindowScene/**/ extends /**/UIScene/**/ - /**//**/ { + /**/implements UITraitEnvironment, UITraitChangeObservable/**/ { /**/public static class UIWindowScenePtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(UIWindowScene.class); }/**/ @@ -104,6 +105,8 @@ protected UIWindowScene() {} public native UISceneWindowingBehaviors getWindowingBehaviors(); @Property(selector = "isFullScreen") public native boolean isFullScreen(); + @Property(selector = "traitOverrides") + public native UITraitOverrides getTraitOverrides(); /** * @since Available in iOS 15.0 and later. */ @@ -124,5 +127,13 @@ protected UIWindowScene() {} */ @Method(selector = "requestGeometryUpdateWithPreferences:errorHandler:") public native void requestGeometryUpdate(UIWindowSceneGeometryPreferences geometryPreferences, @Block VoidBlock1 errorHandler); + /** + * @deprecated Deprecated in iOS 17.0. Use the trait change registration APIs declared in the UITraitChangeObservable protocol + */ + @Deprecated + @Method(selector = "traitCollectionDidChange:") + public native void traitCollectionDidChange(UITraitCollection previousTraitCollection); + @Method(selector = "unregisterForTraitChanges:") + public native void unregisterForTraitChanges(UITraitChangeRegistration registration); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationAction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationAction.java index 6eb22a8fb..9e2fc1b0b 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationAction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationAction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationConfiguration.java index 90f21fe87..7abb67559 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationConfiguration.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationInteraction.java index 32e28fa8d..f0184c998 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationInteraction.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationInteraction.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationRequestOptions.java index fdd05d269..974aff832 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneActivationRequestOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ @@ -60,10 +61,30 @@ public UIWindowSceneActivationRequestOptions() {} protected UIWindowSceneActivationRequestOptions(SkipInit skipInit) { super(skipInit); } /**/ /**/ + /** + * @since Available in iOS 15.0 and later. + * @deprecated Deprecated in iOS 17.0. Place use .placement with an appropriate UIWindowScenePlacement. + */ + @Deprecated @Property(selector = "preferredPresentationStyle") public native UIWindowScenePresentationStyle getPreferredPresentationStyle(); + /** + * @since Available in iOS 15.0 and later. + * @deprecated Deprecated in iOS 17.0. Place use .placement with an appropriate UIWindowScenePlacement. + */ + @Deprecated @Property(selector = "setPreferredPresentationStyle:") public native void setPreferredPresentationStyle(UIWindowScenePresentationStyle v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "placement") + public native UIWindowScenePlacement getPlacement(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setPlacement:") + public native void setPlacement(UIWindowScenePlacement v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegate.java index b7ca5c334..4b50db7ef 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegate.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegateAdapter.java index efd63d6ca..eb109abcd 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDelegateAdapter.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDestructionRequestOptions.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDestructionRequestOptions.java index 89b459e6a..5cc2a35e0 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDestructionRequestOptions.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDestructionRequestOptions.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDismissalAnimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDismissalAnimation.java index 115e01057..367a72e56 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDismissalAnimation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDismissalAnimation.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDragInteraction.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDragInteraction.java new file mode 100644 index 000000000..861efe3c3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneDragInteraction.java @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIWindowSceneDragInteraction/**/ + extends /**/NSObject/**/ + /**/implements UIInteraction/**/ { + + /**/public static class UIWindowSceneDragInteractionPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIWindowSceneDragInteraction.class); }/**/ + /**//**/ + /**/ + public UIWindowSceneDragInteraction() {} + protected UIWindowSceneDragInteraction(Handle h, long handle) { super(h, handle); } + protected UIWindowSceneDragInteraction(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "gestureForFailureRelationships") + public native UIGestureRecognizer getGestureForFailureRelationships(); + @Property(selector = "view") + public native UIView getView(); + /**/ + /**//**/ + /**/ + @Method(selector = "willMoveToView:") + public native void willMoveToView(UIView view); + @Method(selector = "didMoveToView:") + public native void didMoveToView(UIView view); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometry.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometry.java index a9616295b..dc48ec970 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometry.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometry.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferences.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferences.java index 0956af580..5d40cdf8e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferences.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferences.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesIOS.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesIOS.java index f4e7d213b..4399965ec 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesIOS.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesIOS.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesMac.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesMac.java index 69de7808a..fc904ce77 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesMac.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneGeometryPreferencesMac.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePlacement.java new file mode 100644 index 000000000..4a17dd48c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePlacement.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIWindowScenePlacement/**/ + extends /**/NSObject/**/ + /**//**/ { + + /**/public static class UIWindowScenePlacementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIWindowScenePlacement.class); }/**/ + /**//**/ + /**/ + protected UIWindowScenePlacement() {} + protected UIWindowScenePlacement(Handle h, long handle) { super(h, handle); } + protected UIWindowScenePlacement(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePresentationStyle.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePresentationStyle.java index 91295cc7d..b7d3eff69 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePresentationStyle.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowScenePresentationStyle.java @@ -39,6 +39,7 @@ import org.robovm.apple.intents.*; import org.robovm.apple.usernotifications.*; import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneProminentPlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneProminentPlacement.java new file mode 100644 index 000000000..abfcc5bee --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneProminentPlacement.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIWindowSceneProminentPlacement/**/ + extends /**/UIWindowScenePlacement/**/ + /**//**/ { + + /**/public static class UIWindowSceneProminentPlacementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIWindowSceneProminentPlacement.class); }/**/ + /**//**/ + /**/ + protected UIWindowSceneProminentPlacement() {} + protected UIWindowSceneProminentPlacement(Handle h, long handle) { super(h, handle); } + protected UIWindowSceneProminentPlacement(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "prominentPlacement") + public static native UIWindowSceneProminentPlacement prominentPlacement(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneStandardPlacement.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneStandardPlacement.java new file mode 100644 index 000000000..5d86e140d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uikit/UIWindowSceneStandardPlacement.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.uikit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreanimation.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coredata.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.coretext.*; +import org.robovm.apple.corelocation.*; +import org.robovm.apple.cloudkit.*; +import org.robovm.apple.fileprovider.*; +import org.robovm.apple.intents.*; +import org.robovm.apple.usernotifications.*; +import org.robovm.apple.linkpresentation.*; +import org.robovm.apple.symbols.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("UIKit") @NativeClass/**/ +/**/public/**/ class /**/UIWindowSceneStandardPlacement/**/ + extends /**/UIWindowScenePlacement/**/ + /**//**/ { + + /**/public static class UIWindowSceneStandardPlacementPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(UIWindowSceneStandardPlacement.class); }/**/ + /**//**/ + /**/ + protected UIWindowSceneStandardPlacement() {} + protected UIWindowSceneStandardPlacement(Handle h, long handle) { super(h, handle); } + protected UIWindowSceneStandardPlacement(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + + /**/ + /**//**/ + /**/ + @Method(selector = "standardPlacement") + public static native UIWindowSceneStandardPlacement standardPlacement(); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/uniformtypeid/UTType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/uniformtypeid/UTType.java index a6d02b412..6b9f72d30 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/uniformtypeid/UTType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/uniformtypeid/UTType.java @@ -771,6 +771,11 @@ public static class CoreTypes { */ @GlobalValue(symbol="UTTypeLog", optional=true) public static native UTType Log(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="UTTypeAHAP", optional=true) + public static native UTType AHAP(); } @Library("UniformTypeIdentifiers") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservation.java new file mode 100644 index 000000000..f7793d1d8 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservation.java @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNAnimalBodyPoseObservation/**/ + extends /**/VNRecognizedPointsObservation/**/ + /**//**/ { + + /**/public static class VNAnimalBodyPoseObservationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNAnimalBodyPoseObservation.class); }/**/ + /**//**/ + /**/ + protected VNAnimalBodyPoseObservation() {} + protected VNAnimalBodyPoseObservation(Handle h, long handle) { super(h, handle); } + protected VNAnimalBodyPoseObservation(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "availableJointNames") + public native NSArray getAvailableJointNames(); + @Property(selector = "availableJointGroupNames") + public native NSArray getAvailableJointGroupNames(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "recognizedPointForJointName:error:") + public native VNRecognizedPoint getRecognizedPoint(VNAnimalBodyPoseObservationJointName jointName, NSError.NSErrorPtr error); + @Method(selector = "recognizedPointsForJointsGroupName:error:") + public native NSDictionary getRecognizedPoints(VNAnimalBodyPoseObservationJointsGroupName jointsGroupName, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointName.java new file mode 100644 index 000000000..e8450f024 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointName.java @@ -0,0 +1,349 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/**/ +/**/@Library("Vision") @StronglyLinked/**/ +@Marshaler(/**/VNAnimalBodyPoseObservationJointName/**/.Marshaler.class) +/**/public/**/ class /**/VNAnimalBodyPoseObservationJointName/**/ + extends /**/VNRecognizedPointKey/**/ + /**//**/ { + + static { Bro.bind(/**/VNAnimalBodyPoseObservationJointName/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static VNAnimalBodyPoseObservationJointName toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return VNAnimalBodyPoseObservationJointName.valueOf(o); + } + @MarshalsPointer + public static long toNative(VNAnimalBodyPoseObservationJointName o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(VNAnimalBodyPoseObservationJointName.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (VNAnimalBodyPoseObservationJointName o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftEarTop = new VNAnimalBodyPoseObservationJointName("LeftEarTop"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightEarTop = new VNAnimalBodyPoseObservationJointName("RightEarTop"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftEarMiddle = new VNAnimalBodyPoseObservationJointName("LeftEarMiddle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightEarMiddle = new VNAnimalBodyPoseObservationJointName("RightEarMiddle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftEarBottom = new VNAnimalBodyPoseObservationJointName("LeftEarBottom"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightEarBottom = new VNAnimalBodyPoseObservationJointName("RightEarBottom"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftEye = new VNAnimalBodyPoseObservationJointName("LeftEye"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightEye = new VNAnimalBodyPoseObservationJointName("RightEye"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName Nose = new VNAnimalBodyPoseObservationJointName("Nose"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName Neck = new VNAnimalBodyPoseObservationJointName("Neck"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftFrontElbow = new VNAnimalBodyPoseObservationJointName("LeftFrontElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightFrontElbow = new VNAnimalBodyPoseObservationJointName("RightFrontElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftFrontKnee = new VNAnimalBodyPoseObservationJointName("LeftFrontKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightFrontKnee = new VNAnimalBodyPoseObservationJointName("RightFrontKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftFrontPaw = new VNAnimalBodyPoseObservationJointName("LeftFrontPaw"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightFrontPaw = new VNAnimalBodyPoseObservationJointName("RightFrontPaw"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftBackElbow = new VNAnimalBodyPoseObservationJointName("LeftBackElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightBackElbow = new VNAnimalBodyPoseObservationJointName("RightBackElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftBackKnee = new VNAnimalBodyPoseObservationJointName("LeftBackKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightBackKnee = new VNAnimalBodyPoseObservationJointName("RightBackKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName LeftBackPaw = new VNAnimalBodyPoseObservationJointName("LeftBackPaw"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName RightBackPaw = new VNAnimalBodyPoseObservationJointName("RightBackPaw"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName TailTop = new VNAnimalBodyPoseObservationJointName("TailTop"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName TailMiddle = new VNAnimalBodyPoseObservationJointName("TailMiddle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointName TailBottom = new VNAnimalBodyPoseObservationJointName("TailBottom"); + /**/ + + private static /**/VNAnimalBodyPoseObservationJointName/**/[] values = new /**/VNAnimalBodyPoseObservationJointName/**/[] {/**/LeftEarTop, RightEarTop, LeftEarMiddle, RightEarMiddle, LeftEarBottom, RightEarBottom, LeftEye, RightEye, Nose, Neck, LeftFrontElbow, RightFrontElbow, LeftFrontKnee, RightFrontKnee, LeftFrontPaw, RightFrontPaw, LeftBackElbow, RightBackElbow, LeftBackKnee, RightBackKnee, LeftBackPaw, RightBackPaw, TailTop, TailMiddle, TailBottom/**/}; + + /**/VNAnimalBodyPoseObservationJointName/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/VNAnimalBodyPoseObservationJointName/**/ valueOf(/**/NSString/**/ value) { + for (/**/VNAnimalBodyPoseObservationJointName/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/VNAnimalBodyPoseObservationJointName/**/.class.getName()); + } + + /**//**/ + + /**/@Library("Vision") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftEarTop", optional=true) + public static native NSString LeftEarTop(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightEarTop", optional=true) + public static native NSString RightEarTop(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftEarMiddle", optional=true) + public static native NSString LeftEarMiddle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightEarMiddle", optional=true) + public static native NSString RightEarMiddle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftEarBottom", optional=true) + public static native NSString LeftEarBottom(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightEarBottom", optional=true) + public static native NSString RightEarBottom(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftEye", optional=true) + public static native NSString LeftEye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightEye", optional=true) + public static native NSString RightEye(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameNose", optional=true) + public static native NSString Nose(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameNeck", optional=true) + public static native NSString Neck(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftFrontElbow", optional=true) + public static native NSString LeftFrontElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightFrontElbow", optional=true) + public static native NSString RightFrontElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftFrontKnee", optional=true) + public static native NSString LeftFrontKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightFrontKnee", optional=true) + public static native NSString RightFrontKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftFrontPaw", optional=true) + public static native NSString LeftFrontPaw(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightFrontPaw", optional=true) + public static native NSString RightFrontPaw(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftBackElbow", optional=true) + public static native NSString LeftBackElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightBackElbow", optional=true) + public static native NSString RightBackElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftBackKnee", optional=true) + public static native NSString LeftBackKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightBackKnee", optional=true) + public static native NSString RightBackKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameLeftBackPaw", optional=true) + public static native NSString LeftBackPaw(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameRightBackPaw", optional=true) + public static native NSString RightBackPaw(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameTailTop", optional=true) + public static native NSString TailTop(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameTailMiddle", optional=true) + public static native NSString TailMiddle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointNameTailBottom", optional=true) + public static native NSString TailBottom(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointsGroupName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointsGroupName.java new file mode 100644 index 000000000..45ff50e81 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNAnimalBodyPoseObservationJointsGroupName.java @@ -0,0 +1,178 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/**/ +/**/@Library("Vision") @StronglyLinked/**/ +@Marshaler(/**/VNAnimalBodyPoseObservationJointsGroupName/**/.Marshaler.class) +/**/public/**/ class /**/VNAnimalBodyPoseObservationJointsGroupName/**/ + extends /**/VNRecognizedPointGroupKey/**/ + /**//**/ { + + static { Bro.bind(/**/VNAnimalBodyPoseObservationJointsGroupName/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static VNAnimalBodyPoseObservationJointsGroupName toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return VNAnimalBodyPoseObservationJointsGroupName.valueOf(o); + } + @MarshalsPointer + public static long toNative(VNAnimalBodyPoseObservationJointsGroupName o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(VNAnimalBodyPoseObservationJointsGroupName.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (VNAnimalBodyPoseObservationJointsGroupName o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName Head = new VNAnimalBodyPoseObservationJointsGroupName("Head"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName Trunk = new VNAnimalBodyPoseObservationJointsGroupName("Trunk"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName Forelegs = new VNAnimalBodyPoseObservationJointsGroupName("Forelegs"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName Hindlegs = new VNAnimalBodyPoseObservationJointsGroupName("Hindlegs"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName Tail = new VNAnimalBodyPoseObservationJointsGroupName("Tail"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNAnimalBodyPoseObservationJointsGroupName All = new VNAnimalBodyPoseObservationJointsGroupName("All"); + /**/ + + private static /**/VNAnimalBodyPoseObservationJointsGroupName/**/[] values = new /**/VNAnimalBodyPoseObservationJointsGroupName/**/[] {/**/Head, Trunk, Forelegs, Hindlegs, Tail, All/**/}; + + /**/VNAnimalBodyPoseObservationJointsGroupName/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/VNAnimalBodyPoseObservationJointsGroupName/**/ valueOf(/**/NSString/**/ value) { + for (/**/VNAnimalBodyPoseObservationJointsGroupName/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/VNAnimalBodyPoseObservationJointsGroupName/**/.class.getName()); + } + + /**//**/ + + /**/@Library("Vision") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameHead", optional=true) + public static native NSString Head(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameTrunk", optional=true) + public static native NSString Trunk(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameForelegs", optional=true) + public static native NSString Forelegs(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameHindlegs", optional=true) + public static native NSString Hindlegs(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameTail", optional=true) + public static native NSString Tail(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNAnimalBodyPoseObservationJointsGroupNameAll", optional=true) + public static native NSString All(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeCompositeType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeCompositeType.java new file mode 100644 index 000000000..6b27718ea --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeCompositeType.java @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/VNBarcodeCompositeType/**/ implements ValuedEnum { + /**/ + None(0L), + Linked(1L), + GS1TypeA(2L), + GS1TypeB(3L), + GS1TypeC(4L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/VNBarcodeCompositeType/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/VNBarcodeCompositeType/**/ valueOf(long n) { + for (/**/VNBarcodeCompositeType/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/VNBarcodeCompositeType/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeObservation.java index 9b807d17b..58747dc60 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeObservation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeObservation.java @@ -62,11 +62,45 @@ public VNBarcodeObservation() {} public native CIBarcodeDescriptor getBarcodeDescriptor(); @Property(selector = "payloadStringValue") public native String getPayloadStringValue(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "payloadData") + public native NSData getPayloadData(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isGS1DataCarrier") + public native boolean isGS1DataCarrier(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "isColorInverted") + public native boolean isColorInverted(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supplementalCompositeType") + public native VNBarcodeCompositeType getSupplementalCompositeType(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supplementalPayloadString") + public native String getSupplementalPayloadString(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "supplementalPayloadData") + public native NSData getSupplementalPayloadData(); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft:") + public static native VNBarcodeObservation create(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint topRight, @ByVal CGPoint bottomRight, @ByVal CGPoint bottomLeft); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeSymbology.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeSymbology.java index f6fabef4a..1f648b7ed 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeSymbology.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNBarcodeSymbology.java @@ -186,9 +186,13 @@ public static long toNative(List l, long flags) { * @since Available in iOS 15.0 and later. */ public static final VNBarcodeSymbology MicroQR = new VNBarcodeSymbology("MicroQR"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNBarcodeSymbology MSIPlessey = new VNBarcodeSymbology("MSIPlessey"); /**/ - private static /**/VNBarcodeSymbology/**/[] values = new /**/VNBarcodeSymbology/**/[] {/**/Aztec, Code39, Code39Checksum, Code39FullASCII, Code39FullASCIIChecksum, Code93, Code93i, Code128, DataMatrix, EAN8, EAN13, I2of5, I2of5Checksum, ITF14, PDF417, QR, UPCE, Codabar, GS1DataBar, GS1DataBarExpanded, GS1DataBarLimited, MicroPDF417, MicroQR/**/}; + private static /**/VNBarcodeSymbology/**/[] values = new /**/VNBarcodeSymbology/**/[] {/**/Aztec, Code39, Code39Checksum, Code39FullASCII, Code39FullASCIIChecksum, Code93, Code93i, Code128, DataMatrix, EAN8, EAN13, I2of5, I2of5Checksum, ITF14, PDF417, QR, UPCE, Codabar, GS1DataBar, GS1DataBarExpanded, GS1DataBarLimited, MicroPDF417, MicroQR, MSIPlessey/**/}; /**/VNBarcodeSymbology/**/ (String getterName) { super(Values.class, getterName); @@ -326,6 +330,11 @@ public static class Values { */ @GlobalValue(symbol="VNBarcodeSymbologyMicroQR", optional=true) public static native NSString MicroQR(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNBarcodeSymbologyMSIPlessey", optional=true) + public static native NSString MSIPlessey(); /**/ } } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNClassifyImageRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNClassifyImageRequest.java index 4e8394de4..988de4d4a 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNClassifyImageRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNClassifyImageRequest.java @@ -51,6 +51,7 @@ /**/static { ObjCRuntime.bind(VNClassifyImageRequest.class); }/**/ /**/ public static final int Revision1 = 1; + public static final int Revision2 = 2; /**/ /**/ public VNClassifyImageRequest() {} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNComputeStage.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNComputeStage.java new file mode 100644 index 000000000..71041d901 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNComputeStage.java @@ -0,0 +1,142 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/**/ +/**/@Library("Vision") @StronglyLinked/**/ +@Marshaler(/**/VNComputeStage/**/.Marshaler.class) +/**/public/**/ class /**/VNComputeStage/**/ + extends /**/GlobalValueEnumeration/**/ + /**//**/ { + + static { Bro.bind(/**/VNComputeStage/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static VNComputeStage toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return VNComputeStage.valueOf(o); + } + @MarshalsPointer + public static long toNative(VNComputeStage o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(VNComputeStage.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (VNComputeStage o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNComputeStage Main = new VNComputeStage("Main"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNComputeStage PostProcessing = new VNComputeStage("PostProcessing"); + /**/ + + private static /**/VNComputeStage/**/[] values = new /**/VNComputeStage/**/[] {/**/Main, PostProcessing/**/}; + + /**/VNComputeStage/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/VNComputeStage/**/ valueOf(/**/NSString/**/ value) { + for (/**/VNComputeStage/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/VNComputeStage/**/.class.getName()); + } + + /**//**/ + + /**/@Library("Vision") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNComputeStageMain", optional=true) + public static native NSString Main(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNComputeStagePostProcessing", optional=true) + public static native NSString PostProcessing(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectAnimalBodyPoseRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectAnimalBodyPoseRequest.java new file mode 100644 index 000000000..0d9303ebf --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectAnimalBodyPoseRequest.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNDetectAnimalBodyPoseRequest/**/ + extends /**/VNImageBasedRequest/**/ + /**//**/ { + + /**/public static class VNDetectAnimalBodyPoseRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNDetectAnimalBodyPoseRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNDetectAnimalBodyPoseRequest() {} + protected VNDetectAnimalBodyPoseRequest(Handle h, long handle) { super(h, handle); } + protected VNDetectAnimalBodyPoseRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNDetectAnimalBodyPoseRequest(@Block VoidBlock2 completionHandler) { super(completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + @Method(selector = "supportedJointNamesAndReturnError:") + public native NSArray supportedJointNamesAndReturnError(NSError.NSErrorPtr error); + @Method(selector = "supportedJointsGroupNamesAndReturnError:") + public native NSArray supportedJointsGroupNamesAndReturnError(NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectBarcodesRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectBarcodesRequest.java index f5d1dab98..aad2039ed 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectBarcodesRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectBarcodesRequest.java @@ -53,6 +53,7 @@ public static final int Revision1 = 1; public static final int Revision2 = 2; public static final int Revision3 = 3; + public static final int Revision4 = 4; /**/ /**/ public VNDetectBarcodesRequest() {} @@ -73,6 +74,16 @@ public VNDetectBarcodesRequest() {} public native NSArray getSymbologies(); @Property(selector = "setSymbologies:") public native void setSymbologies(NSArray v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "coalesceCompositeSymbologies") + public native boolean isCoalesceCompositeSymbologies(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setCoalesceCompositeSymbologies:") + public native void setCoalesceCompositeSymbologies(boolean v); @Property(selector = "results") public native NSArray getResults(); /** diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectFaceCaptureQualityRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectFaceCaptureQualityRequest.java index fbe30701a..88295ba51 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectFaceCaptureQualityRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectFaceCaptureQualityRequest.java @@ -52,6 +52,7 @@ /**/ public static final int Revision1 = 1; public static final int Revision2 = 2; + public static final int Revision3 = 3; /**/ /**/ public VNDetectFaceCaptureQualityRequest() {} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPose3DRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPose3DRequest.java new file mode 100644 index 000000000..d9cbe17c7 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPose3DRequest.java @@ -0,0 +1,92 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNDetectHumanBodyPose3DRequest/**/ + extends /**/VNStatefulRequest/**/ + /**//**/ { + + /**/public static class VNDetectHumanBodyPose3DRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNDetectHumanBodyPose3DRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNDetectHumanBodyPose3DRequest() {} + protected VNDetectHumanBodyPose3DRequest(Handle h, long handle) { super(h, handle); } + protected VNDetectHumanBodyPose3DRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNDetectHumanBodyPose3DRequest(@Block VoidBlock2 completionHandler) { super((SkipInit) null); initObject(init(completionHandler)); } + @Method(selector = "initWithFrameAnalysisSpacing:completionHandler:") + public VNDetectHumanBodyPose3DRequest(@ByVal CMTime frameAnalysisSpacing, @Block VoidBlock2 completionHandler) { super(frameAnalysisSpacing, completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCompletionHandler:") + protected native @Pointer long init(@Block VoidBlock2 completionHandler); + @Method(selector = "supportedJointNamesAndReturnError:") + public native NSArray supportedJointNamesAndReturnError(NSError.NSErrorPtr error); + @Method(selector = "supportedJointsGroupNamesAndReturnError:") + public native NSArray supportedJointsGroupNamesAndReturnError(NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPoseRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPoseRequest.java index 8bdf6080c..1de93283d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPoseRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanBodyPoseRequest.java @@ -80,20 +80,50 @@ public VNDetectHumanBodyPoseRequest() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportedJointNamesAndReturnError:") + public native NSArray supportedJointNamesAndReturnError(NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportedJointsGroupNamesAndReturnError:") + public native NSArray supportedJointsGroupNamesAndReturnError(NSError.NSErrorPtr error); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointNamesAndReturnError + */ + @Deprecated public static NSArray getSupportedJointNames(@MachineSizedUInt long revision) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSArray result = getSupportedJointNames(revision, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointNamesAndReturnError + */ + @Deprecated @Method(selector = "supportedJointNamesForRevision:error:") private static native NSArray getSupportedJointNames(@MachineSizedUInt long revision, NSError.NSErrorPtr error); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointsGroupNamesAndReturnError + */ + @Deprecated public static NSArray getSupportedJointsGroupNames(@MachineSizedUInt long revision) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSArray result = getSupportedJointsGroupNames(revision, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointsGroupNamesAndReturnError + */ + @Deprecated @Method(selector = "supportedJointsGroupNamesForRevision:error:") private static native NSArray getSupportedJointsGroupNames(@MachineSizedUInt long revision, NSError.NSErrorPtr error); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanHandPoseRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanHandPoseRequest.java index 95502074b..ea89818af 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanHandPoseRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNDetectHumanHandPoseRequest.java @@ -84,20 +84,50 @@ public VNDetectHumanHandPoseRequest() {} /**/ /**//**/ /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportedJointNamesAndReturnError:") + public native NSArray supportedJointNamesAndReturnError(NSError.NSErrorPtr error); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportedJointsGroupNamesAndReturnError:") + public native NSArray supportedJointsGroupNamesAndReturnError(NSError.NSErrorPtr error); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointNamesAndReturnError + */ + @Deprecated public static NSArray getSupportedJointNames(@MachineSizedUInt long revision) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSArray result = getSupportedJointNames(revision, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointNamesAndReturnError + */ + @Deprecated @Method(selector = "supportedJointNamesForRevision:error:") private static native NSArray getSupportedJointNames(@MachineSizedUInt long revision, NSError.NSErrorPtr error); + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointsGroupNamesAndReturnError + */ + @Deprecated public static NSArray getSupportedJointsGroupNames(@MachineSizedUInt long revision) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSArray result = getSupportedJointsGroupNames(revision, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } + /** + * @since Available in iOS 14.0 and later. + * @deprecated Deprecated in iOS 17.0. Use supportedJointsGroupNamesAndReturnError + */ + @Deprecated @Method(selector = "supportedJointsGroupNamesForRevision:error:") private static native NSArray getSupportedJointsGroupNames(@MachineSizedUInt long revision, NSError.NSErrorPtr error); /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNErrorCode.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNErrorCode.java index 67fc67bcb..44fbb955d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNErrorCode.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNErrorCode.java @@ -79,7 +79,15 @@ public enum /**/VNErrorCode/**/ implements NSErrorCode { /** * @since Available in iOS 16.0 and later. */ - Timeout(20L); + Timeout(20L), + /** + * @since Available in iOS 17.0 and later. + */ + UnsupportedComputeStage(21L), + /** + * @since Available in iOS 17.0 and later. + */ + UnsupportedComputeDevice(22L); /**/ /**/static { Bro.bind(VNErrorCode.class); }/**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateAttentionBasedSaliencyImageRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateAttentionBasedSaliencyImageRequest.java index 6e4591800..5e91f4425 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateAttentionBasedSaliencyImageRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateAttentionBasedSaliencyImageRequest.java @@ -51,6 +51,7 @@ /**/static { ObjCRuntime.bind(VNGenerateAttentionBasedSaliencyImageRequest.class); }/**/ /**/ public static final int Revision1 = 1; + public static final int Revision2 = 2; /**/ /**/ public VNGenerateAttentionBasedSaliencyImageRequest() {} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateForegroundInstanceMaskRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateForegroundInstanceMaskRequest.java new file mode 100644 index 000000000..13b792804 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateForegroundInstanceMaskRequest.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNGenerateForegroundInstanceMaskRequest/**/ + extends /**/VNImageBasedRequest/**/ + /**//**/ { + + /**/public static class VNGenerateForegroundInstanceMaskRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNGenerateForegroundInstanceMaskRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNGenerateForegroundInstanceMaskRequest() {} + protected VNGenerateForegroundInstanceMaskRequest(Handle h, long handle) { super(h, handle); } + protected VNGenerateForegroundInstanceMaskRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNGenerateForegroundInstanceMaskRequest(@Block VoidBlock2 completionHandler) { super(completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateImageFeaturePrintRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateImageFeaturePrintRequest.java index a03667052..7bda59c9d 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateImageFeaturePrintRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateImageFeaturePrintRequest.java @@ -51,6 +51,7 @@ /**/static { ObjCRuntime.bind(VNGenerateImageFeaturePrintRequest.class); }/**/ /**/ public static final int Revision1 = 1; + public static final int Revision2 = 2; /**/ /**/ public VNGenerateImageFeaturePrintRequest() {} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateObjectnessBasedSaliencyImageRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateObjectnessBasedSaliencyImageRequest.java index c89bce78a..ca591f238 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateObjectnessBasedSaliencyImageRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGenerateObjectnessBasedSaliencyImageRequest.java @@ -51,6 +51,7 @@ /**/static { ObjCRuntime.bind(VNGenerateObjectnessBasedSaliencyImageRequest.class); }/**/ /**/ public static final int Revision1 = 1; + public static final int Revision2 = 2; /**/ /**/ public VNGenerateObjectnessBasedSaliencyImageRequest() {} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGeneratePersonInstanceMaskRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGeneratePersonInstanceMaskRequest.java new file mode 100644 index 000000000..e544e25a0 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNGeneratePersonInstanceMaskRequest.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNGeneratePersonInstanceMaskRequest/**/ + extends /**/VNImageBasedRequest/**/ + /**//**/ { + + /**/public static class VNGeneratePersonInstanceMaskRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNGeneratePersonInstanceMaskRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNGeneratePersonInstanceMaskRequest() {} + protected VNGeneratePersonInstanceMaskRequest(Handle h, long handle) { super(h, handle); } + protected VNGeneratePersonInstanceMaskRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNGeneratePersonInstanceMaskRequest(@Block VoidBlock2 completionHandler) { super(completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservation.java new file mode 100644 index 000000000..9e86b7931 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservation.java @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNHumanBodyPose3DObservation/**/ + extends /**/VNRecognizedPoints3DObservation/**/ + /**//**/ { + + /**/public static class VNHumanBodyPose3DObservationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNHumanBodyPose3DObservation.class); }/**/ + /**//**/ + /**/ + protected VNHumanBodyPose3DObservation() {} + protected VNHumanBodyPose3DObservation(Handle h, long handle) { super(h, handle); } + protected VNHumanBodyPose3DObservation(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "heightEstimation") + public native VNHumanBodyPose3DObservationHeightEstimation getHeightEstimation(); + @Property(selector = "cameraOriginMatrix") + public native @ByVal MatrixFloat4x4 getCameraOriginMatrix(); + @Property(selector = "availableJointsGroupNames") + public native NSArray getAvailableJointsGroupNames(); + @Property(selector = "availableJointNames") + public native NSArray getAvailableJointNames(); + @Property(selector = "bodyHeight") + public native float getBodyHeight(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "recognizedPointsForJointsGroupName:error:") + public native NSDictionary getRecognizedPoints(VNHumanBodyPose3DObservationJointsGroupName jointsGroupName, NSError.NSErrorPtr error); + @Method(selector = "recognizedPointForJointName:error:") + public native VNHumanBodyRecognizedPoint3D getRecognizedPoint(VNHumanBodyPose3DObservationJointName jointName, NSError.NSErrorPtr error); + public VNPoint getPointInImage(VNHumanBodyPose3DObservationJointName jointName) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + VNPoint result = getPointInImage(jointName, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "pointInImageForJointName:error:") + private native VNPoint getPointInImage(VNHumanBodyPose3DObservationJointName jointName, NSError.NSErrorPtr error); + @Method(selector = "parentJointNameForJointName:") + public native VNHumanBodyPose3DObservationJointName parentJointNameForJointName(VNHumanBodyPose3DObservationJointName jointName); + public boolean getCameraRelativePosition(MatrixFloat4x4 modelPositionOut, VNHumanBodyPose3DObservationJointName jointName) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + boolean result = getCameraRelativePosition(modelPositionOut, jointName, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "getCameraRelativePosition:forJointName:error:") + private native boolean getCameraRelativePosition(MatrixFloat4x4 modelPositionOut, VNHumanBodyPose3DObservationJointName jointName, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationHeightEstimation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationHeightEstimation.java new file mode 100644 index 000000000..e1df3a12e --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationHeightEstimation.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/VNHumanBodyPose3DObservationHeightEstimation/**/ implements ValuedEnum { + /**/ + Reference(0L), + Measured(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/VNHumanBodyPose3DObservationHeightEstimation/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/VNHumanBodyPose3DObservationHeightEstimation/**/ valueOf(long n) { + for (/**/VNHumanBodyPose3DObservationHeightEstimation/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/VNHumanBodyPose3DObservationHeightEstimation/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointName.java new file mode 100644 index 000000000..3a9269a6c --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointName.java @@ -0,0 +1,277 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/**/ +/**/@Library("Vision") @StronglyLinked/**/ +@Marshaler(/**/VNHumanBodyPose3DObservationJointName/**/.Marshaler.class) +/**/public/**/ class /**/VNHumanBodyPose3DObservationJointName/**/ + extends /**/VNRecognizedPointKey/**/ + /**//**/ { + + static { Bro.bind(/**/VNHumanBodyPose3DObservationJointName/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static VNHumanBodyPose3DObservationJointName toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return VNHumanBodyPose3DObservationJointName.valueOf(o); + } + @MarshalsPointer + public static long toNative(VNHumanBodyPose3DObservationJointName o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(VNHumanBodyPose3DObservationJointName.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (VNHumanBodyPose3DObservationJointName o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName Root = new VNHumanBodyPose3DObservationJointName("Root"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightHip = new VNHumanBodyPose3DObservationJointName("RightHip"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightKnee = new VNHumanBodyPose3DObservationJointName("RightKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightAnkle = new VNHumanBodyPose3DObservationJointName("RightAnkle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftHip = new VNHumanBodyPose3DObservationJointName("LeftHip"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftKnee = new VNHumanBodyPose3DObservationJointName("LeftKnee"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftAnkle = new VNHumanBodyPose3DObservationJointName("LeftAnkle"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName Spine = new VNHumanBodyPose3DObservationJointName("Spine"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName CenterShoulder = new VNHumanBodyPose3DObservationJointName("CenterShoulder"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName CenterHead = new VNHumanBodyPose3DObservationJointName("CenterHead"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName TopHead = new VNHumanBodyPose3DObservationJointName("TopHead"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftShoulder = new VNHumanBodyPose3DObservationJointName("LeftShoulder"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftElbow = new VNHumanBodyPose3DObservationJointName("LeftElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName LeftWrist = new VNHumanBodyPose3DObservationJointName("LeftWrist"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightShoulder = new VNHumanBodyPose3DObservationJointName("RightShoulder"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightElbow = new VNHumanBodyPose3DObservationJointName("RightElbow"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointName RightWrist = new VNHumanBodyPose3DObservationJointName("RightWrist"); + /**/ + + private static /**/VNHumanBodyPose3DObservationJointName/**/[] values = new /**/VNHumanBodyPose3DObservationJointName/**/[] {/**/Root, RightHip, RightKnee, RightAnkle, LeftHip, LeftKnee, LeftAnkle, Spine, CenterShoulder, CenterHead, TopHead, LeftShoulder, LeftElbow, LeftWrist, RightShoulder, RightElbow, RightWrist/**/}; + + /**/VNHumanBodyPose3DObservationJointName/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/VNHumanBodyPose3DObservationJointName/**/ valueOf(/**/NSString/**/ value) { + for (/**/VNHumanBodyPose3DObservationJointName/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/VNHumanBodyPose3DObservationJointName/**/.class.getName()); + } + + /**//**/ + + /**/@Library("Vision") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRoot", optional=true) + public static native NSString Root(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightHip", optional=true) + public static native NSString RightHip(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightKnee", optional=true) + public static native NSString RightKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightAnkle", optional=true) + public static native NSString RightAnkle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftHip", optional=true) + public static native NSString LeftHip(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftKnee", optional=true) + public static native NSString LeftKnee(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftAnkle", optional=true) + public static native NSString LeftAnkle(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameSpine", optional=true) + public static native NSString Spine(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameCenterShoulder", optional=true) + public static native NSString CenterShoulder(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameCenterHead", optional=true) + public static native NSString CenterHead(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameTopHead", optional=true) + public static native NSString TopHead(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftShoulder", optional=true) + public static native NSString LeftShoulder(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftElbow", optional=true) + public static native NSString LeftElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameLeftWrist", optional=true) + public static native NSString LeftWrist(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightShoulder", optional=true) + public static native NSString RightShoulder(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightElbow", optional=true) + public static native NSString RightElbow(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointNameRightWrist", optional=true) + public static native NSString RightWrist(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointsGroupName.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointsGroupName.java new file mode 100644 index 000000000..72d6bbcf3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyPose3DObservationJointsGroupName.java @@ -0,0 +1,187 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/**/ +/**/@Library("Vision") @StronglyLinked/**/ +@Marshaler(/**/VNHumanBodyPose3DObservationJointsGroupName/**/.Marshaler.class) +/**/public/**/ class /**/VNHumanBodyPose3DObservationJointsGroupName/**/ + extends /**/VNRecognizedPointGroupKey/**/ + /**//**/ { + + static { Bro.bind(/**/VNHumanBodyPose3DObservationJointsGroupName/**/.class); } + + /**/ + public static class Marshaler { + @MarshalsPointer + public static VNHumanBodyPose3DObservationJointsGroupName toObject(Class cls, long handle, long flags) { + NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); + if (o == null) { + return null; + } + return VNHumanBodyPose3DObservationJointsGroupName.valueOf(o); + } + @MarshalsPointer + public static long toNative(VNHumanBodyPose3DObservationJointsGroupName o, long flags) { + if (o == null) { + return 0L; + } + return NSObject.Marshaler.toNative(o.value(), flags); + } + } + public static class AsListMarshaler { + @SuppressWarnings("unchecked") + @MarshalsPointer + public static List toObject(Class cls, long handle, long flags) { + NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags); + if (o == null) { + return null; + } + List list = new ArrayList<>(); + for (int i = 0; i < o.size(); i++) { + list.add(VNHumanBodyPose3DObservationJointsGroupName.valueOf(o.get(i))); + } + return list; + } + @MarshalsPointer + public static long toNative(List l, long flags) { + if (l == null) { + return 0L; + } + NSArray array = new NSMutableArray<>(); + for (VNHumanBodyPose3DObservationJointsGroupName o : l) { + array.add(o.value()); + } + return NSObject.Marshaler.toNative(array, flags); + } + } + /**/ + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName Head = new VNHumanBodyPose3DObservationJointsGroupName("Head"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName Torso = new VNHumanBodyPose3DObservationJointsGroupName("Torso"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName LeftArm = new VNHumanBodyPose3DObservationJointsGroupName("LeftArm"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName RightArm = new VNHumanBodyPose3DObservationJointsGroupName("RightArm"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName LeftLeg = new VNHumanBodyPose3DObservationJointsGroupName("LeftLeg"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName RightLeg = new VNHumanBodyPose3DObservationJointsGroupName("RightLeg"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final VNHumanBodyPose3DObservationJointsGroupName All = new VNHumanBodyPose3DObservationJointsGroupName("All"); + /**/ + + private static /**/VNHumanBodyPose3DObservationJointsGroupName/**/[] values = new /**/VNHumanBodyPose3DObservationJointsGroupName/**/[] {/**/Head, Torso, LeftArm, RightArm, LeftLeg, RightLeg, All/**/}; + + /**/VNHumanBodyPose3DObservationJointsGroupName/**/ (String getterName) { + super(Values.class, getterName); + } + + public static /**/VNHumanBodyPose3DObservationJointsGroupName/**/ valueOf(/**/NSString/**/ value) { + for (/**/VNHumanBodyPose3DObservationJointsGroupName/**/ v : values) { + if (v.value().equals(value)) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + value + " found in " + + /**/VNHumanBodyPose3DObservationJointsGroupName/**/.class.getName()); + } + + /**//**/ + + /**/@Library("Vision") @StronglyLinked/**/ + public static class Values { + static { Bro.bind(Values.class); } + + /**/ + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameHead", optional=true) + public static native NSString Head(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameTorso", optional=true) + public static native NSString Torso(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameLeftArm", optional=true) + public static native NSString LeftArm(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameRightArm", optional=true) + public static native NSString RightArm(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameLeftLeg", optional=true) + public static native NSString LeftLeg(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameRightLeg", optional=true) + public static native NSString RightLeg(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="VNHumanBodyPose3DObservationJointsGroupNameAll", optional=true) + public static native NSString All(); + /**/ + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyRecognizedPoint3D.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyRecognizedPoint3D.java new file mode 100644 index 000000000..f94cf1843 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNHumanBodyRecognizedPoint3D.java @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNHumanBodyRecognizedPoint3D/**/ + extends /**/VNRecognizedPoint3D/**/ + /**//**/ { + + /**/public static class VNHumanBodyRecognizedPoint3DPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNHumanBodyRecognizedPoint3D.class); }/**/ + /**//**/ + /**/ + protected VNHumanBodyRecognizedPoint3D() {} + protected VNHumanBodyRecognizedPoint3D(Handle h, long handle) { super(h, handle); } + protected VNHumanBodyRecognizedPoint3D(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPosition:") + public VNHumanBodyRecognizedPoint3D(@ByVal MatrixFloat4x4 position) { super(position); } + /**/ + /**/ + @Property(selector = "localPosition") + public native @ByVal MatrixFloat4x4 getLocalPosition(); + @Property(selector = "parentJoint") + public native VNHumanBodyPose3DObservationJointName getParentJoint(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNImageRequestHandler.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNImageRequestHandler.java index f33715a4d..6921ea7b1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNImageRequestHandler.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNImageRequestHandler.java @@ -58,6 +58,11 @@ protected VNImageRequestHandler() {} public VNImageRequestHandler(CVPixelBuffer pixelBuffer, VNImageOption options) { super((SkipInit) null); initObject(init(pixelBuffer, options)); } @Method(selector = "initWithCVPixelBuffer:orientation:options:") public VNImageRequestHandler(CVPixelBuffer pixelBuffer, CGImagePropertyOrientation orientation, VNImageOption options) { super((SkipInit) null); initObject(init(pixelBuffer, orientation, options)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCVPixelBuffer:depthData:orientation:options:") + public VNImageRequestHandler(CVPixelBuffer pixelBuffer, org.robovm.apple.avfoundation.AVDepthData depthData, CGImagePropertyOrientation orientation, VNImageOption options) { super((SkipInit) null); initObject(init(pixelBuffer, depthData, orientation, options)); } @Method(selector = "initWithCGImage:options:") public VNImageRequestHandler(CGImage image, VNImageOption options) { super((SkipInit) null); initObject(init(image, options)); } @Method(selector = "initWithCGImage:orientation:options:") @@ -84,6 +89,11 @@ protected VNImageRequestHandler() {} */ @Method(selector = "initWithCMSampleBuffer:orientation:options:") public VNImageRequestHandler(CMSampleBuffer sampleBuffer, CGImagePropertyOrientation orientation, VNImageOption options) { super((SkipInit) null); initObject(init(sampleBuffer, orientation, options)); } + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCMSampleBuffer:depthData:orientation:options:") + public VNImageRequestHandler(CMSampleBuffer sampleBuffer, org.robovm.apple.avfoundation.AVDepthData depthData, CGImagePropertyOrientation orientation, VNImageOption options) { super((SkipInit) null); initObject(init(sampleBuffer, depthData, orientation, options)); } /**/ /**/ @@ -94,6 +104,11 @@ protected VNImageRequestHandler() {} protected native @Pointer long init(CVPixelBuffer pixelBuffer, VNImageOption options); @Method(selector = "initWithCVPixelBuffer:orientation:options:") protected native @Pointer long init(CVPixelBuffer pixelBuffer, CGImagePropertyOrientation orientation, VNImageOption options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCVPixelBuffer:depthData:orientation:options:") + protected native @Pointer long init(CVPixelBuffer pixelBuffer, org.robovm.apple.avfoundation.AVDepthData depthData, CGImagePropertyOrientation orientation, VNImageOption options); @Method(selector = "initWithCGImage:options:") protected native @Pointer long init(CGImage image, VNImageOption options); @Method(selector = "initWithCGImage:orientation:options:") @@ -120,6 +135,11 @@ protected VNImageRequestHandler() {} */ @Method(selector = "initWithCMSampleBuffer:orientation:options:") protected native @Pointer long init(CMSampleBuffer sampleBuffer, CGImagePropertyOrientation orientation, VNImageOption options); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "initWithCMSampleBuffer:depthData:orientation:options:") + protected native @Pointer long init(CMSampleBuffer sampleBuffer, org.robovm.apple.avfoundation.AVDepthData depthData, CGImagePropertyOrientation orientation, VNImageOption options); public boolean performRequests(NSArray requests) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = performRequests(requests, ptr); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNInstanceMaskObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNInstanceMaskObservation.java new file mode 100644 index 000000000..b313e0781 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNInstanceMaskObservation.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNInstanceMaskObservation/**/ + extends /**/VNObservation/**/ + /**//**/ { + + /**/public static class VNInstanceMaskObservationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNInstanceMaskObservation.class); }/**/ + /**//**/ + /**/ + public VNInstanceMaskObservation() {} + protected VNInstanceMaskObservation(Handle h, long handle) { super(h, handle); } + protected VNInstanceMaskObservation(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "instanceMask") + public native CVPixelBuffer getInstanceMask(); + @Property(selector = "allInstances") + public native NSIndexSet getAllInstances(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + public CVPixelBuffer generateMaskForInstances(NSIndexSet instances) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + CVPixelBuffer result = generateMaskForInstances(instances, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "generateMaskForInstances:error:") + private native CVPixelBuffer generateMaskForInstances(NSIndexSet instances, NSError.NSErrorPtr error); + public CVPixelBuffer generateMaskedImageOfInstances(NSIndexSet instances, VNImageRequestHandler requestHandler, boolean cropResult) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + CVPixelBuffer result = generateMaskedImageOfInstances(instances, requestHandler, cropResult, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "generateMaskedImageOfInstances:fromRequestHandler:croppedToInstancesExtent:error:") + private native CVPixelBuffer generateMaskedImageOfInstances(NSIndexSet instances, VNImageRequestHandler requestHandler, boolean cropResult, NSError.NSErrorPtr error); + public CVPixelBuffer generateScaledMaskForImageForInstances(NSIndexSet instances, VNImageRequestHandler requestHandler) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + CVPixelBuffer result = generateScaledMaskForImageForInstances(instances, requestHandler, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "generateScaledMaskForImageForInstances:fromRequestHandler:error:") + private native CVPixelBuffer generateScaledMaskForImageForInstances(NSIndexSet instances, VNImageRequestHandler requestHandler, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNPoint3D.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNPoint3D.java new file mode 100644 index 000000000..4e8a06732 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNPoint3D.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNPoint3D/**/ + extends /**/NSObject/**/ + /**/implements NSSecureCoding/**/ { + + /**/public static class VNPoint3DPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNPoint3D.class); }/**/ + /**//**/ + /**/ + protected VNPoint3D() {} + protected VNPoint3D(Handle h, long handle) { super(h, handle); } + protected VNPoint3D(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPosition:") + public VNPoint3D(@ByVal MatrixFloat4x4 position) { super((SkipInit) null); initObject(init(position)); } + @Method(selector = "initWithCoder:") + public VNPoint3D(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); } + /**/ + /**/ + @Property(selector = "position") + public native @ByVal MatrixFloat4x4 getPosition(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithPosition:") + protected native @Pointer long init(@ByVal MatrixFloat4x4 position); + @Method(selector = "encodeWithCoder:") + public native void encode(NSCoder coder); + @Method(selector = "initWithCoder:") + protected native @Pointer long init(NSCoder coder); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoint3D.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoint3D.java new file mode 100644 index 000000000..26ca362f3 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoint3D.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNRecognizedPoint3D/**/ + extends /**/VNPoint3D/**/ + /**//**/ { + + /**/public static class VNRecognizedPoint3DPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNRecognizedPoint3D.class); }/**/ + /**//**/ + /**/ + protected VNRecognizedPoint3D() {} + protected VNRecognizedPoint3D(Handle h, long handle) { super(h, handle); } + protected VNRecognizedPoint3D(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithPosition:") + public VNRecognizedPoint3D(@ByVal MatrixFloat4x4 position) { super(position); } + /**/ + /**/ + @Property(selector = "identifier") + public native VNRecognizedPointKey getIdentifier(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointGroupKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointGroupKey.java index 3ab343514..907f196a5 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointGroupKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointGroupKey.java @@ -98,6 +98,10 @@ public static long toNative(List l, long flags) { * @since Available in iOS 14.0 and later. */ public static final VNRecognizedPointGroupKey RecognizedPointGroupKeyAll = new VNRecognizedPointGroupKey("RecognizedPointGroupKeyAll"); + /** + * @since Available in iOS 14.0 and later. + */ + public static final VNRecognizedPointGroupKey RecognizedPoint3DGroupKeyAll = new VNRecognizedPointGroupKey("RecognizedPoint3DGroupKeyAll"); /** * @since Available in iOS 14.0 and later. * @deprecated Deprecated in iOS 14.0. Use VNHumanBodyPoseObservationJointsGroupNameFace @@ -136,7 +140,7 @@ public static long toNative(List l, long flags) { public static final VNRecognizedPointGroupKey BodyLandmarkRegionKeyRightLeg = new VNRecognizedPointGroupKey("BodyLandmarkRegionKeyRightLeg"); /**/ - private static /**/VNRecognizedPointGroupKey/**/[] values = new /**/VNRecognizedPointGroupKey/**/[] {/**/RecognizedPointGroupKeyAll, BodyLandmarkRegionKeyFace, BodyLandmarkRegionKeyTorso, BodyLandmarkRegionKeyLeftArm, BodyLandmarkRegionKeyRightArm, BodyLandmarkRegionKeyLeftLeg, BodyLandmarkRegionKeyRightLeg/**/}; + private static /**/VNRecognizedPointGroupKey/**/[] values = new /**/VNRecognizedPointGroupKey/**/[] {/**/RecognizedPointGroupKeyAll, RecognizedPoint3DGroupKeyAll, BodyLandmarkRegionKeyFace, BodyLandmarkRegionKeyTorso, BodyLandmarkRegionKeyLeftArm, BodyLandmarkRegionKeyRightArm, BodyLandmarkRegionKeyLeftLeg, BodyLandmarkRegionKeyRightLeg/**/}; /**/VNRecognizedPointGroupKey/**/ (String getterName) { super(Values.class, getterName); @@ -153,7 +157,12 @@ public static long toNative(List l, long flags) { } /**//**/ - + + // dkimitsa: manually added code to support subclasses + protected VNRecognizedPointGroupKey (Class clazz, String getterName) { + super(clazz, getterName); + } + /**/@Library("Vision") @StronglyLinked/**/ public static class Values { static { Bro.bind(Values.class); } @@ -164,6 +173,11 @@ public static class Values { */ @GlobalValue(symbol="VNRecognizedPointGroupKeyAll", optional=true) public static native NSString RecognizedPointGroupKeyAll(); + /** + * @since Available in iOS 14.0 and later. + */ + @GlobalValue(symbol="VNRecognizedPoint3DGroupKeyAll", optional=true) + public static native NSString RecognizedPoint3DGroupKeyAll(); /** * @since Available in iOS 14.0 and later. * @deprecated Deprecated in iOS 14.0. Use VNHumanBodyPoseObservationJointsGroupNameFace diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointKey.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointKey.java index 6dff2a0fe..9698e4470 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointKey.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPointKey.java @@ -227,7 +227,12 @@ public static long toNative(List l, long flags) { } /**//**/ - + + // dkimitsa: manually added code to support subclasses + protected VNRecognizedPointKey (Class clazz, String getterName) { + super(clazz, getterName); + } + /**/@Library("Vision") @StronglyLinked/**/ public static class Values { static { Bro.bind(Values.class); } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoints3DObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoints3DObservation.java new file mode 100644 index 000000000..b18be324d --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedPoints3DObservation.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 14.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNRecognizedPoints3DObservation/**/ + extends /**/VNObservation/**/ + /**//**/ { + + /**/public static class VNRecognizedPoints3DObservationPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNRecognizedPoints3DObservation.class); }/**/ + /**//**/ + /**/ + protected VNRecognizedPoints3DObservation() {} + protected VNRecognizedPoints3DObservation(Handle h, long handle) { super(h, handle); } + protected VNRecognizedPoints3DObservation(SkipInit skipInit) { super(skipInit); } + /**/ + /**/ + @Property(selector = "availableKeys") + public native NSArray getAvailableKeys(); + @Property(selector = "availableGroupKeys") + public native NSArray getAvailableGroupKeys(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); + /**/ + /**//**/ + /**/ + public VNRecognizedPoint3D getRecognizedPoint(VNRecognizedPointKey pointKey) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + VNRecognizedPoint3D result = getRecognizedPoint(pointKey, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "recognizedPointForKey:error:") + private native VNRecognizedPoint3D getRecognizedPoint(VNRecognizedPointKey pointKey, NSError.NSErrorPtr error); + public NSDictionary getRecognizedPoint(VNRecognizedPointGroupKey groupKey) throws NSErrorException { + NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); + NSDictionary result = getRecognizedPoint(groupKey, ptr); + if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } + return result; + } + @Method(selector = "recognizedPointsForGroupKey:error:") + private native NSDictionary getRecognizedPoint(VNRecognizedPointGroupKey groupKey, NSError.NSErrorPtr error); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedTextObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedTextObservation.java index e9c0d523d..a172f841e 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedTextObservation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRecognizedTextObservation.java @@ -63,5 +63,10 @@ public VNRecognizedTextObservation() {} /**/ @Method(selector = "topCandidates:") public native NSArray topCandidates(@MachineSizedUInt long maxCandidateCount); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft:") + public static native VNRecognizedTextObservation create(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint topRight, @ByVal CGPoint bottomRight, @ByVal CGPoint bottomLeft); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRectangleObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRectangleObservation.java index 60adc97c0..eb7010088 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRectangleObservation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRectangleObservation.java @@ -56,8 +56,10 @@ public VNRectangleObservation() {} protected VNRectangleObservation(SkipInit skipInit) { super(skipInit); } /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft: */ - public VNRectangleObservation(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint bottomLeft, @ByVal CGPoint bottomRight, @ByVal CGPoint topRight) { super((Handle) null, create(requestRevision, topLeft, bottomLeft, bottomRight, topRight)); retain(getHandle()); } + @Deprecated + public VNRectangleObservation(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint bottomLeft, @ByVal CGPoint bottomRight, @ByVal CGPoint topRight) { super((Handle) null, createDeprecated(requestRevision, topLeft, bottomLeft, bottomRight, topRight)); retain(getHandle()); } /**/ /**/ @Property(selector = "topLeft") @@ -75,8 +77,15 @@ public VNRectangleObservation() {} /**/ /** * @since Available in iOS 13.0 and later. + * @deprecated Deprecated in iOS 17.0. Use rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft: */ + @Deprecated @Method(selector = "rectangleObservationWithRequestRevision:topLeft:bottomLeft:bottomRight:topRight:") - protected static native @Pointer long create(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint bottomLeft, @ByVal CGPoint bottomRight, @ByVal CGPoint topRight); + protected static native @Pointer long createDeprecated(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint bottomLeft, @ByVal CGPoint bottomRight, @ByVal CGPoint topRight); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft:") + public static native VNRectangleObservation create(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint topRight, @ByVal CGPoint bottomRight, @ByVal CGPoint bottomLeft); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRequest.java index 7353e8158..3531d2cc1 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNRequest.java @@ -64,8 +64,18 @@ public VNRequest() {} public native boolean isPreferBackgroundProcessing(); @Property(selector = "setPreferBackgroundProcessing:") public native void setPreferBackgroundProcessing(boolean v); + /** + * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. Use -setComputeDevice:forComputeStage: + */ + @Deprecated @Property(selector = "usesCPUOnly") public native boolean usesCPUOnly(); + /** + * @since Available in iOS 11.0 and later. + * @deprecated Deprecated in iOS 17.0. Use -setComputeDevice:forComputeStage: + */ + @Deprecated @Property(selector = "setUsesCPUOnly:") public native void setUsesCPUOnly(boolean v); @Property(selector = "results") @@ -107,5 +117,11 @@ public VNRequest() {} */ @Method(selector = "cancel") public native void cancel(); + @Method(selector = "supportedComputeStageDevicesAndReturnError:") + public native NSDictionary supportedComputeStageDevicesAndReturnError(NSError.NSErrorPtr error); + @Method(selector = "computeDeviceForComputeStage:") + public native MLComputeDeviceProtocol computeDeviceForComputeStage(VNComputeStage computeStage); + @Method(selector = "setComputeDevice:forComputeStage:") + public native void setComputeDevice(MLComputeDeviceProtocol computeDevice, VNComputeStage computeStage); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNStatefulRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNStatefulRequest.java index d3b6ad507..4aea74c67 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNStatefulRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNStatefulRequest.java @@ -62,13 +62,6 @@ protected VNStatefulRequest() {} public native @MachineSizedSInt long getMinimumLatencyFrameCount(); @Property(selector = "frameAnalysisSpacing") public native @ByVal CMTime getFrameAnalysisSpacing(); - /** - * @since Available in iOS 14.0 and later. - * @deprecated Deprecated in iOS 14.0. Use -frameAnalysisSpacing - */ - @Deprecated - @Property(selector = "requestFrameAnalysisSpacing") - public native @ByVal CMTime getRequestFrameAnalysisSpacing(); /** * @since Available in iOS 12.0 and later. */ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTextObservation.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTextObservation.java index 92a1ac364..479a45e25 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTextObservation.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTextObservation.java @@ -63,6 +63,10 @@ public VNTextObservation() {} /**/ /**//**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "rectangleObservationWithRequestRevision:topLeft:topRight:bottomRight:bottomLeft:") + public static native VNTextObservation create(@MachineSizedUInt long requestRevision, @ByVal CGPoint topLeft, @ByVal CGPoint topRight, @ByVal CGPoint bottomRight, @ByVal CGPoint bottomLeft); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackHomographicImageRegistrationRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackHomographicImageRegistrationRequest.java new file mode 100644 index 000000000..82eb151f2 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackHomographicImageRegistrationRequest.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNTrackHomographicImageRegistrationRequest/**/ + extends /**/VNStatefulRequest/**/ + /**//**/ { + + /**/public static class VNTrackHomographicImageRegistrationRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNTrackHomographicImageRegistrationRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNTrackHomographicImageRegistrationRequest() {} + protected VNTrackHomographicImageRegistrationRequest(Handle h, long handle) { super(h, handle); } + protected VNTrackHomographicImageRegistrationRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNTrackHomographicImageRegistrationRequest(@Block VoidBlock2 completionHandler) { super((SkipInit) null); initObject(init(completionHandler)); } + @Method(selector = "initWithFrameAnalysisSpacing:completionHandler:") + public VNTrackHomographicImageRegistrationRequest(@ByVal CMTime frameAnalysisSpacing, @Block VoidBlock2 completionHandler) { super(frameAnalysisSpacing, completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCompletionHandler:") + protected native @Pointer long init(@Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequest.java new file mode 100644 index 000000000..d3c10f9b4 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequest.java @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNTrackOpticalFlowRequest/**/ + extends /**/VNStatefulRequest/**/ + /**//**/ { + + /**/public static class VNTrackOpticalFlowRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNTrackOpticalFlowRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNTrackOpticalFlowRequest() {} + protected VNTrackOpticalFlowRequest(Handle h, long handle) { super(h, handle); } + protected VNTrackOpticalFlowRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNTrackOpticalFlowRequest(@Block VoidBlock2 completionHandler) { super((SkipInit) null); initObject(init(completionHandler)); } + @Method(selector = "initWithFrameAnalysisSpacing:completionHandler:") + public VNTrackOpticalFlowRequest(@ByVal CMTime frameAnalysisSpacing, @Block VoidBlock2 completionHandler) { super(frameAnalysisSpacing, completionHandler); } + /**/ + /**/ + @Property(selector = "computationAccuracy") + public native VNTrackOpticalFlowRequestComputationAccuracy getComputationAccuracy(); + @Property(selector = "setComputationAccuracy:") + public native void setComputationAccuracy(VNTrackOpticalFlowRequestComputationAccuracy v); + @Property(selector = "outputPixelFormat") + public native int getOutputPixelFormat(); + @Property(selector = "setOutputPixelFormat:") + public native void setOutputPixelFormat(int v); + @Property(selector = "keepNetworkOutput") + public native boolean isKeepNetworkOutput(); + @Property(selector = "setKeepNetworkOutput:") + public native void setKeepNetworkOutput(boolean v); + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCompletionHandler:") + protected native @Pointer long init(@Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequestComputationAccuracy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequestComputationAccuracy.java new file mode 100644 index 000000000..a3fce9b28 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackOpticalFlowRequestComputationAccuracy.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/ +public enum /**/VNTrackOpticalFlowRequestComputationAccuracy/**/ implements ValuedEnum { + /**/ + Low(0L), + Medium(1L), + High(2L), + VeryHigh(3L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/VNTrackOpticalFlowRequestComputationAccuracy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/VNTrackOpticalFlowRequestComputationAccuracy/**/ valueOf(long n) { + for (/**/VNTrackOpticalFlowRequestComputationAccuracy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/VNTrackOpticalFlowRequestComputationAccuracy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackTranslationalImageRegistrationRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackTranslationalImageRegistrationRequest.java new file mode 100644 index 000000000..62120c733 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackTranslationalImageRegistrationRequest.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.vision; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.coreml.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.coremedia.*; +import org.robovm.apple.corevideo.*; +import org.robovm.apple.metal.*; +import org.robovm.apple.coreimage.*; +import org.robovm.apple.imageio.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Library("Vision") @NativeClass/**/ +/**/public/**/ class /**/VNTrackTranslationalImageRegistrationRequest/**/ + extends /**/VNStatefulRequest/**/ + /**//**/ { + + /**/public static class VNTrackTranslationalImageRegistrationRequestPtr extends Ptr {}/**/ + /**/static { ObjCRuntime.bind(VNTrackTranslationalImageRegistrationRequest.class); }/**/ + /**/ + public static final int Revision1 = 1; + /**/ + /**/ + public VNTrackTranslationalImageRegistrationRequest() {} + protected VNTrackTranslationalImageRegistrationRequest(Handle h, long handle) { super(h, handle); } + protected VNTrackTranslationalImageRegistrationRequest(SkipInit skipInit) { super(skipInit); } + @Method(selector = "initWithCompletionHandler:") + public VNTrackTranslationalImageRegistrationRequest(@Block VoidBlock2 completionHandler) { super((SkipInit) null); initObject(init(completionHandler)); } + @Method(selector = "initWithFrameAnalysisSpacing:completionHandler:") + public VNTrackTranslationalImageRegistrationRequest(@ByVal CMTime frameAnalysisSpacing, @Block VoidBlock2 completionHandler) { super(frameAnalysisSpacing, completionHandler); } + /**/ + /**/ + @Property(selector = "results") + public native NSArray getResults(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "supportedRevisions") + public static native NSIndexSet getSupportedRevisions(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "defaultRevision") + public static native @MachineSizedUInt long getDefaultRevision(); + /** + * @since Available in iOS 12.0 and later. + */ + @Property(selector = "currentRevision") + public static native @MachineSizedUInt long getCurrentRevision(); + /**/ + /**//**/ + /**/ + @Method(selector = "initWithCompletionHandler:") + protected native @Pointer long init(@Block VoidBlock2 completionHandler); + /**/ +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackingRequest.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackingRequest.java index 01693b9cd..047b42896 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackingRequest.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/vision/VNTrackingRequest.java @@ -86,6 +86,10 @@ protected VNTrackingRequest() {} /**/ /**//**/ /**/ - + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "supportedNumberOfTrackersAndReturnError:") + public native @MachineSizedUInt long supportedNumberOfTrackersAndReturnError(NSError.NSErrorPtr error); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKCookiePolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKCookiePolicy.java new file mode 100644 index 000000000..970fdd94a --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKCookiePolicy.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.webkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.security.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/WKCookiePolicy/**/ implements ValuedEnum { + /**/ + Allow(0L), + Disallow(1L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/WKCookiePolicy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/WKCookiePolicy/**/ valueOf(long n) { + for (/**/WKCookiePolicy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/WKCookiePolicy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKHTTPCookieStore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKHTTPCookieStore.java index 392c48a72..bc18c3b16 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKHTTPCookieStore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKHTTPCookieStore.java @@ -67,5 +67,15 @@ protected WKHTTPCookieStore() {} public native void addObserver(WKHTTPCookieStoreObserver observer); @Method(selector = "removeObserver:") public native void removeObserver(WKHTTPCookieStoreObserver observer); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "setCookiePolicy:completionHandler:") + public native void setCookiePolicy(WKCookiePolicy policy, @Block Runnable completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "getCookiePolicy:") + public native void getCookiePolicy(@Block VoidBlock1 completionHandler); /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKInactiveSchedulingPolicy.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKInactiveSchedulingPolicy.java new file mode 100644 index 000000000..c450b6609 --- /dev/null +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKInactiveSchedulingPolicy.java @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.robovm.apple.webkit; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.security.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ +/** + * @since Available in iOS 17.0 and later. + */ +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/ +public enum /**/WKInactiveSchedulingPolicy/**/ implements ValuedEnum { + /**/ + Suspend(0L), + Throttle(1L), + None(2L); + /**/ + + /**/ + /**/ + /**//**/ + /**//**/ + + private final long n; + + private /**/WKInactiveSchedulingPolicy/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/WKInactiveSchedulingPolicy/**/ valueOf(long n) { + for (/**/WKInactiveSchedulingPolicy/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/WKInactiveSchedulingPolicy/**/.class.getName()); + } +} diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPDFConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPDFConfiguration.java index c3b796b8e..08b8f0790 100644 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPDFConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPDFConfiguration.java @@ -57,6 +57,16 @@ public WKPDFConfiguration() {} public native @ByVal CGRect getRect(); @Property(selector = "setRect:") public native void setRect(@ByVal CGRect v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allowTransparentBackground") + public native boolean isAllowTransparentBackground(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllowTransparentBackground:") + public native void setAllowTransparentBackground(boolean v); /**/ /**//**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPreferences.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPreferences.java index cf4823d04..3c0d87217 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPreferences.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKPreferences.java @@ -71,6 +71,16 @@ public WKPreferences() {} */ @Property(selector = "setFraudulentWebsiteWarningEnabled:") public native void setFraudulentWebsiteWarningEnabled(boolean v); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "shouldPrintBackgrounds") + public native boolean shouldPrintBackgrounds(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setShouldPrintBackgrounds:") + public native void setShouldPrintBackgrounds(boolean v); /** * @since Available in iOS 14.5 and later. */ @@ -102,13 +112,23 @@ public WKPreferences() {} @Property(selector = "setElementFullscreenEnabled:") public native void setElementFullscreenEnabled(boolean v); /** - * @deprecated Deprecated in iOS 14.0. Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "inactiveSchedulingPolicy") + public native WKInactiveSchedulingPolicy getInactiveSchedulingPolicy(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setInactiveSchedulingPolicy:") + public native void setInactiveSchedulingPolicy(WKInactiveSchedulingPolicy v); + /** + * @deprecated Deprecated in iOS 14.0. Use WKWebpagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis */ @Deprecated @Property(selector = "javaScriptEnabled") public native boolean isJavaScriptEnabled(); /** - * @deprecated Deprecated in iOS 14.0. Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis + * @deprecated Deprecated in iOS 14.0. Use WKWebpagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis */ @Deprecated @Property(selector = "setJavaScriptEnabled:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegate.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegate.java index ca4927535..2ec5d7f16 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegate.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegate.java @@ -119,6 +119,16 @@ */ @Method(selector = "webView:showLockdownModeFirstUseMessage:completionHandler:") void showLockdownModeFirstUseMessage(WKWebView webView, String message, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "webView:willPresentEditMenuWithAnimator:") + void willPresentEditMenu(WKWebView webView, UIEditMenuInteractionAnimating animator); + /** + * @since Available in iOS 16.4 and later. + */ + @Method(selector = "webView:willDismissEditMenuWithAnimator:") + void willDismissEditMenu(WKWebView webView, UIEditMenuInteractionAnimating animator); /**/ /**/ /**/ diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegateAdapter.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegateAdapter.java index cdc9d51bc..57854a1e3 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegateAdapter.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKUIDelegateAdapter.java @@ -121,5 +121,15 @@ public void contextMenuDidEnd(WKWebView webView, WKContextMenuElementInfo elemen */ @NotImplemented("webView:showLockdownModeFirstUseMessage:completionHandler:") public void showLockdownModeFirstUseMessage(WKWebView webView, String message, @Block VoidBlock1 completionHandler) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("webView:willPresentEditMenuWithAnimator:") + public void willPresentEditMenu(WKWebView webView, UIEditMenuInteractionAnimating animator) {} + /** + * @since Available in iOS 16.4 and later. + */ + @NotImplemented("webView:willDismissEditMenuWithAnimator:") + public void willDismissEditMenu(WKWebView webView, UIEditMenuInteractionAnimating animator) {} /**/ } diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebView.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebView.java index fcd90b0a4..e52d104fd 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebView.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebView.java @@ -199,6 +199,16 @@ public WKWebView() {} */ @Property(selector = "findInteraction") public native UIFindInteraction getFindInteraction(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "isInspectable") + public native boolean isInspectable(); + /** + * @since Available in iOS 16.4 and later. + */ + @Property(selector = "setInspectable:") + public native void setInspectable(boolean v); @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebViewConfiguration.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebViewConfiguration.java index 65b24e26f..fea32dc5b 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebViewConfiguration.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebViewConfiguration.java @@ -139,6 +139,16 @@ public WKWebViewConfiguration() {} */ @Property(selector = "setLimitsNavigationsToAppBoundDomains:") public native void setLimitsNavigationsToAppBoundDomains(boolean v); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "allowsInlinePredictions") + public native boolean allowsInlinePredictions(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setAllowsInlinePredictions:") + public native void setAllowsInlinePredictions(boolean v); @Property(selector = "allowsInlineMediaPlayback") public native boolean allowsInlineMediaPlayback(); @Property(selector = "setAllowsInlineMediaPlayback:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataStore.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataStore.java index 87311c430..fb4f60973 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataStore.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataStore.java @@ -62,6 +62,21 @@ protected WKWebsiteDataStore() {} */ @Property(selector = "httpCookieStore") public native WKHTTPCookieStore getHttpCookieStore(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "identifier") + public native NSUUID getIdentifier(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "proxyConfigurations") + public native NSArray getProxyConfigurations(); + /** + * @since Available in iOS 17.0 and later. + */ + @Property(selector = "setProxyConfigurations:") + public native void setProxyConfigurations(NSArray v); @Property(selector = "supportsSecureCoding") public static native boolean supportsSecureCoding(); /**/ @@ -79,6 +94,21 @@ protected WKWebsiteDataStore() {} public static native WKWebsiteDataStore getNonPersistentDataStore(); @Method(selector = "allWebsiteDataTypes") public static native @org.robovm.rt.bro.annotation.Marshaler(WKWebsiteDataType.AsSetMarshaler.class) Set getAllWebsiteDataTypes(); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "dataStoreForIdentifier:") + public static native WKWebsiteDataStore dataStoreForIdentifier(NSUUID identifier); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "removeDataStoreForIdentifier:completionHandler:") + public static native void removeDataStore(NSUUID identifier, @Block VoidBlock1 completionHandler); + /** + * @since Available in iOS 17.0 and later. + */ + @Method(selector = "fetchAllDataStoreIdentifiers:") + public static native void fetchAllDataStoreIdentifiers(@Block VoidBlock1> completionHandler); @Method(selector = "encodeWithCoder:") public native void encode(NSCoder coder); @Method(selector = "initWithCoder:") diff --git a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataType.java b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataType.java index 27e2418cd..b345358c4 100755 --- a/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataType.java +++ b/compiler/cocoatouch/src/main/java/org/robovm/apple/webkit/WKWebsiteDataType.java @@ -161,9 +161,21 @@ public static long toNative(Set l, long flags) { * @since Available in iOS 16.0 and later. */ public static final WKWebsiteDataType FileSystem = new WKWebsiteDataType("FileSystem"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final WKWebsiteDataType SearchFieldRecentSearches = new WKWebsiteDataType("SearchFieldRecentSearches"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final WKWebsiteDataType MediaKeys = new WKWebsiteDataType("MediaKeys"); + /** + * @since Available in iOS 17.0 and later. + */ + public static final WKWebsiteDataType HashSalt = new WKWebsiteDataType("HashSalt"); /**/ - private static /**/WKWebsiteDataType/**/[] values = new /**/WKWebsiteDataType/**/[] {/**/FetchCache, DiskCache, MemoryCache, OfflineWebApplicationCache, Cookies, SessionStorage, LocalStorage, WebSQLDatabases, IndexedDBDatabases, ServiceWorkerRegistrations, FileSystem/**/}; + private static /**/WKWebsiteDataType/**/[] values = new /**/WKWebsiteDataType/**/[] {/**/FetchCache, DiskCache, MemoryCache, OfflineWebApplicationCache, Cookies, SessionStorage, LocalStorage, WebSQLDatabases, IndexedDBDatabases, ServiceWorkerRegistrations, FileSystem, SearchFieldRecentSearches, MediaKeys, HashSalt/**/}; /**/WKWebsiteDataType/**/ (String getterName) { super(Values.class, getterName); @@ -241,6 +253,21 @@ public static class Values { */ @GlobalValue(symbol="WKWebsiteDataTypeFileSystem", optional=true) public static native NSString FileSystem(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="WKWebsiteDataTypeSearchFieldRecentSearches", optional=true) + public static native NSString SearchFieldRecentSearches(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="WKWebsiteDataTypeMediaKeys", optional=true) + public static native NSString MediaKeys(); + /** + * @since Available in iOS 17.0 and later. + */ + @GlobalValue(symbol="WKWebsiteDataTypeHashSalt", optional=true) + public static native NSString HashSalt(); /**/ } }