Skip to content

Commit 54b5c1b

Browse files
committed
Update generated sources
1 parent 8ec8503 commit 54b5c1b

118 files changed

Lines changed: 2940 additions & 2939 deletions

File tree

Some content is hidden

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

Sources/AndroidNet/AttachCallback.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@ open class AttachCallback: JavaObject {
77
@JavaMethod
88
@_nonoverride public convenience init(environment: JNIEnvironment? = nil)
99

10-
/// Java method `onAttached`.
10+
/// Java method `onAwareSessionTerminated`.
1111
///
1212
/// ### Java method signature
1313
/// ```java
14-
/// public void android.net.wifi.aware.AttachCallback.onAttached(android.net.wifi.aware.WifiAwareSession)
14+
/// public void android.net.wifi.aware.AttachCallback.onAwareSessionTerminated()
1515
/// ```
1616
@JavaMethod
17-
open func onAttached(_ arg0: WifiAwareSession?)
17+
open func onAwareSessionTerminated()
1818

19-
/// Java method `onAttachFailed`.
19+
/// Java method `onAttached`.
2020
///
2121
/// ### Java method signature
2222
/// ```java
23-
/// public void android.net.wifi.aware.AttachCallback.onAttachFailed()
23+
/// public void android.net.wifi.aware.AttachCallback.onAttached(android.net.wifi.aware.WifiAwareSession)
2424
/// ```
2525
@JavaMethod
26-
open func onAttachFailed()
26+
open func onAttached(_ arg0: WifiAwareSession?)
2727

28-
/// Java method `onAwareSessionTerminated`.
28+
/// Java method `onAttachFailed`.
2929
///
3030
/// ### Java method signature
3131
/// ```java
32-
/// public void android.net.wifi.aware.AttachCallback.onAwareSessionTerminated()
32+
/// public void android.net.wifi.aware.AttachCallback.onAttachFailed()
3333
/// ```
3434
@JavaMethod
35-
open func onAwareSessionTerminated()
35+
open func onAttachFailed()
3636
}

Sources/AndroidNet/AudioGroup.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ open class AudioGroup: JavaObject {
1414
@JavaMethod
1515
@_nonoverride public convenience init(_ arg0: Context?, environment: JNIEnvironment? = nil)
1616

17-
/// Java method `sendDtmf`.
18-
///
19-
/// ### Java method signature
20-
/// ```java
21-
/// public void android.net.rtp.AudioGroup.sendDtmf(int)
22-
/// ```
23-
@available(*, deprecated)
24-
@JavaMethod
25-
open func sendDtmf(_ arg0: Int32)
26-
2717
/// Java method `getStreams`.
2818
///
2919
/// ### Java method signature
@@ -54,6 +44,16 @@ open class AudioGroup: JavaObject {
5444
@JavaMethod
5545
open func setMode(_ arg0: Int32)
5646

47+
/// Java method `sendDtmf`.
48+
///
49+
/// ### Java method signature
50+
/// ```java
51+
/// public void android.net.rtp.AudioGroup.sendDtmf(int)
52+
/// ```
53+
@available(*, deprecated)
54+
@JavaMethod
55+
open func sendDtmf(_ arg0: Int32)
56+
5757
/// Java method `finalize`.
5858
///
5959
/// ### Java method signature

Sources/AndroidNet/AudioStream.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ open class AudioStream: RtpStream {
1010
@JavaMethod
1111
@_nonoverride public convenience init(_ arg0: InetAddress?, environment: JNIEnvironment? = nil) throws
1212

13-
/// Java method `getCodec`.
13+
/// Java method `isBusy`.
1414
///
1515
/// ### Java method signature
1616
/// ```java
17-
/// public android.net.rtp.AudioCodec android.net.rtp.AudioStream.getCodec()
17+
/// public final boolean android.net.rtp.AudioStream.isBusy()
1818
/// ```
1919
@available(*, deprecated)
2020
@JavaMethod
21-
open func getCodec() -> AudioCodec!
21+
open override func isBusy() -> Bool
2222

23-
/// Java method `isBusy`.
23+
/// Java method `getCodec`.
2424
///
2525
/// ### Java method signature
2626
/// ```java
27-
/// public final boolean android.net.rtp.AudioStream.isBusy()
27+
/// public android.net.rtp.AudioCodec android.net.rtp.AudioStream.getCodec()
2828
/// ```
2929
@available(*, deprecated)
3030
@JavaMethod
31-
open override func isBusy() -> Bool
31+
open func getCodec() -> AudioCodec!
3232

3333
/// Java method `getGroup`.
3434
///

Sources/AndroidNet/AwareResources.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,50 +8,50 @@ open class AwareResources: JavaObject {
88
@JavaMethod
99
@_nonoverride public convenience init(_ arg0: Int32, _ arg1: Int32, _ arg2: Int32, environment: JNIEnvironment? = nil)
1010

11-
/// Java method `describeContents`.
11+
/// Java method `getAvailableDataPathsCount`.
1212
///
1313
/// ### Java method signature
1414
/// ```java
15-
/// public int android.net.wifi.aware.AwareResources.describeContents()
15+
/// public int android.net.wifi.aware.AwareResources.getAvailableDataPathsCount()
1616
/// ```
1717
@JavaMethod
18-
open func describeContents() -> Int32
18+
open func getAvailableDataPathsCount() -> Int32
1919

20-
/// Java method `writeToParcel`.
20+
/// Java method `getAvailablePublishSessionsCount`.
2121
///
2222
/// ### Java method signature
2323
/// ```java
24-
/// public void android.net.wifi.aware.AwareResources.writeToParcel(android.os.Parcel,int)
24+
/// public int android.net.wifi.aware.AwareResources.getAvailablePublishSessionsCount()
2525
/// ```
2626
@JavaMethod
27-
open func writeToParcel(_ arg0: Parcel?, _ arg1: Int32)
27+
open func getAvailablePublishSessionsCount() -> Int32
2828

29-
/// Java method `getAvailableDataPathsCount`.
29+
/// Java method `getAvailableSubscribeSessionsCount`.
3030
///
3131
/// ### Java method signature
3232
/// ```java
33-
/// public int android.net.wifi.aware.AwareResources.getAvailableDataPathsCount()
33+
/// public int android.net.wifi.aware.AwareResources.getAvailableSubscribeSessionsCount()
3434
/// ```
3535
@JavaMethod
36-
open func getAvailableDataPathsCount() -> Int32
36+
open func getAvailableSubscribeSessionsCount() -> Int32
3737

38-
/// Java method `getAvailablePublishSessionsCount`.
38+
/// Java method `describeContents`.
3939
///
4040
/// ### Java method signature
4141
/// ```java
42-
/// public int android.net.wifi.aware.AwareResources.getAvailablePublishSessionsCount()
42+
/// public int android.net.wifi.aware.AwareResources.describeContents()
4343
/// ```
4444
@JavaMethod
45-
open func getAvailablePublishSessionsCount() -> Int32
45+
open func describeContents() -> Int32
4646

47-
/// Java method `getAvailableSubscribeSessionsCount`.
47+
/// Java method `writeToParcel`.
4848
///
4949
/// ### Java method signature
5050
/// ```java
51-
/// public int android.net.wifi.aware.AwareResources.getAvailableSubscribeSessionsCount()
51+
/// public void android.net.wifi.aware.AwareResources.writeToParcel(android.os.Parcel,int)
5252
/// ```
5353
@JavaMethod
54-
open func getAvailableSubscribeSessionsCount() -> Int32
54+
open func writeToParcel(_ arg0: Parcel?, _ arg1: Int32)
5555
}
5656
extension JavaClass<AwareResources> {
5757
@JavaStaticField(isFinal: true)

Sources/AndroidNet/CaptivePortal.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@ import SwiftJavaJNICore
55

66
@JavaClass("android.net.CaptivePortal", implements: Parcelable.self)
77
open class CaptivePortal: JavaObject {
8-
/// Java method `describeContents`.
8+
/// Java method `reportCaptivePortalDismissed`.
99
///
1010
/// ### Java method signature
1111
/// ```java
12-
/// public int android.net.CaptivePortal.describeContents()
12+
/// public void android.net.CaptivePortal.reportCaptivePortalDismissed()
1313
/// ```
1414
@JavaMethod
15-
open func describeContents() -> Int32
15+
open func reportCaptivePortalDismissed()
1616

17-
/// Java method `writeToParcel`.
17+
/// Java method `describeContents`.
1818
///
1919
/// ### Java method signature
2020
/// ```java
21-
/// public void android.net.CaptivePortal.writeToParcel(android.os.Parcel,int)
21+
/// public int android.net.CaptivePortal.describeContents()
2222
/// ```
2323
@JavaMethod
24-
open func writeToParcel(_ arg0: Parcel?, _ arg1: Int32)
24+
open func describeContents() -> Int32
2525

26-
/// Java method `reportCaptivePortalDismissed`.
26+
/// Java method `writeToParcel`.
2727
///
2828
/// ### Java method signature
2929
/// ```java
30-
/// public void android.net.CaptivePortal.reportCaptivePortalDismissed()
30+
/// public void android.net.CaptivePortal.writeToParcel(android.os.Parcel,int)
3131
/// ```
3232
@JavaMethod
33-
open func reportCaptivePortalDismissed()
33+
open func writeToParcel(_ arg0: Parcel?, _ arg1: Int32)
3434

3535
/// Java method `ignoreNetwork`.
3636
///

Sources/AndroidNet/Characteristics.swift

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,14 @@ import SwiftJavaJNICore
55

66
@JavaClass("android.net.wifi.aware.Characteristics", implements: Parcelable.self)
77
open class Characteristics: JavaObject {
8-
/// Java method `getNumberOfSupportedPublishSessions`.
9-
///
10-
/// ### Java method signature
11-
/// ```java
12-
/// public int android.net.wifi.aware.Characteristics.getNumberOfSupportedPublishSessions()
13-
/// ```
14-
@JavaMethod
15-
open func getNumberOfSupportedPublishSessions() -> Int32
16-
17-
/// Java method `getNumberOfSupportedSubscribeSessions`.
18-
///
19-
/// ### Java method signature
20-
/// ```java
21-
/// public int android.net.wifi.aware.Characteristics.getNumberOfSupportedSubscribeSessions()
22-
/// ```
23-
@JavaMethod
24-
open func getNumberOfSupportedSubscribeSessions() -> Int32
25-
26-
/// Java method `isInstantCommunicationModeSupported`.
8+
/// Java method `getSupportedCipherSuites`.
279
///
2810
/// ### Java method signature
2911
/// ```java
30-
/// public boolean android.net.wifi.aware.Characteristics.isInstantCommunicationModeSupported()
12+
/// public int android.net.wifi.aware.Characteristics.getSupportedCipherSuites()
3113
/// ```
3214
@JavaMethod
33-
open func isInstantCommunicationModeSupported() -> Bool
15+
open func getSupportedCipherSuites() -> Int32
3416

3517
/// Java method `getMaxServiceNameLength`.
3618
///
@@ -95,15 +77,6 @@ open class Characteristics: JavaObject {
9577
@JavaMethod
9678
open func isSuspensionSupported() -> Bool
9779

98-
/// Java method `getSupportedCipherSuites`.
99-
///
100-
/// ### Java method signature
101-
/// ```java
102-
/// public int android.net.wifi.aware.Characteristics.getSupportedCipherSuites()
103-
/// ```
104-
@JavaMethod
105-
open func getSupportedCipherSuites() -> Int32
106-
10780
/// Java method `getSupportedPairingCipherSuites`.
10881
///
10982
/// ### Java method signature
@@ -130,6 +103,33 @@ open class Characteristics: JavaObject {
130103
/// ```
131104
@JavaMethod
132105
open func writeToParcel(_ arg0: Parcel?, _ arg1: Int32)
106+
107+
/// Java method `getNumberOfSupportedPublishSessions`.
108+
///
109+
/// ### Java method signature
110+
/// ```java
111+
/// public int android.net.wifi.aware.Characteristics.getNumberOfSupportedPublishSessions()
112+
/// ```
113+
@JavaMethod
114+
open func getNumberOfSupportedPublishSessions() -> Int32
115+
116+
/// Java method `getNumberOfSupportedSubscribeSessions`.
117+
///
118+
/// ### Java method signature
119+
/// ```java
120+
/// public int android.net.wifi.aware.Characteristics.getNumberOfSupportedSubscribeSessions()
121+
/// ```
122+
@JavaMethod
123+
open func getNumberOfSupportedSubscribeSessions() -> Int32
124+
125+
/// Java method `isInstantCommunicationModeSupported`.
126+
///
127+
/// ### Java method signature
128+
/// ```java
129+
/// public boolean android.net.wifi.aware.Characteristics.isInstantCommunicationModeSupported()
130+
/// ```
131+
@JavaMethod
132+
open func isInstantCommunicationModeSupported() -> Bool
133133
}
134134
extension JavaClass<Characteristics> {
135135
@JavaStaticField(isFinal: true)

Sources/AndroidNet/ChildSaProposal+Builder.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ extension ChildSaProposal {
88
@JavaMethod
99
@_nonoverride public convenience init(environment: JNIEnvironment? = nil)
1010

11-
/// Java method `addDhGroup`.
12-
///
13-
/// ### Java method signature
14-
/// ```java
15-
/// public android.net.ipsec.ike.ChildSaProposal$Builder android.net.ipsec.ike.ChildSaProposal$Builder.addDhGroup(int)
16-
/// ```
17-
@JavaMethod
18-
open func addDhGroup(_ arg0: Int32) -> ChildSaProposal.Builder!
19-
2011
/// Java method `addEncryptionAlgorithm`.
2112
///
2213
/// ### Java method signature
@@ -35,6 +26,15 @@ extension ChildSaProposal {
3526
@JavaMethod
3627
open func addIntegrityAlgorithm(_ arg0: Int32) -> ChildSaProposal.Builder!
3728

29+
/// Java method `addDhGroup`.
30+
///
31+
/// ### Java method signature
32+
/// ```java
33+
/// public android.net.ipsec.ike.ChildSaProposal$Builder android.net.ipsec.ike.ChildSaProposal$Builder.addDhGroup(int)
34+
/// ```
35+
@JavaMethod
36+
open func addDhGroup(_ arg0: Int32) -> ChildSaProposal.Builder!
37+
3838
/// Java method `build`.
3939
///
4040
/// ### Java method signature

Sources/AndroidNet/ChildSessionCallback.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public struct ChildSessionCallback {
1313
@JavaMethod
1414
public func onClosedWithException(_ arg0: IkeException?)
1515

16-
/// Java method `onOpened`.
16+
/// Java method `onIpSecTransformCreated`.
1717
///
1818
/// ### Java method signature
1919
/// ```java
20-
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onOpened(android.net.ipsec.ike.ChildSessionConfiguration)
20+
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformCreated(android.net.IpSecTransform,int)
2121
/// ```
2222
@JavaMethod
23-
public func onOpened(_ arg0: ChildSessionConfiguration?)
23+
public func onIpSecTransformCreated(_ arg0: IpSecTransform?, _ arg1: Int32)
2424

25-
/// Java method `onClosed`.
25+
/// Java method `onIpSecTransformDeleted`.
2626
///
2727
/// ### Java method signature
2828
/// ```java
29-
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onClosed()
29+
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformDeleted(android.net.IpSecTransform,int)
3030
/// ```
3131
@JavaMethod
32-
public func onClosed()
32+
public func onIpSecTransformDeleted(_ arg0: IpSecTransform?, _ arg1: Int32)
3333

34-
/// Java method `onIpSecTransformCreated`.
34+
/// Java method `onOpened`.
3535
///
3636
/// ### Java method signature
3737
/// ```java
38-
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformCreated(android.net.IpSecTransform,int)
38+
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onOpened(android.net.ipsec.ike.ChildSessionConfiguration)
3939
/// ```
4040
@JavaMethod
41-
public func onIpSecTransformCreated(_ arg0: IpSecTransform?, _ arg1: Int32)
41+
public func onOpened(_ arg0: ChildSessionConfiguration?)
4242

43-
/// Java method `onIpSecTransformDeleted`.
43+
/// Java method `onClosed`.
4444
///
4545
/// ### Java method signature
4646
/// ```java
47-
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformDeleted(android.net.IpSecTransform,int)
47+
/// public abstract void android.net.ipsec.ike.ChildSessionCallback.onClosed()
4848
/// ```
4949
@JavaMethod
50-
public func onIpSecTransformDeleted(_ arg0: IpSecTransform?, _ arg1: Int32)
50+
public func onClosed()
5151
}

0 commit comments

Comments
 (0)