diff --git a/src/configuration.json b/src/configuration.json index 1701e8b4d..23b8df590 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -37,11 +37,15 @@ "android.bluetooth.BluetoothAdapter", "android.content.AbstractThreadedSyncAdapter", "android.hardware.TriggerEventListener", + "android.net.sip.SipAudioCall$Listener", + "android.net.sip.SipSession$Listener", "android.net.wifi.aware.IdentityChangedListener", "android.nfc.NfcAdapter", "android.os.storage.OnObbStateChangeListener", "android.print.PrintDocumentAdapter", + "android.renderscript.AllocationAdapter", "android.speech.tts.UtteranceProgressListener", + "android.telephony.PhoneStateListener", "android.telephony.SubscriptionManager$OnOpportunisticSubscriptionsChangedListener", "android.telephony.SubscriptionManager$OnSubscriptionsChangedListener", "android.telephony.ims.RcsUceAdapter", @@ -108,6 +112,7 @@ ], "NamespacesInConflict": [ "android.system", + "dalvik.system", "java.lang.module", "java.awt.color", "java.awt.desktop", diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBackStackChangedListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBackStackChangedListener.java new file mode 100644 index 000000000..62d3a5fad --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBackStackChangedListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.app; + +public final class OnBackStackChangedListener extends org.mases.jcobridge.JCListener implements android.app.FragmentManager.OnBackStackChangedListener { + public OnBackStackChangedListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onBackStackChanged() { + raiseEvent("onBackStackChanged"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBreadCrumbClickListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBreadCrumbClickListener.java new file mode 100644 index 000000000..9ca9fdfc8 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnBreadCrumbClickListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.app; + +public final class OnBreadCrumbClickListener extends org.mases.jcobridge.JCListener implements android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener { + public OnBreadCrumbClickListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public boolean onBreadCrumbClick(android.app.FragmentManager.BackStackEntry arg0, int arg1) { + raiseEvent("onBreadCrumbClick", arg0, arg1); Object retVal = getReturnData(); return (boolean)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnNavigationListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnNavigationListener.java new file mode 100644 index 000000000..c0bb8bb68 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/OnNavigationListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.app; + +public final class OnNavigationListener extends org.mases.jcobridge.JCListener implements android.app.ActionBar.OnNavigationListener { + public OnNavigationListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public boolean onNavigationItemSelected(int arg0, long arg1) { + raiseEvent("onNavigationItemSelected", arg0, arg1); Object retVal = getReturnData(); return (boolean)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/TabListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/TabListener.java new file mode 100644 index 000000000..8a620054a --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/app/TabListener.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.app; + +public final class TabListener extends org.mases.jcobridge.JCListener implements android.app.ActionBar.TabListener { + public TabListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onTabReselected(android.app.ActionBar.Tab arg0, android.app.FragmentTransaction arg1) { + raiseEvent("onTabReselected", arg0, arg1); + } + //@Override + public void onTabSelected(android.app.ActionBar.Tab arg0, android.app.FragmentTransaction arg1) { + raiseEvent("onTabSelected", arg0, arg1); + } + //@Override + public void onTabUnselected(android.app.ActionBar.Tab arg0, android.app.FragmentTransaction arg1) { + raiseEvent("onTabUnselected", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCanceledListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCanceledListener.java new file mode 100644 index 000000000..48b05ad70 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCanceledListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.content; + +public final class OnLoadCanceledListener extends org.mases.jcobridge.JCListener implements android.content.Loader.OnLoadCanceledListener { + public OnLoadCanceledListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onLoadCanceled(android.content.Loader arg0) { + raiseEvent("onLoadCanceled", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCompleteListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCompleteListener.java new file mode 100644 index 000000000..74bbd8171 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/content/OnLoadCompleteListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.content; + +public final class OnLoadCompleteListener extends org.mases.jcobridge.JCListener implements android.content.Loader.OnLoadCompleteListener { + public OnLoadCompleteListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onLoadComplete(android.content.Loader arg0, java.lang.Object arg1) { + raiseEvent("onLoadComplete", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnErrorListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnErrorListener.java new file mode 100644 index 000000000..bf70cc977 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnErrorListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.drm; + +public final class OnErrorListener extends org.mases.jcobridge.JCListener implements android.drm.DrmManagerClient.OnErrorListener { + public OnErrorListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onError(android.drm.DrmManagerClient arg0, android.drm.DrmErrorEvent arg1) { + raiseEvent("onError", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnEventListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnEventListener.java new file mode 100644 index 000000000..efc427c54 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnEventListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.drm; + +public final class OnEventListener extends org.mases.jcobridge.JCListener implements android.drm.DrmManagerClient.OnEventListener { + public OnEventListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onEvent(android.drm.DrmManagerClient arg0, android.drm.DrmEvent arg1) { + raiseEvent("onEvent", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnInfoListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnInfoListener.java new file mode 100644 index 000000000..82d8df3dc --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/drm/OnInfoListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.drm; + +public final class OnInfoListener extends org.mases.jcobridge.JCListener implements android.drm.DrmManagerClient.OnInfoListener { + public OnInfoListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onInfo(android.drm.DrmManagerClient arg0, android.drm.DrmInfoEvent arg1) { + raiseEvent("onInfo", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/FaceDetectionListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/FaceDetectionListener.java new file mode 100644 index 000000000..8a1b6bdd6 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/FaceDetectionListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.hardware; + +public final class FaceDetectionListener extends org.mases.jcobridge.JCListener implements android.hardware.Camera.FaceDetectionListener { + public FaceDetectionListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onFaceDetection(android.hardware.Camera.Face[] arg0, android.hardware.Camera arg1) { + raiseEvent("onFaceDetection", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/OnZoomChangeListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/OnZoomChangeListener.java new file mode 100644 index 000000000..cac5efdc6 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/OnZoomChangeListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.hardware; + +public final class OnZoomChangeListener extends org.mases.jcobridge.JCListener implements android.hardware.Camera.OnZoomChangeListener { + public OnZoomChangeListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onZoomChange(int arg0, boolean arg1, android.hardware.Camera arg2) { + raiseEvent("onZoomChange", arg0, arg1, arg2); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorListener.java new file mode 100644 index 000000000..e8adadf08 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorListener.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.hardware; + +public final class SensorListener extends org.mases.jcobridge.JCListener implements android.hardware.SensorListener { + public SensorListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onAccuracyChanged(int arg0, int arg1) { + raiseEvent("onAccuracyChanged", arg0, arg1); + } + //@Override + public void onSensorChanged(int arg0, float[] arg1) { + raiseEvent("onSensorChanged", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/inputmethodservice/OnKeyboardActionListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/inputmethodservice/OnKeyboardActionListener.java new file mode 100644 index 000000000..707d60a2f --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/inputmethodservice/OnKeyboardActionListener.java @@ -0,0 +1,63 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.inputmethodservice; + +public final class OnKeyboardActionListener extends org.mases.jcobridge.JCListener implements android.inputmethodservice.KeyboardView.OnKeyboardActionListener { + public OnKeyboardActionListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onKey(int arg0, int[] arg1) { + raiseEvent("onKey", arg0, arg1); + } + //@Override + public void onPress(int arg0) { + raiseEvent("onPress", arg0); + } + //@Override + public void onRelease(int arg0) { + raiseEvent("onRelease", arg0); + } + //@Override + public void onText(java.lang.CharSequence arg0) { + raiseEvent("onText", arg0); + } + //@Override + public void swipeDown() { + raiseEvent("swipeDown"); + } + //@Override + public void swipeLeft() { + raiseEvent("swipeLeft"); + } + //@Override + public void swipeRight() { + raiseEvent("swipeRight"); + } + //@Override + public void swipeUp() { + raiseEvent("swipeUp"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/Listener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/Listener.java index 8a3f50d70..48c0eea85 100644 --- a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/Listener.java +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/Listener.java @@ -22,14 +22,14 @@ package org.mases.netdroid.generated.android.location; -public final class Listener extends org.mases.jcobridge.JCListener implements android.location.GnssAntennaInfo.Listener { +public final class Listener extends org.mases.jcobridge.JCListener implements android.location.GpsStatus.Listener { public Listener(String key) throws org.mases.jcobridge.JCNativeException { super(key); } //@Override - public void onGnssAntennaInfoReceived(java.util.List arg0) { - raiseEvent("onGnssAntennaInfoReceived", arg0); + public void onGpsStatusChanged(int arg0) { + raiseEvent("onGpsStatusChanged", arg0); } } \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/NmeaListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/NmeaListener.java new file mode 100644 index 000000000..f2f13bc8d --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/location/NmeaListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.location; + +public final class NmeaListener extends org.mases.jcobridge.JCListener implements android.location.GpsStatus.NmeaListener { + public NmeaListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onNmeaReceived(long arg0, java.lang.String arg1) { + raiseEvent("onNmeaReceived", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnClientUpdateListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnClientUpdateListener.java new file mode 100644 index 000000000..38b24ab86 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnClientUpdateListener.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.media; + +public final class OnClientUpdateListener extends org.mases.jcobridge.JCListener implements android.media.RemoteController.OnClientUpdateListener { + public OnClientUpdateListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onClientChange(boolean arg0) { + raiseEvent("onClientChange", arg0); + } + //@Override + public void onClientMetadataUpdate(android.media.RemoteController.MetadataEditor arg0) { + raiseEvent("onClientMetadataUpdate", arg0); + } + //@Override + public void onClientPlaybackStateUpdate(int arg0, long arg1, long arg2, float arg3) { + raiseEvent("onClientPlaybackStateUpdate", arg0, arg1, arg2, arg3); + } + //@Override + public void onClientPlaybackStateUpdate(int arg0) { + raiseEvent("onClientPlaybackStateUpdate1", arg0); + } + //@Override + public void onClientTransportControlUpdate(int arg0) { + raiseEvent("onClientTransportControlUpdate", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnGetPlaybackPositionListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnGetPlaybackPositionListener.java new file mode 100644 index 000000000..3e8b86293 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnGetPlaybackPositionListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.media; + +public final class OnGetPlaybackPositionListener extends org.mases.jcobridge.JCListener implements android.media.RemoteControlClient.OnGetPlaybackPositionListener { + public OnGetPlaybackPositionListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public long onGetPlaybackPosition() { + raiseEvent("onGetPlaybackPosition"); Object retVal = getReturnData(); return (long)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnMetadataUpdateListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnMetadataUpdateListener.java new file mode 100644 index 000000000..4862cb1af --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnMetadataUpdateListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.media; + +public final class OnMetadataUpdateListener extends org.mases.jcobridge.JCListener implements android.media.RemoteControlClient.OnMetadataUpdateListener { + public OnMetadataUpdateListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onMetadataUpdate(int arg0, java.lang.Object arg1) { + raiseEvent("onMetadataUpdate", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnPlaybackPositionUpdateListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnPlaybackPositionUpdateListener.java index f1693c819..7a1f33b2e 100644 --- a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnPlaybackPositionUpdateListener.java +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnPlaybackPositionUpdateListener.java @@ -22,18 +22,14 @@ package org.mases.netdroid.generated.android.media; -public final class OnPlaybackPositionUpdateListener extends org.mases.jcobridge.JCListener implements android.media.AudioTrack.OnPlaybackPositionUpdateListener { +public final class OnPlaybackPositionUpdateListener extends org.mases.jcobridge.JCListener implements android.media.RemoteControlClient.OnPlaybackPositionUpdateListener { public OnPlaybackPositionUpdateListener(String key) throws org.mases.jcobridge.JCNativeException { super(key); } //@Override - public void onMarkerReached(android.media.AudioTrack arg0) { - raiseEvent("onMarkerReached", arg0); - } - //@Override - public void onPeriodicNotification(android.media.AudioTrack arg0) { - raiseEvent("onPeriodicNotification", arg0); + public void onPlaybackPositionUpdate(long arg0) { + raiseEvent("onPlaybackPositionUpdate", arg0); } } \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnRoutingChangedListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnRoutingChangedListener.java index 6be91ce8b..5238a577a 100644 --- a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnRoutingChangedListener.java +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/OnRoutingChangedListener.java @@ -22,14 +22,22 @@ package org.mases.netdroid.generated.android.media; -public final class OnRoutingChangedListener extends org.mases.jcobridge.JCListener implements android.media.AudioRouting.OnRoutingChangedListener { +public final class OnRoutingChangedListener extends org.mases.jcobridge.JCListener implements android.media.AudioTrack.OnRoutingChangedListener { public OnRoutingChangedListener(String key) throws org.mases.jcobridge.JCNativeException { super(key); } //@Override - public void onRoutingChanged(android.media.AudioRouting arg0) { + public void onRoutingChanged(android.media.AudioTrack arg0) { raiseEvent("onRoutingChanged", arg0); } + //@Override + public void onRoutingChanged(android.media.AudioRouting arg0) { + raiseEvent("onRoutingChanged1", arg0); + } + //@Override + public void onRoutingChangedDefault(android.media.AudioRouting arg0) { + android.media.AudioTrack.OnRoutingChangedListener.super.onRoutingChanged(arg0); + } } \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/Listener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/Listener.java new file mode 100644 index 000000000..d3d4c032a --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/Listener.java @@ -0,0 +1,79 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.net.sip; + +public final class Listener extends org.mases.jcobridge.JCListener implements { + public Listener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onCallBusy(android.net.sip.SipSession arg0) { + raiseEvent("onCallBusy", arg0); + } + //@Override + public void onCallChangeFailed(android.net.sip.SipSession arg0, int arg1, java.lang.String arg2) { + raiseEvent("onCallChangeFailed", arg0, arg1, arg2); + } + //@Override + public void onCallEnded(android.net.sip.SipSession arg0) { + raiseEvent("onCallEnded", arg0); + } + //@Override + public void onCallEstablished(android.net.sip.SipSession arg0, java.lang.String arg1) { + raiseEvent("onCallEstablished", arg0, arg1); + } + //@Override + public void onCalling(android.net.sip.SipSession arg0) { + raiseEvent("onCalling", arg0); + } + //@Override + public void onError(android.net.sip.SipSession arg0, int arg1, java.lang.String arg2) { + raiseEvent("onError", arg0, arg1, arg2); + } + //@Override + public void onRegistering(android.net.sip.SipSession arg0) { + raiseEvent("onRegistering", arg0); + } + //@Override + public void onRegistrationDone(android.net.sip.SipSession arg0, int arg1) { + raiseEvent("onRegistrationDone", arg0, arg1); + } + //@Override + public void onRegistrationFailed(android.net.sip.SipSession arg0, int arg1, java.lang.String arg2) { + raiseEvent("onRegistrationFailed", arg0, arg1, arg2); + } + //@Override + public void onRegistrationTimeout(android.net.sip.SipSession arg0) { + raiseEvent("onRegistrationTimeout", arg0); + } + //@Override + public void onRinging(android.net.sip.SipSession arg0, android.net.sip.SipProfile arg1, java.lang.String arg2) { + raiseEvent("onRinging", arg0, arg1, arg2); + } + //@Override + public void onRingingBack(android.net.sip.SipSession arg0) { + raiseEvent("onRingingBack", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/SipRegistrationListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/SipRegistrationListener.java new file mode 100644 index 000000000..0ce06a004 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/net/sip/SipRegistrationListener.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.net.sip; + +public final class SipRegistrationListener extends org.mases.jcobridge.JCListener implements android.net.sip.SipRegistrationListener { + public SipRegistrationListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onRegistering(java.lang.String arg0) { + raiseEvent("onRegistering", arg0); + } + //@Override + public void onRegistrationDone(java.lang.String arg0, long arg1) { + raiseEvent("onRegistrationDone", arg0, arg1); + } + //@Override + public void onRegistrationFailed(java.lang.String arg0, int arg1, java.lang.String arg2) { + raiseEvent("onRegistrationFailed", arg0, arg1, arg2); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityDestroyListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityDestroyListener.java new file mode 100644 index 000000000..7ac8fade0 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityDestroyListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.preference; + +public final class OnActivityDestroyListener extends org.mases.jcobridge.JCListener implements android.preference.PreferenceManager.OnActivityDestroyListener { + public OnActivityDestroyListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onActivityDestroy() { + raiseEvent("onActivityDestroy"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityResultListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityResultListener.java new file mode 100644 index 000000000..9f4469705 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityResultListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.preference; + +public final class OnActivityResultListener extends org.mases.jcobridge.JCListener implements android.preference.PreferenceManager.OnActivityResultListener { + public OnActivityResultListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public boolean onActivityResult(int arg0, int arg1, android.content.Intent arg2) { + raiseEvent("onActivityResult", arg0, arg1, arg2); Object retVal = getReturnData(); return (boolean)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityStopListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityStopListener.java new file mode 100644 index 000000000..94dbee89b --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnActivityStopListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.preference; + +public final class OnActivityStopListener extends org.mases.jcobridge.JCListener implements android.preference.PreferenceManager.OnActivityStopListener { + public OnActivityStopListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onActivityStop() { + raiseEvent("onActivityStop"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceChangeListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceChangeListener.java new file mode 100644 index 000000000..0e62b5400 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceChangeListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.preference; + +public final class OnPreferenceChangeListener extends org.mases.jcobridge.JCListener implements android.preference.Preference.OnPreferenceChangeListener { + public OnPreferenceChangeListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public boolean onPreferenceChange(android.preference.Preference arg0, java.lang.Object arg1) { + raiseEvent("onPreferenceChange", arg0, arg1); Object retVal = getReturnData(); return (boolean)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceClickListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceClickListener.java new file mode 100644 index 000000000..681cdd908 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/preference/OnPreferenceClickListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.preference; + +public final class OnPreferenceClickListener extends org.mases.jcobridge.JCListener implements android.preference.Preference.OnPreferenceClickListener { + public OnPreferenceClickListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public boolean onPreferenceClick(android.preference.Preference arg0) { + raiseEvent("onPreferenceClick", arg0); Object retVal = getReturnData(); return (boolean)retVal; + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/AllocationAdapter.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/AllocationAdapter.java new file mode 100644 index 000000000..4c33db376 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/AllocationAdapter.java @@ -0,0 +1,359 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.renderscript; + +public final class AllocationAdapter extends org.mases.jcobridge.JCListener implements { + public AllocationAdapter(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public android.renderscript.Element getElement() { + raiseEvent("getElement"); Object retVal = getReturnData(); return (android.renderscript.Element)retVal; + } + //@Override + public android.renderscript.Type getType() { + raiseEvent("getType"); Object retVal = getReturnData(); return (android.renderscript.Type)retVal; + } + //@Override + public android.view.Surface getSurface() { + raiseEvent("getSurface"); Object retVal = getReturnData(); return (android.view.Surface)retVal; + } + //@Override + public int getBytesSize() { + raiseEvent("getBytesSize"); Object retVal = getReturnData(); return (int)retVal; + } + //@Override + public int getUsage() { + raiseEvent("getUsage"); Object retVal = getReturnData(); return (int)retVal; + } + //@Override + public java.lang.String getName() { + raiseEvent("getName"); Object retVal = getReturnData(); return (java.lang.String)retVal; + } + //@Override + public java.nio.ByteBuffer getByteBuffer() { + raiseEvent("getByteBuffer"); Object retVal = getReturnData(); return (java.nio.ByteBuffer)retVal; + } + //@Override + public long getStride() { + raiseEvent("getStride"); Object retVal = getReturnData(); return (long)retVal; + } + //@Override + public long getTimeStamp() { + raiseEvent("getTimeStamp"); Object retVal = getReturnData(); return (long)retVal; + } + //@Override + public void resize(int arg0) { + raiseEvent("resize", arg0); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, android.renderscript.Allocation arg2, int arg3) { + raiseEvent("copy1DRangeFrom", arg0, arg1, arg2, arg3); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, byte[] arg2) { + raiseEvent("copy1DRangeFrom3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, float[] arg2) { + raiseEvent("copy1DRangeFrom3_2", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, int[] arg2) { + raiseEvent("copy1DRangeFrom3_3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, java.lang.Object arg2) { + raiseEvent("copy1DRangeFrom3_4", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFrom(int arg0, int arg1, short[] arg2) { + raiseEvent("copy1DRangeFrom3_5", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFromUnchecked(int arg0, int arg1, byte[] arg2) { + raiseEvent("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFromUnchecked(int arg0, int arg1, float[] arg2) { + raiseEvent("copy1DRangeFromUnchecked3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFromUnchecked(int arg0, int arg1, int[] arg2) { + raiseEvent("copy1DRangeFromUnchecked3_2", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFromUnchecked(int arg0, int arg1, java.lang.Object arg2) { + raiseEvent("copy1DRangeFromUnchecked3_3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeFromUnchecked(int arg0, int arg1, short[] arg2) { + raiseEvent("copy1DRangeFromUnchecked3_4", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeTo(int arg0, int arg1, byte[] arg2) { + raiseEvent("copy1DRangeTo", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeTo(int arg0, int arg1, float[] arg2) { + raiseEvent("copy1DRangeTo3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeTo(int arg0, int arg1, int[] arg2) { + raiseEvent("copy1DRangeTo3_2", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeTo(int arg0, int arg1, java.lang.Object arg2) { + raiseEvent("copy1DRangeTo3_3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeTo(int arg0, int arg1, short[] arg2) { + raiseEvent("copy1DRangeTo3_4", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeToUnchecked(int arg0, int arg1, byte[] arg2) { + raiseEvent("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeToUnchecked(int arg0, int arg1, float[] arg2) { + raiseEvent("copy1DRangeToUnchecked3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeToUnchecked(int arg0, int arg1, int[] arg2) { + raiseEvent("copy1DRangeToUnchecked3_2", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeToUnchecked(int arg0, int arg1, java.lang.Object arg2) { + raiseEvent("copy1DRangeToUnchecked3_3", arg0, arg1, arg2); + } + //@Override + public void copy1DRangeToUnchecked(int arg0, int arg1, short[] arg2) { + raiseEvent("copy1DRangeToUnchecked3_4", arg0, arg1, arg2); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, android.graphics.Bitmap arg2) { + raiseEvent("copy2DRangeFrom", arg0, arg1, arg2); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, android.renderscript.Allocation arg4, int arg5, int arg6) { + raiseEvent("copy2DRangeFrom7", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, byte[] arg4) { + raiseEvent("copy2DRangeFrom5_2", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, float[] arg4) { + raiseEvent("copy2DRangeFrom5_3", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, int[] arg4) { + raiseEvent("copy2DRangeFrom5_4", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, java.lang.Object arg4) { + raiseEvent("copy2DRangeFrom5_5", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, short[] arg4) { + raiseEvent("copy2DRangeFrom5_6", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, byte[] arg4) { + raiseEvent("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, float[] arg4) { + raiseEvent("copy2DRangeTo5", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, int[] arg4) { + raiseEvent("copy2DRangeTo5_2", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, java.lang.Object arg4) { + raiseEvent("copy2DRangeTo5_3", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, short[] arg4) { + raiseEvent("copy2DRangeTo5_4", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, android.renderscript.Allocation arg6, int arg7, int arg8, int arg9) { + raiseEvent("copy3DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + //@Override + public void copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, java.lang.Object arg6) { + raiseEvent("copy3DRangeFrom7", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + //@Override + public void copy3DRangeTo(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, java.lang.Object arg6) { + raiseEvent("copy3DRangeTo", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + //@Override + public void copyFrom(android.graphics.Bitmap arg0) { + raiseEvent("copyFrom", arg0); + } + //@Override + public void copyFrom(android.renderscript.Allocation arg0) { + raiseEvent("copyFrom1", arg0); + } + //@Override + public void copyFrom(android.renderscript.BaseObj[] arg0) { + raiseEvent("copyFrom1_2", arg0); + } + //@Override + public void copyFrom(byte[] arg0) { + raiseEvent("copyFrom1_3", arg0); + } + //@Override + public void copyFrom(float[] arg0) { + raiseEvent("copyFrom1_4", arg0); + } + //@Override + public void copyFrom(int[] arg0) { + raiseEvent("copyFrom1_5", arg0); + } + //@Override + public void copyFrom(java.lang.Object arg0) { + raiseEvent("copyFrom1_6", arg0); + } + //@Override + public void copyFrom(short[] arg0) { + raiseEvent("copyFrom1_7", arg0); + } + //@Override + public void copyFromUnchecked(byte[] arg0) { + raiseEvent("copyFromUnchecked", arg0); + } + //@Override + public void copyFromUnchecked(float[] arg0) { + raiseEvent("copyFromUnchecked1", arg0); + } + //@Override + public void copyFromUnchecked(int[] arg0) { + raiseEvent("copyFromUnchecked1_2", arg0); + } + //@Override + public void copyFromUnchecked(java.lang.Object arg0) { + raiseEvent("copyFromUnchecked1_3", arg0); + } + //@Override + public void copyFromUnchecked(short[] arg0) { + raiseEvent("copyFromUnchecked1_4", arg0); + } + //@Override + public void copyTo(android.graphics.Bitmap arg0) { + raiseEvent("copyTo", arg0); + } + //@Override + public void copyTo(byte[] arg0) { + raiseEvent("copyTo1", arg0); + } + //@Override + public void copyTo(float[] arg0) { + raiseEvent("copyTo1_2", arg0); + } + //@Override + public void copyTo(int[] arg0) { + raiseEvent("copyTo1_3", arg0); + } + //@Override + public void copyTo(java.lang.Object arg0) { + raiseEvent("copyTo1_4", arg0); + } + //@Override + public void copyTo(short[] arg0) { + raiseEvent("copyTo1_5", arg0); + } + //@Override + public void destroy() { + raiseEvent("destroy"); + } + //@Override + public void generateMipmaps() { + raiseEvent("generateMipmaps"); + } + //@Override + public void ioReceive() { + raiseEvent("ioReceive"); + } + //@Override + public void ioSend() { + raiseEvent("ioSend"); + } + //@Override + public void setAutoPadding(boolean arg0) { + raiseEvent("setAutoPadding", arg0); + } + //@Override + public void setFromFieldPacker(int arg0, android.renderscript.FieldPacker arg1) { + raiseEvent("setFromFieldPacker", arg0, arg1); + } + //@Override + public void setFromFieldPacker(int arg0, int arg1, android.renderscript.FieldPacker arg2) { + raiseEvent("setFromFieldPacker3", arg0, arg1, arg2); + } + //@Override + public void setFromFieldPacker(int arg0, int arg1, int arg2, int arg3, android.renderscript.FieldPacker arg4) { + raiseEvent("setFromFieldPacker5_2", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void setOnBufferAvailableListener(android.renderscript.Allocation.OnBufferAvailableListener arg0) { + raiseEvent("setOnBufferAvailableListener", arg0); + } + //@Override + public void setSurface(android.view.Surface arg0) { + raiseEvent("setSurface", arg0); + } + //@Override + public void syncAll(int arg0) { + raiseEvent("syncAll", arg0); + } + //@Override + public void setFace(android.renderscript.Type.CubemapFace arg0) { + raiseEvent("setFace", arg0); + } + //@Override + public void setLOD(int arg0) { + raiseEvent("setLOD", arg0); + } + //@Override + public void setX(int arg0) { + raiseEvent("setX", arg0); + } + //@Override + public void setY(int arg0) { + raiseEvent("setY", arg0); + } + //@Override + public void setZ(int arg0) { + raiseEvent("setZ", arg0); + } + //@Override + public void setName(java.lang.String arg0) { + raiseEvent("setName", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/OnBufferAvailableListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/OnBufferAvailableListener.java new file mode 100644 index 000000000..82090d643 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/renderscript/OnBufferAvailableListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.renderscript; + +public final class OnBufferAvailableListener extends org.mases.jcobridge.JCListener implements android.renderscript.Allocation.OnBufferAvailableListener { + public OnBufferAvailableListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onBufferAvailable(android.renderscript.Allocation arg0) { + raiseEvent("onBufferAvailable", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/speech/tts/OnUtteranceCompletedListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/speech/tts/OnUtteranceCompletedListener.java new file mode 100644 index 000000000..753c6ef5c --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/speech/tts/OnUtteranceCompletedListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.speech.tts; + +public final class OnUtteranceCompletedListener extends org.mases.jcobridge.JCListener implements android.speech.tts.TextToSpeech.OnUtteranceCompletedListener { + public OnUtteranceCompletedListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onUtteranceCompleted(java.lang.String arg0) { + raiseEvent("onUtteranceCompleted", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/telephony/PhoneStateListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/telephony/PhoneStateListener.java new file mode 100644 index 000000000..9b21acd6a --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/telephony/PhoneStateListener.java @@ -0,0 +1,111 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.telephony; + +public final class PhoneStateListener extends org.mases.jcobridge.JCListener implements { + public PhoneStateListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onActiveDataSubscriptionIdChanged(int arg0) { + raiseEvent("onActiveDataSubscriptionIdChanged", arg0); + } + //@Override + public void onBarringInfoChanged(android.telephony.BarringInfo arg0) { + raiseEvent("onBarringInfoChanged", arg0); + } + //@Override + public void onCallDisconnectCauseChanged(int arg0, int arg1) { + raiseEvent("onCallDisconnectCauseChanged", arg0, arg1); + } + //@Override + public void onCallForwardingIndicatorChanged(boolean arg0) { + raiseEvent("onCallForwardingIndicatorChanged", arg0); + } + //@Override + public void onCallStateChanged(int arg0, java.lang.String arg1) { + raiseEvent("onCallStateChanged", arg0, arg1); + } + //@Override + public void onCellInfoChanged(java.util.List arg0) { + raiseEvent("onCellInfoChanged", arg0); + } + //@Override + public void onCellLocationChanged(android.telephony.CellLocation arg0) { + raiseEvent("onCellLocationChanged", arg0); + } + //@Override + public void onDataActivity(int arg0) { + raiseEvent("onDataActivity", arg0); + } + //@Override + public void onDataConnectionStateChanged(int arg0, int arg1) { + raiseEvent("onDataConnectionStateChanged", arg0, arg1); + } + //@Override + public void onDataConnectionStateChanged(int arg0) { + raiseEvent("onDataConnectionStateChanged1", arg0); + } + //@Override + public void onDisplayInfoChanged(android.telephony.TelephonyDisplayInfo arg0) { + raiseEvent("onDisplayInfoChanged", arg0); + } + //@Override + public void onEmergencyNumberListChanged(java.util.Map arg0) { + raiseEvent("onEmergencyNumberListChanged", arg0); + } + //@Override + public void onImsCallDisconnectCauseChanged(android.telephony.ims.ImsReasonInfo arg0) { + raiseEvent("onImsCallDisconnectCauseChanged", arg0); + } + //@Override + public void onMessageWaitingIndicatorChanged(boolean arg0) { + raiseEvent("onMessageWaitingIndicatorChanged", arg0); + } + //@Override + public void onPreciseDataConnectionStateChanged(android.telephony.PreciseDataConnectionState arg0) { + raiseEvent("onPreciseDataConnectionStateChanged", arg0); + } + //@Override + public void onRegistrationFailed(android.telephony.CellIdentity arg0, java.lang.String arg1, int arg2, int arg3, int arg4) { + raiseEvent("onRegistrationFailed", arg0, arg1, arg2, arg3, arg4); + } + //@Override + public void onServiceStateChanged(android.telephony.ServiceState arg0) { + raiseEvent("onServiceStateChanged", arg0); + } + //@Override + public void onSignalStrengthChanged(int arg0) { + raiseEvent("onSignalStrengthChanged", arg0); + } + //@Override + public void onSignalStrengthsChanged(android.telephony.SignalStrength arg0) { + raiseEvent("onSignalStrengthsChanged", arg0); + } + //@Override + public void onUserMobileDataStateChanged(boolean arg0) { + raiseEvent("onUserMobileDataStateChanged", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OnSystemUiVisibilityChangeListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OnSystemUiVisibilityChangeListener.java new file mode 100644 index 000000000..63bb446ae --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OnSystemUiVisibilityChangeListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.view; + +public final class OnSystemUiVisibilityChangeListener extends org.mases.jcobridge.JCListener implements android.view.View.OnSystemUiVisibilityChangeListener { + public OnSystemUiVisibilityChangeListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onSystemUiVisibilityChange(int arg0) { + raiseEvent("onSystemUiVisibilityChange", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OrientationListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OrientationListener.java new file mode 100644 index 000000000..1ef29eb42 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/view/OrientationListener.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.view; + +public final class OrientationListener extends org.mases.jcobridge.JCListener implements android.hardware.SensorListener { + public OrientationListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onOrientationChanged(int arg0) { + raiseEvent("onOrientationChanged", arg0); + } + //@Override + public void disable() { + raiseEvent("disable"); + } + //@Override + public void enable() { + raiseEvent("enable"); + } + //@Override + public void onAccuracyChanged(int arg0, int arg1) { + raiseEvent("onAccuracyChanged", arg0, arg1); + } + //@Override + public void onSensorChanged(int arg0, float[] arg1) { + raiseEvent("onSensorChanged", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/IconListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/IconListener.java new file mode 100644 index 000000000..bdc51f2f4 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/IconListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.webkit; + +public final class IconListener extends org.mases.jcobridge.JCListener implements android.webkit.WebIconDatabase.IconListener { + public IconListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onReceivedIcon(java.lang.String arg0, android.graphics.Bitmap arg1) { + raiseEvent("onReceivedIcon", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/PictureListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/PictureListener.java new file mode 100644 index 000000000..80a2db4f5 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/webkit/PictureListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.webkit; + +public final class PictureListener extends org.mases.jcobridge.JCListener implements android.webkit.WebView.PictureListener { + public PictureListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onNewPicture(android.webkit.WebView arg0, android.graphics.Picture arg1) { + raiseEvent("onNewPicture", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerCloseListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerCloseListener.java new file mode 100644 index 000000000..bb451da90 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerCloseListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.widget; + +public final class OnDrawerCloseListener extends org.mases.jcobridge.JCListener implements android.widget.SlidingDrawer.OnDrawerCloseListener { + public OnDrawerCloseListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onDrawerClosed() { + raiseEvent("onDrawerClosed"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerOpenListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerOpenListener.java new file mode 100644 index 000000000..e3c96b130 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerOpenListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.widget; + +public final class OnDrawerOpenListener extends org.mases.jcobridge.JCListener implements android.widget.SlidingDrawer.OnDrawerOpenListener { + public OnDrawerOpenListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onDrawerOpened() { + raiseEvent("onDrawerOpened"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerScrollListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerScrollListener.java new file mode 100644 index 000000000..d6472ba57 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnDrawerScrollListener.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.widget; + +public final class OnDrawerScrollListener extends org.mases.jcobridge.JCListener implements android.widget.SlidingDrawer.OnDrawerScrollListener { + public OnDrawerScrollListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onScrollEnded() { + raiseEvent("onScrollEnded"); + } + //@Override + public void onScrollStarted() { + raiseEvent("onScrollStarted"); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnTabChangeListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnTabChangeListener.java new file mode 100644 index 000000000..f8cd84946 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnTabChangeListener.java @@ -0,0 +1,35 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.widget; + +public final class OnTabChangeListener extends org.mases.jcobridge.JCListener implements android.widget.TabHost.OnTabChangeListener { + public OnTabChangeListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onTabChanged(java.lang.String arg0) { + raiseEvent("onTabChanged", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnZoomListener.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnZoomListener.java new file mode 100644 index 000000000..04e1a82fd --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/widget/OnZoomListener.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.widget; + +public final class OnZoomListener extends org.mases.jcobridge.JCListener implements android.widget.ZoomButtonsController.OnZoomListener { + public OnZoomListener(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onVisibilityChanged(boolean arg0) { + raiseEvent("onVisibilityChanged", arg0); + } + //@Override + public void onZoom(boolean arg0) { + raiseEvent("onZoom", arg0); + } + +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityService.cs b/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityService.cs index a88cd72c1..4ce013e9f 100644 --- a/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityService.cs +++ b/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityService.cs @@ -875,6 +875,22 @@ public partial class MagnificationController #region Instance methods /// + /// + /// + [System.Obsolete()] + public float CenterX + { + get { return IExecuteWithSignature("getCenterX", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public float CenterY + { + get { return IExecuteWithSignature("getCenterY", "()F"); } + } + /// /// /// public Android.Graphics.Region CurrentMagnificationRegion @@ -889,6 +905,22 @@ public Android.Accessibilityservice.MagnificationConfig MagnificationConfig get { return IExecuteWithSignature("getMagnificationConfig", "()Landroid/accessibilityservice/MagnificationConfig;"); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Region MagnificationRegion + { + get { return IExecuteWithSignature("getMagnificationRegion", "()Landroid/graphics/Region;"); } + } + /// + /// + /// + [System.Obsolete()] + public float Scale + { + get { return IExecuteWithSignature("getScale", "()F"); } + } + /// /// /// /// @@ -916,6 +948,18 @@ public bool ResetCurrentMagnification(bool arg0) return IExecuteWithSignature("resetCurrentMagnification", "(Z)Z", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetCenter(float arg0, float arg1, bool arg2) + { + return IExecute("setCenter", arg0, arg1, arg2); + } + /// /// /// /// @@ -926,6 +970,17 @@ public bool SetMagnificationConfig(Android.Accessibilityservice.MagnificationCon return IExecute("setMagnificationConfig", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetScale(float arg0, bool arg1) + { + return IExecute("setScale", arg0, arg1); + } + /// /// /// /// @@ -972,7 +1027,34 @@ public partial class OnMagnificationChangedListener protected virtual void InitializeHandlers() { AddEventHandler("onMagnificationChanged", new System.EventHandler>>(OnMagnificationChangedEventHandler)); + AddEventHandler("onMagnificationChanged3", new System.EventHandler>>(OnMagnificationChanged3EventHandler)); + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnMagnificationChanged { get; set; } = null; + + void OnMagnificationChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnMagnificationChanged != null) ? OnOnMagnificationChanged : OnMagnificationChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnMagnificationChanged(Android.Accessibilityservice.AccessibilityService.MagnificationController arg0, Android.Graphics.Region arg1, float arg2, float arg3, float arg4) + { + } /// /// @@ -989,12 +1071,12 @@ public void OnMagnificationChangedDefault(Android.Accessibilityservice.Accessibi /// /// Handler for /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnOnMagnificationChanged { get; set; } = null; + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnMagnificationChanged3 { get; set; } = null; - void OnMagnificationChangedEventHandler(object sender, CLRListenerEventArgs> data) + void OnMagnificationChanged3EventHandler(object sender, CLRListenerEventArgs> data) { - var methodToExecute = (OnOnMagnificationChanged != null) ? OnOnMagnificationChanged : OnMagnificationChanged; + var methodToExecute = (OnOnMagnificationChanged3 != null) ? OnOnMagnificationChanged3 : OnMagnificationChanged; methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); } @@ -1041,6 +1123,19 @@ public partial class OnMagnificationChangedListenerDirect #region Instance methods /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnMagnificationChanged(Android.Accessibilityservice.AccessibilityService.MagnificationController arg0, Android.Graphics.Region arg1, float arg2, float arg3, float arg4) + { + IExecute("onMagnificationChanged", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityServiceInfo.cs b/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityServiceInfo.cs index 5253f534b..69f8e2d37 100644 --- a/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityServiceInfo.cs +++ b/src/net/Netdroid/Generated/Android/Accessibilityservice/AccessibilityServiceInfo.cs @@ -76,6 +76,13 @@ public partial class AccessibilityServiceInfo private static int _CAPABILITY_CAN_PERFORM_GESTURESContent = default; private static bool _CAPABILITY_CAN_PERFORM_GESTURESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY { get { if (!_CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady) { _CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent = SGetField(LocalBridgeClazz, "CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"); _CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady = true; } return _CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent; } } + private static int _CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent = default; + private static bool _CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady = false; // this is used because in case of generics + /// /// /// public static int CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS { get { if (!_CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTSReady) { _CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTSContent = SGetField(LocalBridgeClazz, "CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS"); _CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTSReady = true; } return _CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTSContent; } } @@ -190,6 +197,13 @@ public partial class AccessibilityServiceInfo private static int _FLAG_REQUEST_ACCESSIBILITY_BUTTONContent = default; private static bool _FLAG_REQUEST_ACCESSIBILITY_BUTTONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY { get { if (!_FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady) { _FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent = SGetField(LocalBridgeClazz, "FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY"); _FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady = true; } return _FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent; } } + private static int _FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYContent = default; + private static bool _FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITYReady = false; // this is used because in case of generics + /// /// /// public static int FLAG_REQUEST_FILTER_KEY_EVENTS { get { if (!_FLAG_REQUEST_FILTER_KEY_EVENTSReady) { _FLAG_REQUEST_FILTER_KEY_EVENTSContent = SGetField(LocalBridgeClazz, "FLAG_REQUEST_FILTER_KEY_EVENTS"); _FLAG_REQUEST_FILTER_KEY_EVENTSReady = true; } return _FLAG_REQUEST_FILTER_KEY_EVENTSContent; } } @@ -273,6 +287,14 @@ public static Java.Lang.String FlagToString(int arg0) #region Instance methods /// + /// + /// + [System.Obsolete()] + public bool CanRetrieveWindowContent + { + get { return IExecuteWithSignature("getCanRetrieveWindowContent", "()Z"); } + } + /// /// /// public int Capabilities @@ -280,6 +302,14 @@ public int Capabilities get { return IExecuteWithSignature("getCapabilities", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Description + { + get { return IExecuteWithSignature("getDescription", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Lang.String Id diff --git a/src/net/Netdroid/Generated/Android/Accounts/AccountAuthenticatorActivity.cs b/src/net/Netdroid/Generated/Android/Accounts/AccountAuthenticatorActivity.cs new file mode 100644 index 000000000..ee44639d2 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Accounts/AccountAuthenticatorActivity.cs @@ -0,0 +1,67 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Accounts +{ + #region AccountAuthenticatorActivity + public partial class AccountAuthenticatorActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void SetAccountAuthenticatorResult(Android.Os.Bundle arg0) + { + IExecuteWithSignature("setAccountAuthenticatorResult", "(Landroid/os/Bundle;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Accounts/AccountManager.cs b/src/net/Netdroid/Generated/Android/Accounts/AccountManager.cs index d6b56ef5f..7ea12e6a4 100644 --- a/src/net/Netdroid/Generated/Android/Accounts/AccountManager.cs +++ b/src/net/Netdroid/Generated/Android/Accounts/AccountManager.cs @@ -266,6 +266,13 @@ public partial class AccountManager private static Java.Lang.String _KEY_USERDATAContent = default; private static bool _KEY_USERDATAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOGIN_ACCOUNTS_CHANGED_ACTION { get { if (!_LOGIN_ACCOUNTS_CHANGED_ACTIONReady) { _LOGIN_ACCOUNTS_CHANGED_ACTIONContent = SGetField(LocalBridgeClazz, "LOGIN_ACCOUNTS_CHANGED_ACTION"); _LOGIN_ACCOUNTS_CHANGED_ACTIONReady = true; } return _LOGIN_ACCOUNTS_CHANGED_ACTIONContent; } } + private static Java.Lang.String _LOGIN_ACCOUNTS_CHANGED_ACTIONContent = default; + private static bool _LOGIN_ACCOUNTS_CHANGED_ACTIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLE { get { if (!_PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLEReady) { _PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLEContent = SGetField(LocalBridgeClazz, "PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLE"); _PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLEReady = true; } return _PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLEContent; } } @@ -291,6 +298,23 @@ public static Android.Accounts.AccountManager Get(Android.Content.Context arg0) return SExecuteWithSignature(LocalBridgeClazz, "get", "(Landroid/content/Context;)Landroid/accounts/AccountManager;", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Content.Intent NewChooseAccountIntent(Android.Accounts.Account arg0, Java.Util.ArrayList arg1, Java.Lang.String[] arg2, bool arg3, Java.Lang.String arg4, Java.Lang.String arg5, Java.Lang.String[] arg6, Android.Os.Bundle arg7) + { + return SExecute(LocalBridgeClazz, "newChooseAccountIntent", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// /// /// /// @@ -447,6 +471,20 @@ public Android.Accounts.Account[] GetAccountsByTypeForPackage(Java.Lang.String a return IExecute>("getAuthToken", arg0, arg1, arg2, arg3, arg4, arg5); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Accounts.AccountManagerFuture GetAuthToken(Android.Accounts.Account arg0, Java.Lang.String arg1, bool arg2, Android.Accounts.AccountManagerCallback arg3, Android.Os.Handler arg4) + { + return IExecute>("getAuthToken", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -542,6 +580,18 @@ public Android.Accounts.Account[] GetAccountsByTypeForPackage(Java.Lang.String a return IExecute>("isCredentialsUpdateSuggested", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Accounts.AccountManagerFuture RemoveAccount(Android.Accounts.Account arg0, Android.Accounts.AccountManagerCallback arg1, Android.Os.Handler arg2) + { + return IExecute>("removeAccount", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Accounts/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Accounts/AllPackageClasses.cs index fb5683caf..9e6a60fc9 100644 --- a/src/net/Netdroid/Generated/Android/Accounts/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Accounts/AllPackageClasses.cs @@ -116,6 +116,51 @@ public Account(params object[] args) : base(args) { } } #endregion + #region AccountAuthenticatorActivity + /// + /// + /// + [System.Obsolete()] + public partial class AccountAuthenticatorActivity : Android.App.Activity + { + const string _bridgeClassName = "android.accounts.AccountAuthenticatorActivity"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AccountAuthenticatorActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AccountAuthenticatorActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region AccountAuthenticatorResponse /// /// diff --git a/src/net/Netdroid/Generated/Android/Animation/LayoutTransition.cs b/src/net/Netdroid/Generated/Android/Animation/LayoutTransition.cs index a0f535895..55419317a 100644 --- a/src/net/Netdroid/Generated/Android/Animation/LayoutTransition.cs +++ b/src/net/Netdroid/Generated/Android/Animation/LayoutTransition.cs @@ -196,6 +196,16 @@ public void HideChild(Android.View.ViewGroup arg0, Android.View.View arg1, int a IExecute("hideChild", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void HideChild(Android.View.ViewGroup arg0, Android.View.View arg1) + { + IExecute("hideChild", arg0, arg1); + } + /// /// /// /// @@ -283,6 +293,16 @@ public void ShowChild(Android.View.ViewGroup arg0, Android.View.View arg1, int a { IExecute("showChild", arg0, arg1, arg2); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ShowChild(Android.View.ViewGroup arg0, Android.View.View arg1) + { + IExecute("showChild", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/App/ActionBar.cs b/src/net/Netdroid/Generated/Android/App/ActionBar.cs index b5689d9c0..e7bf4ad0d 100644 --- a/src/net/Netdroid/Generated/Android/App/ActionBar.cs +++ b/src/net/Netdroid/Generated/Android/App/ActionBar.cs @@ -67,6 +67,27 @@ public partial class ActionBar public static int DISPLAY_USE_LOGO { get { if (!_DISPLAY_USE_LOGOReady) { _DISPLAY_USE_LOGOContent = SGetField(LocalBridgeClazz, "DISPLAY_USE_LOGO"); _DISPLAY_USE_LOGOReady = true; } return _DISPLAY_USE_LOGOContent; } } private static int _DISPLAY_USE_LOGOContent = default; private static bool _DISPLAY_USE_LOGOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NAVIGATION_MODE_LIST { get { if (!_NAVIGATION_MODE_LISTReady) { _NAVIGATION_MODE_LISTContent = SGetField(LocalBridgeClazz, "NAVIGATION_MODE_LIST"); _NAVIGATION_MODE_LISTReady = true; } return _NAVIGATION_MODE_LISTContent; } } + private static int _NAVIGATION_MODE_LISTContent = default; + private static bool _NAVIGATION_MODE_LISTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NAVIGATION_MODE_STANDARD { get { if (!_NAVIGATION_MODE_STANDARDReady) { _NAVIGATION_MODE_STANDARDContent = SGetField(LocalBridgeClazz, "NAVIGATION_MODE_STANDARD"); _NAVIGATION_MODE_STANDARDReady = true; } return _NAVIGATION_MODE_STANDARDContent; } } + private static int _NAVIGATION_MODE_STANDARDContent = default; + private static bool _NAVIGATION_MODE_STANDARDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NAVIGATION_MODE_TABS { get { if (!_NAVIGATION_MODE_TABSReady) { _NAVIGATION_MODE_TABSContent = SGetField(LocalBridgeClazz, "NAVIGATION_MODE_TABS"); _NAVIGATION_MODE_TABSReady = true; } return _NAVIGATION_MODE_TABSContent; } } + private static int _NAVIGATION_MODE_TABSContent = default; + private static bool _NAVIGATION_MODE_TABSReady = false; // this is used because in case of generics #endregion @@ -111,6 +132,38 @@ public int HideOffset get { return IExecuteWithSignature("getHideOffset", "()I"); } set { IExecuteWithSignature("setHideOffset", "(I)V", value); } } /// + /// + /// + [System.Obsolete()] + public int NavigationItemCount + { + get { return IExecuteWithSignature("getNavigationItemCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int NavigationMode + { + get { return IExecuteWithSignature("getNavigationMode", "()I"); } set { IExecuteWithSignature("setNavigationMode", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int SelectedNavigationIndex + { + get { return IExecuteWithSignature("getSelectedNavigationIndex", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SelectedTab + { + get { return IExecuteWithSignature("getSelectedTab", "()Landroid/app/ActionBar$Tab;"); } + } + /// /// /// public Java.Lang.CharSequence Subtitle @@ -118,6 +171,14 @@ public Java.Lang.CharSequence Subtitle get { return IExecuteWithSignature("getSubtitle", "()Ljava/lang/CharSequence;"); } } /// + /// + /// + [System.Obsolete()] + public int TabCount + { + get { return IExecuteWithSignature("getTabCount", "()I"); } + } + /// /// /// public Android.Content.Context ThemedContext @@ -132,6 +193,25 @@ public Java.Lang.CharSequence Title get { return IExecuteWithSignature("getTitle", "()Ljava/lang/CharSequence;"); } } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab GetTabAt(int arg0) + { + return IExecuteWithSignature("getTabAt", "(I)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab NewTab() + { + return IExecuteWithSignature("newTab", "()Landroid/app/ActionBar$Tab;"); + } + /// /// /// /// @@ -148,6 +228,46 @@ public void AddOnMenuVisibilityListener(Android.App.ActionBar.OnMenuVisibilityLi IExecuteWithSignature("addOnMenuVisibilityListener", "(Landroid/app/ActionBar$OnMenuVisibilityListener;)V", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddTab(Android.App.ActionBar.Tab arg0, bool arg1) + { + IExecute("addTab", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddTab(Android.App.ActionBar.Tab arg0, int arg1, bool arg2) + { + IExecute("addTab", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddTab(Android.App.ActionBar.Tab arg0, int arg1) + { + IExecute("addTab", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddTab(Android.App.ActionBar.Tab arg0) + { + IExecuteWithSignature("addTab", "(Landroid/app/ActionBar$Tab;)V", arg0); + } + /// /// /// public void Hide() @@ -155,6 +275,14 @@ public void Hide() IExecuteWithSignature("hide", "()V"); } /// + /// + /// + [System.Obsolete()] + public void RemoveAllTabs() + { + IExecuteWithSignature("removeAllTabs", "()V"); + } + /// /// /// /// @@ -163,6 +291,33 @@ public void RemoveOnMenuVisibilityListener(Android.App.ActionBar.OnMenuVisibilit IExecuteWithSignature("removeOnMenuVisibilityListener", "(Landroid/app/ActionBar$OnMenuVisibilityListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveTab(Android.App.ActionBar.Tab arg0) + { + IExecuteWithSignature("removeTab", "(Landroid/app/ActionBar$Tab;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RemoveTabAt(int arg0) + { + IExecuteWithSignature("removeTabAt", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SelectTab(Android.App.ActionBar.Tab arg0) + { + IExecuteWithSignature("selectTab", "(Landroid/app/ActionBar$Tab;)V", arg0); + } + /// /// /// /// @@ -261,6 +416,16 @@ public void SetIcon(int arg0) IExecuteWithSignature("setIcon", "(I)V", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetListNavigationCallbacks(Android.Widget.SpinnerAdapter arg0, Android.App.ActionBar.OnNavigationListener arg1) + { + IExecute("setListNavigationCallbacks", arg0, arg1); + } + /// /// /// /// @@ -277,6 +442,15 @@ public void SetLogo(int arg0) IExecuteWithSignature("setLogo", "(I)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetSelectedNavigationItem(int arg0) + { + IExecuteWithSignature("setSelectedNavigationItem", "(I)V", arg0); + } + /// /// /// /// @@ -577,6 +751,477 @@ public override void OnMenuVisibilityChanged(bool arg0) } #endregion + #region OnNavigationListener + public partial class OnNavigationListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onNavigationItemSelected", new System.EventHandler>>(OnNavigationItemSelectedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnNavigationItemSelected { get; set; } = null; + + void OnNavigationItemSelectedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnNavigationItemSelected != null) ? OnOnNavigationItemSelected : OnNavigationItemSelected; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool OnNavigationItemSelected(int arg0, long arg1) + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnNavigationListenerDirect + public partial class OnNavigationListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool OnNavigationItemSelected(int arg0, long arg1) + { + return IExecute("onNavigationItemSelected", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Tab + public partial class Tab + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int INVALID_POSITION { get { if (!_INVALID_POSITIONReady) { _INVALID_POSITIONContent = SGetField(LocalBridgeClazz, "INVALID_POSITION"); _INVALID_POSITIONReady = true; } return _INVALID_POSITIONContent; } } + private static int _INVALID_POSITIONContent = default; + private static bool _INVALID_POSITIONReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence ContentDescription + { + get { return IExecuteWithSignature("getContentDescription", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.View.View CustomView + { + get { return IExecuteWithSignature("getCustomView", "()Landroid/view/View;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable Icon + { + get { return IExecuteWithSignature("getIcon", "()Landroid/graphics/drawable/Drawable;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Position + { + get { return IExecuteWithSignature("getPosition", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public object Tag + { + get { return IExecuteWithSignature("getTag", "()Ljava/lang/Object;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Text + { + get { return IExecuteWithSignature("getText", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetContentDescription(int arg0) + { + return IExecuteWithSignature("setContentDescription", "(I)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetContentDescription(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setContentDescription", "(Ljava/lang/CharSequence;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetCustomView(Android.View.View arg0) + { + return IExecuteWithSignature("setCustomView", "(Landroid/view/View;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetCustomView(int arg0) + { + return IExecuteWithSignature("setCustomView", "(I)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetIcon(Android.Graphics.Drawable.Drawable arg0) + { + return IExecuteWithSignature("setIcon", "(Landroid/graphics/drawable/Drawable;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetIcon(int arg0) + { + return IExecuteWithSignature("setIcon", "(I)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetTabListener(Android.App.ActionBar.TabListener arg0) + { + return IExecuteWithSignature("setTabListener", "(Landroid/app/ActionBar$TabListener;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetTag(object arg0) + { + return IExecuteWithSignature("setTag", "(Ljava/lang/Object;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetText(int arg0) + { + return IExecuteWithSignature("setText", "(I)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.ActionBar.Tab SetText(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setText", "(Ljava/lang/CharSequence;)Landroid/app/ActionBar$Tab;", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Select() + { + IExecuteWithSignature("select", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region TabListener + public partial class TabListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onTabReselected", new System.EventHandler>>(OnTabReselectedEventHandler)); + AddEventHandler("onTabSelected", new System.EventHandler>>(OnTabSelectedEventHandler)); + AddEventHandler("onTabUnselected", new System.EventHandler>>(OnTabUnselectedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnTabReselected { get; set; } = null; + + void OnTabReselectedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnTabReselected != null) ? OnOnTabReselected : OnTabReselected; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnTabReselected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnTabSelected { get; set; } = null; + + void OnTabSelectedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnTabSelected != null) ? OnOnTabSelected : OnTabSelected; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnTabSelected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnTabUnselected { get; set; } = null; + + void OnTabUnselectedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnTabUnselected != null) ? OnOnTabUnselected : OnTabUnselected; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnTabUnselected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region TabListenerDirect + public partial class TabListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnTabReselected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + IExecute("onTabReselected", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnTabSelected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + IExecute("onTabSelected", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnTabUnselected(Android.App.ActionBar.Tab arg0, Android.App.FragmentTransaction arg1) + { + IExecute("onTabUnselected", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/App/Activity.cs b/src/net/Netdroid/Generated/Android/App/Activity.cs index 075b8ea64..593a64516 100644 --- a/src/net/Netdroid/Generated/Android/App/Activity.cs +++ b/src/net/Netdroid/Generated/Android/App/Activity.cs @@ -185,6 +185,14 @@ public Android.View.View CurrentFocus get { return IExecuteWithSignature("getCurrentFocus", "()Landroid/view/View;"); } } /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManager FragmentManager + { + get { return IExecuteWithSignature("getFragmentManager", "()Landroid/app/FragmentManager;"); } + } + /// /// /// public Android.Content.Intent Intent @@ -220,6 +228,14 @@ public Android.View.LayoutInflater LayoutInflater get { return IExecuteWithSignature("getLayoutInflater", "()Landroid/view/LayoutInflater;"); } } /// + /// + /// + [System.Obsolete()] + public Android.App.LoaderManager LoaderManager + { + get { return IExecuteWithSignature("getLoaderManager", "()Landroid/app/LoaderManager;"); } + } + /// /// /// public Java.Lang.String LocalClassName @@ -311,11 +327,12 @@ public Java.Lang.CharSequence Title get { return IExecuteWithSignature("getTitle", "()Ljava/lang/CharSequence;"); } } /// - /// + /// /// + [System.Obsolete()] public int TitleColor { - get { return IExecuteWithSignature("getTitleColor", "()I"); } + get { return IExecuteWithSignature("getTitleColor", "()I"); } set { IExecuteWithSignature("setTitleColor", "(I)V", value); } } /// /// @@ -648,6 +665,17 @@ public bool NavigateUpTo(Android.Content.Intent arg0) return IExecuteWithSignature("navigateUpTo", "(Landroid/content/Intent;)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool NavigateUpToFromChild(Android.App.Activity arg0, Android.Content.Intent arg1) + { + return IExecute("navigateUpToFromChild", arg0, arg1); + } + /// /// /// /// @@ -676,6 +704,17 @@ public bool OnCreatePanelMenu(int arg0, Android.View.Menu arg1) return IExecute("onCreatePanelMenu", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnCreateThumbnail(Android.Graphics.Bitmap arg0, Android.Graphics.Canvas arg1) + { + return IExecute("onCreateThumbnail", arg0, arg1); + } + /// /// /// /// @@ -764,6 +803,16 @@ public bool OnNavigateUp() return IExecuteWithSignature("onNavigateUp", "()Z"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnNavigateUpFromChild(Android.App.Activity arg0) + { + return IExecuteWithSignature("onNavigateUpFromChild", "(Landroid/app/Activity;)Z", arg0); + } + /// /// /// /// @@ -844,6 +893,16 @@ public bool ReleaseInstance() return IExecuteWithSignature("releaseInstance", "()Z"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RequestVisibleBehind(bool arg0) + { + return IExecuteWithSignature("requestVisibleBehind", "(Z)Z", arg0); + } + /// /// /// /// @@ -938,6 +997,20 @@ public T RequireViewById(int arg0) where T: Android.View.View return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Database.Cursor ManagedQuery(Android.Net.Uri arg0, Java.Lang.String[] arg1, Java.Lang.String arg2, Java.Lang.String[] arg3, Java.Lang.String arg4) + { + return IExecute("managedQuery", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -955,6 +1028,26 @@ public bool RequestWindowFeature(int arg0) return IExecuteWithSignature("requestWindowFeature", "(I)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ShowDialog(int arg0, Android.Os.Bundle arg1) + { + return IExecute("showDialog", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DismissDialog(int arg0) + { + IExecuteWithSignature("dismissDialog", "(I)V", arg0); + } + /// /// /// public void DismissKeyboardShortcutsHelper() @@ -962,6 +1055,15 @@ public void DismissKeyboardShortcutsHelper() IExecuteWithSignature("dismissKeyboardShortcutsHelper", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveDialog(int arg0) + { + IExecuteWithSignature("removeDialog", "(I)V", arg0); + } + /// /// /// /// @@ -1030,6 +1132,42 @@ public void SetFeatureDrawableUri(int arg0, Android.Net.Uri arg1) IExecute("setFeatureDrawableUri", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void SetProgress(int arg0) + { + IExecuteWithSignature("setProgress", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressBarIndeterminate(bool arg0) + { + IExecuteWithSignature("setProgressBarIndeterminate", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressBarIndeterminateVisibility(bool arg0) + { + IExecuteWithSignature("setProgressBarIndeterminateVisibility", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressBarVisibility(bool arg0) + { + IExecuteWithSignature("setProgressBarVisibility", "(Z)V", arg0); + } + /// /// /// /// @@ -1047,6 +1185,24 @@ public void SetResult(int arg0) IExecuteWithSignature("setResult", "(I)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetSecondaryProgress(int arg0) + { + IExecuteWithSignature("setSecondaryProgress", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ShowDialog(int arg0) + { + IExecuteWithSignature("showDialog", "(I)V", arg0); + } + /// /// /// /// @@ -1105,6 +1261,14 @@ public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.Pri IExecute("dump", arg0, arg1, arg2, arg3); } /// + /// + /// + [System.Obsolete()] + public void EnterPictureInPictureMode() + { + IExecuteWithSignature("enterPictureInPictureMode", "()V"); + } + /// /// /// public void Finish() @@ -1120,6 +1284,16 @@ public void FinishActivity(int arg0) IExecuteWithSignature("finishActivity", "(I)V", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void FinishActivityFromChild(Android.App.Activity arg0, int arg1) + { + IExecute("finishActivityFromChild", arg0, arg1); + } + /// /// /// public void FinishAffinity() @@ -1141,6 +1315,15 @@ public void FinishAndRemoveTask() IExecuteWithSignature("finishAndRemoveTask", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void FinishFromChild(Android.App.Activity arg0) + { + IExecuteWithSignature("finishFromChild", "(Landroid/app/Activity;)V", arg0); + } + /// /// /// public void InvalidateOptionsMenu() @@ -1180,6 +1363,23 @@ public void OnAttachedToWindow() IExecuteWithSignature("onAttachedToWindow", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void OnAttachFragment(Android.App.Fragment arg0) + { + IExecuteWithSignature("onAttachFragment", "(Landroid/app/Fragment;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnBackPressed() + { + IExecuteWithSignature("onBackPressed", "()V"); + } + /// /// /// /// @@ -1283,6 +1483,15 @@ public void OnMultiWindowModeChanged(bool arg0, Android.Content.Res.Configuratio IExecute("onMultiWindowModeChanged", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void OnMultiWindowModeChanged(bool arg0) + { + IExecuteWithSignature("onMultiWindowModeChanged", "(Z)V", arg0); + } + /// /// /// /// @@ -1320,6 +1529,15 @@ public void OnPictureInPictureModeChanged(bool arg0, Android.Content.Res.Configu IExecute("onPictureInPictureModeChanged", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void OnPictureInPictureModeChanged(bool arg0) + { + IExecuteWithSignature("onPictureInPictureModeChanged", "(Z)V", arg0); + } + /// /// /// /// @@ -1399,6 +1617,14 @@ public void OnSaveInstanceState(Android.Os.Bundle arg0, Android.Os.PersistableBu IExecute("onSaveInstanceState", arg0, arg1); } /// + /// + /// + [System.Obsolete()] + public void OnStateNotSaved() + { + IExecuteWithSignature("onStateNotSaved", "()V"); + } + /// /// /// /// @@ -1422,6 +1648,14 @@ public void OnUserInteraction() IExecuteWithSignature("onUserInteraction", "()V"); } /// + /// + /// + [System.Obsolete()] + public void OnVisibleBehindCanceled() + { + IExecuteWithSignature("onVisibleBehindCanceled", "()V"); + } + /// /// /// /// @@ -1474,6 +1708,27 @@ public void OverrideActivityTransition(int arg0, int arg1, int arg2) IExecute("overrideActivityTransition", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OverridePendingTransition(int arg0, int arg1, int arg2) + { + IExecute("overridePendingTransition", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OverridePendingTransition(int arg0, int arg1) + { + IExecute("overridePendingTransition", arg0, arg1); + } + /// /// /// public void PostponeEnterTransition() @@ -1711,6 +1966,52 @@ public void StartActivityForResult(Android.Content.Intent arg0, int arg1) IExecute("startActivityForResult", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityFromChild(Android.App.Activity arg0, Android.Content.Intent arg1, int arg2, Android.Os.Bundle arg3) + { + IExecute("startActivityFromChild", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityFromChild(Android.App.Activity arg0, Android.Content.Intent arg1, int arg2) + { + IExecute("startActivityFromChild", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityFromFragment(Android.App.Fragment arg0, Android.Content.Intent arg1, int arg2, Android.Os.Bundle arg3) + { + IExecute("startActivityFromFragment", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityFromFragment(Android.App.Fragment arg0, Android.Content.Intent arg1, int arg2) + { + IExecute("startActivityFromFragment", arg0, arg1, arg2); + } + /// /// /// /// @@ -1740,6 +2041,39 @@ public void StartIntentSenderForResult(Android.Content.IntentSender arg0, int ar IExecute("startIntentSenderForResult", arg0, arg1, arg2, arg3, arg4, arg5); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartIntentSenderFromChild(Android.App.Activity arg0, Android.Content.IntentSender arg1, int arg2, Android.Content.Intent arg3, int arg4, int arg5, int arg6, Android.Os.Bundle arg7) + { + IExecute("startIntentSenderFromChild", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartIntentSenderFromChild(Android.App.Activity arg0, Android.Content.IntentSender arg1, int arg2, Android.Content.Intent arg3, int arg4, int arg5, int arg6) + { + IExecute("startIntentSenderFromChild", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// /// /// /// @@ -1755,6 +2089,15 @@ public void StartLockTask() IExecuteWithSignature("startLockTask", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void StartManagingCursor(Android.Database.Cursor arg0) + { + IExecuteWithSignature("startManagingCursor", "(Landroid/database/Cursor;)V", arg0); + } + /// /// /// public void StartPostponedEnterTransition() @@ -1787,6 +2130,15 @@ public void StopLockTask() IExecuteWithSignature("stopLockTask", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void StopManagingCursor(Android.Database.Cursor arg0) + { + IExecuteWithSignature("stopManagingCursor", "(Landroid/database/Cursor;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/ActivityGroup.cs b/src/net/Netdroid/Generated/Android/App/ActivityGroup.cs new file mode 100644 index 000000000..70f4b2fc7 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/ActivityGroup.cs @@ -0,0 +1,83 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region ActivityGroup + public partial class ActivityGroup + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public ActivityGroup(bool arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Activity CurrentActivity + { + get { return IExecuteWithSignature("getCurrentActivity", "()Landroid/app/Activity;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.LocalActivityManager LocalActivityManager + { + get { return IExecuteWithSignature("getLocalActivityManager", "()Landroid/app/LocalActivityManager;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/ActivityManager.cs b/src/net/Netdroid/Generated/Android/App/ActivityManager.cs index 306a2e9ab..203e008bf 100644 --- a/src/net/Netdroid/Generated/Android/App/ActivityManager.cs +++ b/src/net/Netdroid/Generated/Android/App/ActivityManager.cs @@ -104,6 +104,15 @@ public static bool IsLowMemoryKillReportSupported() return SExecuteWithSignature(LocalBridgeClazz, "isLowMemoryKillReportSupported", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public static bool IsRunningInTestHarness() + { + return SExecuteWithSignature(LocalBridgeClazz, "isRunningInTestHarness", "()Z"); + } + /// /// /// /// @@ -256,6 +265,15 @@ public bool IsBackgroundRestricted() return IExecuteWithSignature("isBackgroundRestricted", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsInLockTaskMode() + { + return IExecuteWithSignature("isInLockTaskMode", "()Z"); + } + /// /// /// /// @@ -276,6 +294,40 @@ public int AddAppTask(Android.App.Activity arg0, Android.Content.Intent arg1, An return IExecute("addAppTask", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetRecentTasks(int arg0, int arg1) + { + return IExecute>("getRecentTasks", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetRunningServices(int arg0) + { + return IExecuteWithSignature>("getRunningServices", "(I)Ljava/util/List;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetRunningTasks(int arg0) + { + return IExecuteWithSignature>("getRunningTasks", "(I)Ljava/util/List;", arg0); + } + /// /// /// /// @@ -346,6 +398,15 @@ public void MoveTaskToFront(int arg0, int arg1) IExecute("moveTaskToFront", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void RestartPackage(Java.Lang.String arg0) + { + IExecuteWithSignature("restartPackage", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -650,6 +711,26 @@ public partial class RecentTaskInfo #region Fields /// + /// + /// + [System.Obsolete()] + public int affiliatedTaskId { get { return IGetField("affiliatedTaskId"); } set { ISetField("affiliatedTaskId", value); } } + /// + /// + /// + [System.Obsolete()] + public int id { get { return IGetField("id"); } set { ISetField("id", value); } } + /// + /// + /// + [System.Obsolete()] + public int persistentId { get { return IGetField("persistentId"); } set { ISetField("persistentId", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence description { get { return IGetField("description"); } set { ISetField("description", value); } } + /// /// /// public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } @@ -768,6 +849,13 @@ public RunningAppProcessInfo(Java.Lang.String arg0, int arg1, Java.Lang.String[] private static Android.Os.Parcelable.Creator _CREATORContent = default; private static bool _CREATORReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int IMPORTANCE_BACKGROUND { get { if (!_IMPORTANCE_BACKGROUNDReady) { _IMPORTANCE_BACKGROUNDContent = SGetField(LocalBridgeClazz, "IMPORTANCE_BACKGROUND"); _IMPORTANCE_BACKGROUNDReady = true; } return _IMPORTANCE_BACKGROUNDContent; } } + private static int _IMPORTANCE_BACKGROUNDContent = default; + private static bool _IMPORTANCE_BACKGROUNDReady = false; // this is used because in case of generics + /// /// /// public static int IMPORTANCE_CACHED { get { if (!_IMPORTANCE_CACHEDReady) { _IMPORTANCE_CACHEDContent = SGetField(LocalBridgeClazz, "IMPORTANCE_CACHED"); _IMPORTANCE_CACHEDReady = true; } return _IMPORTANCE_CACHEDContent; } } @@ -780,6 +868,13 @@ public RunningAppProcessInfo(Java.Lang.String arg0, int arg1, Java.Lang.String[] private static int _IMPORTANCE_CANT_SAVE_STATEContent = default; private static bool _IMPORTANCE_CANT_SAVE_STATEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int IMPORTANCE_EMPTY { get { if (!_IMPORTANCE_EMPTYReady) { _IMPORTANCE_EMPTYContent = SGetField(LocalBridgeClazz, "IMPORTANCE_EMPTY"); _IMPORTANCE_EMPTYReady = true; } return _IMPORTANCE_EMPTYContent; } } + private static int _IMPORTANCE_EMPTYContent = default; + private static bool _IMPORTANCE_EMPTYReady = false; // this is used because in case of generics + /// /// /// public static int IMPORTANCE_FOREGROUND { get { if (!_IMPORTANCE_FOREGROUNDReady) { _IMPORTANCE_FOREGROUNDContent = SGetField(LocalBridgeClazz, "IMPORTANCE_FOREGROUND"); _IMPORTANCE_FOREGROUNDReady = true; } return _IMPORTANCE_FOREGROUNDContent; } } @@ -822,6 +917,13 @@ public RunningAppProcessInfo(Java.Lang.String arg0, int arg1, Java.Lang.String[] private static int _IMPORTANCE_TOP_SLEEPINGContent = default; private static bool _IMPORTANCE_TOP_SLEEPINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int IMPORTANCE_TOP_SLEEPING_PRE_28 { get { if (!_IMPORTANCE_TOP_SLEEPING_PRE_28Ready) { _IMPORTANCE_TOP_SLEEPING_PRE_28Content = SGetField(LocalBridgeClazz, "IMPORTANCE_TOP_SLEEPING_PRE_28"); _IMPORTANCE_TOP_SLEEPING_PRE_28Ready = true; } return _IMPORTANCE_TOP_SLEEPING_PRE_28Content; } } + private static int _IMPORTANCE_TOP_SLEEPING_PRE_28Content = default; + private static bool _IMPORTANCE_TOP_SLEEPING_PRE_28Ready = false; // this is used because in case of generics + /// /// /// public static int IMPORTANCE_VISIBLE { get { if (!_IMPORTANCE_VISIBLEReady) { _IMPORTANCE_VISIBLEContent = SGetField(LocalBridgeClazz, "IMPORTANCE_VISIBLE"); _IMPORTANCE_VISIBLEReady = true; } return _IMPORTANCE_VISIBLEContent; } } @@ -1048,6 +1150,26 @@ public partial class RunningTaskInfo #region Fields /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Bitmap thumbnail { get { return IGetField("thumbnail"); } set { ISetField("thumbnail", value); } } + /// + /// + /// + [System.Obsolete()] + public int id { get { return IGetField("id"); } set { ISetField("id", value); } } + /// + /// + /// + [System.Obsolete()] + public int numRunning { get { return IGetField("numRunning"); } set { ISetField("numRunning", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence description { get { return IGetField("description"); } set { ISetField("description", value); } } + /// /// /// public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } @@ -1109,6 +1231,57 @@ public TaskDescription(Android.App.ActivityManager.TaskDescription arg0) : base(arg0) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public TaskDescription(Java.Lang.String arg0, Android.Graphics.Bitmap arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public TaskDescription(Java.Lang.String arg0, Android.Graphics.Bitmap arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public TaskDescription(Java.Lang.String arg0, int arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public TaskDescription(Java.Lang.String arg0, int arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public TaskDescription(Java.Lang.String arg0) + : base(arg0) + { + } #endregion @@ -1139,6 +1312,14 @@ public int BackgroundColor get { return IExecuteWithSignature("getBackgroundColor", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Bitmap Icon + { + get { return IExecuteWithSignature("getIcon", "()Landroid/graphics/Bitmap;"); } + } + /// /// /// public Java.Lang.String Label diff --git a/src/net/Netdroid/Generated/Android/App/ActivityOptions.cs b/src/net/Netdroid/Generated/Android/App/ActivityOptions.cs index 0159c2690..8de9d1a78 100644 --- a/src/net/Netdroid/Generated/Android/App/ActivityOptions.cs +++ b/src/net/Netdroid/Generated/Android/App/ActivityOptions.cs @@ -305,6 +305,15 @@ public Android.Os.Bundle ToBundle() return IExecuteWithSignature("toBundle", "()Landroid/os/Bundle;"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsPendingIntentBackgroundActivityLaunchAllowed() + { + return IExecuteWithSignature("isPendingIntentBackgroundActivityLaunchAllowed", "()Z"); + } + /// /// /// /// @@ -321,6 +330,15 @@ public void RequestUsageTimeReport(Android.App.PendingIntent arg0) IExecuteWithSignature("requestUsageTimeReport", "(Landroid/app/PendingIntent;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetPendingIntentBackgroundActivityLaunchAllowed(bool arg0) + { + IExecuteWithSignature("setPendingIntentBackgroundActivityLaunchAllowed", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/Admin/DeviceAdminReceiver.cs b/src/net/Netdroid/Generated/Android/App/Admin/DeviceAdminReceiver.cs index 717374e15..cd55c0028 100644 --- a/src/net/Netdroid/Generated/Android/App/Admin/DeviceAdminReceiver.cs +++ b/src/net/Netdroid/Generated/Android/App/Admin/DeviceAdminReceiver.cs @@ -307,6 +307,16 @@ public void OnPasswordChanged(Android.Content.Context arg0, Android.Content.Inte IExecute("onPasswordChanged", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPasswordChanged(Android.Content.Context arg0, Android.Content.Intent arg1) + { + IExecute("onPasswordChanged", arg0, arg1); + } + /// /// /// /// @@ -317,6 +327,16 @@ public void OnPasswordExpiring(Android.Content.Context arg0, Android.Content.Int IExecute("onPasswordExpiring", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPasswordExpiring(Android.Content.Context arg0, Android.Content.Intent arg1) + { + IExecute("onPasswordExpiring", arg0, arg1); + } + /// /// /// /// @@ -327,6 +347,16 @@ public void OnPasswordFailed(Android.Content.Context arg0, Android.Content.Inten IExecute("onPasswordFailed", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPasswordFailed(Android.Content.Context arg0, Android.Content.Intent arg1) + { + IExecute("onPasswordFailed", arg0, arg1); + } + /// /// /// /// @@ -337,6 +367,16 @@ public void OnPasswordSucceeded(Android.Content.Context arg0, Android.Content.In IExecute("onPasswordSucceeded", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPasswordSucceeded(Android.Content.Context arg0, Android.Content.Intent arg1) + { + IExecute("onPasswordSucceeded", arg0, arg1); + } + /// /// /// /// @@ -346,6 +386,16 @@ public void OnProfileProvisioningComplete(Android.Content.Context arg0, Android. IExecute("onProfileProvisioningComplete", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnReadyForUserInitialization(Android.Content.Context arg0, Android.Content.Intent arg1) + { + IExecute("onReadyForUserInitialization", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/Admin/DevicePolicyManager.cs b/src/net/Netdroid/Generated/Android/App/Admin/DevicePolicyManager.cs index aaeae5fad..a9cd7e2f4 100644 --- a/src/net/Netdroid/Generated/Android/App/Admin/DevicePolicyManager.cs +++ b/src/net/Netdroid/Generated/Android/App/Admin/DevicePolicyManager.cs @@ -38,6 +38,13 @@ public partial class DevicePolicyManager #region Fields /// + /// + /// + [System.Obsolete()] + public static int ENCRYPTION_STATUS_ACTIVATING { get { if (!_ENCRYPTION_STATUS_ACTIVATINGReady) { _ENCRYPTION_STATUS_ACTIVATINGContent = SGetField(LocalBridgeClazz, "ENCRYPTION_STATUS_ACTIVATING"); _ENCRYPTION_STATUS_ACTIVATINGReady = true; } return _ENCRYPTION_STATUS_ACTIVATINGContent; } } + private static int _ENCRYPTION_STATUS_ACTIVATINGContent = default; + private static bool _ENCRYPTION_STATUS_ACTIVATINGReady = false; // this is used because in case of generics + /// /// /// public static int ENCRYPTION_STATUS_ACTIVE { get { if (!_ENCRYPTION_STATUS_ACTIVEReady) { _ENCRYPTION_STATUS_ACTIVEContent = SGetField(LocalBridgeClazz, "ENCRYPTION_STATUS_ACTIVE"); _ENCRYPTION_STATUS_ACTIVEReady = true; } return _ENCRYPTION_STATUS_ACTIVEContent; } } @@ -176,6 +183,13 @@ public partial class DevicePolicyManager private static int _KEYGUARD_DISABLE_IRISContent = default; private static bool _KEYGUARD_DISABLE_IRISReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int KEYGUARD_DISABLE_REMOTE_INPUT { get { if (!_KEYGUARD_DISABLE_REMOTE_INPUTReady) { _KEYGUARD_DISABLE_REMOTE_INPUTContent = SGetField(LocalBridgeClazz, "KEYGUARD_DISABLE_REMOTE_INPUT"); _KEYGUARD_DISABLE_REMOTE_INPUTReady = true; } return _KEYGUARD_DISABLE_REMOTE_INPUTContent; } } + private static int _KEYGUARD_DISABLE_REMOTE_INPUTContent = default; + private static bool _KEYGUARD_DISABLE_REMOTE_INPUTReady = false; // this is used because in case of generics + /// /// /// public static int KEYGUARD_DISABLE_SECURE_CAMERA { get { if (!_KEYGUARD_DISABLE_SECURE_CAMERAReady) { _KEYGUARD_DISABLE_SECURE_CAMERAContent = SGetField(LocalBridgeClazz, "KEYGUARD_DISABLE_SECURE_CAMERA"); _KEYGUARD_DISABLE_SECURE_CAMERAReady = true; } return _KEYGUARD_DISABLE_SECURE_CAMERAContent; } } @@ -638,6 +652,13 @@ public partial class DevicePolicyManager private static Java.Lang.String _ACTION_PROFILE_OWNER_CHANGEDContent = default; private static bool _ACTION_PROFILE_OWNER_CHANGEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_PROVISION_MANAGED_DEVICE { get { if (!_ACTION_PROVISION_MANAGED_DEVICEReady) { _ACTION_PROVISION_MANAGED_DEVICEContent = SGetField(LocalBridgeClazz, "ACTION_PROVISION_MANAGED_DEVICE"); _ACTION_PROVISION_MANAGED_DEVICEReady = true; } return _ACTION_PROVISION_MANAGED_DEVICEContent; } } + private static Java.Lang.String _ACTION_PROVISION_MANAGED_DEVICEContent = default; + private static bool _ACTION_PROVISION_MANAGED_DEVICEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_PROVISION_MANAGED_PROFILE { get { if (!_ACTION_PROVISION_MANAGED_PROFILEReady) { _ACTION_PROVISION_MANAGED_PROFILEContent = SGetField(LocalBridgeClazz, "ACTION_PROVISION_MANAGED_PROFILE"); _ACTION_PROVISION_MANAGED_PROFILEReady = true; } return _ACTION_PROVISION_MANAGED_PROFILEContent; } } @@ -824,6 +845,13 @@ public partial class DevicePolicyManager private static Java.Lang.String _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATIONContent = default; private static bool _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME { get { if (!_EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEReady) { _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME"); _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEReady = true; } return _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEContent = default; + private static bool _EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM { get { if (!_EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUMReady) { _EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUMContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM"); _EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUMReady = true; } return _EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUMContent; } } @@ -848,6 +876,13 @@ public partial class DevicePolicyManager private static Java.Lang.String _EXTRA_PROVISIONING_DISCLAIMERSContent = default; private static bool _EXTRA_PROVISIONING_DISCLAIMERSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_EMAIL_ADDRESS { get { if (!_EXTRA_PROVISIONING_EMAIL_ADDRESSReady) { _EXTRA_PROVISIONING_EMAIL_ADDRESSContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_EMAIL_ADDRESS"); _EXTRA_PROVISIONING_EMAIL_ADDRESSReady = true; } return _EXTRA_PROVISIONING_EMAIL_ADDRESSContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_EMAIL_ADDRESSContent = default; + private static bool _EXTRA_PROVISIONING_EMAIL_ADDRESSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PROVISIONING_IMEI { get { if (!_EXTRA_PROVISIONING_IMEIReady) { _EXTRA_PROVISIONING_IMEIContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_IMEI"); _EXTRA_PROVISIONING_IMEIReady = true; } return _EXTRA_PROVISIONING_IMEIContent; } } @@ -860,6 +895,13 @@ public partial class DevicePolicyManager private static Java.Lang.String _EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATIONContent = default; private static bool _EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_KEEP_SCREEN_ON { get { if (!_EXTRA_PROVISIONING_KEEP_SCREEN_ONReady) { _EXTRA_PROVISIONING_KEEP_SCREEN_ONContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_KEEP_SCREEN_ON"); _EXTRA_PROVISIONING_KEEP_SCREEN_ONReady = true; } return _EXTRA_PROVISIONING_KEEP_SCREEN_ONContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_KEEP_SCREEN_ONContent = default; + private static bool _EXTRA_PROVISIONING_KEEP_SCREEN_ONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED { get { if (!_EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLEDReady) { _EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLEDContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED"); _EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLEDReady = true; } return _EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLEDContent; } } @@ -878,6 +920,20 @@ public partial class DevicePolicyManager private static Java.Lang.String _EXTRA_PROVISIONING_LOCALEContent = default; private static bool _EXTRA_PROVISIONING_LOCALEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_LOGO_URI { get { if (!_EXTRA_PROVISIONING_LOGO_URIReady) { _EXTRA_PROVISIONING_LOGO_URIContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_LOGO_URI"); _EXTRA_PROVISIONING_LOGO_URIReady = true; } return _EXTRA_PROVISIONING_LOGO_URIContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_LOGO_URIContent = default; + private static bool _EXTRA_PROVISIONING_LOGO_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_MAIN_COLOR { get { if (!_EXTRA_PROVISIONING_MAIN_COLORReady) { _EXTRA_PROVISIONING_MAIN_COLORContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_MAIN_COLOR"); _EXTRA_PROVISIONING_MAIN_COLORReady = true; } return _EXTRA_PROVISIONING_MAIN_COLORContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_MAIN_COLORContent = default; + private static bool _EXTRA_PROVISIONING_MAIN_COLORReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PROVISIONING_MODE { get { if (!_EXTRA_PROVISIONING_MODEReady) { _EXTRA_PROVISIONING_MODEContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_MODE"); _EXTRA_PROVISIONING_MODEReady = true; } return _EXTRA_PROVISIONING_MODEContent; } } @@ -914,6 +970,13 @@ public partial class DevicePolicyManager private static Java.Lang.String _EXTRA_PROVISIONING_SKIP_ENCRYPTIONContent = default; private static bool _EXTRA_PROVISIONING_SKIP_ENCRYPTIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PROVISIONING_SKIP_USER_CONSENT { get { if (!_EXTRA_PROVISIONING_SKIP_USER_CONSENTReady) { _EXTRA_PROVISIONING_SKIP_USER_CONSENTContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_SKIP_USER_CONSENT"); _EXTRA_PROVISIONING_SKIP_USER_CONSENTReady = true; } return _EXTRA_PROVISIONING_SKIP_USER_CONSENTContent; } } + private static Java.Lang.String _EXTRA_PROVISIONING_SKIP_USER_CONSENTContent = default; + private static bool _EXTRA_PROVISIONING_SKIP_USER_CONSENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PROVISIONING_TIME_ZONE { get { if (!_EXTRA_PROVISIONING_TIME_ZONEReady) { _EXTRA_PROVISIONING_TIME_ZONEContent = SGetField(LocalBridgeClazz, "EXTRA_PROVISIONING_TIME_ZONE"); _EXTRA_PROVISIONING_TIME_ZONEReady = true; } return _EXTRA_PROVISIONING_TIME_ZONEContent; } } @@ -1074,6 +1137,14 @@ public Java.Util.List ActiveAdmins get { return IExecuteWithSignature>("getActiveAdmins", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public bool AutoTimeRequired + { + get { return IExecuteWithSignature("getAutoTimeRequired", "()Z"); } + } + /// /// /// public Android.App.Admin.PackagePolicy CredentialManagerPolicy @@ -1398,6 +1469,26 @@ public bool GetCameraDisabled(Android.Content.ComponentName arg0) return IExecuteWithSignature("getCameraDisabled", "(Landroid/content/ComponentName;)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool GetCrossProfileCallerIdDisabled(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getCrossProfileCallerIdDisabled", "(Landroid/content/ComponentName;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool GetCrossProfileContactsSearchDisabled(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getCrossProfileContactsSearchDisabled", "(Landroid/content/ComponentName;)Z", arg0); + } + /// /// /// /// @@ -1407,6 +1498,16 @@ public bool GetScreenCaptureDisabled(Android.Content.ComponentName arg0) return IExecuteWithSignature("getScreenCaptureDisabled", "(Landroid/content/ComponentName;)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool GetStorageEncryption(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getStorageEncryption", "(Landroid/content/ComponentName;)Z", arg0); + } + /// /// /// /// @@ -1584,6 +1685,15 @@ public bool IsBackupServiceEnabled(Android.Content.ComponentName arg0) return IExecuteWithSignature("isBackupServiceEnabled", "(Landroid/content/ComponentName;)Z", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsCallerApplicationRestrictionsManagingPackage() + { + return IExecuteWithSignature("isCallerApplicationRestrictionsManagingPackage", "()Z"); + } + /// /// /// /// @@ -1861,6 +1971,17 @@ public bool RequestBugreport(Android.Content.ComponentName arg0) return IExecuteWithSignature("requestBugreport", "(Landroid/content/ComponentName;)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ResetPassword(Java.Lang.String arg0, int arg1) + { + return IExecute("resetPassword", arg0, arg1); + } + /// /// /// /// @@ -2085,6 +2206,16 @@ public int GetMaximumFailedPasswordsForWipe(Android.Content.ComponentName arg0) return IExecuteWithSignature("getMaximumFailedPasswordsForWipe", "(Landroid/content/ComponentName;)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetOrganizationColor(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getOrganizationColor", "(Landroid/content/ComponentName;)I", arg0); + } + /// /// /// /// @@ -2103,6 +2234,86 @@ public int GetPasswordMaximumLength(int arg0) return IExecuteWithSignature("getPasswordMaximumLength", "(I)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumLength(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumLength", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumLetters(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumLetters", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumLowerCase(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumLowerCase", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumNonLetter(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumNonLetter", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumNumeric(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumNumeric", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumSymbols(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumSymbols", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordMinimumUpperCase(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordMinimumUpperCase", "(Landroid/content/ComponentName;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPasswordQuality(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getPasswordQuality", "(Landroid/content/ComponentName;)I", arg0); + } + /// /// /// /// @@ -2160,6 +2371,17 @@ public int SetGlobalPrivateDnsModeSpecifiedHost(Android.Content.ComponentName ar return IExecute("setGlobalPrivateDnsModeSpecifiedHost", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SetStorageEncryption(Android.Content.ComponentName arg0, bool arg1) + { + return IExecute("setStorageEncryption", arg0, arg1); + } + /// /// /// /// @@ -2234,6 +2456,27 @@ public Java.Lang.String GetAlwaysOnVpnPackage(Android.Content.ComponentName arg0 return IExecuteWithSignature("getAlwaysOnVpnPackage", "(Landroid/content/ComponentName;)Ljava/lang/String;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetApplicationRestrictionsManagingPackage(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getApplicationRestrictionsManagingPackage", "(Landroid/content/ComponentName;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetCertInstallerPackage(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("getCertInstallerPackage", "(Landroid/content/ComponentName;)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -2474,6 +2717,16 @@ public Java.Util.List GetInstalledCaCerts(Android.Content.ComponentName return IExecuteWithSignature>("getAlwaysOnVpnLockdownWhitelist", "(Landroid/content/ComponentName;)Ljava/util/Set;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Set GetCrossProfileCalendarPackages(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature>("getCrossProfileCalendarPackages", "(Landroid/content/ComponentName;)Ljava/util/Set;", arg0); + } + /// /// /// /// @@ -2591,6 +2844,15 @@ public void ClearCrossProfileIntentFilters(Android.Content.ComponentName arg0) IExecuteWithSignature("clearCrossProfileIntentFilters", "(Landroid/content/ComponentName;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void ClearDeviceOwnerApp(Java.Lang.String arg0) + { + IExecuteWithSignature("clearDeviceOwnerApp", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -2600,6 +2862,15 @@ public void ClearPackagePersistentPreferredActivities(Android.Content.ComponentN IExecute("clearPackagePersistentPreferredActivities", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void ClearProfileOwner(Android.Content.ComponentName arg0) + { + IExecuteWithSignature("clearProfileOwner", "(Landroid/content/ComponentName;)V", arg0); + } + /// /// /// /// @@ -2712,6 +2983,17 @@ public void SetApplicationRestrictions(Android.Content.ComponentName arg0, Java. IExecute("setApplicationRestrictions", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetApplicationRestrictionsManagingPackage(Android.Content.ComponentName arg0, Java.Lang.String arg1) + { + IExecute("setApplicationRestrictionsManagingPackage", arg0, arg1); + } + /// /// /// /// @@ -2721,6 +3003,16 @@ public void SetAutoTimeEnabled(Android.Content.ComponentName arg0, bool arg1) IExecute("setAutoTimeEnabled", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetAutoTimeRequired(Android.Content.ComponentName arg0, bool arg1) + { + IExecute("setAutoTimeRequired", arg0, arg1); + } + /// /// /// /// @@ -2757,6 +3049,17 @@ public void SetCameraDisabled(Android.Content.ComponentName arg0, bool arg1) IExecute("setCameraDisabled", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCertInstallerPackage(Android.Content.ComponentName arg0, Java.Lang.String arg1) + { + IExecute("setCertInstallerPackage", arg0, arg1); + } + /// /// /// /// @@ -2775,6 +3078,36 @@ public void SetConfiguredNetworksLockdownState(Android.Content.ComponentName arg IExecute("setConfiguredNetworksLockdownState", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCrossProfileCalendarPackages(Android.Content.ComponentName arg0, Java.Util.Set arg1) + { + IExecute("setCrossProfileCalendarPackages", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCrossProfileCallerIdDisabled(Android.Content.ComponentName arg0, bool arg1) + { + IExecute("setCrossProfileCallerIdDisabled", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCrossProfileContactsSearchDisabled(Android.Content.ComponentName arg0, bool arg1) + { + IExecute("setCrossProfileContactsSearchDisabled", arg0, arg1); + } + /// /// /// /// @@ -2957,6 +3290,16 @@ public void SetNetworkLoggingEnabled(Android.Content.ComponentName arg0, bool ar IExecute("setNetworkLoggingEnabled", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetOrganizationColor(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setOrganizationColor", arg0, arg1); + } + /// /// /// /// @@ -3001,6 +3344,86 @@ public void SetPasswordHistoryLength(Android.Content.ComponentName arg0, int arg IExecute("setPasswordHistoryLength", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumLength(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumLength", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumLetters(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumLetters", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumLowerCase(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumLowerCase", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumNonLetter(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumNonLetter", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumNumeric(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumNumeric", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumSymbols(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumSymbols", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordMinimumUpperCase(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordMinimumUpperCase", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPasswordQuality(Android.Content.ComponentName arg0, int arg1) + { + IExecute("setPasswordQuality", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/AlertDialog.cs b/src/net/Netdroid/Generated/Android/App/AlertDialog.cs index 7e59cdeee..fb1ecc792 100644 --- a/src/net/Netdroid/Generated/Android/App/AlertDialog.cs +++ b/src/net/Netdroid/Generated/Android/App/AlertDialog.cs @@ -37,6 +37,41 @@ public partial class AlertDialog #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static int THEME_DEVICE_DEFAULT_DARK { get { if (!_THEME_DEVICE_DEFAULT_DARKReady) { _THEME_DEVICE_DEFAULT_DARKContent = SGetField(LocalBridgeClazz, "THEME_DEVICE_DEFAULT_DARK"); _THEME_DEVICE_DEFAULT_DARKReady = true; } return _THEME_DEVICE_DEFAULT_DARKContent; } } + private static int _THEME_DEVICE_DEFAULT_DARKContent = default; + private static bool _THEME_DEVICE_DEFAULT_DARKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int THEME_DEVICE_DEFAULT_LIGHT { get { if (!_THEME_DEVICE_DEFAULT_LIGHTReady) { _THEME_DEVICE_DEFAULT_LIGHTContent = SGetField(LocalBridgeClazz, "THEME_DEVICE_DEFAULT_LIGHT"); _THEME_DEVICE_DEFAULT_LIGHTReady = true; } return _THEME_DEVICE_DEFAULT_LIGHTContent; } } + private static int _THEME_DEVICE_DEFAULT_LIGHTContent = default; + private static bool _THEME_DEVICE_DEFAULT_LIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int THEME_HOLO_DARK { get { if (!_THEME_HOLO_DARKReady) { _THEME_HOLO_DARKContent = SGetField(LocalBridgeClazz, "THEME_HOLO_DARK"); _THEME_HOLO_DARKReady = true; } return _THEME_HOLO_DARKContent; } } + private static int _THEME_HOLO_DARKContent = default; + private static bool _THEME_HOLO_DARKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int THEME_HOLO_LIGHT { get { if (!_THEME_HOLO_LIGHTReady) { _THEME_HOLO_LIGHTContent = SGetField(LocalBridgeClazz, "THEME_HOLO_LIGHT"); _THEME_HOLO_LIGHTReady = true; } return _THEME_HOLO_LIGHTContent; } } + private static int _THEME_HOLO_LIGHTContent = default; + private static bool _THEME_HOLO_LIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int THEME_TRADITIONAL { get { if (!_THEME_TRADITIONALReady) { _THEME_TRADITIONALContent = SGetField(LocalBridgeClazz, "THEME_TRADITIONAL"); _THEME_TRADITIONALReady = true; } return _THEME_TRADITIONALContent; } } + private static int _THEME_TRADITIONALContent = default; + private static bool _THEME_TRADITIONALReady = false; // this is used because in case of generics #endregion @@ -82,6 +117,66 @@ public void SetButton(int arg0, Java.Lang.CharSequence arg1, Android.Os.Message IExecute("setButton", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton(Java.Lang.CharSequence arg0, Android.Content.DialogInterface.OnClickListener arg1) + { + IExecute("setButton", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton(Java.Lang.CharSequence arg0, Android.Os.Message arg1) + { + IExecute("setButton", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton2(Java.Lang.CharSequence arg0, Android.Content.DialogInterface.OnClickListener arg1) + { + IExecute("setButton2", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton2(Java.Lang.CharSequence arg0, Android.Os.Message arg1) + { + IExecute("setButton2", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton3(Java.Lang.CharSequence arg0, Android.Content.DialogInterface.OnClickListener arg1) + { + IExecute("setButton3", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetButton3(Java.Lang.CharSequence arg0, Android.Os.Message arg1) + { + IExecute("setButton3", arg0, arg1); + } + /// /// /// /// @@ -280,6 +375,16 @@ public Android.App.AlertDialog.Builder SetIconAttribute(int arg0) return IExecuteWithSignature("setIconAttribute", "(I)Landroid/app/AlertDialog$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.AlertDialog.Builder SetInverseBackgroundForced(bool arg0) + { + return IExecuteWithSignature("setInverseBackgroundForced", "(Z)Landroid/app/AlertDialog$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/AliasActivity.cs b/src/net/Netdroid/Generated/Android/App/AliasActivity.cs new file mode 100644 index 000000000..29acf5acf --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/AliasActivity.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region AliasActivity + public partial class AliasActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/App/AllPackageClasses.cs index 111a630b0..0e4c30f31 100644 --- a/src/net/Netdroid/Generated/Android/App/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/App/AllPackageClasses.cs @@ -171,6 +171,173 @@ protected override void InitializeHandlers() { } } #endregion + #region OnNavigationListener + /// + /// + /// + [System.Obsolete()] + public partial class OnNavigationListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnNavigationListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.app.OnNavigationListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnNavigationListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnNavigationListenerDirect : OnNavigationListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.app.ActionBar$OnNavigationListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region Tab + /// + /// + /// + [System.Obsolete()] + public partial class Tab : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.ActionBar$Tab"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("Tab class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Tab() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("Tab class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Tab(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region TabListener + /// + /// + /// + [System.Obsolete()] + public partial class TabListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public TabListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.app.TabListener"; + + + // TODO: complete the class + + } + #endregion + + #region TabListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class TabListenerDirect : TabListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.app.ActionBar$TabListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + } #endregion @@ -265,6 +432,51 @@ public ScreenCaptureCallback(params object[] args) : base(args) { } } #endregion + #region ActivityGroup + /// + /// + /// + [System.Obsolete()] + public partial class ActivityGroup : Android.App.Activity + { + const string _bridgeClassName = "android.app.ActivityGroup"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ActivityGroup() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ActivityGroup(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region ActivityManager /// /// @@ -984,6 +1196,51 @@ public Builder(params object[] args) : base(args) { } } #endregion + #region AliasActivity + /// + /// + /// + [System.Obsolete()] + public partial class AliasActivity : Android.App.Activity + { + const string _bridgeClassName = "android.app.AliasActivity"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AliasActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AliasActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region AppComponentFactory /// /// @@ -1962,6 +2219,51 @@ public Dialog(params object[] args) : base(args) { } } #endregion + #region DialogFragment + /// + /// + /// + [System.Obsolete()] + public partial class DialogFragment : Android.App.Fragment + { + const string _bridgeClassName = "android.app.DialogFragment"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DialogFragment() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DialogFragment(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region DirectAction /// /// @@ -2182,13 +2484,58 @@ public Request(params object[] args) : base(args) { } } #endregion - #region ForegroundServiceStartNotAllowedException + #region ExpandableListActivity /// - /// + /// /// - public partial class ForegroundServiceStartNotAllowedException : Android.App.ServiceStartNotAllowedException + [System.Obsolete()] + public partial class ExpandableListActivity : Android.App.Activity { - const string _bridgeClassName = "android.app.ForegroundServiceStartNotAllowedException"; + const string _bridgeClassName = "android.app.ExpandableListActivity"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ExpandableListActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ExpandableListActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ForegroundServiceStartNotAllowedException + /// + /// + /// + public partial class ForegroundServiceStartNotAllowedException : Android.App.ServiceStartNotAllowedException + { + const string _bridgeClassName = "android.app.ForegroundServiceStartNotAllowedException"; /// /// /// @@ -2216,21 +2563,22 @@ public partial class ForegroundServiceTypeException : Android.App.ServiceStartNo } #endregion - #region GameManager + #region Fragment /// - /// + /// /// - public partial class GameManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class Fragment : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.app.GameManager"; + const string _bridgeClassName = "android.app.Fragment"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public GameManager() { } + public Fragment() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public GameManager(params object[] args) : base(args) { } + public Fragment(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2256,25 +2604,89 @@ public GameManager(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class + #region InstantiationException + /// + /// + /// + [System.Obsolete()] + public partial class InstantiationException : Android.Util.AndroidRuntimeException + { + const string _bridgeClassName = "android.app.Fragment$InstantiationException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region SavedState + /// + /// + /// + [System.Obsolete()] + public partial class SavedState : Android.Os.Parcelable + { + const string _bridgeClassName = "android.app.Fragment$SavedState"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SavedState() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SavedState(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + } #endregion - #region GameState + #region FragmentBreadCrumbs /// - /// + /// /// - public partial class GameState : Android.Os.Parcelable + [System.Obsolete()] + public partial class FragmentBreadCrumbs : Android.View.ViewGroup { - const string _bridgeClassName = "android.app.GameState"; + const string _bridgeClassName = "android.app.FragmentBreadCrumbs"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public GameState() { } + public FragmentBreadCrumbs() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public GameState(params object[] args) : base(args) { } + public FragmentBreadCrumbs(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2300,25 +2712,133 @@ public GameState(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class + #region OnBreadCrumbClickListener + /// + /// + /// + [System.Obsolete()] + public partial class OnBreadCrumbClickListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnBreadCrumbClickListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.app.OnBreadCrumbClickListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnBreadCrumbClickListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnBreadCrumbClickListenerDirect : OnBreadCrumbClickListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.app.FragmentBreadCrumbs$OnBreadCrumbClickListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region FragmentContainer + /// + /// + /// + [System.Obsolete()] + public partial class FragmentContainer : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentContainer"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentContainer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentContainer() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentContainer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentContainer(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class } #endregion - #region GrammaticalInflectionManager + #region FragmentController /// - /// + /// /// - public partial class GrammaticalInflectionManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class FragmentController : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.app.GrammaticalInflectionManager"; + const string _bridgeClassName = "android.app.FragmentController"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public GrammaticalInflectionManager() { } + public FragmentController() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public GrammaticalInflectionManager(params object[] args) : base(args) { } + public FragmentController(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2348,21 +2868,981 @@ public GrammaticalInflectionManager(params object[] args) : base(args) { } } #endregion - #region Instrumentation + #region FragmentHostCallback + /// + /// + /// + [System.Obsolete()] + public partial class FragmentHostCallback : Android.App.FragmentContainer + { + const string _bridgeClassName = "android.app.FragmentHostCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentHostCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentHostCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentHostCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentHostCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region FragmentHostCallback + /// + /// + /// + /// + [System.Obsolete()] + public partial class FragmentHostCallback : Android.App.FragmentContainer + { + const string _bridgeClassName = "android.app.FragmentHostCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentHostCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentHostCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentHostCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentHostCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region FragmentManager + /// + /// + /// + [System.Obsolete()] + public partial class FragmentManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region BackStackEntry + /// + /// + /// + [System.Obsolete()] + public partial class BackStackEntry : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentManager$BackStackEntry"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("BackStackEntry class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public BackStackEntry() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("BackStackEntry class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public BackStackEntry(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region FragmentLifecycleCallbacks + /// + /// + /// + [System.Obsolete()] + public partial class FragmentLifecycleCallbacks : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentManager$FragmentLifecycleCallbacks"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentLifecycleCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentLifecycleCallbacks() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentLifecycleCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentLifecycleCallbacks(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OnBackStackChangedListener + /// + /// + /// + [System.Obsolete()] + public partial class OnBackStackChangedListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnBackStackChangedListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.app.OnBackStackChangedListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnBackStackChangedListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnBackStackChangedListenerDirect : OnBackStackChangedListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.app.FragmentManager$OnBackStackChangedListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region FragmentManagerNonConfig + /// + /// + /// + [System.Obsolete()] + public partial class FragmentManagerNonConfig : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentManagerNonConfig"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FragmentManagerNonConfig() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FragmentManagerNonConfig(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region FragmentTransaction + /// + /// + /// + [System.Obsolete()] + public partial class FragmentTransaction : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.FragmentTransaction"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("FragmentTransaction class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentTransaction() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("FragmentTransaction class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public FragmentTransaction(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region GameManager + /// + /// + /// + public partial class GameManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.GameManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GameManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GameManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region GameState + /// + /// + /// + public partial class GameState : Android.Os.Parcelable + { + const string _bridgeClassName = "android.app.GameState"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GameState() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GameState(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region GrammaticalInflectionManager + /// + /// + /// + public partial class GrammaticalInflectionManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.GrammaticalInflectionManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GrammaticalInflectionManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GrammaticalInflectionManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Instrumentation + /// + /// + /// + public partial class Instrumentation : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.Instrumentation"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Instrumentation() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Instrumentation(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region ActivityMonitor + /// + /// + /// + public partial class ActivityMonitor : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.Instrumentation$ActivityMonitor"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ActivityMonitor() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ActivityMonitor(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ActivityResult + /// + /// + /// + public partial class ActivityResult : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.Instrumentation$ActivityResult"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ActivityResult() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ActivityResult(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region IntentService + /// + /// + /// + [System.Obsolete()] + public partial class IntentService : Android.App.Service + { + const string _bridgeClassName = "android.app.IntentService"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("IntentService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public IntentService() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("IntentService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public IntentService(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region InvalidForegroundServiceTypeException + /// + /// + /// + public partial class InvalidForegroundServiceTypeException : Android.App.ForegroundServiceTypeException + { + const string _bridgeClassName = "android.app.InvalidForegroundServiceTypeException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region KeyguardManager + /// + /// + /// + public partial class KeyguardManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.KeyguardManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyguardManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyguardManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region KeyguardDismissCallback + /// + /// + /// + public partial class KeyguardDismissCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.KeyguardManager$KeyguardDismissCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("KeyguardDismissCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public KeyguardDismissCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("KeyguardDismissCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public KeyguardDismissCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region KeyguardLock + /// + /// + /// + [System.Obsolete()] + public partial class KeyguardLock : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.KeyguardManager$KeyguardLock"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyguardLock() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyguardLock(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region KeyguardLockedStateListener + /// + /// + /// + public partial class KeyguardLockedStateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyguardLockedStateListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.app.KeyguardLockedStateListener"; + + + // TODO: complete the class + + } + #endregion + + #region KeyguardLockedStateListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class KeyguardLockedStateListenerDirect : KeyguardLockedStateListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.app.KeyguardManager$KeyguardLockedStateListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnKeyguardExitResult + /// + /// + /// + [System.Obsolete()] + public partial class OnKeyguardExitResult : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.KeyguardManager$OnKeyguardExitResult"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("OnKeyguardExitResult class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnKeyguardExitResult() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("OnKeyguardExitResult class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnKeyguardExitResult(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region LauncherActivity /// - /// + /// /// - public partial class Instrumentation : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class LauncherActivity : Android.App.ListActivity { - const string _bridgeClassName = "android.app.Instrumentation"; + const string _bridgeClassName = "android.app.LauncherActivity"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public Instrumentation() { } + [Obsolete("LauncherActivity class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LauncherActivity() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public Instrumentation(params object[] args) : base(args) { } + [Obsolete("LauncherActivity class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LauncherActivity(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2373,7 +3853,7 @@ public Instrumentation(params object[] args) : base(args) { } /// /// /// - public override bool IsBridgeAbstract => false; + public override bool IsBridgeAbstract => true; /// /// /// @@ -2388,21 +3868,22 @@ public Instrumentation(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class - #region ActivityMonitor + #region IconResizer /// - /// + /// /// - public partial class ActivityMonitor : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class IconResizer : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.app.Instrumentation$ActivityMonitor"; + const string _bridgeClassName = "android.app.LauncherActivity$IconResizer"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public ActivityMonitor() { } + public IconResizer() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public ActivityMonitor(params object[] args) : base(args) { } + public IconResizer(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2425,28 +3906,29 @@ public ActivityMonitor(params object[] args) : base(args) { } /// /// /// - public override bool IsBridgeStatic => true; + public override bool IsBridgeStatic => false; // TODO: complete the class } #endregion - #region ActivityResult + #region ListItem /// - /// + /// /// - public partial class ActivityResult : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class ListItem : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.app.Instrumentation$ActivityResult"; + const string _bridgeClassName = "android.app.LauncherActivity$ListItem"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public ActivityResult() { } + public ListItem() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public ActivityResult(params object[] args) : base(args) { } + public ListItem(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2480,38 +3962,67 @@ public ActivityResult(params object[] args) : base(args) { } } #endregion - #region InvalidForegroundServiceTypeException + #region ListActivity /// - /// + /// /// - public partial class InvalidForegroundServiceTypeException : Android.App.ForegroundServiceTypeException + [System.Obsolete()] + public partial class ListActivity : Android.App.Activity { - const string _bridgeClassName = "android.app.InvalidForegroundServiceTypeException"; + const string _bridgeClassName = "android.app.ListActivity"; /// - /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ListActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ListActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// /// public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; // TODO: complete the class } #endregion - #region KeyguardManager + #region ListFragment /// - /// + /// /// - public partial class KeyguardManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class ListFragment : Android.App.Fragment { - const string _bridgeClassName = "android.app.KeyguardManager"; + const string _bridgeClassName = "android.app.ListFragment"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public KeyguardManager() { } + public ListFragment() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public KeyguardManager(params object[] args) : base(args) { } + public ListFragment(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2537,23 +4048,71 @@ public KeyguardManager(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class - #region KeyguardDismissCallback + + } + #endregion + + #region LoaderManager + /// + /// + /// + [System.Obsolete()] + public partial class LoaderManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.LoaderManager"; /// - /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public partial class KeyguardDismissCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [Obsolete("LoaderManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("LoaderManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region LoaderCallbacks + /// + /// + /// + [System.Obsolete()] + public partial class LoaderCallbacks : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.app.KeyguardManager$KeyguardDismissCallback"; + const string _bridgeClassName = "android.app.LoaderManager$LoaderCallbacks"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - [Obsolete("KeyguardDismissCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public KeyguardDismissCallback() { } + [Obsolete("LoaderCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderCallbacks() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - [Obsolete("KeyguardDismissCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public KeyguardDismissCallback(params object[] args) : base(args) { } + [Obsolete("LoaderCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderCallbacks(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -2572,7 +4131,7 @@ public KeyguardDismissCallback(params object[] args) : base(args) { } /// /// /// - public override bool IsBridgeInterface => false; + public override bool IsBridgeInterface => true; /// /// /// @@ -2583,46 +4142,32 @@ public KeyguardDismissCallback(params object[] args) : base(args) { } } #endregion - #region KeyguardLockedStateListener + #region LoaderCallbacks /// - /// + /// /// - public partial class KeyguardLockedStateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + /// + [System.Obsolete()] + public partial class LoaderCallbacks : MASES.JCOBridge.C2JBridge.JVMBridgeBase> { + const string _bridgeClassName = "android.app.LoaderManager$LoaderCallbacks"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public KeyguardLockedStateListener() { InitializeHandlers(); } - - /// - /// - /// - public override string BridgeClassName => "org.mases.netdroid.generated.android.app.KeyguardLockedStateListener"; - - - // TODO: complete the class - - } - #endregion - - #region KeyguardLockedStateListenerDirect - /// - /// Direct override of or its generic type if there is one - /// - public partial class KeyguardLockedStateListenerDirect : KeyguardLockedStateListener - { + [Obsolete("LoaderCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderCallbacks() { } /// - /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public override bool AutoInit => false; + [Obsolete("LoaderCallbacks class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoaderCallbacks(params object[] args) : base(args) { } - /// - protected override void InitializeHandlers() { } + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); /// - /// + /// /// - public override string BridgeClassName => "android.app.KeyguardManager$KeyguardLockedStateListener"; + public override string BridgeClassName => _bridgeClassName; /// /// /// @@ -2639,6 +4184,9 @@ protected override void InitializeHandlers() { } /// /// public override bool IsBridgeStatic => true; + + // TODO: complete the class + } #endregion @@ -2646,6 +4194,51 @@ protected override void InitializeHandlers() { } } #endregion + #region LocalActivityManager + /// + /// + /// + [System.Obsolete()] + public partial class LocalActivityManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.app.LocalActivityManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public LocalActivityManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public LocalActivityManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region LocaleConfig /// /// @@ -4448,6 +6041,51 @@ public Presentation(params object[] args) : base(args) { } } #endregion + #region ProgressDialog + /// + /// + /// + [System.Obsolete()] + public partial class ProgressDialog : Android.App.AlertDialog + { + const string _bridgeClassName = "android.app.ProgressDialog"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ProgressDialog() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ProgressDialog(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region RecoverableSecurityException /// /// @@ -5076,6 +6714,51 @@ public SyncNotedAppOp(params object[] args) : base(args) { } } #endregion + #region TabActivity + /// + /// + /// + [System.Obsolete()] + public partial class TabActivity : Android.App.ActivityGroup + { + const string _bridgeClassName = "android.app.TabActivity"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public TabActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public TabActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region TaskInfo /// /// diff --git a/src/net/Netdroid/Generated/Android/App/AppOpsManager.cs b/src/net/Netdroid/Generated/Android/App/AppOpsManager.cs index 66952cc7a..9fc45502b 100644 --- a/src/net/Netdroid/Generated/Android/App/AppOpsManager.cs +++ b/src/net/Netdroid/Generated/Android/App/AppOpsManager.cs @@ -306,6 +306,30 @@ public bool IsOpActive(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) return IExecute("isOpActive", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("checkOp", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckOpNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("checkOpNoThrow", arg0, arg1, arg2); + } + /// /// /// /// @@ -319,6 +343,18 @@ public int NoteOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2, Java.L return IExecute("noteOp", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int NoteOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("noteOp", arg0, arg1, arg2); + } + /// /// /// /// @@ -332,6 +368,18 @@ public int NoteOpNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.String arg2, return IExecute("noteOpNoThrow", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int NoteOpNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("noteOpNoThrow", arg0, arg1, arg2); + } + /// /// /// /// @@ -345,6 +393,17 @@ public int NoteProxyOp(Java.Lang.String arg0, Java.Lang.String arg1, int arg2, J return IExecute("noteProxyOp", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int NoteProxyOp(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("noteProxyOp", arg0, arg1); + } + /// /// /// /// @@ -358,6 +417,29 @@ public int NoteProxyOpNoThrow(Java.Lang.String arg0, Java.Lang.String arg1, int return IExecute("noteProxyOpNoThrow", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int NoteProxyOpNoThrow(Java.Lang.String arg0, Java.Lang.String arg1, int arg2) + { + return IExecute("noteProxyOpNoThrow", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int NoteProxyOpNoThrow(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("noteProxyOpNoThrow", arg0, arg1); + } + /// /// /// /// @@ -371,6 +453,18 @@ public int StartOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2, Java. return IExecute("startOp", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int StartOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("startOp", arg0, arg1, arg2); + } + /// /// /// /// @@ -384,6 +478,18 @@ public int StartOpNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.String arg2 return IExecute("startOpNoThrow", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int StartOpNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + return IExecute("startOpNoThrow", arg0, arg1, arg2); + } + /// /// /// /// @@ -454,6 +560,16 @@ public int UnsafeCheckOpRawNoThrow(Java.Lang.String arg0, int arg1, Java.Lang.St return IExecute("unsafeCheckOpRawNoThrow", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void CheckPackage(int arg0, Java.Lang.String arg1) + { + IExecute("checkPackage", arg0, arg1); + } + /// /// /// /// @@ -465,6 +581,17 @@ public void FinishOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2, Jav IExecute("finishOp", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void FinishOp(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + IExecute("finishOp", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/AutomaticZenRule.cs b/src/net/Netdroid/Generated/Android/App/AutomaticZenRule.cs index 1103f5f22..3b7981f07 100644 --- a/src/net/Netdroid/Generated/Android/App/AutomaticZenRule.cs +++ b/src/net/Netdroid/Generated/Android/App/AutomaticZenRule.cs @@ -51,6 +51,19 @@ public AutomaticZenRule(Java.Lang.String arg0, Android.Content.ComponentName arg : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public AutomaticZenRule(Java.Lang.String arg0, Android.Content.ComponentName arg1, Android.Net.Uri arg2, int arg3, bool arg4) + : base(arg0, arg1, arg2, arg3, arg4) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/App/Backup/BackupManager.cs b/src/net/Netdroid/Generated/Android/App/Backup/BackupManager.cs index d74323762..877975af4 100644 --- a/src/net/Netdroid/Generated/Android/App/Backup/BackupManager.cs +++ b/src/net/Netdroid/Generated/Android/App/Backup/BackupManager.cs @@ -71,6 +71,16 @@ public Android.Os.UserHandle GetUserForAncestralSerialNumber(long arg0) return IExecuteWithSignature("getUserForAncestralSerialNumber", "(J)Landroid/os/UserHandle;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int RequestRestore(Android.App.Backup.RestoreObserver arg0) + { + return IExecuteWithSignature("requestRestore", "(Landroid/app/backup/RestoreObserver;)I", arg0); + } + /// /// /// public void DataChanged() diff --git a/src/net/Netdroid/Generated/Android/App/Dialog.cs b/src/net/Netdroid/Generated/Android/App/Dialog.cs index 38c13a2b7..8c569c396 100644 --- a/src/net/Netdroid/Generated/Android/App/Dialog.cs +++ b/src/net/Netdroid/Generated/Android/App/Dialog.cs @@ -539,6 +539,14 @@ public void OnAttachedToWindow() IExecuteWithSignature("onAttachedToWindow", "()V"); } /// + /// + /// + [System.Obsolete()] + public void OnBackPressed() + { + IExecuteWithSignature("onBackPressed", "()V"); + } + /// /// /// public void OnContentChanged() diff --git a/src/net/Netdroid/Generated/Android/App/DialogFragment.cs b/src/net/Netdroid/Generated/Android/App/DialogFragment.cs new file mode 100644 index 000000000..2bc2fd273 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/DialogFragment.cs @@ -0,0 +1,203 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region DialogFragment + public partial class DialogFragment + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STYLE_NO_FRAME { get { if (!_STYLE_NO_FRAMEReady) { _STYLE_NO_FRAMEContent = SGetField(LocalBridgeClazz, "STYLE_NO_FRAME"); _STYLE_NO_FRAMEReady = true; } return _STYLE_NO_FRAMEContent; } } + private static int _STYLE_NO_FRAMEContent = default; + private static bool _STYLE_NO_FRAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STYLE_NO_INPUT { get { if (!_STYLE_NO_INPUTReady) { _STYLE_NO_INPUTContent = SGetField(LocalBridgeClazz, "STYLE_NO_INPUT"); _STYLE_NO_INPUTReady = true; } return _STYLE_NO_INPUTContent; } } + private static int _STYLE_NO_INPUTContent = default; + private static bool _STYLE_NO_INPUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STYLE_NO_TITLE { get { if (!_STYLE_NO_TITLEReady) { _STYLE_NO_TITLEContent = SGetField(LocalBridgeClazz, "STYLE_NO_TITLE"); _STYLE_NO_TITLEReady = true; } return _STYLE_NO_TITLEContent; } } + private static int _STYLE_NO_TITLEContent = default; + private static bool _STYLE_NO_TITLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STYLE_NORMAL { get { if (!_STYLE_NORMALReady) { _STYLE_NORMALContent = SGetField(LocalBridgeClazz, "STYLE_NORMAL"); _STYLE_NORMALReady = true; } return _STYLE_NORMALContent; } } + private static int _STYLE_NORMALContent = default; + private static bool _STYLE_NORMALReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Dialog Dialog + { + get { return IExecuteWithSignature("getDialog", "()Landroid/app/Dialog;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool ShowsDialog + { + get { return IExecuteWithSignature("getShowsDialog", "()Z"); } set { IExecuteWithSignature("setShowsDialog", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int Theme + { + get { return IExecuteWithSignature("getTheme", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Dialog OnCreateDialog(Android.Os.Bundle arg0) + { + return IExecuteWithSignature("onCreateDialog", "(Landroid/os/Bundle;)Landroid/app/Dialog;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCancelable() + { + return IExecuteWithSignature("isCancelable", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int Show(Android.App.FragmentTransaction arg0, Java.Lang.String arg1) + { + return IExecute("show", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void Dismiss() + { + IExecuteWithSignature("dismiss", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DismissAllowingStateLoss() + { + IExecuteWithSignature("dismissAllowingStateLoss", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnCancel(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onCancel", "(Landroid/content/DialogInterface;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDismiss(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onDismiss", "(Landroid/content/DialogInterface;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetCancelable(bool arg0) + { + IExecuteWithSignature("setCancelable", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetStyle(int arg0, int arg1) + { + IExecute("setStyle", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Show(Android.App.FragmentManager arg0, Java.Lang.String arg1) + { + IExecute("show", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/DownloadManager.cs b/src/net/Netdroid/Generated/Android/App/DownloadManager.cs index 8a37f49f7..63cab10f5 100644 --- a/src/net/Netdroid/Generated/Android/App/DownloadManager.cs +++ b/src/net/Netdroid/Generated/Android/App/DownloadManager.cs @@ -188,6 +188,13 @@ public partial class DownloadManager private static Java.Lang.String _COLUMN_LAST_MODIFIED_TIMESTAMPContent = default; private static bool _COLUMN_LAST_MODIFIED_TIMESTAMPReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String COLUMN_LOCAL_FILENAME { get { if (!_COLUMN_LOCAL_FILENAMEReady) { _COLUMN_LOCAL_FILENAMEContent = SGetField(LocalBridgeClazz, "COLUMN_LOCAL_FILENAME"); _COLUMN_LOCAL_FILENAMEReady = true; } return _COLUMN_LOCAL_FILENAMEContent; } } + private static Java.Lang.String _COLUMN_LOCAL_FILENAMEContent = default; + private static bool _COLUMN_LOCAL_FILENAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String COLUMN_LOCAL_URI { get { if (!_COLUMN_LOCAL_URIReady) { _COLUMN_LOCAL_URIContent = SGetField(LocalBridgeClazz, "COLUMN_LOCAL_URI"); _COLUMN_LOCAL_URIReady = true; } return _COLUMN_LOCAL_URIContent; } } @@ -326,6 +333,40 @@ public Java.Lang.String GetMimeTypeForDownloadedFile(long arg0) return IExecuteWithSignature("getMimeTypeForDownloadedFile", "(J)Ljava/lang/String;", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public long AddCompletedDownload(Java.Lang.String arg0, Java.Lang.String arg1, bool arg2, Java.Lang.String arg3, Java.Lang.String arg4, long arg5, bool arg6, Android.Net.Uri arg7, Android.Net.Uri arg8) + { + return IExecute("addCompletedDownload", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public long AddCompletedDownload(Java.Lang.String arg0, Java.Lang.String arg1, bool arg2, Java.Lang.String arg3, Java.Lang.String arg4, long arg5, bool arg6) + { + return IExecute("addCompletedDownload", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// /// /// /// @@ -564,6 +605,16 @@ public Android.App.DownloadManager.Request SetRequiresDeviceIdle(bool arg0) return IExecuteWithSignature("setRequiresDeviceIdle", "(Z)Landroid/app/DownloadManager$Request;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.DownloadManager.Request SetShowRunningNotification(bool arg0) + { + return IExecuteWithSignature("setShowRunningNotification", "(Z)Landroid/app/DownloadManager$Request;", arg0); + } + /// /// /// /// @@ -572,6 +623,24 @@ public Android.App.DownloadManager.Request SetTitle(Java.Lang.CharSequence arg0) { return IExecuteWithSignature("setTitle", "(Ljava/lang/CharSequence;)Landroid/app/DownloadManager$Request;", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.DownloadManager.Request SetVisibleInDownloadsUi(bool arg0) + { + return IExecuteWithSignature("setVisibleInDownloadsUi", "(Z)Landroid/app/DownloadManager$Request;", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void AllowScanningByMediaScanner() + { + IExecuteWithSignature("allowScanningByMediaScanner", "()V"); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/App/ExpandableListActivity.cs b/src/net/Netdroid/Generated/Android/App/ExpandableListActivity.cs new file mode 100644 index 000000000..a3f5ce094 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/ExpandableListActivity.cs @@ -0,0 +1,152 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region ExpandableListActivity + public partial class ExpandableListActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ExpandableListAdapter ExpandableListAdapter + { + get { return IExecuteWithSignature("getExpandableListAdapter", "()Landroid/widget/ExpandableListAdapter;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ExpandableListView ExpandableListView + { + get { return IExecuteWithSignature("getExpandableListView", "()Landroid/widget/ExpandableListView;"); } + } + /// + /// + /// + [System.Obsolete()] + public long SelectedId + { + get { return IExecuteWithSignature("getSelectedId", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public long SelectedPosition + { + get { return IExecuteWithSignature("getSelectedPosition", "()J"); } + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnChildClick(Android.Widget.ExpandableListView arg0, Android.View.View arg1, int arg2, int arg3, long arg4) + { + return IExecute("onChildClick", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetSelectedChild(int arg0, int arg1, bool arg2) + { + return IExecute("setSelectedChild", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnGroupCollapse(int arg0) + { + IExecuteWithSignature("onGroupCollapse", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnGroupExpand(int arg0) + { + IExecuteWithSignature("onGroupExpand", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListAdapter(Android.Widget.ExpandableListAdapter arg0) + { + IExecuteWithSignature("setListAdapter", "(Landroid/widget/ExpandableListAdapter;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSelectedGroup(int arg0) + { + IExecuteWithSignature("setSelectedGroup", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/Fragment.cs b/src/net/Netdroid/Generated/Android/App/Fragment.cs new file mode 100644 index 000000000..15335a349 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/Fragment.cs @@ -0,0 +1,1010 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region Fragment + public partial class Fragment : Android.Content.IComponentCallbacks2 + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Content.ComponentCallbacks2(Android.App.Fragment t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.Fragment Instantiate(Android.Content.Context arg0, Java.Lang.String arg1, Android.Os.Bundle arg2) + { + return SExecute(LocalBridgeClazz, "instantiate", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.Fragment Instantiate(Android.Content.Context arg0, Java.Lang.String arg1) + { + return SExecute(LocalBridgeClazz, "instantiate", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Activity Activity + { + get { return IExecuteWithSignature("getActivity", "()Landroid/app/Activity;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool AllowEnterTransitionOverlap + { + get { return IExecuteWithSignature("getAllowEnterTransitionOverlap", "()Z"); } set { IExecuteWithSignature("setAllowEnterTransitionOverlap", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public bool AllowReturnTransitionOverlap + { + get { return IExecuteWithSignature("getAllowReturnTransitionOverlap", "()Z"); } set { IExecuteWithSignature("setAllowReturnTransitionOverlap", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle Arguments + { + get { return IExecuteWithSignature("getArguments", "()Landroid/os/Bundle;"); } set { IExecuteWithSignature("setArguments", "(Landroid/os/Bundle;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManager ChildFragmentManager + { + get { return IExecuteWithSignature("getChildFragmentManager", "()Landroid/app/FragmentManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context Context + { + get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition EnterTransition + { + get { return IExecuteWithSignature("getEnterTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setEnterTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition ExitTransition + { + get { return IExecuteWithSignature("getExitTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setExitTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManager FragmentManager + { + get { return IExecuteWithSignature("getFragmentManager", "()Landroid/app/FragmentManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public object Host + { + get { return IExecuteWithSignature("getHost", "()Ljava/lang/Object;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Id + { + get { return IExecuteWithSignature("getId", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.View.LayoutInflater LayoutInflater + { + get { return IExecuteWithSignature("getLayoutInflater", "()Landroid/view/LayoutInflater;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.LoaderManager LoaderManager + { + get { return IExecuteWithSignature("getLoaderManager", "()Landroid/app/LoaderManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment ParentFragment + { + get { return IExecuteWithSignature("getParentFragment", "()Landroid/app/Fragment;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition ReenterTransition + { + get { return IExecuteWithSignature("getReenterTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setReenterTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.Res.Resources Resources + { + get { return IExecuteWithSignature("getResources", "()Landroid/content/res/Resources;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool RetainInstance + { + get { return IExecuteWithSignature("getRetainInstance", "()Z"); } set { IExecuteWithSignature("setRetainInstance", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition ReturnTransition + { + get { return IExecuteWithSignature("getReturnTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setReturnTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition SharedElementEnterTransition + { + get { return IExecuteWithSignature("getSharedElementEnterTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setSharedElementEnterTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Transition.Transition SharedElementReturnTransition + { + get { return IExecuteWithSignature("getSharedElementReturnTransition", "()Landroid/transition/Transition;"); } set { IExecuteWithSignature("setSharedElementReturnTransition", "(Landroid/transition/Transition;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Tag + { + get { return IExecuteWithSignature("getTag", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment TargetFragment + { + get { return IExecuteWithSignature("getTargetFragment", "()Landroid/app/Fragment;"); } + } + /// + /// + /// + [System.Obsolete()] + public int TargetRequestCode + { + get { return IExecuteWithSignature("getTargetRequestCode", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public bool UserVisibleHint + { + get { return IExecuteWithSignature("getUserVisibleHint", "()Z"); } set { IExecuteWithSignature("setUserVisibleHint", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.View.View View + { + get { return IExecuteWithSignature("getView", "()Landroid/view/View;"); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Animation.Animator OnCreateAnimator(int arg0, bool arg1, int arg2) + { + return IExecute("onCreateAnimator", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.LayoutInflater OnGetLayoutInflater(Android.Os.Bundle arg0) + { + return IExecuteWithSignature("onGetLayoutInflater", "(Landroid/os/Bundle;)Landroid/view/LayoutInflater;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.View OnCreateView(Android.View.LayoutInflater arg0, Android.View.ViewGroup arg1, Android.Os.Bundle arg2) + { + return IExecute("onCreateView", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnContextItemSelected(Android.View.MenuItem arg0) + { + return IExecuteWithSignature("onContextItemSelected", "(Landroid/view/MenuItem;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnOptionsItemSelected(Android.View.MenuItem arg0) + { + return IExecuteWithSignature("onOptionsItemSelected", "(Landroid/view/MenuItem;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ShouldShowRequestPermissionRationale(Java.Lang.String arg0) + { + return IExecuteWithSignature("shouldShowRequestPermissionRationale", "(Ljava/lang/String;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAdded() + { + return IExecuteWithSignature("isAdded", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsDetached() + { + return IExecuteWithSignature("isDetached", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsHidden() + { + return IExecuteWithSignature("isHidden", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsInLayout() + { + return IExecuteWithSignature("isInLayout", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsRemoving() + { + return IExecuteWithSignature("isRemoving", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsResumed() + { + return IExecuteWithSignature("isResumed", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStateSaved() + { + return IExecuteWithSignature("isStateSaved", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsVisible() + { + return IExecuteWithSignature("isVisible", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence GetText(int arg0) + { + return IExecuteWithSignature("getText", "(I)Ljava/lang/CharSequence;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetString(int arg0, params object[] arg1) + { + if (arg1.Length == 0) return IExecute("getString", arg0); else return IExecute("getString", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetString(int arg0) + { + return IExecuteWithSignature("getString", "(I)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestPermissions(Java.Lang.String[] arg0, int arg1) + { + IExecute("requestPermissions", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnActivityCreated(Android.Os.Bundle arg0) + { + IExecuteWithSignature("onActivityCreated", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnActivityResult(int arg0, int arg1, Android.Content.Intent arg2) + { + IExecute("onActivityResult", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAttach(Android.App.Activity arg0) + { + IExecuteWithSignature("onAttach", "(Landroid/app/Activity;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAttach(Android.Content.Context arg0) + { + IExecuteWithSignature("onAttach", "(Landroid/content/Context;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAttachFragment(Android.App.Fragment arg0) + { + IExecuteWithSignature("onAttachFragment", "(Landroid/app/Fragment;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnConfigurationChanged(Android.Content.Res.Configuration arg0) + { + IExecuteWithSignature("onConfigurationChanged", "(Landroid/content/res/Configuration;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnCreate(Android.Os.Bundle arg0) + { + IExecuteWithSignature("onCreate", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnCreateContextMenu(Android.View.ContextMenu arg0, Android.View.View arg1, Android.View.ContextMenu.ContextMenuInfo arg2) + { + IExecute("onCreateContextMenu", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnCreateOptionsMenu(Android.View.Menu arg0, Android.View.MenuInflater arg1) + { + IExecute("onCreateOptionsMenu", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void OnDestroy() + { + IExecuteWithSignature("onDestroy", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnDestroyOptionsMenu() + { + IExecuteWithSignature("onDestroyOptionsMenu", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnDestroyView() + { + IExecuteWithSignature("onDestroyView", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnDetach() + { + IExecuteWithSignature("onDetach", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnHiddenChanged(bool arg0) + { + IExecuteWithSignature("onHiddenChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnInflate(Android.App.Activity arg0, Android.Util.AttributeSet arg1, Android.Os.Bundle arg2) + { + IExecute("onInflate", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnInflate(Android.Content.Context arg0, Android.Util.AttributeSet arg1, Android.Os.Bundle arg2) + { + IExecute("onInflate", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnInflate(Android.Util.AttributeSet arg0, Android.Os.Bundle arg1) + { + IExecute("onInflate", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void OnLowMemory() + { + IExecuteWithSignature("onLowMemory", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnMultiWindowModeChanged(bool arg0, Android.Content.Res.Configuration arg1) + { + IExecute("onMultiWindowModeChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnMultiWindowModeChanged(bool arg0) + { + IExecuteWithSignature("onMultiWindowModeChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnOptionsMenuClosed(Android.View.Menu arg0) + { + IExecuteWithSignature("onOptionsMenuClosed", "(Landroid/view/Menu;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnPause() + { + IExecuteWithSignature("onPause", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPictureInPictureModeChanged(bool arg0, Android.Content.Res.Configuration arg1) + { + IExecute("onPictureInPictureModeChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnPictureInPictureModeChanged(bool arg0) + { + IExecuteWithSignature("onPictureInPictureModeChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnPrepareOptionsMenu(Android.View.Menu arg0) + { + IExecuteWithSignature("onPrepareOptionsMenu", "(Landroid/view/Menu;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnRequestPermissionsResult(int arg0, Java.Lang.String[] arg1, int[] arg2) + { + IExecute("onRequestPermissionsResult", arg0, arg1, arg2); + } + /// + /// + /// + [System.Obsolete()] + public void OnResume() + { + IExecuteWithSignature("onResume", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnSaveInstanceState(Android.Os.Bundle arg0) + { + IExecuteWithSignature("onSaveInstanceState", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnStart() + { + IExecuteWithSignature("onStart", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnStop() + { + IExecuteWithSignature("onStop", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnTrimMemory(int arg0) + { + IExecuteWithSignature("onTrimMemory", "(I)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnViewCreated(Android.View.View arg0, Android.Os.Bundle arg1) + { + IExecute("onViewCreated", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnViewStateRestored(Android.Os.Bundle arg0) + { + IExecuteWithSignature("onViewStateRestored", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void PostponeEnterTransition() + { + IExecuteWithSignature("postponeEnterTransition", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterForContextMenu(Android.View.View arg0) + { + IExecuteWithSignature("registerForContextMenu", "(Landroid/view/View;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEnterSharedElementCallback(Android.App.SharedElementCallback arg0) + { + IExecuteWithSignature("setEnterSharedElementCallback", "(Landroid/app/SharedElementCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetExitSharedElementCallback(Android.App.SharedElementCallback arg0) + { + IExecuteWithSignature("setExitSharedElementCallback", "(Landroid/app/SharedElementCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetHasOptionsMenu(bool arg0) + { + IExecuteWithSignature("setHasOptionsMenu", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInitialSavedState(Android.App.Fragment.SavedState arg0) + { + IExecuteWithSignature("setInitialSavedState", "(Landroid/app/Fragment$SavedState;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMenuVisibility(bool arg0) + { + IExecuteWithSignature("setMenuVisibility", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetTargetFragment(Android.App.Fragment arg0, int arg1) + { + IExecute("setTargetFragment", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivity(Android.Content.Intent arg0, Android.Os.Bundle arg1) + { + IExecute("startActivity", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivity(Android.Content.Intent arg0) + { + IExecuteWithSignature("startActivity", "(Landroid/content/Intent;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityForResult(Android.Content.Intent arg0, int arg1, Android.Os.Bundle arg2) + { + IExecute("startActivityForResult", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityForResult(Android.Content.Intent arg0, int arg1) + { + IExecute("startActivityForResult", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartIntentSenderForResult(Android.Content.IntentSender arg0, int arg1, Android.Content.Intent arg2, int arg3, int arg4, int arg5, Android.Os.Bundle arg6) + { + IExecute("startIntentSenderForResult", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + [System.Obsolete()] + public void StartPostponedEnterTransition() + { + IExecuteWithSignature("startPostponedEnterTransition", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterForContextMenu(Android.View.View arg0) + { + IExecuteWithSignature("unregisterForContextMenu", "(Landroid/view/View;)V", arg0); + } + + #endregion + + #region Nested classes + #region InstantiationException + public partial class InstantiationException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SavedState + public partial class SavedState + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.ClassLoaderCreator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.ClassLoaderCreator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentBreadCrumbs.cs b/src/net/Netdroid/Generated/Android/App/FragmentBreadCrumbs.cs new file mode 100644 index 000000000..4977becff --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentBreadCrumbs.cs @@ -0,0 +1,250 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentBreadCrumbs + public partial class FragmentBreadCrumbs + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public FragmentBreadCrumbs(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public FragmentBreadCrumbs(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public FragmentBreadCrumbs(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void OnBackStackChanged() + { + IExecuteWithSignature("onBackStackChanged", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetActivity(Android.App.Activity arg0) + { + IExecuteWithSignature("setActivity", "(Landroid/app/Activity;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMaxVisible(int arg0) + { + IExecuteWithSignature("setMaxVisible", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnBreadCrumbClickListener(Android.App.FragmentBreadCrumbs.OnBreadCrumbClickListener arg0) + { + IExecuteWithSignature("setOnBreadCrumbClickListener", "(Landroid/app/FragmentBreadCrumbs$OnBreadCrumbClickListener;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetParentTitle(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1, Android.View.View.OnClickListener arg2) + { + IExecute("setParentTitle", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetTitle(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1) + { + IExecute("setTitle", arg0, arg1); + } + + #endregion + + #region Nested classes + #region OnBreadCrumbClickListener + public partial class OnBreadCrumbClickListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onBreadCrumbClick", new System.EventHandler>>(OnBreadCrumbClickEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnBreadCrumbClick { get; set; } = null; + + void OnBreadCrumbClickEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnBreadCrumbClick != null) ? OnOnBreadCrumbClick : OnBreadCrumbClick; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool OnBreadCrumbClick(Android.App.FragmentManager.BackStackEntry arg0, int arg1) + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnBreadCrumbClickListenerDirect + public partial class OnBreadCrumbClickListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool OnBreadCrumbClick(Android.App.FragmentManager.BackStackEntry arg0, int arg1) + { + return IExecute("onBreadCrumbClick", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs b/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs new file mode 100644 index 000000000..9f045d406 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentContainer + public partial class FragmentContainer + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public T OnFindViewById(int arg0) where T: Android.View.View + { + return IExecuteWithSignature("onFindViewById", "(I)Landroid/view/View;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnHasView() + { + return IExecuteWithSignature("onHasView", "()Z"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentController.cs b/src/net/Netdroid/Generated/Android/App/FragmentController.cs new file mode 100644 index 000000000..7771e9cca --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentController.cs @@ -0,0 +1,421 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentController + public partial class FragmentController + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.FragmentController CreateController(Android.App.FragmentHostCallback arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "createController", "(Landroid/app/FragmentHostCallback;)Landroid/app/FragmentController;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManager FragmentManager + { + get { return IExecuteWithSignature("getFragmentManager", "()Landroid/app/FragmentManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.LoaderManager LoaderManager + { + get { return IExecuteWithSignature("getLoaderManager", "()Landroid/app/LoaderManager;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment FindFragmentByWho(Java.Lang.String arg0) + { + return IExecuteWithSignature("findFragmentByWho", "(Ljava/lang/String;)Landroid/app/Fragment;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManagerNonConfig RetainNestedNonConfig() + { + return IExecuteWithSignature("retainNestedNonConfig", "()Landroid/app/FragmentManagerNonConfig;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Parcelable SaveAllState() + { + return IExecuteWithSignature("saveAllState", "()Landroid/os/Parcelable;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Util.ArrayMap RetainLoaderNonConfig() + { + return IExecuteWithSignature>("retainLoaderNonConfig", "()Landroid/util/ArrayMap;"); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.View OnCreateView(Android.View.View arg0, Java.Lang.String arg1, Android.Content.Context arg2, Android.Util.AttributeSet arg3) + { + return IExecute("onCreateView", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DispatchContextItemSelected(Android.View.MenuItem arg0) + { + return IExecuteWithSignature("dispatchContextItemSelected", "(Landroid/view/MenuItem;)Z", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DispatchCreateOptionsMenu(Android.View.Menu arg0, Android.View.MenuInflater arg1) + { + return IExecute("dispatchCreateOptionsMenu", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DispatchOptionsItemSelected(Android.View.MenuItem arg0) + { + return IExecuteWithSignature("dispatchOptionsItemSelected", "(Landroid/view/MenuItem;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DispatchPrepareOptionsMenu(Android.View.Menu arg0) + { + return IExecuteWithSignature("dispatchPrepareOptionsMenu", "(Landroid/view/Menu;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ExecPendingActions() + { + return IExecuteWithSignature("execPendingActions", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List RetainNonConfig() + { + return IExecuteWithSignature>("retainNonConfig", "()Ljava/util/List;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AttachHost(Android.App.Fragment arg0) + { + IExecuteWithSignature("attachHost", "(Landroid/app/Fragment;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchActivityCreated() + { + IExecuteWithSignature("dispatchActivityCreated", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchConfigurationChanged(Android.Content.Res.Configuration arg0) + { + IExecuteWithSignature("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchCreate() + { + IExecuteWithSignature("dispatchCreate", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchDestroy() + { + IExecuteWithSignature("dispatchDestroy", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchDestroyView() + { + IExecuteWithSignature("dispatchDestroyView", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchLowMemory() + { + IExecuteWithSignature("dispatchLowMemory", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchMultiWindowModeChanged(bool arg0, Android.Content.Res.Configuration arg1) + { + IExecute("dispatchMultiWindowModeChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchMultiWindowModeChanged(bool arg0) + { + IExecuteWithSignature("dispatchMultiWindowModeChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchOptionsMenuClosed(Android.View.Menu arg0) + { + IExecuteWithSignature("dispatchOptionsMenuClosed", "(Landroid/view/Menu;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchPause() + { + IExecuteWithSignature("dispatchPause", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchPictureInPictureModeChanged(bool arg0, Android.Content.Res.Configuration arg1) + { + IExecute("dispatchPictureInPictureModeChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchPictureInPictureModeChanged(bool arg0) + { + IExecuteWithSignature("dispatchPictureInPictureModeChanged", "(Z)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchResume() + { + IExecuteWithSignature("dispatchResume", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchStart() + { + IExecuteWithSignature("dispatchStart", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchStop() + { + IExecuteWithSignature("dispatchStop", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchTrimMemory(int arg0) + { + IExecuteWithSignature("dispatchTrimMemory", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DoLoaderDestroy() + { + IExecuteWithSignature("doLoaderDestroy", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DoLoaderStart() + { + IExecuteWithSignature("doLoaderStart", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DoLoaderStop(bool arg0) + { + IExecuteWithSignature("doLoaderStop", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DumpLoaders(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dumpLoaders", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void NoteStateNotSaved() + { + IExecuteWithSignature("noteStateNotSaved", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void ReportLoaderStart() + { + IExecuteWithSignature("reportLoaderStart", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RestoreAllState(Android.Os.Parcelable arg0, Android.App.FragmentManagerNonConfig arg1) + { + IExecute("restoreAllState", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RestoreAllState(Android.Os.Parcelable arg0, Java.Util.List arg1) + { + IExecute("restoreAllState", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RestoreLoaderNonConfig(Android.Util.ArrayMap arg0) + { + IExecuteWithSignature("restoreLoaderNonConfig", "(Landroid/util/ArrayMap;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentHostCallback.cs b/src/net/Netdroid/Generated/Android/App/FragmentHostCallback.cs new file mode 100644 index 000000000..df14ec1a3 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentHostCallback.cs @@ -0,0 +1,363 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentHostCallback + public partial class FragmentHostCallback + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public FragmentHostCallback(Android.Content.Context arg0, Android.Os.Handler arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public object OnGetHost() + { + return IExecuteWithSignature("onGetHost", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.LayoutInflater OnGetLayoutInflater() + { + return IExecuteWithSignature("onGetLayoutInflater", "()Landroid/view/LayoutInflater;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnHasWindowAnimations() + { + return IExecuteWithSignature("onHasWindowAnimations", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnShouldSaveFragmentState(Android.App.Fragment arg0) + { + return IExecuteWithSignature("onShouldSaveFragmentState", "(Landroid/app/Fragment;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnUseFragmentManagerInflaterFactory() + { + return IExecuteWithSignature("onUseFragmentManagerInflaterFactory", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int OnGetWindowAnimations() + { + return IExecuteWithSignature("onGetWindowAnimations", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAttachFragment(Android.App.Fragment arg0) + { + IExecuteWithSignature("onAttachFragment", "(Landroid/app/Fragment;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnDump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("onDump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void OnInvalidateOptionsMenu() + { + IExecuteWithSignature("onInvalidateOptionsMenu", "()V"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnRequestPermissionsFromFragment(Android.App.Fragment arg0, Java.Lang.String[] arg1, int arg2) + { + IExecute("onRequestPermissionsFromFragment", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnStartActivityFromFragment(Android.App.Fragment arg0, Android.Content.Intent arg1, int arg2, Android.Os.Bundle arg3) + { + IExecute("onStartActivityFromFragment", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnStartIntentSenderFromFragment(Android.App.Fragment arg0, Android.Content.IntentSender arg1, int arg2, Android.Content.Intent arg3, int arg4, int arg5, int arg6, Android.Os.Bundle arg7) + { + IExecute("onStartIntentSenderFromFragment", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FragmentHostCallback + public partial class FragmentHostCallback + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public FragmentHostCallback(Android.Content.Context arg0, Android.Os.Handler arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.App.FragmentHostCallback(Android.App.FragmentHostCallback t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public E OnGetHost() + { + return IExecuteWithSignature("onGetHost", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.LayoutInflater OnGetLayoutInflater() + { + return IExecuteWithSignature("onGetLayoutInflater", "()Landroid/view/LayoutInflater;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnHasWindowAnimations() + { + return IExecuteWithSignature("onHasWindowAnimations", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnShouldSaveFragmentState(Android.App.Fragment arg0) + { + return IExecuteWithSignature("onShouldSaveFragmentState", "(Landroid/app/Fragment;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnUseFragmentManagerInflaterFactory() + { + return IExecuteWithSignature("onUseFragmentManagerInflaterFactory", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int OnGetWindowAnimations() + { + return IExecuteWithSignature("onGetWindowAnimations", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAttachFragment(Android.App.Fragment arg0) + { + IExecuteWithSignature("onAttachFragment", "(Landroid/app/Fragment;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnDump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("onDump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void OnInvalidateOptionsMenu() + { + IExecuteWithSignature("onInvalidateOptionsMenu", "()V"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnRequestPermissionsFromFragment(Android.App.Fragment arg0, Java.Lang.String[] arg1, int arg2) + { + IExecute("onRequestPermissionsFromFragment", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnStartActivityFromFragment(Android.App.Fragment arg0, Android.Content.Intent arg1, int arg2, Android.Os.Bundle arg3) + { + IExecute("onStartActivityFromFragment", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnStartIntentSenderFromFragment(Android.App.Fragment arg0, Android.Content.IntentSender arg1, int arg2, Android.Content.Intent arg3, int arg4, int arg5, int arg6, Android.Os.Bundle arg7) + { + IExecute("onStartIntentSenderFromFragment", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentManager.cs b/src/net/Netdroid/Generated/Android/App/FragmentManager.cs new file mode 100644 index 000000000..abd807a51 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentManager.cs @@ -0,0 +1,669 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentManager + public partial class FragmentManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int POP_BACK_STACK_INCLUSIVE { get { if (!_POP_BACK_STACK_INCLUSIVEReady) { _POP_BACK_STACK_INCLUSIVEContent = SGetField(LocalBridgeClazz, "POP_BACK_STACK_INCLUSIVE"); _POP_BACK_STACK_INCLUSIVEReady = true; } return _POP_BACK_STACK_INCLUSIVEContent; } } + private static int _POP_BACK_STACK_INCLUSIVEContent = default; + private static bool _POP_BACK_STACK_INCLUSIVEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + [System.Obsolete()] + public static void EnableDebugLogging(bool arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "enableDebugLogging", "(Z)V", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int BackStackEntryCount + { + get { return IExecuteWithSignature("getBackStackEntryCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List Fragments + { + get { return IExecuteWithSignature>("getFragments", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment PrimaryNavigationFragment + { + get { return IExecuteWithSignature("getPrimaryNavigationFragment", "()Landroid/app/Fragment;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment FindFragmentById(int arg0) + { + return IExecuteWithSignature("findFragmentById", "(I)Landroid/app/Fragment;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment FindFragmentByTag(Java.Lang.String arg0) + { + return IExecuteWithSignature("findFragmentByTag", "(Ljava/lang/String;)Landroid/app/Fragment;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment GetFragment(Android.Os.Bundle arg0, Java.Lang.String arg1) + { + return IExecute("getFragment", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Fragment.SavedState SaveFragmentInstanceState(Android.App.Fragment arg0) + { + return IExecuteWithSignature("saveFragmentInstanceState", "(Landroid/app/Fragment;)Landroid/app/Fragment$SavedState;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentManager.BackStackEntry GetBackStackEntryAt(int arg0) + { + return IExecuteWithSignature("getBackStackEntryAt", "(I)Landroid/app/FragmentManager$BackStackEntry;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction BeginTransaction() + { + return IExecuteWithSignature("beginTransaction", "()Landroid/app/FragmentTransaction;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ExecutePendingTransactions() + { + return IExecuteWithSignature("executePendingTransactions", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsDestroyed() + { + return IExecuteWithSignature("isDestroyed", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStateSaved() + { + return IExecuteWithSignature("isStateSaved", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool PopBackStackImmediate() + { + return IExecuteWithSignature("popBackStackImmediate", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool PopBackStackImmediate(int arg0, int arg1) + { + return IExecute("popBackStackImmediate", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool PopBackStackImmediate(Java.Lang.String arg0, int arg1) + { + return IExecute("popBackStackImmediate", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddOnBackStackChangedListener(Android.App.FragmentManager.OnBackStackChangedListener arg0) + { + IExecuteWithSignature("addOnBackStackChangedListener", "(Landroid/app/FragmentManager$OnBackStackChangedListener;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void PopBackStack() + { + IExecuteWithSignature("popBackStack", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PopBackStack(int arg0, int arg1) + { + IExecute("popBackStack", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PopBackStack(Java.Lang.String arg0, int arg1) + { + IExecute("popBackStack", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutFragment(Android.Os.Bundle arg0, Java.Lang.String arg1, Android.App.Fragment arg2) + { + IExecute("putFragment", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterFragmentLifecycleCallbacks(Android.App.FragmentManager.FragmentLifecycleCallbacks arg0, bool arg1) + { + IExecute("registerFragmentLifecycleCallbacks", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RemoveOnBackStackChangedListener(Android.App.FragmentManager.OnBackStackChangedListener arg0) + { + IExecuteWithSignature("removeOnBackStackChangedListener", "(Landroid/app/FragmentManager$OnBackStackChangedListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterFragmentLifecycleCallbacks(Android.App.FragmentManager.FragmentLifecycleCallbacks arg0) + { + IExecuteWithSignature("unregisterFragmentLifecycleCallbacks", "(Landroid/app/FragmentManager$FragmentLifecycleCallbacks;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void InvalidateOptionsMenu() + { + IExecuteWithSignature("invalidateOptionsMenu", "()V"); + } + + #endregion + + #region Nested classes + #region BackStackEntry + public partial class BackStackEntry + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence BreadCrumbShortTitle + { + get { return IExecuteWithSignature("getBreadCrumbShortTitle", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public int BreadCrumbShortTitleRes + { + get { return IExecuteWithSignature("getBreadCrumbShortTitleRes", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence BreadCrumbTitle + { + get { return IExecuteWithSignature("getBreadCrumbTitle", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public int BreadCrumbTitleRes + { + get { return IExecuteWithSignature("getBreadCrumbTitleRes", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Id + { + get { return IExecuteWithSignature("getId", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Name + { + get { return IExecuteWithSignature("getName", "()Ljava/lang/String;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FragmentLifecycleCallbacks + public partial class FragmentLifecycleCallbacks + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentActivityCreated(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Os.Bundle arg2) + { + IExecute("onFragmentActivityCreated", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentAttached(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Content.Context arg2) + { + IExecute("onFragmentAttached", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentCreated(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Os.Bundle arg2) + { + IExecute("onFragmentCreated", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentDestroyed(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentDestroyed", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentDetached(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentDetached", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentPaused(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentPaused", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentPreAttached(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Content.Context arg2) + { + IExecute("onFragmentPreAttached", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentPreCreated(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Os.Bundle arg2) + { + IExecute("onFragmentPreCreated", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentResumed(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentResumed", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentSaveInstanceState(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.Os.Bundle arg2) + { + IExecute("onFragmentSaveInstanceState", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentStarted(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentStarted", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentStopped(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentStopped", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentViewCreated(Android.App.FragmentManager arg0, Android.App.Fragment arg1, Android.View.View arg2, Android.Os.Bundle arg3) + { + IExecute("onFragmentViewCreated", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFragmentViewDestroyed(Android.App.FragmentManager arg0, Android.App.Fragment arg1) + { + IExecute("onFragmentViewDestroyed", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnBackStackChangedListener + public partial class OnBackStackChangedListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onBackStackChanged", new System.EventHandler>(OnBackStackChangedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnBackStackChanged { get; set; } = null; + + void OnBackStackChangedEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnOnBackStackChanged != null) ? OnOnBackStackChanged : OnBackStackChanged; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void OnBackStackChanged() + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnBackStackChangedListenerDirect + public partial class OnBackStackChangedListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public override void OnBackStackChanged() + { + IExecuteWithSignature("onBackStackChanged", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentManagerNonConfig.cs b/src/net/Netdroid/Generated/Android/App/FragmentManagerNonConfig.cs new file mode 100644 index 000000000..34feeeea0 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentManagerNonConfig.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentManagerNonConfig + public partial class FragmentManagerNonConfig + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/FragmentTransaction.cs b/src/net/Netdroid/Generated/Android/App/FragmentTransaction.cs new file mode 100644 index 000000000..cf01f25ad --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/FragmentTransaction.cs @@ -0,0 +1,410 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region FragmentTransaction + public partial class FragmentTransaction + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_ENTER_MASK { get { if (!_TRANSIT_ENTER_MASKReady) { _TRANSIT_ENTER_MASKContent = SGetField(LocalBridgeClazz, "TRANSIT_ENTER_MASK"); _TRANSIT_ENTER_MASKReady = true; } return _TRANSIT_ENTER_MASKContent; } } + private static int _TRANSIT_ENTER_MASKContent = default; + private static bool _TRANSIT_ENTER_MASKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_EXIT_MASK { get { if (!_TRANSIT_EXIT_MASKReady) { _TRANSIT_EXIT_MASKContent = SGetField(LocalBridgeClazz, "TRANSIT_EXIT_MASK"); _TRANSIT_EXIT_MASKReady = true; } return _TRANSIT_EXIT_MASKContent; } } + private static int _TRANSIT_EXIT_MASKContent = default; + private static bool _TRANSIT_EXIT_MASKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_FRAGMENT_CLOSE { get { if (!_TRANSIT_FRAGMENT_CLOSEReady) { _TRANSIT_FRAGMENT_CLOSEContent = SGetField(LocalBridgeClazz, "TRANSIT_FRAGMENT_CLOSE"); _TRANSIT_FRAGMENT_CLOSEReady = true; } return _TRANSIT_FRAGMENT_CLOSEContent; } } + private static int _TRANSIT_FRAGMENT_CLOSEContent = default; + private static bool _TRANSIT_FRAGMENT_CLOSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_FRAGMENT_FADE { get { if (!_TRANSIT_FRAGMENT_FADEReady) { _TRANSIT_FRAGMENT_FADEContent = SGetField(LocalBridgeClazz, "TRANSIT_FRAGMENT_FADE"); _TRANSIT_FRAGMENT_FADEReady = true; } return _TRANSIT_FRAGMENT_FADEContent; } } + private static int _TRANSIT_FRAGMENT_FADEContent = default; + private static bool _TRANSIT_FRAGMENT_FADEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_FRAGMENT_OPEN { get { if (!_TRANSIT_FRAGMENT_OPENReady) { _TRANSIT_FRAGMENT_OPENContent = SGetField(LocalBridgeClazz, "TRANSIT_FRAGMENT_OPEN"); _TRANSIT_FRAGMENT_OPENReady = true; } return _TRANSIT_FRAGMENT_OPENContent; } } + private static int _TRANSIT_FRAGMENT_OPENContent = default; + private static bool _TRANSIT_FRAGMENT_OPENReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_NONE { get { if (!_TRANSIT_NONEReady) { _TRANSIT_NONEContent = SGetField(LocalBridgeClazz, "TRANSIT_NONE"); _TRANSIT_NONEReady = true; } return _TRANSIT_NONEContent; } } + private static int _TRANSIT_NONEContent = default; + private static bool _TRANSIT_NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSIT_UNSET { get { if (!_TRANSIT_UNSETReady) { _TRANSIT_UNSETContent = SGetField(LocalBridgeClazz, "TRANSIT_UNSET"); _TRANSIT_UNSETReady = true; } return _TRANSIT_UNSETContent; } } + private static int _TRANSIT_UNSETContent = default; + private static bool _TRANSIT_UNSETReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Add(Android.App.Fragment arg0, Java.Lang.String arg1) + { + return IExecute("add", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Add(int arg0, Android.App.Fragment arg1, Java.Lang.String arg2) + { + return IExecute("add", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Add(int arg0, Android.App.Fragment arg1) + { + return IExecute("add", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction AddSharedElement(Android.View.View arg0, Java.Lang.String arg1) + { + return IExecute("addSharedElement", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction AddToBackStack(Java.Lang.String arg0) + { + return IExecuteWithSignature("addToBackStack", "(Ljava/lang/String;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Attach(Android.App.Fragment arg0) + { + return IExecuteWithSignature("attach", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Detach(Android.App.Fragment arg0) + { + return IExecuteWithSignature("detach", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction DisallowAddToBackStack() + { + return IExecuteWithSignature("disallowAddToBackStack", "()Landroid/app/FragmentTransaction;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Hide(Android.App.Fragment arg0) + { + return IExecuteWithSignature("hide", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Remove(Android.App.Fragment arg0) + { + return IExecuteWithSignature("remove", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Replace(int arg0, Android.App.Fragment arg1, Java.Lang.String arg2) + { + return IExecute("replace", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Replace(int arg0, Android.App.Fragment arg1) + { + return IExecute("replace", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction RunOnCommit(Java.Lang.Runnable arg0) + { + return IExecuteWithSignature("runOnCommit", "(Ljava/lang/Runnable;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetBreadCrumbShortTitle(int arg0) + { + return IExecuteWithSignature("setBreadCrumbShortTitle", "(I)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetBreadCrumbShortTitle(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setBreadCrumbShortTitle", "(Ljava/lang/CharSequence;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetBreadCrumbTitle(int arg0) + { + return IExecuteWithSignature("setBreadCrumbTitle", "(I)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetBreadCrumbTitle(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setBreadCrumbTitle", "(Ljava/lang/CharSequence;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetCustomAnimations(int arg0, int arg1, int arg2, int arg3) + { + return IExecute("setCustomAnimations", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetCustomAnimations(int arg0, int arg1) + { + return IExecute("setCustomAnimations", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetPrimaryNavigationFragment(Android.App.Fragment arg0) + { + return IExecuteWithSignature("setPrimaryNavigationFragment", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetReorderingAllowed(bool arg0) + { + return IExecuteWithSignature("setReorderingAllowed", "(Z)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetTransition(int arg0) + { + return IExecuteWithSignature("setTransition", "(I)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction SetTransitionStyle(int arg0) + { + return IExecuteWithSignature("setTransitionStyle", "(I)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.FragmentTransaction Show(Android.App.Fragment arg0) + { + return IExecuteWithSignature("show", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAddToBackStackAllowed() + { + return IExecuteWithSignature("isAddToBackStackAllowed", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsEmpty() + { + return IExecuteWithSignature("isEmpty", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int Commit() + { + return IExecuteWithSignature("commit", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int CommitAllowingStateLoss() + { + return IExecuteWithSignature("commitAllowingStateLoss", "()I"); + } + /// + /// + /// + [System.Obsolete()] + public void CommitNow() + { + IExecuteWithSignature("commitNow", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void CommitNowAllowingStateLoss() + { + IExecuteWithSignature("commitNowAllowingStateLoss", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/Instrumentation.cs b/src/net/Netdroid/Generated/Android/App/Instrumentation.cs index 299b7c113..a023d68ec 100644 --- a/src/net/Netdroid/Generated/Android/App/Instrumentation.cs +++ b/src/net/Netdroid/Generated/Android/App/Instrumentation.cs @@ -609,6 +609,14 @@ public void Start() IExecuteWithSignature("start", "()V"); } /// + /// + /// + [System.Obsolete()] + public void StartAllocCounting() + { + IExecuteWithSignature("startAllocCounting", "()V"); + } + /// /// /// public void StartPerformanceSnapshot() @@ -623,6 +631,14 @@ public void StartProfiling() IExecuteWithSignature("startProfiling", "()V"); } /// + /// + /// + [System.Obsolete()] + public void StopAllocCounting() + { + IExecuteWithSignature("stopAllocCounting", "()V"); + } + /// /// /// public void StopProfiling() diff --git a/src/net/Netdroid/Generated/Android/App/IntentService.cs b/src/net/Netdroid/Generated/Android/App/IntentService.cs new file mode 100644 index 000000000..75446d1d1 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/IntentService.cs @@ -0,0 +1,76 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region IntentService + public partial class IntentService + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public IntentService(Java.Lang.String arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void SetIntentRedelivery(bool arg0) + { + IExecuteWithSignature("setIntentRedelivery", "(Z)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/Job/JobInfo.cs b/src/net/Netdroid/Generated/Android/App/Job/JobInfo.cs index 7034f3da1..acf85e3a2 100644 --- a/src/net/Netdroid/Generated/Android/App/Job/JobInfo.cs +++ b/src/net/Netdroid/Generated/Android/App/Job/JobInfo.cs @@ -74,6 +74,13 @@ public partial class JobInfo private static int _NETWORK_TYPE_CELLULARContent = default; private static bool _NETWORK_TYPE_CELLULARReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int NETWORK_TYPE_METERED { get { if (!_NETWORK_TYPE_METEREDReady) { _NETWORK_TYPE_METEREDContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_METERED"); _NETWORK_TYPE_METEREDReady = true; } return _NETWORK_TYPE_METEREDContent; } } + private static int _NETWORK_TYPE_METEREDContent = default; + private static bool _NETWORK_TYPE_METEREDReady = false; // this is used because in case of generics + /// /// /// public static int NETWORK_TYPE_NONE { get { if (!_NETWORK_TYPE_NONEReady) { _NETWORK_TYPE_NONEContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_NONE"); _NETWORK_TYPE_NONEReady = true; } return _NETWORK_TYPE_NONEContent; } } @@ -247,6 +254,14 @@ public long MinLatencyMillis get { return IExecuteWithSignature("getMinLatencyMillis", "()J"); } } /// + /// + /// + [System.Obsolete()] + public int NetworkType + { + get { return IExecuteWithSignature("getNetworkType", "()I"); } + } + /// /// /// public int Priority @@ -491,6 +506,16 @@ public Android.App.Job.JobInfo.Builder SetExtras(Android.Os.PersistableBundle ar return IExecuteWithSignature("setExtras", "(Landroid/os/PersistableBundle;)Landroid/app/job/JobInfo$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Job.JobInfo.Builder SetImportantWhileForeground(bool arg0) + { + return IExecuteWithSignature("setImportantWhileForeground", "(Z)Landroid/app/job/JobInfo$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/KeyguardManager.cs b/src/net/Netdroid/Generated/Android/App/KeyguardManager.cs index 24894ff25..30465bf64 100644 --- a/src/net/Netdroid/Generated/Android/App/KeyguardManager.cs +++ b/src/net/Netdroid/Generated/Android/App/KeyguardManager.cs @@ -46,6 +46,36 @@ public partial class KeyguardManager #region Instance methods /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.KeyguardManager.KeyguardLock NewKeyguardLock(Java.Lang.String arg0) + { + return IExecuteWithSignature("newKeyguardLock", "(Ljava/lang/String;)Landroid/app/KeyguardManager$KeyguardLock;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent CreateConfirmDeviceCredentialIntent(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1) + { + return IExecute("createConfirmDeviceCredentialIntent", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool InKeyguardRestrictedInputMode() + { + return IExecuteWithSignature("inKeyguardRestrictedInputMode", "()Z"); + } + /// /// /// /// @@ -87,6 +117,15 @@ public void AddKeyguardLockedStateListener(Java.Util.Concurrent.Executor arg0, A IExecute("addKeyguardLockedStateListener", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void ExitKeyguardSecurely(Android.App.KeyguardManager.OnKeyguardExitResult arg0) + { + IExecuteWithSignature("exitKeyguardSecurely", "(Landroid/app/KeyguardManager$OnKeyguardExitResult;)V", arg0); + } + /// /// /// /// @@ -159,6 +198,53 @@ public void OnDismissSucceeded() } #endregion + #region KeyguardLock + public partial class KeyguardLock + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void DisableKeyguard() + { + IExecuteWithSignature("disableKeyguard", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void ReenableKeyguard() + { + IExecuteWithSignature("reenableKeyguard", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region KeyguardLockedStateListener public partial class KeyguardLockedStateListener { @@ -258,6 +344,46 @@ public override void OnKeyguardLockedStateChanged(bool arg0) } #endregion + #region OnKeyguardExitResult + public partial class OnKeyguardExitResult + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void OnKeyguardExitResultMethod(bool arg0) + { + IExecuteWithSignature("onKeyguardExitResult", "(Z)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/App/LauncherActivity.cs b/src/net/Netdroid/Generated/Android/App/LauncherActivity.cs new file mode 100644 index 000000000..13371d266 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/LauncherActivity.cs @@ -0,0 +1,178 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region LauncherActivity + public partial class LauncherActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List MakeListItems() + { + return IExecuteWithSignature>("makeListItems", "()Ljava/util/List;"); + } + + #endregion + + #region Nested classes + #region IconResizer + public partial class IconResizer + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public IconResizer(Android.App.LauncherActivity arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable CreateIconThumbnail(Android.Graphics.Drawable.Drawable arg0) + { + return IExecuteWithSignature("createIconThumbnail", "(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ListItem + public partial class ListItem + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Content.Pm.ResolveInfo resolveInfo { get { return IGetField("resolveInfo"); } set { ISetField("resolveInfo", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable icon { get { return IGetField("icon"); } set { ISetField("icon", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle extras { get { return IGetField("extras"); } set { ISetField("extras", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence label { get { return IGetField("label"); } set { ISetField("label", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String className { get { return IGetField("className"); } set { ISetField("className", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String packageName { get { return IGetField("packageName"); } set { ISetField("packageName", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/ListActivity.cs b/src/net/Netdroid/Generated/Android/App/ListActivity.cs new file mode 100644 index 000000000..ea07b4a94 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/ListActivity.cs @@ -0,0 +1,99 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region ListActivity + public partial class ListActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ListAdapter ListAdapter + { + get { return IExecuteWithSignature("getListAdapter", "()Landroid/widget/ListAdapter;"); } set { IExecuteWithSignature("setListAdapter", "(Landroid/widget/ListAdapter;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ListView ListView + { + get { return IExecuteWithSignature("getListView", "()Landroid/widget/ListView;"); } + } + /// + /// + /// + [System.Obsolete()] + public long SelectedItemId + { + get { return IExecuteWithSignature("getSelectedItemId", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public int SelectedItemPosition + { + get { return IExecuteWithSignature("getSelectedItemPosition", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSelection(int arg0) + { + IExecuteWithSignature("setSelection", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/ListFragment.cs b/src/net/Netdroid/Generated/Android/App/ListFragment.cs new file mode 100644 index 000000000..e31edab93 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/ListFragment.cs @@ -0,0 +1,138 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region ListFragment + public partial class ListFragment + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ListAdapter ListAdapter + { + get { return IExecuteWithSignature("getListAdapter", "()Landroid/widget/ListAdapter;"); } set { IExecuteWithSignature("setListAdapter", "(Landroid/widget/ListAdapter;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ListView ListView + { + get { return IExecuteWithSignature("getListView", "()Landroid/widget/ListView;"); } + } + /// + /// + /// + [System.Obsolete()] + public long SelectedItemId + { + get { return IExecuteWithSignature("getSelectedItemId", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public int SelectedItemPosition + { + get { return IExecuteWithSignature("getSelectedItemPosition", "()I"); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnListItemClick(Android.Widget.ListView arg0, Android.View.View arg1, int arg2, long arg3) + { + IExecute("onListItemClick", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEmptyText(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setEmptyText", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListShown(bool arg0) + { + IExecuteWithSignature("setListShown", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListShownNoAnimation(bool arg0) + { + IExecuteWithSignature("setListShownNoAnimation", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSelection(int arg0) + { + IExecuteWithSignature("setSelection", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/LoaderManager.cs b/src/net/Netdroid/Generated/Android/App/LoaderManager.cs new file mode 100644 index 000000000..d960240e2 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/LoaderManager.cs @@ -0,0 +1,251 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region LoaderManager + public partial class LoaderManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + [System.Obsolete()] + public static void EnableDebugLogging(bool arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "enableDebugLogging", "(Z)V", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Loader GetLoader(int arg0) + { + return IExecuteWithSignature>("getLoader", "(I)Landroid/content/Loader;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Loader InitLoader(int arg0, Android.Os.Bundle arg1, Android.App.LoaderManager.LoaderCallbacks arg2) + { + return IExecute>("initLoader", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Loader RestartLoader(int arg0, Android.Os.Bundle arg1, Android.App.LoaderManager.LoaderCallbacks arg2) + { + return IExecute>("restartLoader", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DestroyLoader(int arg0) + { + IExecuteWithSignature("destroyLoader", "(I)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dump", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Nested classes + #region LoaderCallbacks + public partial class LoaderCallbacks + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Loader OnCreateLoader(int arg0, Android.Os.Bundle arg1) + { + return IExecute("onCreateLoader", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnLoaderReset(Android.Content.Loader arg0) + { + IExecuteWithSignature("onLoaderReset", "(Landroid/content/Loader;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnLoadFinished(Android.Content.Loader arg0, object arg1) + { + IExecute("onLoadFinished", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region LoaderCallbacks + public partial class LoaderCallbacks + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.App.LoaderManager.LoaderCallbacks(Android.App.LoaderManager.LoaderCallbacks t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Loader OnCreateLoader(int arg0, Android.Os.Bundle arg1) + { + return IExecute>("onCreateLoader", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnLoaderReset(Android.Content.Loader arg0) + { + IExecuteWithSignature("onLoaderReset", "(Landroid/content/Loader;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnLoadFinished(Android.Content.Loader arg0, D arg1) + { + IExecute("onLoadFinished", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/LocalActivityManager.cs b/src/net/Netdroid/Generated/Android/App/LocalActivityManager.cs new file mode 100644 index 000000000..43ab95fde --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/LocalActivityManager.cs @@ -0,0 +1,176 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region LocalActivityManager + public partial class LocalActivityManager + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public LocalActivityManager(Android.App.Activity arg0, bool arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Activity CurrentActivity + { + get { return IExecuteWithSignature("getCurrentActivity", "()Landroid/app/Activity;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String CurrentId + { + get { return IExecuteWithSignature("getCurrentId", "()Ljava/lang/String;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Activity GetActivity(Java.Lang.String arg0) + { + return IExecuteWithSignature("getActivity", "(Ljava/lang/String;)Landroid/app/Activity;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle SaveInstanceState() + { + return IExecuteWithSignature("saveInstanceState", "()Landroid/os/Bundle;"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.Window DestroyActivity(Java.Lang.String arg0, bool arg1) + { + return IExecute("destroyActivity", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.Window StartActivity(Java.Lang.String arg0, Android.Content.Intent arg1) + { + return IExecute("startActivity", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchCreate(Android.Os.Bundle arg0) + { + IExecuteWithSignature("dispatchCreate", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchDestroy(bool arg0) + { + IExecuteWithSignature("dispatchDestroy", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DispatchPause(bool arg0) + { + IExecuteWithSignature("dispatchPause", "(Z)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchResume() + { + IExecuteWithSignature("dispatchResume", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DispatchStop() + { + IExecuteWithSignature("dispatchStop", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void RemoveAllActivities() + { + IExecuteWithSignature("removeAllActivities", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/Notification.cs b/src/net/Netdroid/Generated/Android/App/Notification.cs index d6df57002..eb61d3210 100644 --- a/src/net/Netdroid/Generated/Android/App/Notification.cs +++ b/src/net/Netdroid/Generated/Android/App/Notification.cs @@ -37,6 +37,17 @@ public Notification(Android.Os.Parcel arg0) : base(arg0) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Notification(int arg0, Java.Lang.CharSequence arg1, long arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -66,26 +77,96 @@ public Notification(Android.Os.Parcel arg0) /// public Android.App.PendingIntent fullScreenIntent { get { return IGetField("fullScreenIntent"); } set { ISetField("fullScreenIntent", value); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Bitmap largeIcon { get { return IGetField("largeIcon"); } set { ISetField("largeIcon", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Media.AudioAttributes audioAttributes { get { return IGetField("audioAttributes"); } set { ISetField("audioAttributes", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Uri sound { get { return IGetField("sound"); } set { ISetField("sound", value); } } + /// /// /// public Android.Os.Bundle extras { get { return IGetField("extras"); } set { ISetField("extras", value); } } /// + /// + /// + [System.Obsolete()] + public Android.Widget.RemoteViews bigContentView { get { return IGetField("bigContentView"); } set { ISetField("bigContentView", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.RemoteViews contentView { get { return IGetField("contentView"); } set { ISetField("contentView", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.RemoteViews headsUpContentView { get { return IGetField("headsUpContentView"); } set { ISetField("headsUpContentView", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.RemoteViews tickerView { get { return IGetField("tickerView"); } set { ISetField("tickerView", value); } } + /// + /// + /// + [System.Obsolete()] + public int audioStreamType { get { return IGetField("audioStreamType"); } set { ISetField("audioStreamType", value); } } + /// /// /// public int color { get { return IGetField("color"); } set { ISetField("color", value); } } /// + /// + /// + [System.Obsolete()] + public int defaults { get { return IGetField("defaults"); } set { ISetField("defaults", value); } } + /// /// /// public int flags { get { return IGetField("flags"); } set { ISetField("flags", value); } } /// + /// + /// + [System.Obsolete()] + public int icon { get { return IGetField("icon"); } set { ISetField("icon", value); } } + /// /// /// public int iconLevel { get { return IGetField("iconLevel"); } set { ISetField("iconLevel", value); } } /// + /// + /// + [System.Obsolete()] + public int ledARGB { get { return IGetField("ledARGB"); } set { ISetField("ledARGB", value); } } + /// + /// + /// + [System.Obsolete()] + public int ledOffMS { get { return IGetField("ledOffMS"); } set { ISetField("ledOffMS", value); } } + /// + /// + /// + [System.Obsolete()] + public int ledOnMS { get { return IGetField("ledOnMS"); } set { ISetField("ledOnMS", value); } } + /// /// /// public int number { get { return IGetField("number"); } set { ISetField("number", value); } } /// + /// + /// + [System.Obsolete()] + public int priority { get { return IGetField("priority"); } set { ISetField("priority", value); } } + /// /// /// public int visibility { get { return IGetField("visibility"); } set { ISetField("visibility", value); } } @@ -102,6 +183,11 @@ public Notification(Android.Os.Parcel arg0) /// public long when { get { return IGetField("when"); } set { ISetField("when", value); } } /// + /// + /// + [System.Obsolete()] + public long[] vibrate { get { return IGetFieldArray("vibrate"); } set { ISetField("vibrate", value); } } + /// /// /// public static Android.Media.AudioAttributes AUDIO_ATTRIBUTES_DEFAULT { get { if (!_AUDIO_ATTRIBUTES_DEFAULTReady) { _AUDIO_ATTRIBUTES_DEFAULTContent = SGetField(LocalBridgeClazz, "AUDIO_ATTRIBUTES_DEFAULT"); _AUDIO_ATTRIBUTES_DEFAULTReady = true; } return _AUDIO_ATTRIBUTES_DEFAULTContent; } } @@ -186,6 +272,13 @@ public Notification(Android.Os.Parcel arg0) private static int _FLAG_GROUP_SUMMARYContent = default; private static bool _FLAG_GROUP_SUMMARYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_HIGH_PRIORITY { get { if (!_FLAG_HIGH_PRIORITYReady) { _FLAG_HIGH_PRIORITYContent = SGetField(LocalBridgeClazz, "FLAG_HIGH_PRIORITY"); _FLAG_HIGH_PRIORITYReady = true; } return _FLAG_HIGH_PRIORITYContent; } } + private static int _FLAG_HIGH_PRIORITYContent = default; + private static bool _FLAG_HIGH_PRIORITYReady = false; // this is used because in case of generics + /// /// /// public static int FLAG_INSISTENT { get { if (!_FLAG_INSISTENTReady) { _FLAG_INSISTENTContent = SGetField(LocalBridgeClazz, "FLAG_INSISTENT"); _FLAG_INSISTENTReady = true; } return _FLAG_INSISTENTContent; } } @@ -216,6 +309,13 @@ public Notification(Android.Os.Parcel arg0) private static int _FLAG_ONLY_ALERT_ONCEContent = default; private static bool _FLAG_ONLY_ALERT_ONCEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_SHOW_LIGHTS { get { if (!_FLAG_SHOW_LIGHTSReady) { _FLAG_SHOW_LIGHTSContent = SGetField(LocalBridgeClazz, "FLAG_SHOW_LIGHTS"); _FLAG_SHOW_LIGHTSReady = true; } return _FLAG_SHOW_LIGHTSContent; } } + private static int _FLAG_SHOW_LIGHTSContent = default; + private static bool _FLAG_SHOW_LIGHTSReady = false; // this is used because in case of generics + /// /// /// public static int FOREGROUND_SERVICE_DEFAULT { get { if (!_FOREGROUND_SERVICE_DEFAULTReady) { _FOREGROUND_SERVICE_DEFAULTContent = SGetField(LocalBridgeClazz, "FOREGROUND_SERVICE_DEFAULT"); _FOREGROUND_SERVICE_DEFAULTReady = true; } return _FOREGROUND_SERVICE_DEFAULTContent; } } @@ -252,6 +352,48 @@ public Notification(Android.Os.Parcel arg0) private static int _GROUP_ALERT_SUMMARYContent = default; private static bool _GROUP_ALERT_SUMMARYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int PRIORITY_DEFAULT { get { if (!_PRIORITY_DEFAULTReady) { _PRIORITY_DEFAULTContent = SGetField(LocalBridgeClazz, "PRIORITY_DEFAULT"); _PRIORITY_DEFAULTReady = true; } return _PRIORITY_DEFAULTContent; } } + private static int _PRIORITY_DEFAULTContent = default; + private static bool _PRIORITY_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PRIORITY_HIGH { get { if (!_PRIORITY_HIGHReady) { _PRIORITY_HIGHContent = SGetField(LocalBridgeClazz, "PRIORITY_HIGH"); _PRIORITY_HIGHReady = true; } return _PRIORITY_HIGHContent; } } + private static int _PRIORITY_HIGHContent = default; + private static bool _PRIORITY_HIGHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PRIORITY_LOW { get { if (!_PRIORITY_LOWReady) { _PRIORITY_LOWContent = SGetField(LocalBridgeClazz, "PRIORITY_LOW"); _PRIORITY_LOWReady = true; } return _PRIORITY_LOWContent; } } + private static int _PRIORITY_LOWContent = default; + private static bool _PRIORITY_LOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PRIORITY_MAX { get { if (!_PRIORITY_MAXReady) { _PRIORITY_MAXContent = SGetField(LocalBridgeClazz, "PRIORITY_MAX"); _PRIORITY_MAXReady = true; } return _PRIORITY_MAXContent; } } + private static int _PRIORITY_MAXContent = default; + private static bool _PRIORITY_MAXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PRIORITY_MIN { get { if (!_PRIORITY_MINReady) { _PRIORITY_MINContent = SGetField(LocalBridgeClazz, "PRIORITY_MIN"); _PRIORITY_MINReady = true; } return _PRIORITY_MINContent; } } + private static int _PRIORITY_MINContent = default; + private static bool _PRIORITY_MINReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STREAM_DEFAULT { get { if (!_STREAM_DEFAULTReady) { _STREAM_DEFAULTContent = SGetField(LocalBridgeClazz, "STREAM_DEFAULT"); _STREAM_DEFAULTReady = true; } return _STREAM_DEFAULTContent; } } + private static int _STREAM_DEFAULTContent = default; + private static bool _STREAM_DEFAULTReady = false; // this is used because in case of generics + /// /// /// public static int VISIBILITY_PRIVATE { get { if (!_VISIBILITY_PRIVATEReady) { _VISIBILITY_PRIVATEContent = SGetField(LocalBridgeClazz, "VISIBILITY_PRIVATE"); _VISIBILITY_PRIVATEReady = true; } return _VISIBILITY_PRIVATEContent; } } @@ -510,6 +652,13 @@ public Notification(Android.Os.Parcel arg0) private static Java.Lang.String _EXTRA_IS_GROUP_CONVERSATIONContent = default; private static bool _EXTRA_IS_GROUP_CONVERSATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_LARGE_ICON { get { if (!_EXTRA_LARGE_ICONReady) { _EXTRA_LARGE_ICONContent = SGetField(LocalBridgeClazz, "EXTRA_LARGE_ICON"); _EXTRA_LARGE_ICONReady = true; } return _EXTRA_LARGE_ICONContent; } } + private static Java.Lang.String _EXTRA_LARGE_ICONContent = default; + private static bool _EXTRA_LARGE_ICONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_LARGE_ICON_BIG { get { if (!_EXTRA_LARGE_ICON_BIGReady) { _EXTRA_LARGE_ICON_BIGContent = SGetField(LocalBridgeClazz, "EXTRA_LARGE_ICON_BIG"); _EXTRA_LARGE_ICON_BIGReady = true; } return _EXTRA_LARGE_ICON_BIGContent; } } @@ -546,6 +695,13 @@ public Notification(Android.Os.Parcel arg0) private static Java.Lang.String _EXTRA_NOTIFICATION_TAGContent = default; private static bool _EXTRA_NOTIFICATION_TAGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_PEOPLE { get { if (!_EXTRA_PEOPLEReady) { _EXTRA_PEOPLEContent = SGetField(LocalBridgeClazz, "EXTRA_PEOPLE"); _EXTRA_PEOPLEReady = true; } return _EXTRA_PEOPLEContent; } } + private static Java.Lang.String _EXTRA_PEOPLEContent = default; + private static bool _EXTRA_PEOPLEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PEOPLE_LIST { get { if (!_EXTRA_PEOPLE_LISTReady) { _EXTRA_PEOPLE_LISTContent = SGetField(LocalBridgeClazz, "EXTRA_PEOPLE_LIST"); _EXTRA_PEOPLE_LISTReady = true; } return _EXTRA_PEOPLE_LISTContent; } } @@ -600,6 +756,13 @@ public Notification(Android.Os.Parcel arg0) private static Java.Lang.String _EXTRA_REMOTE_INPUT_HISTORYContent = default; private static bool _EXTRA_REMOTE_INPUT_HISTORYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SELF_DISPLAY_NAME { get { if (!_EXTRA_SELF_DISPLAY_NAMEReady) { _EXTRA_SELF_DISPLAY_NAMEContent = SGetField(LocalBridgeClazz, "EXTRA_SELF_DISPLAY_NAME"); _EXTRA_SELF_DISPLAY_NAMEReady = true; } return _EXTRA_SELF_DISPLAY_NAMEContent; } } + private static Java.Lang.String _EXTRA_SELF_DISPLAY_NAMEContent = default; + private static bool _EXTRA_SELF_DISPLAY_NAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED { get { if (!_EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSEDReady) { _EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSEDContent = SGetField(LocalBridgeClazz, "EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED"); _EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSEDReady = true; } return _EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSEDContent; } } @@ -618,6 +781,13 @@ public Notification(Android.Os.Parcel arg0) private static Java.Lang.String _EXTRA_SHOW_WHENContent = default; private static bool _EXTRA_SHOW_WHENReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SMALL_ICON { get { if (!_EXTRA_SMALL_ICONReady) { _EXTRA_SMALL_ICONContent = SGetField(LocalBridgeClazz, "EXTRA_SMALL_ICON"); _EXTRA_SMALL_ICONReady = true; } return _EXTRA_SMALL_ICONContent; } } + private static Java.Lang.String _EXTRA_SMALL_ICONContent = default; + private static bool _EXTRA_SMALL_ICONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_SUB_TEXT { get { if (!_EXTRA_SUB_TEXTReady) { _EXTRA_SUB_TEXTContent = SGetField(LocalBridgeClazz, "EXTRA_SUB_TEXT"); _EXTRA_SUB_TEXTReady = true; } return _EXTRA_SUB_TEXTContent; } } @@ -833,6 +1003,17 @@ public void WriteToParcel(Android.Os.Parcel arg0, int arg1) public partial class Action { #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Action(int arg0, Java.Lang.CharSequence arg1, Android.App.PendingIntent arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -846,6 +1027,11 @@ public partial class Action /// public Android.App.PendingIntent actionIntent { get { return IGetField("actionIntent"); } set { ISetField("actionIntent", value); } } /// + /// + /// + [System.Obsolete()] + public int icon { get { return IGetField("icon"); } set { ISetField("icon", value); } } + /// /// /// public Java.Lang.CharSequence title { get { return IGetField("title"); } set { ISetField("title", value); } } @@ -1045,6 +1231,22 @@ public WearableExtender(Android.App.Notification.Action arg0) #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence CancelLabel + { + get { return IExecuteWithSignature("getCancelLabel", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence ConfirmLabel + { + get { return IExecuteWithSignature("getConfirmLabel", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public bool HintDisplayActionInline @@ -1059,6 +1261,14 @@ public bool HintLaunchesActivity get { return IExecuteWithSignature("getHintLaunchesActivity", "()Z"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence InProgressLabel + { + get { return IExecuteWithSignature("getInProgressLabel", "()Ljava/lang/CharSequence;"); } + } + /// /// /// /// @@ -1085,6 +1295,26 @@ public Android.App.Notification.Action.WearableExtender SetAvailableOffline(bool return IExecuteWithSignature("setAvailableOffline", "(Z)Landroid/app/Notification$Action$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Action.WearableExtender SetCancelLabel(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setCancelLabel", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Action$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Action.WearableExtender SetConfirmLabel(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setConfirmLabel", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Action$WearableExtender;", arg0); + } + /// /// /// /// @@ -1103,6 +1333,16 @@ public Android.App.Notification.Action.WearableExtender SetHintLaunchesActivity( return IExecuteWithSignature("setHintLaunchesActivity", "(Z)Landroid/app/Notification$Action$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Action.WearableExtender SetInProgressLabel(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setInProgressLabel", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Action$WearableExtender;", arg0); + } + /// /// /// /// @@ -1183,6 +1423,17 @@ public Builder(Android.Graphics.Drawable.Icon arg0, Java.Lang.CharSequence arg1, : base(arg0, arg1, arg2) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Builder(int arg0, Java.Lang.CharSequence arg1, Android.App.PendingIntent arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -1299,6 +1550,15 @@ public Android.App.Notification.Action.Builder SetSemanticAction(int arg0) public partial class BigPictureStyle { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public BigPictureStyle(Android.App.Notification.Builder arg0) + : base(arg0) + { + } #endregion @@ -1402,6 +1662,15 @@ public Android.App.Notification.BigPictureStyle ShowBigPictureWhenCollapsed(bool public partial class BigTextStyle { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public BigTextStyle(Android.App.Notification.Builder arg0) + : base(arg0) + { + } #endregion @@ -1724,6 +1993,15 @@ public Builder(Android.Content.Context arg0, Java.Lang.String arg1) : base(arg0, arg1) { } + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Content.Context arg0) + : base(arg0) + { + } #endregion @@ -1758,6 +2036,14 @@ public Android.Os.Bundle Extras get { return IExecuteWithSignature("getExtras", "()Landroid/os/Bundle;"); } } /// + /// + /// + [System.Obsolete()] + public Android.App.Notification GetNotification + { + get { return IExecuteWithSignature("getNotification", "()Landroid/app/Notification;"); } + } + /// /// /// public Android.App.Notification.Style GetStyle @@ -1782,6 +2068,18 @@ public Android.App.Notification.Builder AddAction(Android.App.Notification.Actio return IExecuteWithSignature("addAction", "(Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder AddAction(int arg0, Java.Lang.CharSequence arg1, Android.App.PendingIntent arg2) + { + return IExecute("addAction", arg0, arg1, arg2); + } + /// /// /// /// @@ -1800,6 +2098,16 @@ public Android.App.Notification.Builder AddPerson(Android.App.Person arg0) return IExecuteWithSignature("addPerson", "(Landroid/app/Person;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder AddPerson(Java.Lang.String arg0) + { + return IExecuteWithSignature("addPerson", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", arg0); + } + /// /// /// /// @@ -1899,6 +2207,26 @@ public Android.App.Notification.Builder SetColorized(bool arg0) return IExecuteWithSignature("setColorized", "(Z)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetContent(Android.Widget.RemoteViews arg0) + { + return IExecuteWithSignature("setContent", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetContentInfo(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("setContentInfo", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", arg0); + } + /// /// /// /// @@ -1953,6 +2281,16 @@ public Android.App.Notification.Builder SetCustomHeadsUpContentView(Android.Widg return IExecuteWithSignature("setCustomHeadsUpContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetDefaults(int arg0) + { + return IExecuteWithSignature("setDefaults", "(I)Landroid/app/Notification$Builder;", arg0); + } + /// /// /// /// @@ -2045,6 +2383,18 @@ public Android.App.Notification.Builder SetLargeIcon(Android.Graphics.Drawable.I return IExecuteWithSignature("setLargeIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetLights(int arg0, int arg1, int arg2) + { + return IExecute("setLights", arg0, arg1, arg2); + } + /// /// /// /// @@ -2090,6 +2440,16 @@ public Android.App.Notification.Builder SetOnlyAlertOnce(bool arg0) return IExecuteWithSignature("setOnlyAlertOnce", "(Z)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetPriority(int arg0) + { + return IExecuteWithSignature("setPriority", "(I)Landroid/app/Notification$Builder;", arg0); + } + /// /// /// /// @@ -2183,6 +2543,38 @@ public Android.App.Notification.Builder SetSortKey(Java.Lang.String arg0) return IExecuteWithSignature("setSortKey", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetSound(Android.Net.Uri arg0, Android.Media.AudioAttributes arg1) + { + return IExecute("setSound", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetSound(Android.Net.Uri arg0, int arg1) + { + return IExecute("setSound", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetSound(Android.Net.Uri arg0) + { + return IExecuteWithSignature("setSound", "(Landroid/net/Uri;)Landroid/app/Notification$Builder;", arg0); + } + /// /// /// /// @@ -2201,6 +2593,17 @@ public Android.App.Notification.Builder SetSubText(Java.Lang.CharSequence arg0) return IExecuteWithSignature("setSubText", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetTicker(Java.Lang.CharSequence arg0, Android.Widget.RemoteViews arg1) + { + return IExecute("setTicker", arg0, arg1); + } + /// /// /// /// @@ -2228,6 +2631,16 @@ public Android.App.Notification.Builder SetUsesChronometer(bool arg0) return IExecuteWithSignature("setUsesChronometer", "(Z)Landroid/app/Notification$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.Builder SetVibrate(long[] arg0) + { + return IExecuteWithSignature("setVibrate", "([J)Landroid/app/Notification$Builder;", new object[] { arg0 }); + } + /// /// /// /// @@ -2778,6 +3191,15 @@ public Android.App.Notification.Builder Extend(Android.App.Notification.Builder public partial class InboxStyle { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public InboxStyle(Android.App.Notification.Builder arg0) + : base(arg0) + { + } #endregion @@ -2836,6 +3258,15 @@ public Android.App.Notification.InboxStyle SetSummaryText(Java.Lang.CharSequence public partial class MediaStyle { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public MediaStyle(Android.App.Notification.Builder arg0) + : base(arg0) + { + } #endregion @@ -2904,6 +3335,15 @@ public MessagingStyle(Android.App.Person arg0) : base(arg0) { } + /// + /// + /// + /// + [System.Obsolete()] + public MessagingStyle(Java.Lang.CharSequence arg0) + : base(arg0) + { + } #endregion @@ -2955,6 +3395,14 @@ public Android.App.Person User get { return IExecuteWithSignature("getUser", "()Landroid/app/Person;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence UserDisplayName + { + get { return IExecuteWithSignature("getUserDisplayName", "()Ljava/lang/CharSequence;"); } + } + /// /// /// /// @@ -2984,6 +3432,18 @@ public Android.App.Notification.MessagingStyle AddMessage(Java.Lang.CharSequence return IExecute("addMessage", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.MessagingStyle AddMessage(Java.Lang.CharSequence arg0, long arg1, Java.Lang.CharSequence arg2) + { + return IExecute("addMessage", arg0, arg1, arg2); + } + /// /// /// /// @@ -3027,6 +3487,17 @@ public Message(Java.Lang.CharSequence arg0, long arg1, Android.App.Person arg2) : base(arg0, arg1, arg2) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Message(Java.Lang.CharSequence arg0, long arg1, Java.Lang.CharSequence arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -3074,6 +3545,14 @@ public Android.Os.Bundle Extras get { return IExecuteWithSignature("getExtras", "()Landroid/os/Bundle;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Sender + { + get { return IExecuteWithSignature("getSender", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public Android.App.Person SenderPerson @@ -3190,6 +3669,62 @@ public WearableExtender(Android.App.Notification arg0) #region Fields /// + /// + /// + [System.Obsolete()] + public static int SCREEN_TIMEOUT_LONG { get { if (!_SCREEN_TIMEOUT_LONGReady) { _SCREEN_TIMEOUT_LONGContent = SGetField(LocalBridgeClazz, "SCREEN_TIMEOUT_LONG"); _SCREEN_TIMEOUT_LONGReady = true; } return _SCREEN_TIMEOUT_LONGContent; } } + private static int _SCREEN_TIMEOUT_LONGContent = default; + private static bool _SCREEN_TIMEOUT_LONGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SCREEN_TIMEOUT_SHORT { get { if (!_SCREEN_TIMEOUT_SHORTReady) { _SCREEN_TIMEOUT_SHORTContent = SGetField(LocalBridgeClazz, "SCREEN_TIMEOUT_SHORT"); _SCREEN_TIMEOUT_SHORTReady = true; } return _SCREEN_TIMEOUT_SHORTContent; } } + private static int _SCREEN_TIMEOUT_SHORTContent = default; + private static bool _SCREEN_TIMEOUT_SHORTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_DEFAULT { get { if (!_SIZE_DEFAULTReady) { _SIZE_DEFAULTContent = SGetField(LocalBridgeClazz, "SIZE_DEFAULT"); _SIZE_DEFAULTReady = true; } return _SIZE_DEFAULTContent; } } + private static int _SIZE_DEFAULTContent = default; + private static bool _SIZE_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_FULL_SCREEN { get { if (!_SIZE_FULL_SCREENReady) { _SIZE_FULL_SCREENContent = SGetField(LocalBridgeClazz, "SIZE_FULL_SCREEN"); _SIZE_FULL_SCREENReady = true; } return _SIZE_FULL_SCREENContent; } } + private static int _SIZE_FULL_SCREENContent = default; + private static bool _SIZE_FULL_SCREENReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_LARGE { get { if (!_SIZE_LARGEReady) { _SIZE_LARGEContent = SGetField(LocalBridgeClazz, "SIZE_LARGE"); _SIZE_LARGEReady = true; } return _SIZE_LARGEContent; } } + private static int _SIZE_LARGEContent = default; + private static bool _SIZE_LARGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_MEDIUM { get { if (!_SIZE_MEDIUMReady) { _SIZE_MEDIUMContent = SGetField(LocalBridgeClazz, "SIZE_MEDIUM"); _SIZE_MEDIUMReady = true; } return _SIZE_MEDIUMContent; } } + private static int _SIZE_MEDIUMContent = default; + private static bool _SIZE_MEDIUMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_SMALL { get { if (!_SIZE_SMALLReady) { _SIZE_SMALLContent = SGetField(LocalBridgeClazz, "SIZE_SMALL"); _SIZE_SMALLReady = true; } return _SIZE_SMALLContent; } } + private static int _SIZE_SMALLContent = default; + private static bool _SIZE_SMALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SIZE_XSMALL { get { if (!_SIZE_XSMALLReady) { _SIZE_XSMALLContent = SGetField(LocalBridgeClazz, "SIZE_XSMALL"); _SIZE_XSMALLReady = true; } return _SIZE_XSMALLContent; } } + private static int _SIZE_XSMALLContent = default; + private static bool _SIZE_XSMALLReady = false; // this is used because in case of generics + /// /// /// public static int UNSET_ACTION_INDEX { get { if (!_UNSET_ACTION_INDEXReady) { _UNSET_ACTION_INDEXContent = SGetField(LocalBridgeClazz, "UNSET_ACTION_INDEX"); _UNSET_ACTION_INDEXReady = true; } return _UNSET_ACTION_INDEXContent; } } @@ -3211,6 +3746,14 @@ public Java.Util.List Actions get { return IExecuteWithSignature>("getActions", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Bitmap Background + { + get { return IExecuteWithSignature("getBackground", "()Landroid/graphics/Bitmap;"); } + } + /// /// /// public Java.Lang.String BridgeTag @@ -3225,6 +3768,22 @@ public int ContentAction get { return IExecuteWithSignature("getContentAction", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int ContentIcon + { + get { return IExecuteWithSignature("getContentIcon", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int ContentIconGravity + { + get { return IExecuteWithSignature("getContentIconGravity", "()I"); } + } + /// /// /// public bool ContentIntentAvailableOffline @@ -3232,6 +3791,22 @@ public bool ContentIntentAvailableOffline get { return IExecuteWithSignature("getContentIntentAvailableOffline", "()Z"); } } /// + /// + /// + [System.Obsolete()] + public int CustomContentHeight + { + get { return IExecuteWithSignature("getCustomContentHeight", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int CustomSizePreset + { + get { return IExecuteWithSignature("getCustomSizePreset", "()I"); } + } + /// /// /// public Java.Lang.String DismissalId @@ -3239,6 +3814,38 @@ public Java.Lang.String DismissalId get { return IExecuteWithSignature("getDismissalId", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Android.App.PendingIntent DisplayIntent + { + get { return IExecuteWithSignature("getDisplayIntent", "()Landroid/app/PendingIntent;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Gravity + { + get { return IExecuteWithSignature("getGravity", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public bool HintAmbientBigPicture + { + get { return IExecuteWithSignature("getHintAmbientBigPicture", "()Z"); } + } + /// + /// + /// + [System.Obsolete()] + public bool HintAvoidBackgroundClipping + { + get { return IExecuteWithSignature("getHintAvoidBackgroundClipping", "()Z"); } + } + /// /// /// public bool HintContentIntentLaunchesActivity @@ -3246,6 +3853,38 @@ public bool HintContentIntentLaunchesActivity get { return IExecuteWithSignature("getHintContentIntentLaunchesActivity", "()Z"); } } /// + /// + /// + [System.Obsolete()] + public bool HintHideIcon + { + get { return IExecuteWithSignature("getHintHideIcon", "()Z"); } + } + /// + /// + /// + [System.Obsolete()] + public int HintScreenTimeout + { + get { return IExecuteWithSignature("getHintScreenTimeout", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public bool HintShowBackgroundOnly + { + get { return IExecuteWithSignature("getHintShowBackgroundOnly", "()Z"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List Pages + { + get { return IExecuteWithSignature>("getPages", "()Ljava/util/List;"); } + } + /// /// /// public bool StartScrollBottom @@ -3280,6 +3919,26 @@ public Android.App.Notification.WearableExtender AddActions(Java.Util.List("addActions", "(Ljava/util/List;)Landroid/app/Notification$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender AddPage(Android.App.Notification arg0) + { + return IExecuteWithSignature("addPage", "(Landroid/app/Notification;)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender AddPages(Java.Util.List arg0) + { + return IExecuteWithSignature("addPages", "(Ljava/util/List;)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// @@ -3288,6 +3947,15 @@ public Android.App.Notification.WearableExtender ClearActions() return IExecuteWithSignature("clearActions", "()Landroid/app/Notification$WearableExtender;"); } /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender ClearPages() + { + return IExecuteWithSignature("clearPages", "()Landroid/app/Notification$WearableExtender;"); + } + /// /// /// /// @@ -3296,6 +3964,16 @@ public Android.App.Notification.WearableExtender Clone() return IExecuteWithSignature("clone", "()Landroid/app/Notification$WearableExtender;"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetBackground(Android.Graphics.Bitmap arg0) + { + return IExecuteWithSignature("setBackground", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// @@ -3314,6 +3992,26 @@ public Android.App.Notification.WearableExtender SetContentAction(int arg0) return IExecuteWithSignature("setContentAction", "(I)Landroid/app/Notification$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetContentIcon(int arg0) + { + return IExecuteWithSignature("setContentIcon", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetContentIconGravity(int arg0) + { + return IExecuteWithSignature("setContentIconGravity", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// @@ -3323,6 +4021,26 @@ public Android.App.Notification.WearableExtender SetContentIntentAvailableOfflin return IExecuteWithSignature("setContentIntentAvailableOffline", "(Z)Landroid/app/Notification$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetCustomContentHeight(int arg0) + { + return IExecuteWithSignature("setCustomContentHeight", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetCustomSizePreset(int arg0) + { + return IExecuteWithSignature("setCustomSizePreset", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// @@ -3332,6 +4050,46 @@ public Android.App.Notification.WearableExtender SetDismissalId(Java.Lang.String return IExecuteWithSignature("setDismissalId", "(Ljava/lang/String;)Landroid/app/Notification$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetDisplayIntent(Android.App.PendingIntent arg0) + { + return IExecuteWithSignature("setDisplayIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetGravity(int arg0) + { + return IExecuteWithSignature("setGravity", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetHintAmbientBigPicture(bool arg0) + { + return IExecuteWithSignature("setHintAmbientBigPicture", "(Z)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetHintAvoidBackgroundClipping(bool arg0) + { + return IExecuteWithSignature("setHintAvoidBackgroundClipping", "(Z)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// @@ -3341,6 +4099,36 @@ public Android.App.Notification.WearableExtender SetHintContentIntentLaunchesAct return IExecuteWithSignature("setHintContentIntentLaunchesActivity", "(Z)Landroid/app/Notification$WearableExtender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetHintHideIcon(bool arg0) + { + return IExecuteWithSignature("setHintHideIcon", "(Z)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetHintScreenTimeout(int arg0) + { + return IExecuteWithSignature("setHintScreenTimeout", "(I)Landroid/app/Notification$WearableExtender;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.App.Notification.WearableExtender SetHintShowBackgroundOnly(bool arg0) + { + return IExecuteWithSignature("setHintShowBackgroundOnly", "(Z)Landroid/app/Notification$WearableExtender;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/NotificationManager.cs b/src/net/Netdroid/Generated/Android/App/NotificationManager.cs index 4c9b37350..b2855f005 100644 --- a/src/net/Netdroid/Generated/Android/App/NotificationManager.cs +++ b/src/net/Netdroid/Generated/Android/App/NotificationManager.cs @@ -363,6 +363,15 @@ public Android.App.NotificationChannelGroup GetNotificationChannelGroup(Java.Lan return IExecuteWithSignature("getNotificationChannelGroup", "(Ljava/lang/String;)Landroid/app/NotificationChannelGroup;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool AreBubblesAllowed() + { + return IExecuteWithSignature("areBubblesAllowed", "()Z"); + } + /// /// /// /// @@ -806,6 +815,20 @@ public Policy(int arg0, int arg1, int arg2) private static int _SUPPRESSED_EFFECT_PEEKContent = default; private static bool _SUPPRESSED_EFFECT_PEEKReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int SUPPRESSED_EFFECT_SCREEN_OFF { get { if (!_SUPPRESSED_EFFECT_SCREEN_OFFReady) { _SUPPRESSED_EFFECT_SCREEN_OFFContent = SGetField(LocalBridgeClazz, "SUPPRESSED_EFFECT_SCREEN_OFF"); _SUPPRESSED_EFFECT_SCREEN_OFFReady = true; } return _SUPPRESSED_EFFECT_SCREEN_OFFContent; } } + private static int _SUPPRESSED_EFFECT_SCREEN_OFFContent = default; + private static bool _SUPPRESSED_EFFECT_SCREEN_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SUPPRESSED_EFFECT_SCREEN_ON { get { if (!_SUPPRESSED_EFFECT_SCREEN_ONReady) { _SUPPRESSED_EFFECT_SCREEN_ONContent = SGetField(LocalBridgeClazz, "SUPPRESSED_EFFECT_SCREEN_ON"); _SUPPRESSED_EFFECT_SCREEN_ONReady = true; } return _SUPPRESSED_EFFECT_SCREEN_ONContent; } } + private static int _SUPPRESSED_EFFECT_SCREEN_ONContent = default; + private static bool _SUPPRESSED_EFFECT_SCREEN_ONReady = false; // this is used because in case of generics + /// /// /// public static int SUPPRESSED_EFFECT_STATUS_BAR { get { if (!_SUPPRESSED_EFFECT_STATUS_BARReady) { _SUPPRESSED_EFFECT_STATUS_BARContent = SGetField(LocalBridgeClazz, "SUPPRESSED_EFFECT_STATUS_BAR"); _SUPPRESSED_EFFECT_STATUS_BARReady = true; } return _SUPPRESSED_EFFECT_STATUS_BARContent; } } diff --git a/src/net/Netdroid/Generated/Android/App/PendingIntent.cs b/src/net/Netdroid/Generated/Android/App/PendingIntent.cs index d1dde9de1..87f939328 100644 --- a/src/net/Netdroid/Generated/Android/App/PendingIntent.cs +++ b/src/net/Netdroid/Generated/Android/App/PendingIntent.cs @@ -226,6 +226,14 @@ public Android.Content.IntentSender IntentSender get { return IExecuteWithSignature("getIntentSender", "()Landroid/content/IntentSender;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String TargetPackage + { + get { return IExecuteWithSignature("getTargetPackage", "()Ljava/lang/String;"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/ProgressDialog.cs b/src/net/Netdroid/Generated/Android/App/ProgressDialog.cs new file mode 100644 index 000000000..5e1dbebce --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/ProgressDialog.cs @@ -0,0 +1,258 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region ProgressDialog + public partial class ProgressDialog + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public ProgressDialog(Android.Content.Context arg0, int arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public ProgressDialog(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STYLE_HORIZONTAL { get { if (!_STYLE_HORIZONTALReady) { _STYLE_HORIZONTALContent = SGetField(LocalBridgeClazz, "STYLE_HORIZONTAL"); _STYLE_HORIZONTALReady = true; } return _STYLE_HORIZONTALContent; } } + private static int _STYLE_HORIZONTALContent = default; + private static bool _STYLE_HORIZONTALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STYLE_SPINNER { get { if (!_STYLE_SPINNERReady) { _STYLE_SPINNERContent = SGetField(LocalBridgeClazz, "STYLE_SPINNER"); _STYLE_SPINNERReady = true; } return _STYLE_SPINNERContent; } } + private static int _STYLE_SPINNERContent = default; + private static bool _STYLE_SPINNERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.ProgressDialog Show(Android.Content.Context arg0, Java.Lang.CharSequence arg1, Java.Lang.CharSequence arg2, bool arg3, bool arg4, Android.Content.DialogInterface.OnCancelListener arg5) + { + return SExecute(LocalBridgeClazz, "show", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.ProgressDialog Show(Android.Content.Context arg0, Java.Lang.CharSequence arg1, Java.Lang.CharSequence arg2, bool arg3, bool arg4) + { + return SExecute(LocalBridgeClazz, "show", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.ProgressDialog Show(Android.Content.Context arg0, Java.Lang.CharSequence arg1, Java.Lang.CharSequence arg2, bool arg3) + { + return SExecute(LocalBridgeClazz, "show", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.App.ProgressDialog Show(Android.Content.Context arg0, Java.Lang.CharSequence arg1, Java.Lang.CharSequence arg2) + { + return SExecute(LocalBridgeClazz, "show", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Max + { + get { return IExecuteWithSignature("getMax", "()I"); } set { IExecuteWithSignature("setMax", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int Progress + { + get { return IExecuteWithSignature("getProgress", "()I"); } set { IExecuteWithSignature("setProgress", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int SecondaryProgress + { + get { return IExecuteWithSignature("getSecondaryProgress", "()I"); } set { IExecuteWithSignature("setSecondaryProgress", "(I)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsIndeterminate() + { + return IExecuteWithSignature("isIndeterminate", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void IncrementProgressBy(int arg0) + { + IExecuteWithSignature("incrementProgressBy", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void IncrementSecondaryProgressBy(int arg0) + { + IExecuteWithSignature("incrementSecondaryProgressBy", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnStart() + { + IExecuteWithSignature("onStart", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIndeterminate(bool arg0) + { + IExecuteWithSignature("setIndeterminate", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIndeterminateDrawable(Android.Graphics.Drawable.Drawable arg0) + { + IExecuteWithSignature("setIndeterminateDrawable", "(Landroid/graphics/drawable/Drawable;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressDrawable(Android.Graphics.Drawable.Drawable arg0) + { + IExecuteWithSignature("setProgressDrawable", "(Landroid/graphics/drawable/Drawable;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressNumberFormat(Java.Lang.String arg0) + { + IExecuteWithSignature("setProgressNumberFormat", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressPercentFormat(Java.Text.NumberFormat arg0) + { + IExecuteWithSignature("setProgressPercentFormat", "(Ljava/text/NumberFormat;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProgressStyle(int arg0) + { + IExecuteWithSignature("setProgressStyle", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/SearchManager.cs b/src/net/Netdroid/Generated/Android/App/SearchManager.cs index 64d85dd79..ca344ca2e 100644 --- a/src/net/Netdroid/Generated/Android/App/SearchManager.cs +++ b/src/net/Netdroid/Generated/Android/App/SearchManager.cs @@ -381,6 +381,24 @@ public Android.App.SearchableInfo GetSearchableInfo(Android.Content.ComponentNam return IExecuteWithSignature("getSearchableInfo", "(Landroid/content/ComponentName;)Landroid/app/SearchableInfo;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void OnCancel(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onCancel", "(Landroid/content/DialogInterface;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDismiss(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onDismiss", "(Landroid/content/DialogInterface;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/Service.cs b/src/net/Netdroid/Generated/Android/App/Service.cs index 514f03dd8..dfa68d808 100644 --- a/src/net/Netdroid/Generated/Android/App/Service.cs +++ b/src/net/Netdroid/Generated/Android/App/Service.cs @@ -90,6 +90,13 @@ public partial class Service private static int _STOP_FOREGROUND_DETACHContent = default; private static bool _STOP_FOREGROUND_DETACHReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int STOP_FOREGROUND_LEGACY { get { if (!_STOP_FOREGROUND_LEGACYReady) { _STOP_FOREGROUND_LEGACYContent = SGetField(LocalBridgeClazz, "STOP_FOREGROUND_LEGACY"); _STOP_FOREGROUND_LEGACYReady = true; } return _STOP_FOREGROUND_LEGACYContent; } } + private static int _STOP_FOREGROUND_LEGACYContent = default; + private static bool _STOP_FOREGROUND_LEGACYReady = false; // this is used because in case of generics + /// /// /// public static int STOP_FOREGROUND_REMOVE { get { if (!_STOP_FOREGROUND_REMOVEReady) { _STOP_FOREGROUND_REMOVEContent = SGetField(LocalBridgeClazz, "STOP_FOREGROUND_REMOVE"); _STOP_FOREGROUND_REMOVEReady = true; } return _STOP_FOREGROUND_REMOVEContent; } } @@ -164,6 +171,15 @@ public void StartForeground(int arg0, Android.App.Notification arg1) IExecute("startForeground", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void StopForeground(bool arg0) + { + IExecuteWithSignature("stopForeground", "(Z)V", arg0); + } + /// /// /// /// @@ -235,6 +251,16 @@ public void OnRebind(Android.Content.Intent arg0) IExecuteWithSignature("onRebind", "(Landroid/content/Intent;)V", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnStart(Android.Content.Intent arg0, int arg1) + { + IExecute("onStart", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/App/TabActivity.cs b/src/net/Netdroid/Generated/Android/App/TabActivity.cs new file mode 100644 index 000000000..0e6a492f8 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/App/TabActivity.cs @@ -0,0 +1,92 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.App +{ + #region TabActivity + public partial class TabActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Widget.TabHost TabHost + { + get { return IExecuteWithSignature("getTabHost", "()Landroid/widget/TabHost;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.TabWidget TabWidget + { + get { return IExecuteWithSignature("getTabWidget", "()Landroid/widget/TabWidget;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDefaultTab(int arg0) + { + IExecuteWithSignature("setDefaultTab", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDefaultTab(Java.Lang.String arg0) + { + IExecuteWithSignature("setDefaultTab", "(Ljava/lang/String;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/UiAutomation.cs b/src/net/Netdroid/Generated/Android/App/UiAutomation.cs index 5ae60ad60..417c87e71 100644 --- a/src/net/Netdroid/Generated/Android/App/UiAutomation.cs +++ b/src/net/Netdroid/Generated/Android/App/UiAutomation.cs @@ -108,6 +108,14 @@ public Android.Accessibilityservice.AccessibilityServiceInfo ServiceInfo get { return IExecuteWithSignature("getServiceInfo", "()Landroid/accessibilityservice/AccessibilityServiceInfo;"); } set { IExecuteWithSignature("setServiceInfo", "(Landroid/accessibilityservice/AccessibilityServiceInfo;)V", value); } } /// + /// + /// + [System.Obsolete()] + public Android.View.WindowAnimationFrameStats WindowAnimationFrameStats + { + get { return IExecuteWithSignature("getWindowAnimationFrameStats", "()Landroid/view/WindowAnimationFrameStats;"); } + } + /// /// /// public Java.Util.List Windows @@ -256,6 +264,14 @@ public void AdoptShellPermissionIdentity(params Java.Lang.String[] arg0) if (arg0.Length == 0) IExecuteWithSignature("adoptShellPermissionIdentity", "([Ljava/lang/String;)V"); else IExecuteWithSignature("adoptShellPermissionIdentity", "([Ljava/lang/String;)V", arg0); } /// + /// + /// + [System.Obsolete()] + public void ClearWindowAnimationFrameStats() + { + IExecuteWithSignature("clearWindowAnimationFrameStats", "()V"); + } + /// /// /// public void DropShellPermissionIdentity() diff --git a/src/net/Netdroid/Generated/Android/App/Usage/UsageEvents.cs b/src/net/Netdroid/Generated/Android/App/Usage/UsageEvents.cs index e83cedf69..7b4858e10 100644 --- a/src/net/Netdroid/Generated/Android/App/Usage/UsageEvents.cs +++ b/src/net/Netdroid/Generated/Android/App/Usage/UsageEvents.cs @@ -162,6 +162,20 @@ public partial class Event private static int _KEYGUARD_SHOWNContent = default; private static bool _KEYGUARD_SHOWNReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MOVE_TO_BACKGROUND { get { if (!_MOVE_TO_BACKGROUNDReady) { _MOVE_TO_BACKGROUNDContent = SGetField(LocalBridgeClazz, "MOVE_TO_BACKGROUND"); _MOVE_TO_BACKGROUNDReady = true; } return _MOVE_TO_BACKGROUNDContent; } } + private static int _MOVE_TO_BACKGROUNDContent = default; + private static bool _MOVE_TO_BACKGROUNDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MOVE_TO_FOREGROUND { get { if (!_MOVE_TO_FOREGROUNDReady) { _MOVE_TO_FOREGROUNDContent = SGetField(LocalBridgeClazz, "MOVE_TO_FOREGROUND"); _MOVE_TO_FOREGROUNDReady = true; } return _MOVE_TO_FOREGROUNDContent; } } + private static int _MOVE_TO_FOREGROUNDContent = default; + private static bool _MOVE_TO_FOREGROUNDReady = false; // this is used because in case of generics + /// /// /// public static int NONE { get { if (!_NONEReady) { _NONEContent = SGetField(LocalBridgeClazz, "NONE"); _NONEReady = true; } return _NONEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetHostView.cs b/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetHostView.cs index 83d698bd5..b94d4c42f 100644 --- a/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetHostView.cs +++ b/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetHostView.cs @@ -145,6 +145,19 @@ public void UpdateAppWidgetOptions(Android.Os.Bundle arg0) IExecuteWithSignature("updateAppWidgetOptions", "(Landroid/os/Bundle;)V", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void UpdateAppWidgetSize(Android.Os.Bundle arg0, int arg1, int arg2, int arg3, int arg4) + { + IExecute("updateAppWidgetSize", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetProviderInfo.cs b/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetProviderInfo.cs index af1b9ebf7..c3939d0ea 100644 --- a/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetProviderInfo.cs +++ b/src/net/Netdroid/Generated/Android/Appwidget/AppWidgetProviderInfo.cs @@ -130,6 +130,11 @@ public AppWidgetProviderInfo(Android.Os.Parcel arg0) /// public int widgetFeatures { get { return IGetField("widgetFeatures"); } set { ISetField("widgetFeatures", value); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String label { get { return IGetField("label"); } set { ISetField("label", value); } } + /// /// /// public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Bluetooth/AllPackageClasses.cs index 217952425..a1752c448 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/AllPackageClasses.cs @@ -1011,6 +1011,143 @@ public BluetoothHeadset(params object[] args) : base(args) { } } #endregion + #region BluetoothHealth + /// + /// + /// + [System.Obsolete()] + public partial class BluetoothHealth : Android.Bluetooth.BluetoothProfile + { + const string _bridgeClassName = "android.bluetooth.BluetoothHealth"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public BluetoothHealth() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public BluetoothHealth(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region BluetoothHealthAppConfiguration + /// + /// + /// + [System.Obsolete()] + public partial class BluetoothHealthAppConfiguration : Android.Os.Parcelable + { + const string _bridgeClassName = "android.bluetooth.BluetoothHealthAppConfiguration"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public BluetoothHealthAppConfiguration() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public BluetoothHealthAppConfiguration(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region BluetoothHealthCallback + /// + /// + /// + [System.Obsolete()] + public partial class BluetoothHealthCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.bluetooth.BluetoothHealthCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("BluetoothHealthCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public BluetoothHealthCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("BluetoothHealthCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public BluetoothHealthCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region BluetoothHearingAid /// /// diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothAdapter.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothAdapter.cs index 51de7dbd4..b0fd43124 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothAdapter.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothAdapter.cs @@ -65,6 +65,29 @@ public virtual bool CheckBluetoothAddress(Java.Lang.String arg0) return default; } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetDefaultAdapter { get; set; } = null; + + void GetDefaultAdapterEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetDefaultAdapter != null) ? OnGetDefaultAdapter : GetDefaultAdapter; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Bluetooth.BluetoothAdapter GetDefaultAdapter() + { + return default; + } + #endregion #region Instance methods @@ -83,6 +106,8 @@ protected virtual void InitializeHandlers() AddEventHandler("getBluetoothLeAdvertiser", new System.EventHandler>(GetBluetoothLeAdvertiserEventHandler)); AddEventHandler("getBluetoothLeScanner", new System.EventHandler>(GetBluetoothLeScannerEventHandler)); AddEventHandler("cancelDiscovery", new System.EventHandler>(CancelDiscoveryEventHandler)); + AddEventHandler("disable", new System.EventHandler>(DisableEventHandler)); + AddEventHandler("enable", new System.EventHandler>(EnableEventHandler)); AddEventHandler("getProfileProxy", new System.EventHandler>>(GetProfileProxyEventHandler)); AddEventHandler("isDiscovering", new System.EventHandler>(IsDiscoveringEventHandler)); AddEventHandler("isEnabled", new System.EventHandler>(IsEnabledEventHandler)); @@ -95,6 +120,8 @@ protected virtual void InitializeHandlers() AddEventHandler("isOffloadedScanBatchingSupported", new System.EventHandler>(IsOffloadedScanBatchingSupportedEventHandler)); AddEventHandler("setName", new System.EventHandler>>(SetNameEventHandler)); AddEventHandler("startDiscovery", new System.EventHandler>(StartDiscoveryEventHandler)); + AddEventHandler("startLeScan", new System.EventHandler>>(StartLeScanEventHandler)); + AddEventHandler("startLeScan2", new System.EventHandler>>(StartLeScan2EventHandler)); AddEventHandler("getLeMaximumAdvertisingDataLength", new System.EventHandler>(GetLeMaximumAdvertisingDataLengthEventHandler)); AddEventHandler("getMaxConnectedAudioDevices", new System.EventHandler>(GetMaxConnectedAudioDevicesEventHandler)); AddEventHandler("getProfileConnectionState", new System.EventHandler>>(GetProfileConnectionStateEventHandler)); @@ -108,6 +135,7 @@ protected virtual void InitializeHandlers() AddEventHandler("getDiscoverableTimeout", new System.EventHandler>(GetDiscoverableTimeoutEventHandler)); AddEventHandler("getBondedDevices", new System.EventHandler>(GetBondedDevicesEventHandler)); AddEventHandler("closeProfileProxy", new System.EventHandler>>(CloseProfileProxyEventHandler)); + AddEventHandler("stopLeScan", new System.EventHandler>>(StopLeScanEventHandler)); } @@ -343,6 +371,52 @@ public virtual bool CancelDiscovery() return default; } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnDisable { get; set; } = null; + + void DisableEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnDisable != null) ? OnDisable : Disable; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool Disable() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnEnable { get; set; } = null; + + void EnableEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnEnable != null) ? OnEnable : Enable; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool Enable() + { + return default; + } + /// /// Handler for /// @@ -611,6 +685,55 @@ public virtual bool StartDiscovery() return default; } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnStartLeScan { get; set; } = null; + + void StartLeScanEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnStartLeScan != null) ? OnStartLeScan : StartLeScan; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool StartLeScan(Android.Bluetooth.BluetoothAdapter.LeScanCallback arg0) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnStartLeScan2 { get; set; } = null; + + void StartLeScan2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnStartLeScan2 != null) ? OnStartLeScan2 : StartLeScan; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool StartLeScan(Java.Util.UUID[] arg0, Android.Bluetooth.BluetoothAdapter.LeScanCallback arg1) + { + return default; + } + /// /// Handler for /// @@ -898,6 +1021,28 @@ public virtual void CloseProfileProxy(int arg0, Android.Bluetooth.BluetoothProfi } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnStopLeScan { get; set; } = null; + + void StopLeScanEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnStopLeScan != null) ? OnStopLeScan : StopLeScan; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void StopLeScan(Android.Bluetooth.BluetoothAdapter.LeScanCallback arg0) + { + + } + #endregion #region Nested classes @@ -1116,6 +1261,24 @@ public override bool CancelDiscovery() return IExecuteWithSignature("cancelDiscovery", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public override bool Disable() + { + return IExecuteWithSignature("disable", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public override bool Enable() + { + return IExecuteWithSignature("enable", "()Z"); + } + /// /// /// /// @@ -1216,6 +1379,27 @@ public override bool StartDiscovery() return IExecuteWithSignature("startDiscovery", "()Z"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool StartLeScan(Android.Bluetooth.BluetoothAdapter.LeScanCallback arg0) + { + return IExecuteWithSignature("startLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)Z", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool StartLeScan(Java.Util.UUID[] arg0, Android.Bluetooth.BluetoothAdapter.LeScanCallback arg1) + { + return IExecute("startLeScan", arg0, arg1); + } + /// /// /// /// @@ -1257,6 +1441,15 @@ public override void CloseProfileProxy(int arg0, Android.Bluetooth.BluetoothProf { IExecute("closeProfileProxy", arg0, arg1); } + /// + /// + /// + /// + [System.Obsolete()] + public override void StopLeScan(Android.Bluetooth.BluetoothAdapter.LeScanCallback arg0) + { + IExecuteWithSignature("stopLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGatt.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGatt.cs index a88b2c1d8..35d2df51d 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGatt.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGatt.cs @@ -136,6 +136,14 @@ public partial class BluetoothGatt #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Util.List ConnectedDevices + { + get { return IExecuteWithSignature>("getConnectedDevices", "()Ljava/util/List;"); } + } + /// /// /// public Android.Bluetooth.BluetoothDevice Device @@ -245,6 +253,36 @@ public bool SetCharacteristicNotification(Android.Bluetooth.BluetoothGattCharact return IExecute("setCharacteristicNotification", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool WriteCharacteristic(Android.Bluetooth.BluetoothGattCharacteristic arg0) + { + return IExecuteWithSignature("writeCharacteristic", "(Landroid/bluetooth/BluetoothGattCharacteristic;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool WriteDescriptor(Android.Bluetooth.BluetoothGattDescriptor arg0) + { + return IExecuteWithSignature("writeDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetConnectionState(Android.Bluetooth.BluetoothDevice arg0) + { + return IExecuteWithSignature("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", arg0); + } + /// /// /// /// @@ -266,6 +304,16 @@ public int WriteDescriptor(Android.Bluetooth.BluetoothGattDescriptor arg0, byte[ return IExecute("writeDescriptor", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetDevicesMatchingConnectionStates(int[] arg0) + { + return IExecuteWithSignature>("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", new object[] { arg0 }); + } + /// /// /// public void AbortReliableWrite() @@ -273,6 +321,15 @@ public void AbortReliableWrite() IExecuteWithSignature("abortReliableWrite", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void AbortReliableWrite(Android.Bluetooth.BluetoothDevice arg0) + { + IExecuteWithSignature("abortReliableWrite", "(Landroid/bluetooth/BluetoothDevice;)V", arg0); + } + /// /// /// public void Close() diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCallback.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCallback.cs index 8036ad23e..90094e22f 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCallback.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCallback.cs @@ -56,6 +56,16 @@ public void OnCharacteristicChanged(Android.Bluetooth.BluetoothGatt arg0, Androi IExecute("onCharacteristicChanged", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnCharacteristicChanged(Android.Bluetooth.BluetoothGatt arg0, Android.Bluetooth.BluetoothGattCharacteristic arg1) + { + IExecute("onCharacteristicChanged", arg0, arg1); + } + /// /// /// /// @@ -67,6 +77,17 @@ public void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt arg0, Android.B IExecute("onCharacteristicRead", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt arg0, Android.Bluetooth.BluetoothGattCharacteristic arg1, int arg2) + { + IExecute("onCharacteristicRead", arg0, arg1, arg2); + } + /// /// /// /// @@ -98,6 +119,17 @@ public void OnDescriptorRead(Android.Bluetooth.BluetoothGatt arg0, Android.Bluet IExecute("onDescriptorRead", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnDescriptorRead(Android.Bluetooth.BluetoothGatt arg0, Android.Bluetooth.BluetoothGattDescriptor arg1, int arg2) + { + IExecute("onDescriptorRead", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCharacteristic.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCharacteristic.cs index 233f84b68..e50e45f57 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCharacteristic.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattCharacteristic.cs @@ -266,6 +266,14 @@ public Java.Util.UUID Uuid get { return IExecuteWithSignature("getUuid", "()Ljava/util/UUID;"); } } /// + /// + /// + [System.Obsolete()] + public byte[] Value + { + get { return IExecuteWithSignatureArray("getValue", "()[B"); } + } + /// /// /// public int WriteType @@ -291,6 +299,51 @@ public bool AddDescriptor(Android.Bluetooth.BluetoothGattDescriptor arg0) return IExecuteWithSignature("addDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetValue(byte[] arg0) + { + return IExecuteWithSignature("setValue", "([B)Z", new object[] { arg0 }); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetValue(int arg0, int arg1, int arg2, int arg3) + { + return IExecute("setValue", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetValue(int arg0, int arg1, int arg2) + { + return IExecute("setValue", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetValue(Java.Lang.String arg0) + { + return IExecuteWithSignature("setValue", "(Ljava/lang/String;)Z", arg0); + } + /// /// /// /// @@ -299,6 +352,38 @@ public int DescribeContents() return IExecuteWithSignature("describeContents", "()I"); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.Float GetFloatValue(int arg0, int arg1) + { + return IExecute("getFloatValue", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.Integer GetIntValue(int arg0, int arg1) + { + return IExecute("getIntValue", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetStringValue(int arg0) + { + return IExecuteWithSignature("getStringValue", "(I)Ljava/lang/String;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattDescriptor.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattDescriptor.cs index 1b3f47c52..4cdd02d5f 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattDescriptor.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattDescriptor.cs @@ -148,6 +148,24 @@ public Java.Util.UUID Uuid get { return IExecuteWithSignature("getUuid", "()Ljava/util/UUID;"); } } /// + /// + /// + [System.Obsolete()] + public byte[] Value + { + get { return IExecuteWithSignatureArray("getValue", "()[B"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetValue(byte[] arg0) + { + return IExecuteWithSignature("setValue", "([B)Z", new object[] { arg0 }); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattServer.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattServer.cs index 5bf19d89d..f7d12df19 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattServer.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothGattServer.cs @@ -88,6 +88,18 @@ public bool Connect(Android.Bluetooth.BluetoothDevice arg0, bool arg1) return IExecute("connect", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool NotifyCharacteristicChanged(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.BluetoothGattCharacteristic arg1, bool arg2) + { + return IExecute("notifyCharacteristicChanged", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealth.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealth.cs new file mode 100644 index 000000000..6193c3d28 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealth.cs @@ -0,0 +1,226 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Bluetooth +{ + #region BluetoothHealth + public partial class BluetoothHealth + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int APP_CONFIG_REGISTRATION_FAILURE { get { if (!_APP_CONFIG_REGISTRATION_FAILUREReady) { _APP_CONFIG_REGISTRATION_FAILUREContent = SGetField(LocalBridgeClazz, "APP_CONFIG_REGISTRATION_FAILURE"); _APP_CONFIG_REGISTRATION_FAILUREReady = true; } return _APP_CONFIG_REGISTRATION_FAILUREContent; } } + private static int _APP_CONFIG_REGISTRATION_FAILUREContent = default; + private static bool _APP_CONFIG_REGISTRATION_FAILUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int APP_CONFIG_REGISTRATION_SUCCESS { get { if (!_APP_CONFIG_REGISTRATION_SUCCESSReady) { _APP_CONFIG_REGISTRATION_SUCCESSContent = SGetField(LocalBridgeClazz, "APP_CONFIG_REGISTRATION_SUCCESS"); _APP_CONFIG_REGISTRATION_SUCCESSReady = true; } return _APP_CONFIG_REGISTRATION_SUCCESSContent; } } + private static int _APP_CONFIG_REGISTRATION_SUCCESSContent = default; + private static bool _APP_CONFIG_REGISTRATION_SUCCESSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int APP_CONFIG_UNREGISTRATION_FAILURE { get { if (!_APP_CONFIG_UNREGISTRATION_FAILUREReady) { _APP_CONFIG_UNREGISTRATION_FAILUREContent = SGetField(LocalBridgeClazz, "APP_CONFIG_UNREGISTRATION_FAILURE"); _APP_CONFIG_UNREGISTRATION_FAILUREReady = true; } return _APP_CONFIG_UNREGISTRATION_FAILUREContent; } } + private static int _APP_CONFIG_UNREGISTRATION_FAILUREContent = default; + private static bool _APP_CONFIG_UNREGISTRATION_FAILUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int APP_CONFIG_UNREGISTRATION_SUCCESS { get { if (!_APP_CONFIG_UNREGISTRATION_SUCCESSReady) { _APP_CONFIG_UNREGISTRATION_SUCCESSContent = SGetField(LocalBridgeClazz, "APP_CONFIG_UNREGISTRATION_SUCCESS"); _APP_CONFIG_UNREGISTRATION_SUCCESSReady = true; } return _APP_CONFIG_UNREGISTRATION_SUCCESSContent; } } + private static int _APP_CONFIG_UNREGISTRATION_SUCCESSContent = default; + private static bool _APP_CONFIG_UNREGISTRATION_SUCCESSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_TYPE_RELIABLE { get { if (!_CHANNEL_TYPE_RELIABLEReady) { _CHANNEL_TYPE_RELIABLEContent = SGetField(LocalBridgeClazz, "CHANNEL_TYPE_RELIABLE"); _CHANNEL_TYPE_RELIABLEReady = true; } return _CHANNEL_TYPE_RELIABLEContent; } } + private static int _CHANNEL_TYPE_RELIABLEContent = default; + private static bool _CHANNEL_TYPE_RELIABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_TYPE_STREAMING { get { if (!_CHANNEL_TYPE_STREAMINGReady) { _CHANNEL_TYPE_STREAMINGContent = SGetField(LocalBridgeClazz, "CHANNEL_TYPE_STREAMING"); _CHANNEL_TYPE_STREAMINGReady = true; } return _CHANNEL_TYPE_STREAMINGContent; } } + private static int _CHANNEL_TYPE_STREAMINGContent = default; + private static bool _CHANNEL_TYPE_STREAMINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SINK_ROLE { get { if (!_SINK_ROLEReady) { _SINK_ROLEContent = SGetField(LocalBridgeClazz, "SINK_ROLE"); _SINK_ROLEReady = true; } return _SINK_ROLEContent; } } + private static int _SINK_ROLEContent = default; + private static bool _SINK_ROLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SOURCE_ROLE { get { if (!_SOURCE_ROLEReady) { _SOURCE_ROLEContent = SGetField(LocalBridgeClazz, "SOURCE_ROLE"); _SOURCE_ROLEReady = true; } return _SOURCE_ROLEContent; } } + private static int _SOURCE_ROLEContent = default; + private static bool _SOURCE_ROLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATE_CHANNEL_CONNECTED { get { if (!_STATE_CHANNEL_CONNECTEDReady) { _STATE_CHANNEL_CONNECTEDContent = SGetField(LocalBridgeClazz, "STATE_CHANNEL_CONNECTED"); _STATE_CHANNEL_CONNECTEDReady = true; } return _STATE_CHANNEL_CONNECTEDContent; } } + private static int _STATE_CHANNEL_CONNECTEDContent = default; + private static bool _STATE_CHANNEL_CONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATE_CHANNEL_CONNECTING { get { if (!_STATE_CHANNEL_CONNECTINGReady) { _STATE_CHANNEL_CONNECTINGContent = SGetField(LocalBridgeClazz, "STATE_CHANNEL_CONNECTING"); _STATE_CHANNEL_CONNECTINGReady = true; } return _STATE_CHANNEL_CONNECTINGContent; } } + private static int _STATE_CHANNEL_CONNECTINGContent = default; + private static bool _STATE_CHANNEL_CONNECTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATE_CHANNEL_DISCONNECTED { get { if (!_STATE_CHANNEL_DISCONNECTEDReady) { _STATE_CHANNEL_DISCONNECTEDContent = SGetField(LocalBridgeClazz, "STATE_CHANNEL_DISCONNECTED"); _STATE_CHANNEL_DISCONNECTEDReady = true; } return _STATE_CHANNEL_DISCONNECTEDContent; } } + private static int _STATE_CHANNEL_DISCONNECTEDContent = default; + private static bool _STATE_CHANNEL_DISCONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATE_CHANNEL_DISCONNECTING { get { if (!_STATE_CHANNEL_DISCONNECTINGReady) { _STATE_CHANNEL_DISCONNECTINGContent = SGetField(LocalBridgeClazz, "STATE_CHANNEL_DISCONNECTING"); _STATE_CHANNEL_DISCONNECTINGReady = true; } return _STATE_CHANNEL_DISCONNECTINGContent; } } + private static int _STATE_CHANNEL_DISCONNECTINGContent = default; + private static bool _STATE_CHANNEL_DISCONNECTINGReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Util.List ConnectedDevices + { + get { return IExecuteWithSignature>("getConnectedDevices", "()Ljava/util/List;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.ParcelFileDescriptor GetMainChannelFd(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.BluetoothHealthAppConfiguration arg1) + { + return IExecute("getMainChannelFd", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ConnectChannelToSource(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.BluetoothHealthAppConfiguration arg1) + { + return IExecute("connectChannelToSource", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DisconnectChannel(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.BluetoothHealthAppConfiguration arg1, int arg2) + { + return IExecute("disconnectChannel", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterSinkAppConfiguration(Java.Lang.String arg0, int arg1, Android.Bluetooth.BluetoothHealthCallback arg2) + { + return IExecute("registerSinkAppConfiguration", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool UnregisterAppConfiguration(Android.Bluetooth.BluetoothHealthAppConfiguration arg0) + { + return IExecuteWithSignature("unregisterAppConfiguration", "(Landroid/bluetooth/BluetoothHealthAppConfiguration;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetConnectionState(Android.Bluetooth.BluetoothDevice arg0) + { + return IExecuteWithSignature("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetDevicesMatchingConnectionStates(int[] arg0) + { + return IExecuteWithSignature>("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", new object[] { arg0 }); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthAppConfiguration.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthAppConfiguration.cs new file mode 100644 index 000000000..7705349ff --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthAppConfiguration.cs @@ -0,0 +1,108 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Bluetooth +{ + #region BluetoothHealthAppConfiguration + public partial class BluetoothHealthAppConfiguration + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int DataType + { + get { return IExecuteWithSignature("getDataType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Name + { + get { return IExecuteWithSignature("getName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Role + { + get { return IExecuteWithSignature("getRole", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthCallback.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthCallback.cs new file mode 100644 index 000000000..b6ebfc689 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothHealthCallback.cs @@ -0,0 +1,82 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Bluetooth +{ + #region BluetoothHealthCallback + public partial class BluetoothHealthCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnHealthAppConfigurationStatusChange(Android.Bluetooth.BluetoothHealthAppConfiguration arg0, int arg1) + { + IExecute("onHealthAppConfigurationStatusChange", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnHealthChannelStateChange(Android.Bluetooth.BluetoothHealthAppConfiguration arg0, Android.Bluetooth.BluetoothDevice arg1, int arg2, int arg3, Android.Os.ParcelFileDescriptor arg4, int arg5) + { + IExecute("onHealthChannelStateChange", arg0, arg1, arg2, arg3, arg4, arg5); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothProfile.cs b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothProfile.cs index beeb96c8f..c65f147de 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothProfile.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/BluetoothProfile.cs @@ -92,6 +92,13 @@ public partial class BluetoothProfile : Android.Bluetooth.IBluetoothProfile private static int _HEADSETContent = default; private static bool _HEADSETReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int HEALTH { get { if (!_HEALTHReady) { _HEALTHContent = SGetField(LocalBridgeClazz, "HEALTH"); _HEALTHReady = true; } return _HEALTHContent; } } + private static int _HEALTHContent = default; + private static bool _HEALTHReady = false; // this is used because in case of generics + /// /// /// public static int HEARING_AID { get { if (!_HEARING_AIDReady) { _HEARING_AIDContent = SGetField(LocalBridgeClazz, "HEARING_AID"); _HEARING_AIDReady = true; } return _HEARING_AIDContent; } } diff --git a/src/net/Netdroid/Generated/Android/Bluetooth/Le/ScanResult.cs b/src/net/Netdroid/Generated/Android/Bluetooth/Le/ScanResult.cs index 5922bb121..356c90a53 100644 --- a/src/net/Netdroid/Generated/Android/Bluetooth/Le/ScanResult.cs +++ b/src/net/Netdroid/Generated/Android/Bluetooth/Le/ScanResult.cs @@ -30,6 +30,18 @@ public partial class ScanResult { #region Constructors /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public ScanResult(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.Le.ScanRecord arg1, int arg2, long arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceManager.cs b/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceManager.cs index 77a12133e..03bb9b35a 100644 --- a/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceManager.cs +++ b/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceManager.cs @@ -79,6 +79,13 @@ public partial class CompanionDeviceManager public static Java.Lang.String EXTRA_ASSOCIATION { get { if (!_EXTRA_ASSOCIATIONReady) { _EXTRA_ASSOCIATIONContent = SGetField(LocalBridgeClazz, "EXTRA_ASSOCIATION"); _EXTRA_ASSOCIATIONReady = true; } return _EXTRA_ASSOCIATIONContent; } } private static Java.Lang.String _EXTRA_ASSOCIATIONContent = default; private static bool _EXTRA_ASSOCIATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_DEVICE { get { if (!_EXTRA_DEVICEReady) { _EXTRA_DEVICEContent = SGetField(LocalBridgeClazz, "EXTRA_DEVICE"); _EXTRA_DEVICEReady = true; } return _EXTRA_DEVICEContent; } } + private static Java.Lang.String _EXTRA_DEVICEContent = default; + private static bool _EXTRA_DEVICEReady = false; // this is used because in case of generics #endregion @@ -88,6 +95,14 @@ public partial class CompanionDeviceManager #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Util.List Associations + { + get { return IExecuteWithSignature>("getAssociations", "()Ljava/util/List;"); } + } + /// /// /// public Java.Util.List MyAssociations @@ -113,6 +128,16 @@ public Android.Content.IntentSender BuildPermissionTransferUserConsentIntent(int return IExecuteWithSignature("buildPermissionTransferUserConsentIntent", "(I)Landroid/content/IntentSender;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool HasNotificationAccess(Android.Content.ComponentName arg0) + { + return IExecuteWithSignature("hasNotificationAccess", "(Landroid/content/ComponentName;)Z", arg0); + } + /// /// /// /// @@ -170,6 +195,15 @@ public void Disassociate(int arg0) IExecuteWithSignature("disassociate", "(I)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void Disassociate(Java.Lang.String arg0) + { + IExecuteWithSignature("disassociate", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -263,6 +297,15 @@ public void OnAssociationPending(Android.Content.IntentSender arg0) { IExecuteWithSignature("onAssociationPending", "(Landroid/content/IntentSender;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDeviceFound(Android.Content.IntentSender arg0) + { + IExecuteWithSignature("onDeviceFound", "(Landroid/content/IntentSender;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceService.cs b/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceService.cs index d61120bf5..e4be252d8 100644 --- a/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceService.cs +++ b/src/net/Netdroid/Generated/Android/Companion/CompanionDeviceService.cs @@ -80,6 +80,15 @@ public void OnDeviceAppeared(Android.Companion.AssociationInfo arg0) IExecuteWithSignature("onDeviceAppeared", "(Landroid/companion/AssociationInfo;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void OnDeviceAppeared(Java.Lang.String arg0) + { + IExecuteWithSignature("onDeviceAppeared", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -87,6 +96,15 @@ public void OnDeviceDisappeared(Android.Companion.AssociationInfo arg0) { IExecuteWithSignature("onDeviceDisappeared", "(Landroid/companion/AssociationInfo;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDeviceDisappeared(Java.Lang.String arg0) + { + IExecuteWithSignature("onDeviceDisappeared", "(Ljava/lang/String;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Content/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Content/AllPackageClasses.cs index f60bcde65..bd827e9f9 100644 --- a/src/net/Netdroid/Generated/Android/Content/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Content/AllPackageClasses.cs @@ -144,6 +144,101 @@ public AsyncQueryHandler(params object[] args) : base(args) { } } #endregion + #region AsyncTaskLoader + /// + /// + /// + [System.Obsolete()] + public partial class AsyncTaskLoader : Android.Content.Loader + { + const string _bridgeClassName = "android.content.AsyncTaskLoader"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AsyncTaskLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTaskLoader() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AsyncTaskLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTaskLoader(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region AsyncTaskLoader + /// + /// + /// + /// + [System.Obsolete()] + public partial class AsyncTaskLoader : Android.Content.Loader + { + const string _bridgeClassName = "android.content.AsyncTaskLoader"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AsyncTaskLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTaskLoader() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AsyncTaskLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTaskLoader(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region AttributionSource /// /// @@ -326,7 +421,7 @@ public PendingResult(params object[] args) : base(args) { } /// /// /// - public partial class ClipboardManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public partial class ClipboardManager : Android.Text.ClipboardManager { const string _bridgeClassName = "android.content.ClipboardManager"; /// @@ -1056,7 +1151,7 @@ public ContentProviderResult(params object[] args) : base(args) { } /// /// /// - public partial class ContentQueryMap : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public partial class ContentQueryMap : Java.Util.Observable { const string _bridgeClassName = "android.content.ContentQueryMap"; /// @@ -1496,6 +1591,51 @@ public ContextWrapper(params object[] args) : base(args) { } } #endregion + #region CursorLoader + /// + /// + /// + [System.Obsolete()] + public partial class CursorLoader : Android.Content.AsyncTaskLoader + { + const string _bridgeClassName = "android.content.CursorLoader"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CursorLoader() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CursorLoader(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region DialogInterface /// /// @@ -2374,6 +2514,384 @@ public partial class SendIntentException : Android.Util.AndroidException } #endregion + #region Loader + /// + /// + /// + [System.Obsolete()] + public partial class Loader : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.content.Loader"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Loader() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Loader(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region ForceLoadContentObserver + /// + /// + /// + [System.Obsolete()] + public partial class ForceLoadContentObserver : Android.Database.ContentObserver + { + const string _bridgeClassName = "android.content.Loader$ForceLoadContentObserver"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ForceLoadContentObserver() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ForceLoadContentObserver(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region OnLoadCanceledListener + /// + /// + /// + [System.Obsolete()] + public partial class OnLoadCanceledListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnLoadCanceledListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.content.OnLoadCanceledListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnLoadCanceledListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnLoadCanceledListenerDirect : OnLoadCanceledListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.content.Loader$OnLoadCanceledListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnLoadCanceledListener + /// + /// + /// + /// + [System.Obsolete()] + public partial class OnLoadCanceledListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnLoadCanceledListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.content.OnLoadCanceledListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnLoadCanceledListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnLoadCanceledListenerDirect : OnLoadCanceledListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.content.Loader$OnLoadCanceledListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnLoadCompleteListener + /// + /// + /// + [System.Obsolete()] + public partial class OnLoadCompleteListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnLoadCompleteListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.content.OnLoadCompleteListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnLoadCompleteListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnLoadCompleteListenerDirect : OnLoadCompleteListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.content.Loader$OnLoadCompleteListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnLoadCompleteListener + /// + /// + /// + /// + [System.Obsolete()] + public partial class OnLoadCompleteListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnLoadCompleteListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.content.OnLoadCompleteListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnLoadCompleteListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnLoadCompleteListenerDirect : OnLoadCompleteListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.content.Loader$OnLoadCompleteListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region Loader + /// + /// + /// + /// + [System.Obsolete()] + public partial class Loader : MASES.JCOBridge.C2JBridge.JVMBridgeBase> + { + const string _bridgeClassName = "android.content.Loader"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Loader() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Loader(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region LocusId /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/AsyncTaskLoader.cs b/src/net/Netdroid/Generated/Android/Content/AsyncTaskLoader.cs new file mode 100644 index 000000000..e10cb7aac --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Content/AsyncTaskLoader.cs @@ -0,0 +1,199 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Content +{ + #region AsyncTaskLoader + public partial class AsyncTaskLoader + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public AsyncTaskLoader(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public object LoadInBackground() + { + return IExecuteWithSignature("loadInBackground", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsLoadInBackgroundCanceled() + { + return IExecuteWithSignature("isLoadInBackgroundCanceled", "()Z"); + } + /// + /// + /// + [System.Obsolete()] + public void CancelLoadInBackground() + { + IExecuteWithSignature("cancelLoadInBackground", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnCanceled(object arg0) + { + IExecuteWithSignature("onCanceled", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetUpdateThrottle(long arg0) + { + IExecuteWithSignature("setUpdateThrottle", "(J)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region AsyncTaskLoader + public partial class AsyncTaskLoader + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public AsyncTaskLoader(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Content.AsyncTaskLoader(Android.Content.AsyncTaskLoader t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public D LoadInBackground() + { + return IExecuteWithSignature("loadInBackground", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsLoadInBackgroundCanceled() + { + return IExecuteWithSignature("isLoadInBackgroundCanceled", "()Z"); + } + /// + /// + /// + [System.Obsolete()] + public void CancelLoadInBackground() + { + IExecuteWithSignature("cancelLoadInBackground", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnCanceled(D arg0) + { + IExecuteWithSignature("onCanceled", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetUpdateThrottle(long arg0) + { + IExecuteWithSignature("setUpdateThrottle", "(J)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Content/ContentProviderClient.cs b/src/net/Netdroid/Generated/Android/Content/ContentProviderClient.cs index dff92f333..92ea1916e 100644 --- a/src/net/Netdroid/Generated/Android/Content/ContentProviderClient.cs +++ b/src/net/Netdroid/Generated/Android/Content/ContentProviderClient.cs @@ -228,6 +228,15 @@ public bool Refresh(Android.Net.Uri arg0, Android.Os.Bundle arg1, Android.Os.Can return IExecute("refresh", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public bool Release() + { + return IExecuteWithSignature("release", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/ContentResolver.cs b/src/net/Netdroid/Generated/Android/Content/ContentResolver.cs index 33643125f..8524c7d86 100644 --- a/src/net/Netdroid/Generated/Android/Content/ContentResolver.cs +++ b/src/net/Netdroid/Generated/Android/Content/ContentResolver.cs @@ -244,6 +244,13 @@ public ContentResolver(Android.Content.Context arg0) private static Java.Lang.String _SCHEME_FILEContent = default; private static bool _SCHEME_FILEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SYNC_EXTRAS_ACCOUNT { get { if (!_SYNC_EXTRAS_ACCOUNTReady) { _SYNC_EXTRAS_ACCOUNTContent = SGetField(LocalBridgeClazz, "SYNC_EXTRAS_ACCOUNT"); _SYNC_EXTRAS_ACCOUNTReady = true; } return _SYNC_EXTRAS_ACCOUNTContent; } } + private static Java.Lang.String _SYNC_EXTRAS_ACCOUNTContent = default; + private static bool _SYNC_EXTRAS_ACCOUNTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS { get { if (!_SYNC_EXTRAS_DISCARD_LOCAL_DELETIONSReady) { _SYNC_EXTRAS_DISCARD_LOCAL_DELETIONSContent = SGetField(LocalBridgeClazz, "SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS"); _SYNC_EXTRAS_DISCARD_LOCAL_DELETIONSReady = true; } return _SYNC_EXTRAS_DISCARD_LOCAL_DELETIONSContent; } } @@ -262,6 +269,13 @@ public ContentResolver(Android.Content.Context arg0) private static Java.Lang.String _SYNC_EXTRAS_EXPEDITEDContent = default; private static bool _SYNC_EXTRAS_EXPEDITEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SYNC_EXTRAS_FORCE { get { if (!_SYNC_EXTRAS_FORCEReady) { _SYNC_EXTRAS_FORCEContent = SGetField(LocalBridgeClazz, "SYNC_EXTRAS_FORCE"); _SYNC_EXTRAS_FORCEReady = true; } return _SYNC_EXTRAS_FORCEContent; } } + private static Java.Lang.String _SYNC_EXTRAS_FORCEContent = default; + private static bool _SYNC_EXTRAS_FORCEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SYNC_EXTRAS_IGNORE_BACKOFF { get { if (!_SYNC_EXTRAS_IGNORE_BACKOFFReady) { _SYNC_EXTRAS_IGNORE_BACKOFFContent = SGetField(LocalBridgeClazz, "SYNC_EXTRAS_IGNORE_BACKOFF"); _SYNC_EXTRAS_IGNORE_BACKOFFReady = true; } return _SYNC_EXTRAS_IGNORE_BACKOFFContent; } } @@ -314,6 +328,14 @@ public ContentResolver(Android.Content.Context arg0) #region Static methods /// + /// + /// + [System.Obsolete()] + public static Android.Content.SyncInfo CurrentSync + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getCurrentSync", "()Landroid/content/SyncInfo;"); } + } + /// /// /// public static Java.Util.List CurrentSyncs @@ -935,6 +957,26 @@ public Java.Lang.String[] GetStreamTypes(Android.Net.Uri arg0, Java.Lang.String return IExecuteArray("getStreamTypes", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void CancelSync(Android.Net.Uri arg0) + { + IExecuteWithSignature("cancelSync", "(Landroid/net/Uri;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void NotifyChange(Android.Net.Uri arg0, Android.Database.ContentObserver arg1, bool arg2) + { + IExecute("notifyChange", arg0, arg1, arg2); + } + /// /// /// /// @@ -973,6 +1015,16 @@ public void ReleasePersistableUriPermission(Android.Net.Uri arg0, int arg1) IExecute("releasePersistableUriPermission", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartSync(Android.Net.Uri arg0, Android.Os.Bundle arg1) + { + IExecute("startSync", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Context.cs b/src/net/Netdroid/Generated/Android/Content/Context.cs index 4acf0015a..f930c969a 100644 --- a/src/net/Netdroid/Generated/Android/Content/Context.cs +++ b/src/net/Netdroid/Generated/Android/Content/Context.cs @@ -158,6 +158,13 @@ public partial class Context private static int _MODE_ENABLE_WRITE_AHEAD_LOGGINGContent = default; private static bool _MODE_ENABLE_WRITE_AHEAD_LOGGINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MODE_MULTI_PROCESS { get { if (!_MODE_MULTI_PROCESSReady) { _MODE_MULTI_PROCESSContent = SGetField(LocalBridgeClazz, "MODE_MULTI_PROCESS"); _MODE_MULTI_PROCESSReady = true; } return _MODE_MULTI_PROCESSContent; } } + private static int _MODE_MULTI_PROCESSContent = default; + private static bool _MODE_MULTI_PROCESSReady = false; // this is used because in case of generics + /// /// /// public static int MODE_NO_LOCALIZED_COLLATORS { get { if (!_MODE_NO_LOCALIZED_COLLATORSReady) { _MODE_NO_LOCALIZED_COLLATORSContent = SGetField(LocalBridgeClazz, "MODE_NO_LOCALIZED_COLLATORS"); _MODE_NO_LOCALIZED_COLLATORSReady = true; } return _MODE_NO_LOCALIZED_COLLATORSContent; } } @@ -170,6 +177,20 @@ public partial class Context private static int _MODE_PRIVATEContent = default; private static bool _MODE_PRIVATEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MODE_WORLD_READABLE { get { if (!_MODE_WORLD_READABLEReady) { _MODE_WORLD_READABLEContent = SGetField(LocalBridgeClazz, "MODE_WORLD_READABLE"); _MODE_WORLD_READABLEReady = true; } return _MODE_WORLD_READABLEContent; } } + private static int _MODE_WORLD_READABLEContent = default; + private static bool _MODE_WORLD_READABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_WORLD_WRITEABLE { get { if (!_MODE_WORLD_WRITEABLEReady) { _MODE_WORLD_WRITEABLEContent = SGetField(LocalBridgeClazz, "MODE_WORLD_WRITEABLE"); _MODE_WORLD_WRITEABLEReady = true; } return _MODE_WORLD_WRITEABLEContent; } } + private static int _MODE_WORLD_WRITEABLEContent = default; + private static bool _MODE_WORLD_WRITEABLEReady = false; // this is used because in case of generics + /// /// /// public static int RECEIVER_EXPORTED { get { if (!_RECEIVER_EXPORTEDReady) { _RECEIVER_EXPORTEDContent = SGetField(LocalBridgeClazz, "RECEIVER_EXPORTED"); _RECEIVER_EXPORTEDReady = true; } return _RECEIVER_EXPORTEDContent; } } @@ -686,6 +707,13 @@ public partial class Context private static Java.Lang.String _VIBRATOR_MANAGER_SERVICEContent = default; private static bool _VIBRATOR_MANAGER_SERVICEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VIBRATOR_SERVICE { get { if (!_VIBRATOR_SERVICEReady) { _VIBRATOR_SERVICEContent = SGetField(LocalBridgeClazz, "VIBRATOR_SERVICE"); _VIBRATOR_SERVICEReady = true; } return _VIBRATOR_SERVICEContent; } } + private static Java.Lang.String _VIBRATOR_SERVICEContent = default; + private static bool _VIBRATOR_SERVICEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String VIRTUAL_DEVICE_SERVICE { get { if (!_VIRTUAL_DEVICE_SERVICEReady) { _VIRTUAL_DEVICE_SERVICEContent = SGetField(LocalBridgeClazz, "VIRTUAL_DEVICE_SERVICE"); _VIRTUAL_DEVICE_SERVICEReady = true; } return _VIRTUAL_DEVICE_SERVICEContent; } } @@ -846,6 +874,14 @@ public Java.Io.File[] ExternalCacheDirs get { return IExecuteWithSignatureArray("getExternalCacheDirs", "()[Ljava/io/File;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Io.File[] ExternalMediaDirs + { + get { return IExecuteWithSignatureArray("getExternalMediaDirs", "()[Ljava/io/File;"); } + } + /// /// /// public Java.Io.File FilesDir @@ -944,6 +980,30 @@ public Android.Content.Res.Resources.Theme Theme get { return IExecuteWithSignature("getTheme", "()Landroid/content/res/Resources$Theme;"); } set { IExecuteWithSignature("setTheme", "(I)V", value); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable Wallpaper + { + get { return IExecuteWithSignature("getWallpaper", "()Landroid/graphics/drawable/Drawable;"); } + } + /// + /// + /// + [System.Obsolete()] + public int WallpaperDesiredMinimumHeight + { + get { return IExecuteWithSignature("getWallpaperDesiredMinimumHeight", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int WallpaperDesiredMinimumWidth + { + get { return IExecuteWithSignature("getWallpaperDesiredMinimumWidth", "()I"); } + } + /// /// /// /// @@ -1088,6 +1148,15 @@ public Android.Database.Sqlite.SQLiteDatabase OpenOrCreateDatabase(Java.Lang.Str return IExecute("openOrCreateDatabase", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable PeekWallpaper() + { + return IExecuteWithSignature("peekWallpaper", "()Landroid/graphics/drawable/Drawable;"); + } + /// /// /// /// @@ -1359,6 +1428,15 @@ public Java.Lang.String[] FileList() return IExecuteWithSignatureArray("fileList", "()[Ljava/lang/String;"); } /// + /// + /// + /// + [System.Obsolete()] + public void ClearWallpaper() + { + IExecuteWithSignature("clearWallpaper", "()V"); + } + /// /// /// /// @@ -1444,6 +1522,25 @@ public void GrantUriPermission(Java.Lang.String arg0, Android.Net.Uri arg1, int IExecute("grantUriPermission", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveStickyBroadcast(Android.Content.Intent arg0) + { + IExecuteWithSignature("removeStickyBroadcast", "(Landroid/content/Intent;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RemoveStickyBroadcastAsUser(Android.Content.Intent arg0, Android.Os.UserHandle arg1) + { + IExecute("removeStickyBroadcastAsUser", arg0, arg1); + } + /// /// /// /// @@ -1537,6 +1634,74 @@ public void SendOrderedBroadcastAsUser(Android.Content.Intent arg0, Android.Os.U IExecute("sendOrderedBroadcastAsUser", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /// + /// + /// + /// + [System.Obsolete()] + public void SendStickyBroadcast(Android.Content.Intent arg0) + { + IExecuteWithSignature("sendStickyBroadcast", "(Landroid/content/Intent;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendStickyBroadcastAsUser(Android.Content.Intent arg0, Android.Os.UserHandle arg1) + { + IExecute("sendStickyBroadcastAsUser", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendStickyOrderedBroadcast(Android.Content.Intent arg0, Android.Content.BroadcastReceiver arg1, Android.Os.Handler arg2, int arg3, Java.Lang.String arg4, Android.Os.Bundle arg5) + { + IExecute("sendStickyOrderedBroadcast", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendStickyOrderedBroadcastAsUser(Android.Content.Intent arg0, Android.Os.UserHandle arg1, Android.Content.BroadcastReceiver arg2, Android.Os.Handler arg3, int arg4, Java.Lang.String arg5, Android.Os.Bundle arg6) + { + IExecute("sendStickyOrderedBroadcastAsUser", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetWallpaper(Android.Graphics.Bitmap arg0) + { + IExecuteWithSignature("setWallpaper", "(Landroid/graphics/Bitmap;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetWallpaper(Java.Io.InputStream arg0) + { + IExecuteWithSignature("setWallpaper", "(Ljava/io/InputStream;)V", arg0); + } + /// /// /// /// @@ -1994,6 +2159,16 @@ public void SendOrderedBroadcast(Android.Content.Intent arg0, Java.Lang.String a IExecute("sendOrderedBroadcast", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendStickyBroadcast(Android.Content.Intent arg0, Android.Os.Bundle arg1) + { + IExecute("sendStickyBroadcast", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/CursorLoader.cs b/src/net/Netdroid/Generated/Android/Content/CursorLoader.cs new file mode 100644 index 000000000..2e65e4506 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Content/CursorLoader.cs @@ -0,0 +1,139 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Content +{ + #region CursorLoader + public partial class CursorLoader + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public CursorLoader(Android.Content.Context arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2, Java.Lang.String arg3, Java.Lang.String[] arg4, Java.Lang.String arg5) + : base(arg0, arg1, arg2, arg3, arg4, arg5) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public CursorLoader(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String[] Projection + { + get { return IExecuteWithSignatureArray("getProjection", "()[Ljava/lang/String;"); } set { IExecuteWithSignature("setProjection", "([Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Selection + { + get { return IExecuteWithSignature("getSelection", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setSelection", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String[] SelectionArgs + { + get { return IExecuteWithSignatureArray("getSelectionArgs", "()[Ljava/lang/String;"); } set { IExecuteWithSignature("setSelectionArgs", "([Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SortOrder + { + get { return IExecuteWithSignature("getSortOrder", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setSortOrder", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Uri Uri + { + get { return IExecuteWithSignature("getUri", "()Landroid/net/Uri;"); } set { IExecuteWithSignature("setUri", "(Landroid/net/Uri;)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void DeliverResult(Android.Database.Cursor arg0) + { + IExecuteWithSignature("deliverResult", "(Landroid/database/Cursor;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnCanceled(Android.Database.Cursor arg0) + { + IExecuteWithSignature("onCanceled", "(Landroid/database/Cursor;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Content/DialogInterface.cs b/src/net/Netdroid/Generated/Android/Content/DialogInterface.cs index 6c1966439..320d3db1c 100644 --- a/src/net/Netdroid/Generated/Android/Content/DialogInterface.cs +++ b/src/net/Netdroid/Generated/Android/Content/DialogInterface.cs @@ -73,6 +73,27 @@ public partial class DialogInterface : Android.Content.IDialogInterface public static int BUTTON_POSITIVE { get { if (!_BUTTON_POSITIVEReady) { _BUTTON_POSITIVEContent = SGetField(LocalBridgeClazz, "BUTTON_POSITIVE"); _BUTTON_POSITIVEReady = true; } return _BUTTON_POSITIVEContent; } } private static int _BUTTON_POSITIVEContent = default; private static bool _BUTTON_POSITIVEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BUTTON1 { get { if (!_BUTTON1Ready) { _BUTTON1Content = SGetField(LocalBridgeClazz, "BUTTON1"); _BUTTON1Ready = true; } return _BUTTON1Content; } } + private static int _BUTTON1Content = default; + private static bool _BUTTON1Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BUTTON2 { get { if (!_BUTTON2Ready) { _BUTTON2Content = SGetField(LocalBridgeClazz, "BUTTON2"); _BUTTON2Ready = true; } return _BUTTON2Content; } } + private static int _BUTTON2Content = default; + private static bool _BUTTON2Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BUTTON3 { get { if (!_BUTTON3Ready) { _BUTTON3Content = SGetField(LocalBridgeClazz, "BUTTON3"); _BUTTON3Ready = true; } return _BUTTON3Content; } } + private static int _BUTTON3Content = default; + private static bool _BUTTON3Ready = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Content/Intent.cs b/src/net/Netdroid/Generated/Android/Content/Intent.cs index 69bfed0b4..aa6b1c6dc 100644 --- a/src/net/Netdroid/Generated/Android/Content/Intent.cs +++ b/src/net/Netdroid/Generated/Android/Content/Intent.cs @@ -229,6 +229,13 @@ public Intent(Java.Lang.String arg0) private static int _FLAG_ACTIVITY_CLEAR_TOPContent = default; private static bool _FLAG_ACTIVITY_CLEAR_TOPReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET { get { if (!_FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETReady) { _FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETContent = SGetField(LocalBridgeClazz, "FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET"); _FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETReady = true; } return _FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETContent; } } + private static int _FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETContent = default; + private static bool _FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETReady = false; // this is used because in case of generics + /// /// /// public static int FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS { get { if (!_FLAG_ACTIVITY_EXCLUDE_FROM_RECENTSReady) { _FLAG_ACTIVITY_EXCLUDE_FROM_RECENTSContent = SGetField(LocalBridgeClazz, "FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS"); _FLAG_ACTIVITY_EXCLUDE_FROM_RECENTSReady = true; } return _FLAG_ACTIVITY_EXCLUDE_FROM_RECENTSContent; } } @@ -565,6 +572,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_CHOOSERContent = default; private static bool _ACTION_CHOOSERReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_CLOSE_SYSTEM_DIALOGS { get { if (!_ACTION_CLOSE_SYSTEM_DIALOGSReady) { _ACTION_CLOSE_SYSTEM_DIALOGSContent = SGetField(LocalBridgeClazz, "ACTION_CLOSE_SYSTEM_DIALOGS"); _ACTION_CLOSE_SYSTEM_DIALOGSReady = true; } return _ACTION_CLOSE_SYSTEM_DIALOGSContent; } } + private static Java.Lang.String _ACTION_CLOSE_SYSTEM_DIALOGSContent = default; + private static bool _ACTION_CLOSE_SYSTEM_DIALOGSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_CONFIGURATION_CHANGED { get { if (!_ACTION_CONFIGURATION_CHANGEDReady) { _ACTION_CONFIGURATION_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_CONFIGURATION_CHANGED"); _ACTION_CONFIGURATION_CHANGEDReady = true; } return _ACTION_CONFIGURATION_CHANGEDContent; } } @@ -619,6 +633,20 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_DELETEContent = default; private static bool _ACTION_DELETEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_DEVICE_STORAGE_LOW { get { if (!_ACTION_DEVICE_STORAGE_LOWReady) { _ACTION_DEVICE_STORAGE_LOWContent = SGetField(LocalBridgeClazz, "ACTION_DEVICE_STORAGE_LOW"); _ACTION_DEVICE_STORAGE_LOWReady = true; } return _ACTION_DEVICE_STORAGE_LOWContent; } } + private static Java.Lang.String _ACTION_DEVICE_STORAGE_LOWContent = default; + private static bool _ACTION_DEVICE_STORAGE_LOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_DEVICE_STORAGE_OK { get { if (!_ACTION_DEVICE_STORAGE_OKReady) { _ACTION_DEVICE_STORAGE_OKContent = SGetField(LocalBridgeClazz, "ACTION_DEVICE_STORAGE_OK"); _ACTION_DEVICE_STORAGE_OKReady = true; } return _ACTION_DEVICE_STORAGE_OKContent; } } + private static Java.Lang.String _ACTION_DEVICE_STORAGE_OKContent = default; + private static bool _ACTION_DEVICE_STORAGE_OKReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_DIAL { get { if (!_ACTION_DIALReady) { _ACTION_DIALContent = SGetField(LocalBridgeClazz, "ACTION_DIAL"); _ACTION_DIALReady = true; } return _ACTION_DIALContent; } } @@ -721,6 +749,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_INSTALL_FAILUREContent = default; private static bool _ACTION_INSTALL_FAILUREReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_INSTALL_PACKAGE { get { if (!_ACTION_INSTALL_PACKAGEReady) { _ACTION_INSTALL_PACKAGEContent = SGetField(LocalBridgeClazz, "ACTION_INSTALL_PACKAGE"); _ACTION_INSTALL_PACKAGEReady = true; } return _ACTION_INSTALL_PACKAGEContent; } } + private static Java.Lang.String _ACTION_INSTALL_PACKAGEContent = default; + private static bool _ACTION_INSTALL_PACKAGEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE { get { if (!_ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTEReady) { _ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTEContent = SGetField(LocalBridgeClazz, "ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE"); _ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTEReady = true; } return _ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTEContent; } } @@ -841,6 +876,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_MEDIA_SCANNER_FINISHEDContent = default; private static bool _ACTION_MEDIA_SCANNER_FINISHEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_MEDIA_SCANNER_SCAN_FILE { get { if (!_ACTION_MEDIA_SCANNER_SCAN_FILEReady) { _ACTION_MEDIA_SCANNER_SCAN_FILEContent = SGetField(LocalBridgeClazz, "ACTION_MEDIA_SCANNER_SCAN_FILE"); _ACTION_MEDIA_SCANNER_SCAN_FILEReady = true; } return _ACTION_MEDIA_SCANNER_SCAN_FILEContent; } } + private static Java.Lang.String _ACTION_MEDIA_SCANNER_SCAN_FILEContent = default; + private static bool _ACTION_MEDIA_SCANNER_SCAN_FILEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_MEDIA_SCANNER_STARTED { get { if (!_ACTION_MEDIA_SCANNER_STARTEDReady) { _ACTION_MEDIA_SCANNER_STARTEDContent = SGetField(LocalBridgeClazz, "ACTION_MEDIA_SCANNER_STARTED"); _ACTION_MEDIA_SCANNER_STARTEDReady = true; } return _ACTION_MEDIA_SCANNER_STARTEDContent; } } @@ -883,6 +925,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_MY_PACKAGE_UNSUSPENDEDContent = default; private static bool _ACTION_MY_PACKAGE_UNSUSPENDEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_NEW_OUTGOING_CALL { get { if (!_ACTION_NEW_OUTGOING_CALLReady) { _ACTION_NEW_OUTGOING_CALLContent = SGetField(LocalBridgeClazz, "ACTION_NEW_OUTGOING_CALL"); _ACTION_NEW_OUTGOING_CALLReady = true; } return _ACTION_NEW_OUTGOING_CALLContent; } } + private static Java.Lang.String _ACTION_NEW_OUTGOING_CALLContent = default; + private static bool _ACTION_NEW_OUTGOING_CALLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_OPEN_DOCUMENT { get { if (!_ACTION_OPEN_DOCUMENTReady) { _ACTION_OPEN_DOCUMENTContent = SGetField(LocalBridgeClazz, "ACTION_OPEN_DOCUMENT"); _ACTION_OPEN_DOCUMENTReady = true; } return _ACTION_OPEN_DOCUMENTContent; } } @@ -925,6 +974,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_PACKAGE_FULLY_REMOVEDContent = default; private static bool _ACTION_PACKAGE_FULLY_REMOVEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_PACKAGE_INSTALL { get { if (!_ACTION_PACKAGE_INSTALLReady) { _ACTION_PACKAGE_INSTALLContent = SGetField(LocalBridgeClazz, "ACTION_PACKAGE_INSTALL"); _ACTION_PACKAGE_INSTALLReady = true; } return _ACTION_PACKAGE_INSTALLContent; } } + private static Java.Lang.String _ACTION_PACKAGE_INSTALLContent = default; + private static bool _ACTION_PACKAGE_INSTALLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_PACKAGE_NEEDS_VERIFICATION { get { if (!_ACTION_PACKAGE_NEEDS_VERIFICATIONReady) { _ACTION_PACKAGE_NEEDS_VERIFICATIONContent = SGetField(LocalBridgeClazz, "ACTION_PACKAGE_NEEDS_VERIFICATION"); _ACTION_PACKAGE_NEEDS_VERIFICATIONReady = true; } return _ACTION_PACKAGE_NEEDS_VERIFICATIONContent; } } @@ -1177,6 +1233,27 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_UID_REMOVEDContent = default; private static bool _ACTION_UID_REMOVEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_UMS_CONNECTED { get { if (!_ACTION_UMS_CONNECTEDReady) { _ACTION_UMS_CONNECTEDContent = SGetField(LocalBridgeClazz, "ACTION_UMS_CONNECTED"); _ACTION_UMS_CONNECTEDReady = true; } return _ACTION_UMS_CONNECTEDContent; } } + private static Java.Lang.String _ACTION_UMS_CONNECTEDContent = default; + private static bool _ACTION_UMS_CONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_UMS_DISCONNECTED { get { if (!_ACTION_UMS_DISCONNECTEDReady) { _ACTION_UMS_DISCONNECTEDContent = SGetField(LocalBridgeClazz, "ACTION_UMS_DISCONNECTED"); _ACTION_UMS_DISCONNECTEDReady = true; } return _ACTION_UMS_DISCONNECTEDContent; } } + private static Java.Lang.String _ACTION_UMS_DISCONNECTEDContent = default; + private static bool _ACTION_UMS_DISCONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_UNINSTALL_PACKAGE { get { if (!_ACTION_UNINSTALL_PACKAGEReady) { _ACTION_UNINSTALL_PACKAGEContent = SGetField(LocalBridgeClazz, "ACTION_UNINSTALL_PACKAGE"); _ACTION_UNINSTALL_PACKAGEReady = true; } return _ACTION_UNINSTALL_PACKAGEContent; } } + private static Java.Lang.String _ACTION_UNINSTALL_PACKAGEContent = default; + private static bool _ACTION_UNINSTALL_PACKAGEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_USER_BACKGROUND { get { if (!_ACTION_USER_BACKGROUNDReady) { _ACTION_USER_BACKGROUNDContent = SGetField(LocalBridgeClazz, "ACTION_USER_BACKGROUND"); _ACTION_USER_BACKGROUNDReady = true; } return _ACTION_USER_BACKGROUNDContent; } } @@ -1237,6 +1314,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _ACTION_VOICE_COMMANDContent = default; private static bool _ACTION_VOICE_COMMANDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_WALLPAPER_CHANGED { get { if (!_ACTION_WALLPAPER_CHANGEDReady) { _ACTION_WALLPAPER_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_WALLPAPER_CHANGED"); _ACTION_WALLPAPER_CHANGEDReady = true; } return _ACTION_WALLPAPER_CHANGEDContent; } } + private static Java.Lang.String _ACTION_WALLPAPER_CHANGEDContent = default; + private static bool _ACTION_WALLPAPER_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_WEB_SEARCH { get { if (!_ACTION_WEB_SEARCHReady) { _ACTION_WEB_SEARCHContent = SGetField(LocalBridgeClazz, "ACTION_WEB_SEARCH"); _ACTION_WEB_SEARCHReady = true; } return _ACTION_WEB_SEARCHContent; } } @@ -1501,6 +1585,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _EXTRA_ALLOW_MULTIPLEContent = default; private static bool _EXTRA_ALLOW_MULTIPLEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_ALLOW_REPLACE { get { if (!_EXTRA_ALLOW_REPLACEReady) { _EXTRA_ALLOW_REPLACEContent = SGetField(LocalBridgeClazz, "EXTRA_ALLOW_REPLACE"); _EXTRA_ALLOW_REPLACEReady = true; } return _EXTRA_ALLOW_REPLACEContent; } } + private static Java.Lang.String _EXTRA_ALLOW_REPLACEContent = default; + private static bool _EXTRA_ALLOW_REPLACEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_ALTERNATE_INTENTS { get { if (!_EXTRA_ALTERNATE_INTENTSReady) { _EXTRA_ALTERNATE_INTENTSContent = SGetField(LocalBridgeClazz, "EXTRA_ALTERNATE_INTENTS"); _EXTRA_ALTERNATE_INTENTSReady = true; } return _EXTRA_ALTERNATE_INTENTSContent; } } @@ -1573,6 +1664,13 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _EXTRA_CCContent = default; private static bool _EXTRA_CCReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_CHANGED_COMPONENT_NAME { get { if (!_EXTRA_CHANGED_COMPONENT_NAMEReady) { _EXTRA_CHANGED_COMPONENT_NAMEContent = SGetField(LocalBridgeClazz, "EXTRA_CHANGED_COMPONENT_NAME"); _EXTRA_CHANGED_COMPONENT_NAMEReady = true; } return _EXTRA_CHANGED_COMPONENT_NAMEContent; } } + private static Java.Lang.String _EXTRA_CHANGED_COMPONENT_NAMEContent = default; + private static bool _EXTRA_CHANGED_COMPONENT_NAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_CHANGED_COMPONENT_NAME_LIST { get { if (!_EXTRA_CHANGED_COMPONENT_NAME_LISTReady) { _EXTRA_CHANGED_COMPONENT_NAME_LISTContent = SGetField(LocalBridgeClazz, "EXTRA_CHANGED_COMPONENT_NAME_LIST"); _EXTRA_CHANGED_COMPONENT_NAME_LISTReady = true; } return _EXTRA_CHANGED_COMPONENT_NAME_LISTContent; } } @@ -1873,12 +1971,40 @@ public Intent(Java.Lang.String arg0) private static Java.Lang.String _EXTRA_RETURN_RESULTContent = default; private static bool _EXTRA_RETURN_RESULTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHORTCUT_ICON { get { if (!_EXTRA_SHORTCUT_ICONReady) { _EXTRA_SHORTCUT_ICONContent = SGetField(LocalBridgeClazz, "EXTRA_SHORTCUT_ICON"); _EXTRA_SHORTCUT_ICONReady = true; } return _EXTRA_SHORTCUT_ICONContent; } } + private static Java.Lang.String _EXTRA_SHORTCUT_ICONContent = default; + private static bool _EXTRA_SHORTCUT_ICONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHORTCUT_ICON_RESOURCE { get { if (!_EXTRA_SHORTCUT_ICON_RESOURCEReady) { _EXTRA_SHORTCUT_ICON_RESOURCEContent = SGetField(LocalBridgeClazz, "EXTRA_SHORTCUT_ICON_RESOURCE"); _EXTRA_SHORTCUT_ICON_RESOURCEReady = true; } return _EXTRA_SHORTCUT_ICON_RESOURCEContent; } } + private static Java.Lang.String _EXTRA_SHORTCUT_ICON_RESOURCEContent = default; + private static bool _EXTRA_SHORTCUT_ICON_RESOURCEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_SHORTCUT_ID { get { if (!_EXTRA_SHORTCUT_IDReady) { _EXTRA_SHORTCUT_IDContent = SGetField(LocalBridgeClazz, "EXTRA_SHORTCUT_ID"); _EXTRA_SHORTCUT_IDReady = true; } return _EXTRA_SHORTCUT_IDContent; } } private static Java.Lang.String _EXTRA_SHORTCUT_IDContent = default; private static bool _EXTRA_SHORTCUT_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHORTCUT_INTENT { get { if (!_EXTRA_SHORTCUT_INTENTReady) { _EXTRA_SHORTCUT_INTENTContent = SGetField(LocalBridgeClazz, "EXTRA_SHORTCUT_INTENT"); _EXTRA_SHORTCUT_INTENTReady = true; } return _EXTRA_SHORTCUT_INTENTContent; } } + private static Java.Lang.String _EXTRA_SHORTCUT_INTENTContent = default; + private static bool _EXTRA_SHORTCUT_INTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHORTCUT_NAME { get { if (!_EXTRA_SHORTCUT_NAMEReady) { _EXTRA_SHORTCUT_NAMEContent = SGetField(LocalBridgeClazz, "EXTRA_SHORTCUT_NAME"); _EXTRA_SHORTCUT_NAMEReady = true; } return _EXTRA_SHORTCUT_NAMEContent; } } + private static Java.Lang.String _EXTRA_SHORTCUT_NAMEContent = default; + private static bool _EXTRA_SHORTCUT_NAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_SHUTDOWN_USERSPACE_ONLY { get { if (!_EXTRA_SHUTDOWN_USERSPACE_ONLYReady) { _EXTRA_SHUTDOWN_USERSPACE_ONLYContent = SGetField(LocalBridgeClazz, "EXTRA_SHUTDOWN_USERSPACE_ONLY"); _EXTRA_SHUTDOWN_USERSPACE_ONLYReady = true; } return _EXTRA_SHUTDOWN_USERSPACE_ONLYContent; } } @@ -2000,6 +2126,17 @@ public static Android.Content.Intent CreateChooser(Android.Content.Intent arg0, return SExecute(LocalBridgeClazz, "createChooser", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Content.Intent GetIntent(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getIntent", "(Ljava/lang/String;)Landroid/content/Intent;", arg0); + } + /// /// /// /// @@ -2173,6 +2310,28 @@ public Java.Lang.String Type get { return IExecuteWithSignature("getType", "()Ljava/lang/String;"); } } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.ArrayList GetParcelableArrayListExtra(Java.Lang.String arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature>("getParcelableArrayListExtra", "(Ljava/lang/String;)Ljava/util/ArrayList;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public T GetParcelableExtra(Java.Lang.String arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature("getParcelableExtra", "(Ljava/lang/String;)Landroid/os/Parcelable;", arg0); + } + /// /// /// /// @@ -2719,6 +2878,16 @@ public Android.Os.Bundle GetBundleExtra(Java.Lang.String arg0) return IExecuteWithSignature("getBundleExtra", "(Ljava/lang/String;)Landroid/os/Bundle;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Parcelable[] GetParcelableArrayExtra(Java.Lang.String arg0) + { + return IExecuteWithSignatureArray("getParcelableArrayExtra", "(Ljava/lang/String;)[Landroid/os/Parcelable;", arg0); + } + /// /// /// /// @@ -2894,6 +3063,16 @@ public int[] GetIntArrayExtra(Java.Lang.String arg0) return IExecuteWithSignatureArray("getIntArrayExtra", "(Ljava/lang/String;)[I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Io.Serializable GetSerializableExtra(Java.Lang.String arg0) + { + return IExecuteWithSignature("getSerializableExtra", "(Ljava/lang/String;)Ljava/io/Serializable;", arg0); + } + /// /// /// /// @@ -2948,6 +3127,15 @@ public Java.Lang.String ResolveTypeIfNeeded(Android.Content.ContentResolver arg0 return IExecuteWithSignature("resolveTypeIfNeeded", "(Landroid/content/ContentResolver;)Ljava/lang/String;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ToURI() + { + return IExecuteWithSignature("toURI", "()Ljava/lang/String;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/IntentSender.cs b/src/net/Netdroid/Generated/Android/Content/IntentSender.cs index a117e143c..6fd29264b 100644 --- a/src/net/Netdroid/Generated/Android/Content/IntentSender.cs +++ b/src/net/Netdroid/Generated/Android/Content/IntentSender.cs @@ -91,6 +91,14 @@ public Android.Os.UserHandle CreatorUserHandle get { return IExecuteWithSignature("getCreatorUserHandle", "()Landroid/os/UserHandle;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String TargetPackage + { + get { return IExecuteWithSignature("getTargetPackage", "()Ljava/lang/String;"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Loader.cs b/src/net/Netdroid/Generated/Android/Content/Loader.cs new file mode 100644 index 000000000..6eb9b2765 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Content/Loader.cs @@ -0,0 +1,961 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Content +{ + #region Loader + public partial class Loader + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Loader(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context Context + { + get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Id + { + get { return IExecuteWithSignature("getId", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool CancelLoad() + { + return IExecuteWithSignature("cancelLoad", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAbandoned() + { + return IExecuteWithSignature("isAbandoned", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsReset() + { + return IExecuteWithSignature("isReset", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStarted() + { + return IExecuteWithSignature("isStarted", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool TakeContentChanged() + { + return IExecuteWithSignature("takeContentChanged", "()Z"); + } + /// + /// + /// + [System.Obsolete()] + public void StartLoading() + { + IExecuteWithSignature("startLoading", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DataToString(object arg0) + { + return IExecuteWithSignature("dataToString", "(Ljava/lang/Object;)Ljava/lang/String;", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Abandon() + { + IExecuteWithSignature("abandon", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void CommitContentChanged() + { + IExecuteWithSignature("commitContentChanged", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DeliverCancellation() + { + IExecuteWithSignature("deliverCancellation", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DeliverResult(object arg0) + { + IExecuteWithSignature("deliverResult", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void ForceLoad() + { + IExecuteWithSignature("forceLoad", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnContentChanged() + { + IExecuteWithSignature("onContentChanged", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterListener(int arg0, Android.Content.Loader.OnLoadCompleteListener arg1) + { + IExecute("registerListener", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterOnLoadCanceledListener(Android.Content.Loader.OnLoadCanceledListener arg0) + { + IExecuteWithSignature("registerOnLoadCanceledListener", "(Landroid/content/Loader$OnLoadCanceledListener;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Reset() + { + IExecuteWithSignature("reset", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void RollbackContentChanged() + { + IExecuteWithSignature("rollbackContentChanged", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void StopLoading() + { + IExecuteWithSignature("stopLoading", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterListener(Android.Content.Loader.OnLoadCompleteListener arg0) + { + IExecuteWithSignature("unregisterListener", "(Landroid/content/Loader$OnLoadCompleteListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterOnLoadCanceledListener(Android.Content.Loader.OnLoadCanceledListener arg0) + { + IExecuteWithSignature("unregisterOnLoadCanceledListener", "(Landroid/content/Loader$OnLoadCanceledListener;)V", arg0); + } + + #endregion + + #region Nested classes + #region ForceLoadContentObserver + public partial class ForceLoadContentObserver + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public ForceLoadContentObserver(Android.Content.Loader arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCanceledListener + public partial class OnLoadCanceledListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onLoadCanceled", new System.EventHandler>>(OnLoadCanceledEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnLoadCanceled { get; set; } = null; + + void OnLoadCanceledEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnLoadCanceled != null) ? OnOnLoadCanceled : OnLoadCanceled; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnLoadCanceled(Android.Content.Loader arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCanceledListenerDirect + public partial class OnLoadCanceledListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnLoadCanceled(Android.Content.Loader arg0) + { + IExecuteWithSignature("onLoadCanceled", "(Landroid/content/Loader;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCanceledListener + public partial class OnLoadCanceledListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onLoadCanceled", new System.EventHandler>>>(OnLoadCanceledEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action> OnOnLoadCanceled { get; set; } = null; + + void OnLoadCanceledEventHandler(object sender, CLRListenerEventArgs>> data) + { + var methodToExecute = (OnOnLoadCanceled != null) ? OnOnLoadCanceled : OnLoadCanceled; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnLoadCanceled(Android.Content.Loader arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCanceledListenerDirect + public partial class OnLoadCanceledListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnLoadCanceled(Android.Content.Loader arg0) + { + IExecuteWithSignature("onLoadCanceled", "(Landroid/content/Loader;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCompleteListener + public partial class OnLoadCompleteListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onLoadComplete", new System.EventHandler>>(OnLoadCompleteEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnLoadComplete { get; set; } = null; + + void OnLoadCompleteEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnLoadComplete != null) ? OnOnLoadComplete : OnLoadComplete; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnLoadComplete(Android.Content.Loader arg0, object arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCompleteListenerDirect + public partial class OnLoadCompleteListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnLoadComplete(Android.Content.Loader arg0, object arg1) + { + IExecute("onLoadComplete", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCompleteListener + public partial class OnLoadCompleteListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onLoadComplete", new System.EventHandler>>>(OnLoadCompleteEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action, D> OnOnLoadComplete { get; set; } = null; + + void OnLoadCompleteEventHandler(object sender, CLRListenerEventArgs>> data) + { + var methodToExecute = (OnOnLoadComplete != null) ? OnOnLoadComplete : OnLoadComplete; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnLoadComplete(Android.Content.Loader arg0, D arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnLoadCompleteListenerDirect + public partial class OnLoadCompleteListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnLoadComplete(Android.Content.Loader arg0, D arg1) + { + IExecute("onLoadComplete", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion + + #region Loader + public partial class Loader + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Loader(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Content.Loader(Android.Content.Loader t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context Context + { + get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Id + { + get { return IExecuteWithSignature("getId", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool CancelLoad() + { + return IExecuteWithSignature("cancelLoad", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAbandoned() + { + return IExecuteWithSignature("isAbandoned", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsReset() + { + return IExecuteWithSignature("isReset", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStarted() + { + return IExecuteWithSignature("isStarted", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool TakeContentChanged() + { + return IExecuteWithSignature("takeContentChanged", "()Z"); + } + /// + /// + /// + [System.Obsolete()] + public void StartLoading() + { + IExecuteWithSignature("startLoading", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DataToString(D arg0) + { + return IExecuteWithSignature("dataToString", "(Ljava/lang/Object;)Ljava/lang/String;", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Abandon() + { + IExecuteWithSignature("abandon", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void CommitContentChanged() + { + IExecuteWithSignature("commitContentChanged", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void DeliverCancellation() + { + IExecuteWithSignature("deliverCancellation", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void DeliverResult(D arg0) + { + IExecuteWithSignature("deliverResult", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Java.Lang.String arg0, Java.Io.FileDescriptor arg1, Java.Io.PrintWriter arg2, Java.Lang.String[] arg3) + { + IExecute("dump", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public void ForceLoad() + { + IExecuteWithSignature("forceLoad", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void OnContentChanged() + { + IExecuteWithSignature("onContentChanged", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterListener(int arg0, Android.Content.Loader.OnLoadCompleteListener arg1) + { + IExecute("registerListener", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterOnLoadCanceledListener(Android.Content.Loader.OnLoadCanceledListener arg0) + { + IExecuteWithSignature("registerOnLoadCanceledListener", "(Landroid/content/Loader$OnLoadCanceledListener;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Reset() + { + IExecuteWithSignature("reset", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void RollbackContentChanged() + { + IExecuteWithSignature("rollbackContentChanged", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void StopLoading() + { + IExecuteWithSignature("stopLoading", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterListener(Android.Content.Loader.OnLoadCompleteListener arg0) + { + IExecuteWithSignature("unregisterListener", "(Landroid/content/Loader$OnLoadCompleteListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterOnLoadCanceledListener(Android.Content.Loader.OnLoadCanceledListener arg0) + { + IExecuteWithSignature("unregisterOnLoadCanceledListener", "(Landroid/content/Loader$OnLoadCanceledListener;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Content/Pm/AllPackageClasses.cs index 4290e456c..418653178 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/AllPackageClasses.cs @@ -2132,6 +2132,51 @@ public ResolveInfoFlags(params object[] args) : base(args) { } } #endregion + #region PackageStats + /// + /// + /// + [System.Obsolete()] + public partial class PackageStats : Android.Os.Parcelable + { + const string _bridgeClassName = "android.content.pm.PackageStats"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PackageStats() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PackageStats(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region PathPermission /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/ApplicationInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/ApplicationInfo.cs index e9c48ecec..17981c02a 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/ApplicationInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/ApplicationInfo.cs @@ -312,6 +312,13 @@ public ApplicationInfo(Android.Content.Pm.ApplicationInfo arg0) private static int _FLAG_IS_DATA_ONLYContent = default; private static bool _FLAG_IS_DATA_ONLYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_IS_GAME { get { if (!_FLAG_IS_GAMEReady) { _FLAG_IS_GAMEContent = SGetField(LocalBridgeClazz, "FLAG_IS_GAME"); _FLAG_IS_GAMEReady = true; } return _FLAG_IS_GAMEContent; } } + private static int _FLAG_IS_GAMEContent = default; + private static bool _FLAG_IS_GAMEReady = false; // this is used because in case of generics + /// /// /// public static int FLAG_KILL_AFTER_RESTORE { get { if (!_FLAG_KILL_AFTER_RESTOREReady) { _FLAG_KILL_AFTER_RESTOREContent = SGetField(LocalBridgeClazz, "FLAG_KILL_AFTER_RESTORE"); _FLAG_KILL_AFTER_RESTOREReady = true; } return _FLAG_KILL_AFTER_RESTOREContent; } } @@ -372,6 +379,13 @@ public ApplicationInfo(Android.Content.Pm.ApplicationInfo arg0) private static int _FLAG_SUPPORTS_RTLContent = default; private static bool _FLAG_SUPPORTS_RTLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_SUPPORTS_SCREEN_DENSITIES { get { if (!_FLAG_SUPPORTS_SCREEN_DENSITIESReady) { _FLAG_SUPPORTS_SCREEN_DENSITIESContent = SGetField(LocalBridgeClazz, "FLAG_SUPPORTS_SCREEN_DENSITIES"); _FLAG_SUPPORTS_SCREEN_DENSITIESReady = true; } return _FLAG_SUPPORTS_SCREEN_DENSITIESContent; } } + private static int _FLAG_SUPPORTS_SCREEN_DENSITIESContent = default; + private static bool _FLAG_SUPPORTS_SCREEN_DENSITIESReady = false; // this is used because in case of generics + /// /// /// public static int FLAG_SUPPORTS_SMALL_SCREENS { get { if (!_FLAG_SUPPORTS_SMALL_SCREENSReady) { _FLAG_SUPPORTS_SMALL_SCREENSContent = SGetField(LocalBridgeClazz, "FLAG_SUPPORTS_SMALL_SCREENS"); _FLAG_SUPPORTS_SMALL_SCREENSReady = true; } return _FLAG_SUPPORTS_SMALL_SCREENSContent; } } diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/Checksum.cs b/src/net/Netdroid/Generated/Android/Content/Pm/Checksum.cs index d6d07f5e8..bd2e8bd48 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/Checksum.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/Checksum.cs @@ -65,11 +65,39 @@ public Checksum(int arg0, byte[] arg1) private static int _TYPE_PARTIAL_MERKLE_ROOT_1M_SHA512Content = default; private static bool _TYPE_PARTIAL_MERKLE_ROOT_1M_SHA512Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TYPE_WHOLE_MD5 { get { if (!_TYPE_WHOLE_MD5Ready) { _TYPE_WHOLE_MD5Content = SGetField(LocalBridgeClazz, "TYPE_WHOLE_MD5"); _TYPE_WHOLE_MD5Ready = true; } return _TYPE_WHOLE_MD5Content; } } + private static int _TYPE_WHOLE_MD5Content = default; + private static bool _TYPE_WHOLE_MD5Ready = false; // this is used because in case of generics + /// /// /// public static int TYPE_WHOLE_MERKLE_ROOT_4K_SHA256 { get { if (!_TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Ready) { _TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Content = SGetField(LocalBridgeClazz, "TYPE_WHOLE_MERKLE_ROOT_4K_SHA256"); _TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Ready = true; } return _TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Content; } } private static int _TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Content = default; private static bool _TYPE_WHOLE_MERKLE_ROOT_4K_SHA256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WHOLE_SHA1 { get { if (!_TYPE_WHOLE_SHA1Ready) { _TYPE_WHOLE_SHA1Content = SGetField(LocalBridgeClazz, "TYPE_WHOLE_SHA1"); _TYPE_WHOLE_SHA1Ready = true; } return _TYPE_WHOLE_SHA1Content; } } + private static int _TYPE_WHOLE_SHA1Content = default; + private static bool _TYPE_WHOLE_SHA1Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WHOLE_SHA256 { get { if (!_TYPE_WHOLE_SHA256Ready) { _TYPE_WHOLE_SHA256Content = SGetField(LocalBridgeClazz, "TYPE_WHOLE_SHA256"); _TYPE_WHOLE_SHA256Ready = true; } return _TYPE_WHOLE_SHA256Content; } } + private static int _TYPE_WHOLE_SHA256Content = default; + private static bool _TYPE_WHOLE_SHA256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WHOLE_SHA512 { get { if (!_TYPE_WHOLE_SHA512Ready) { _TYPE_WHOLE_SHA512Content = SGetField(LocalBridgeClazz, "TYPE_WHOLE_SHA512"); _TYPE_WHOLE_SHA512Ready = true; } return _TYPE_WHOLE_SHA512Content; } } + private static int _TYPE_WHOLE_SHA512Content = default; + private static bool _TYPE_WHOLE_SHA512Ready = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/LauncherApps.cs b/src/net/Netdroid/Generated/Android/Content/Pm/LauncherApps.cs index 4f5d9fd7f..95fe963d5 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/LauncherApps.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/LauncherApps.cs @@ -415,6 +415,17 @@ public void OnPackageLoadingProgressChanged(Java.Lang.String arg0, Android.Os.Us IExecute("onPackageLoadingProgressChanged", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPackagesSuspended(Java.Lang.String[] arg0, Android.Os.UserHandle arg1, Android.Os.Bundle arg2) + { + IExecute("onPackagesSuspended", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PackageInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PackageInfo.cs index be806b38c..193390f53 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/PackageInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PackageInfo.cs @@ -82,6 +82,11 @@ public partial class PackageInfo /// public Android.Content.Pm.ServiceInfo[] services { get { return IGetFieldArray("services"); } set { ISetField("services", value); } } /// + /// + /// + [System.Obsolete()] + public Android.Content.Pm.Signature[] signatures { get { return IGetFieldArray("signatures"); } set { ISetField("signatures", value); } } + /// /// /// public Android.Content.Pm.SigningInfo signingInfo { get { return IGetField("signingInfo"); } set { ISetField("signingInfo", value); } } @@ -102,6 +107,11 @@ public partial class PackageInfo /// public int sharedUserLabel { get { return IGetField("sharedUserLabel"); } set { ISetField("sharedUserLabel", value); } } /// + /// + /// + [System.Obsolete()] + public int versionCode { get { return IGetField("versionCode"); } set { ISetField("versionCode", value); } } + /// /// /// public int[] gids { get { return IGetFieldArray("gids"); } set { ISetField("gids", value); } } diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PackageInstaller.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PackageInstaller.cs index 34d3b528b..ff6a1bc4e 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/PackageInstaller.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PackageInstaller.cs @@ -214,6 +214,14 @@ public partial class PackageInstaller #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Content.Pm.PackageInstaller.SessionInfo ActiveStagedSession + { + get { return IExecuteWithSignature("getActiveStagedSession", "()Landroid/content/pm/PackageInstaller$SessionInfo;"); } + } + /// /// /// public Java.Util.List ActiveStagedSessions @@ -985,6 +993,18 @@ public void RequestUserPreapproval(Android.Content.Pm.PackageInstaller.Preapprov IExecute("requestUserPreapproval", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetChecksums(Java.Lang.String arg0, Java.Util.List arg1, byte[] arg2) + { + IExecute("setChecksums", arg0, arg1, arg2); + } + /// /// /// /// @@ -1140,6 +1160,41 @@ public partial class SessionInfo public static int SESSION_VERIFICATION_FAILED { get { if (!_SESSION_VERIFICATION_FAILEDReady) { _SESSION_VERIFICATION_FAILEDContent = SGetField(LocalBridgeClazz, "SESSION_VERIFICATION_FAILED"); _SESSION_VERIFICATION_FAILEDReady = true; } return _SESSION_VERIFICATION_FAILEDContent; } } private static int _SESSION_VERIFICATION_FAILEDContent = default; private static bool _SESSION_VERIFICATION_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STAGED_SESSION_ACTIVATION_FAILED { get { if (!_STAGED_SESSION_ACTIVATION_FAILEDReady) { _STAGED_SESSION_ACTIVATION_FAILEDContent = SGetField(LocalBridgeClazz, "STAGED_SESSION_ACTIVATION_FAILED"); _STAGED_SESSION_ACTIVATION_FAILEDReady = true; } return _STAGED_SESSION_ACTIVATION_FAILEDContent; } } + private static int _STAGED_SESSION_ACTIVATION_FAILEDContent = default; + private static bool _STAGED_SESSION_ACTIVATION_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STAGED_SESSION_CONFLICT { get { if (!_STAGED_SESSION_CONFLICTReady) { _STAGED_SESSION_CONFLICTContent = SGetField(LocalBridgeClazz, "STAGED_SESSION_CONFLICT"); _STAGED_SESSION_CONFLICTReady = true; } return _STAGED_SESSION_CONFLICTContent; } } + private static int _STAGED_SESSION_CONFLICTContent = default; + private static bool _STAGED_SESSION_CONFLICTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STAGED_SESSION_NO_ERROR { get { if (!_STAGED_SESSION_NO_ERRORReady) { _STAGED_SESSION_NO_ERRORContent = SGetField(LocalBridgeClazz, "STAGED_SESSION_NO_ERROR"); _STAGED_SESSION_NO_ERRORReady = true; } return _STAGED_SESSION_NO_ERRORContent; } } + private static int _STAGED_SESSION_NO_ERRORContent = default; + private static bool _STAGED_SESSION_NO_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STAGED_SESSION_UNKNOWN { get { if (!_STAGED_SESSION_UNKNOWNReady) { _STAGED_SESSION_UNKNOWNContent = SGetField(LocalBridgeClazz, "STAGED_SESSION_UNKNOWN"); _STAGED_SESSION_UNKNOWNReady = true; } return _STAGED_SESSION_UNKNOWNContent; } } + private static int _STAGED_SESSION_UNKNOWNContent = default; + private static bool _STAGED_SESSION_UNKNOWNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STAGED_SESSION_VERIFICATION_FAILED { get { if (!_STAGED_SESSION_VERIFICATION_FAILEDReady) { _STAGED_SESSION_VERIFICATION_FAILEDContent = SGetField(LocalBridgeClazz, "STAGED_SESSION_VERIFICATION_FAILED"); _STAGED_SESSION_VERIFICATION_FAILEDReady = true; } return _STAGED_SESSION_VERIFICATION_FAILEDContent; } } + private static int _STAGED_SESSION_VERIFICATION_FAILEDContent = default; + private static bool _STAGED_SESSION_VERIFICATION_FAILEDReady = false; // this is used because in case of generics #endregion @@ -1601,6 +1656,15 @@ public void SetAppPackageName(Java.Lang.String arg0) IExecuteWithSignature("setAppPackageName", "(Ljava/lang/String;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetAutoRevokePermissionsMode(bool arg0) + { + IExecuteWithSignature("setAutoRevokePermissionsMode", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PackageManager.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PackageManager.cs index ec6efb53c..65c9be124 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/PackageManager.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PackageManager.cs @@ -110,12 +110,33 @@ public partial class PackageManager private static int _GET_ACTIVITIESContent = default; private static bool _GET_ACTIVITIESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GET_ATTRIBUTIONS { get { if (!_GET_ATTRIBUTIONSReady) { _GET_ATTRIBUTIONSContent = SGetField(LocalBridgeClazz, "GET_ATTRIBUTIONS"); _GET_ATTRIBUTIONSReady = true; } return _GET_ATTRIBUTIONSContent; } } + private static int _GET_ATTRIBUTIONSContent = default; + private static bool _GET_ATTRIBUTIONSReady = false; // this is used because in case of generics + /// /// /// public static int GET_CONFIGURATIONS { get { if (!_GET_CONFIGURATIONSReady) { _GET_CONFIGURATIONSContent = SGetField(LocalBridgeClazz, "GET_CONFIGURATIONS"); _GET_CONFIGURATIONSReady = true; } return _GET_CONFIGURATIONSContent; } } private static int _GET_CONFIGURATIONSContent = default; private static bool _GET_CONFIGURATIONSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GET_DISABLED_COMPONENTS { get { if (!_GET_DISABLED_COMPONENTSReady) { _GET_DISABLED_COMPONENTSContent = SGetField(LocalBridgeClazz, "GET_DISABLED_COMPONENTS"); _GET_DISABLED_COMPONENTSReady = true; } return _GET_DISABLED_COMPONENTSContent; } } + private static int _GET_DISABLED_COMPONENTSContent = default; + private static bool _GET_DISABLED_COMPONENTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GET_DISABLED_UNTIL_USED_COMPONENTS { get { if (!_GET_DISABLED_UNTIL_USED_COMPONENTSReady) { _GET_DISABLED_UNTIL_USED_COMPONENTSContent = SGetField(LocalBridgeClazz, "GET_DISABLED_UNTIL_USED_COMPONENTS"); _GET_DISABLED_UNTIL_USED_COMPONENTSReady = true; } return _GET_DISABLED_UNTIL_USED_COMPONENTSContent; } } + private static int _GET_DISABLED_UNTIL_USED_COMPONENTSContent = default; + private static bool _GET_DISABLED_UNTIL_USED_COMPONENTSReady = false; // this is used because in case of generics + /// /// /// public static int GET_GIDS { get { if (!_GET_GIDSReady) { _GET_GIDSContent = SGetField(LocalBridgeClazz, "GET_GIDS"); _GET_GIDSReady = true; } return _GET_GIDSContent; } } @@ -128,6 +149,13 @@ public partial class PackageManager private static int _GET_INSTRUMENTATIONContent = default; private static bool _GET_INSTRUMENTATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GET_INTENT_FILTERS { get { if (!_GET_INTENT_FILTERSReady) { _GET_INTENT_FILTERSContent = SGetField(LocalBridgeClazz, "GET_INTENT_FILTERS"); _GET_INTENT_FILTERSReady = true; } return _GET_INTENT_FILTERSContent; } } + private static int _GET_INTENT_FILTERSContent = default; + private static bool _GET_INTENT_FILTERSReady = false; // this is used because in case of generics + /// /// /// public static int GET_META_DATA { get { if (!_GET_META_DATAReady) { _GET_META_DATAContent = SGetField(LocalBridgeClazz, "GET_META_DATA"); _GET_META_DATAReady = true; } return _GET_META_DATAContent; } } @@ -170,12 +198,26 @@ public partial class PackageManager private static int _GET_SHARED_LIBRARY_FILESContent = default; private static bool _GET_SHARED_LIBRARY_FILESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GET_SIGNATURES { get { if (!_GET_SIGNATURESReady) { _GET_SIGNATURESContent = SGetField(LocalBridgeClazz, "GET_SIGNATURES"); _GET_SIGNATURESReady = true; } return _GET_SIGNATURESContent; } } + private static int _GET_SIGNATURESContent = default; + private static bool _GET_SIGNATURESReady = false; // this is used because in case of generics + /// /// /// public static int GET_SIGNING_CERTIFICATES { get { if (!_GET_SIGNING_CERTIFICATESReady) { _GET_SIGNING_CERTIFICATESContent = SGetField(LocalBridgeClazz, "GET_SIGNING_CERTIFICATES"); _GET_SIGNING_CERTIFICATESReady = true; } return _GET_SIGNING_CERTIFICATESContent; } } private static int _GET_SIGNING_CERTIFICATESContent = default; private static bool _GET_SIGNING_CERTIFICATESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GET_UNINSTALLED_PACKAGES { get { if (!_GET_UNINSTALLED_PACKAGESReady) { _GET_UNINSTALLED_PACKAGESContent = SGetField(LocalBridgeClazz, "GET_UNINSTALLED_PACKAGES"); _GET_UNINSTALLED_PACKAGESReady = true; } return _GET_UNINSTALLED_PACKAGESContent; } } + private static int _GET_UNINSTALLED_PACKAGESContent = default; + private static bool _GET_UNINSTALLED_PACKAGESReady = false; // this is used because in case of generics + /// /// /// public static int GET_URI_PERMISSION_PATTERNS { get { if (!_GET_URI_PERMISSION_PATTERNSReady) { _GET_URI_PERMISSION_PATTERNSContent = SGetField(LocalBridgeClazz, "GET_URI_PERMISSION_PATTERNS"); _GET_URI_PERMISSION_PATTERNSReady = true; } return _GET_URI_PERMISSION_PATTERNSContent; } } @@ -524,6 +566,13 @@ public partial class PackageManager private static Java.Lang.String _FEATURE_COMPANION_DEVICE_SETUPContent = default; private static bool _FEATURE_COMPANION_DEVICE_SETUPReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FEATURE_CONNECTION_SERVICE { get { if (!_FEATURE_CONNECTION_SERVICEReady) { _FEATURE_CONNECTION_SERVICEContent = SGetField(LocalBridgeClazz, "FEATURE_CONNECTION_SERVICE"); _FEATURE_CONNECTION_SERVICEReady = true; } return _FEATURE_CONNECTION_SERVICEContent; } } + private static Java.Lang.String _FEATURE_CONNECTION_SERVICEContent = default; + private static bool _FEATURE_CONNECTION_SERVICEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String FEATURE_CONSUMER_IR { get { if (!_FEATURE_CONSUMER_IRReady) { _FEATURE_CONSUMER_IRContent = SGetField(LocalBridgeClazz, "FEATURE_CONSUMER_IR"); _FEATURE_CONSUMER_IRReady = true; } return _FEATURE_CONSUMER_IRContent; } } @@ -1082,6 +1131,13 @@ public partial class PackageManager private static Java.Lang.String _FEATURE_TELEPHONY_SUBSCRIPTIONContent = default; private static bool _FEATURE_TELEPHONY_SUBSCRIPTIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FEATURE_TELEVISION { get { if (!_FEATURE_TELEVISIONReady) { _FEATURE_TELEVISIONContent = SGetField(LocalBridgeClazz, "FEATURE_TELEVISION"); _FEATURE_TELEVISIONReady = true; } return _FEATURE_TELEVISIONContent; } } + private static Java.Lang.String _FEATURE_TELEVISIONContent = default; + private static bool _FEATURE_TELEVISIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String FEATURE_TOUCHSCREEN { get { if (!_FEATURE_TOUCHSCREENReady) { _FEATURE_TOUCHSCREENContent = SGetField(LocalBridgeClazz, "FEATURE_TOUCHSCREEN"); _FEATURE_TOUCHSCREENReady = true; } return _FEATURE_TOUCHSCREENContent; } } @@ -1136,6 +1192,13 @@ public partial class PackageManager private static Java.Lang.String _FEATURE_VR_HEADTRACKINGContent = default; private static bool _FEATURE_VR_HEADTRACKINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FEATURE_VR_MODE { get { if (!_FEATURE_VR_MODEReady) { _FEATURE_VR_MODEContent = SGetField(LocalBridgeClazz, "FEATURE_VR_MODE"); _FEATURE_VR_MODEReady = true; } return _FEATURE_VR_MODEContent; } } + private static Java.Lang.String _FEATURE_VR_MODEContent = default; + private static bool _FEATURE_VR_MODEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String FEATURE_VR_MODE_HIGH_PERFORMANCE { get { if (!_FEATURE_VR_MODE_HIGH_PERFORMANCEReady) { _FEATURE_VR_MODE_HIGH_PERFORMANCEContent = SGetField(LocalBridgeClazz, "FEATURE_VR_MODE_HIGH_PERFORMANCE"); _FEATURE_VR_MODE_HIGH_PERFORMANCEReady = true; } return _FEATURE_VR_MODE_HIGH_PERFORMANCEContent; } } @@ -1829,6 +1892,18 @@ public int GetPackageUid(Java.Lang.String arg0, int arg1) return IExecute("getPackageUid", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetPreferredActivities(Java.Util.List arg0, Java.Util.List arg1, Java.Lang.String arg2) + { + return IExecute("getPreferredActivities", arg0, arg1, arg2); + } + /// /// /// /// @@ -1880,6 +1955,16 @@ public Java.Lang.CharSequence GetUserBadgedLabel(Java.Lang.CharSequence arg0, An return IExecute("getUserBadgedLabel", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetInstallerPackageName(Java.Lang.String arg0) + { + return IExecuteWithSignature("getInstallerPackageName", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -1954,6 +2039,16 @@ public Java.Lang.String[] GetPackagesForUid(int arg0) return IExecute>("getPackagesHoldingPermissions", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetPreferredPackages(int arg0) + { + return IExecuteWithSignature>("getPreferredPackages", "(I)Ljava/util/List;", arg0); + } + /// /// /// /// @@ -2046,6 +2141,27 @@ public Java.Lang.String[] GetPackagesForUid(int arg0) return IExecuteWithSignature>("getSharedLibraries", "(I)Ljava/util/List;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void AddPackageToPreferred(Java.Lang.String arg0) + { + IExecuteWithSignature("addPackageToPreferred", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddPreferredActivity(Android.Content.IntentFilter arg0, int arg1, Android.Content.ComponentName[] arg2, Android.Content.ComponentName arg3) + { + IExecute("addPreferredActivity", arg0, arg1, arg2, arg3); + } + /// /// /// public void ClearInstantAppCookie() @@ -2053,6 +2169,15 @@ public void ClearInstantAppCookie() IExecuteWithSignature("clearInstantAppCookie", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void ClearPackagePreferredActivities(Java.Lang.String arg0) + { + IExecuteWithSignature("clearPackagePreferredActivities", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -2063,6 +2188,15 @@ public void ExtendVerificationTimeout(int arg0, int arg1, long arg2) IExecute("extendVerificationTimeout", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public void RemovePackageFromPreferred(Java.Lang.String arg0) + { + IExecuteWithSignature("removePackageFromPreferred", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PackageStats.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PackageStats.cs new file mode 100644 index 000000000..a7f2a570e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PackageStats.cs @@ -0,0 +1,156 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Content.Pm +{ + #region PackageStats + public partial class PackageStats + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public PackageStats(Android.Content.Pm.PackageStats arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public PackageStats(Android.Os.Parcel arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public PackageStats(Java.Lang.String arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String packageName { get { return IGetField("packageName"); } set { ISetField("packageName", value); } } + /// + /// + /// + [System.Obsolete()] + public long cacheSize { get { return IGetField("cacheSize"); } set { ISetField("cacheSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long codeSize { get { return IGetField("codeSize"); } set { ISetField("codeSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long dataSize { get { return IGetField("dataSize"); } set { ISetField("dataSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long externalCacheSize { get { return IGetField("externalCacheSize"); } set { ISetField("externalCacheSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long externalCodeSize { get { return IGetField("externalCodeSize"); } set { ISetField("externalCodeSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long externalDataSize { get { return IGetField("externalDataSize"); } set { ISetField("externalDataSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long externalMediaSize { get { return IGetField("externalMediaSize"); } set { ISetField("externalMediaSize", value); } } + /// + /// + /// + [System.Obsolete()] + public long externalObbSize { get { return IGetField("externalObbSize"); } set { ISetField("externalObbSize", value); } } + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PermissionGroupInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PermissionGroupInfo.cs index 533ae2465..21b8856b2 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/PermissionGroupInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PermissionGroupInfo.cs @@ -29,6 +29,15 @@ namespace Android.Content.Pm public partial class PermissionGroupInfo { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public PermissionGroupInfo(Android.Content.Pm.PermissionGroupInfo arg0) + : base(arg0) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/PermissionInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/PermissionInfo.cs index cf25cdc27..e322785b3 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/PermissionInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/PermissionInfo.cs @@ -29,6 +29,15 @@ namespace Android.Content.Pm public partial class PermissionInfo { #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public PermissionInfo(Android.Content.Pm.PermissionInfo arg0) + : base(arg0) + { + } #endregion @@ -50,6 +59,11 @@ public partial class PermissionInfo /// public int flags { get { return IGetField("flags"); } set { ISetField("flags", value); } } /// + /// + /// + [System.Obsolete()] + public int protectionLevel { get { return IGetField("protectionLevel"); } set { ISetField("protectionLevel", value); } } + /// /// /// public Java.Lang.CharSequence nonLocalizedDescription { get { return IGetField("nonLocalizedDescription"); } set { ISetField("nonLocalizedDescription", value); } } @@ -154,6 +168,13 @@ public partial class PermissionInfo private static int _PROTECTION_FLAG_SETUPContent = default; private static bool _PROTECTION_FLAG_SETUPReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int PROTECTION_FLAG_SYSTEM { get { if (!_PROTECTION_FLAG_SYSTEMReady) { _PROTECTION_FLAG_SYSTEMContent = SGetField(LocalBridgeClazz, "PROTECTION_FLAG_SYSTEM"); _PROTECTION_FLAG_SYSTEMReady = true; } return _PROTECTION_FLAG_SYSTEMContent; } } + private static int _PROTECTION_FLAG_SYSTEMContent = default; + private static bool _PROTECTION_FLAG_SYSTEMReady = false; // this is used because in case of generics + /// /// /// public static int PROTECTION_FLAG_VERIFIER { get { if (!_PROTECTION_FLAG_VERIFIERReady) { _PROTECTION_FLAG_VERIFIERContent = SGetField(LocalBridgeClazz, "PROTECTION_FLAG_VERIFIER"); _PROTECTION_FLAG_VERIFIERReady = true; } return _PROTECTION_FLAG_VERIFIERContent; } } @@ -166,6 +187,20 @@ public partial class PermissionInfo private static int _PROTECTION_INTERNALContent = default; private static bool _PROTECTION_INTERNALReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int PROTECTION_MASK_BASE { get { if (!_PROTECTION_MASK_BASEReady) { _PROTECTION_MASK_BASEContent = SGetField(LocalBridgeClazz, "PROTECTION_MASK_BASE"); _PROTECTION_MASK_BASEReady = true; } return _PROTECTION_MASK_BASEContent; } } + private static int _PROTECTION_MASK_BASEContent = default; + private static bool _PROTECTION_MASK_BASEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTECTION_MASK_FLAGS { get { if (!_PROTECTION_MASK_FLAGSReady) { _PROTECTION_MASK_FLAGSContent = SGetField(LocalBridgeClazz, "PROTECTION_MASK_FLAGS"); _PROTECTION_MASK_FLAGSReady = true; } return _PROTECTION_MASK_FLAGSContent; } } + private static int _PROTECTION_MASK_FLAGSContent = default; + private static bool _PROTECTION_MASK_FLAGSReady = false; // this is used because in case of generics + /// /// /// public static int PROTECTION_NORMAL { get { if (!_PROTECTION_NORMALReady) { _PROTECTION_NORMALContent = SGetField(LocalBridgeClazz, "PROTECTION_NORMAL"); _PROTECTION_NORMALReady = true; } return _PROTECTION_NORMALContent; } } @@ -177,6 +212,13 @@ public partial class PermissionInfo public static int PROTECTION_SIGNATURE { get { if (!_PROTECTION_SIGNATUREReady) { _PROTECTION_SIGNATUREContent = SGetField(LocalBridgeClazz, "PROTECTION_SIGNATURE"); _PROTECTION_SIGNATUREReady = true; } return _PROTECTION_SIGNATUREContent; } } private static int _PROTECTION_SIGNATUREContent = default; private static bool _PROTECTION_SIGNATUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTECTION_SIGNATURE_OR_SYSTEM { get { if (!_PROTECTION_SIGNATURE_OR_SYSTEMReady) { _PROTECTION_SIGNATURE_OR_SYSTEMContent = SGetField(LocalBridgeClazz, "PROTECTION_SIGNATURE_OR_SYSTEM"); _PROTECTION_SIGNATURE_OR_SYSTEMReady = true; } return _PROTECTION_SIGNATURE_OR_SYSTEMContent; } } + private static int _PROTECTION_SIGNATURE_OR_SYSTEMContent = default; + private static bool _PROTECTION_SIGNATURE_OR_SYSTEMReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/ProviderInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/ProviderInfo.cs index 8587d215c..3369eab9f 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/ProviderInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/ProviderInfo.cs @@ -66,6 +66,11 @@ public ProviderInfo(Android.Content.Pm.ProviderInfo arg0) /// public bool grantUriPermissions { get { return IGetField("grantUriPermissions"); } set { ISetField("grantUriPermissions", value); } } /// + /// + /// + [System.Obsolete()] + public bool isSyncable { get { return IGetField("isSyncable"); } set { ISetField("isSyncable", value); } } + /// /// /// public bool multiprocess { get { return IGetField("multiprocess"); } set { ISetField("multiprocess", value); } } diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/ServiceInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/ServiceInfo.cs index bf758981c..062d38218 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/ServiceInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/ServiceInfo.cs @@ -154,6 +154,13 @@ public ServiceInfo(Android.Content.Pm.ServiceInfo arg0) private static int _FOREGROUND_SERVICE_TYPE_MICROPHONEContent = default; private static bool _FOREGROUND_SERVICE_TYPE_MICROPHONEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FOREGROUND_SERVICE_TYPE_NONE { get { if (!_FOREGROUND_SERVICE_TYPE_NONEReady) { _FOREGROUND_SERVICE_TYPE_NONEContent = SGetField(LocalBridgeClazz, "FOREGROUND_SERVICE_TYPE_NONE"); _FOREGROUND_SERVICE_TYPE_NONEReady = true; } return _FOREGROUND_SERVICE_TYPE_NONEContent; } } + private static int _FOREGROUND_SERVICE_TYPE_NONEContent = default; + private static bool _FOREGROUND_SERVICE_TYPE_NONEReady = false; // this is used because in case of generics + /// /// /// public static int FOREGROUND_SERVICE_TYPE_PHONE_CALL { get { if (!_FOREGROUND_SERVICE_TYPE_PHONE_CALLReady) { _FOREGROUND_SERVICE_TYPE_PHONE_CALLContent = SGetField(LocalBridgeClazz, "FOREGROUND_SERVICE_TYPE_PHONE_CALL"); _FOREGROUND_SERVICE_TYPE_PHONE_CALLReady = true; } return _FOREGROUND_SERVICE_TYPE_PHONE_CALLContent; } } diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/SharedLibraryInfo.cs b/src/net/Netdroid/Generated/Android/Content/Pm/SharedLibraryInfo.cs index 599a96c5f..09a262ede 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/SharedLibraryInfo.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/SharedLibraryInfo.cs @@ -117,6 +117,14 @@ public int Type get { return IExecuteWithSignature("getType", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Version + { + get { return IExecuteWithSignature("getVersion", "()I"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Pm/VersionedPackage.cs b/src/net/Netdroid/Generated/Android/Content/Pm/VersionedPackage.cs index 171c9386d..18bb6e10f 100644 --- a/src/net/Netdroid/Generated/Android/Content/Pm/VersionedPackage.cs +++ b/src/net/Netdroid/Generated/Android/Content/Pm/VersionedPackage.cs @@ -84,6 +84,14 @@ public Java.Lang.String PackageName get { return IExecuteWithSignature("getPackageName", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int VersionCode + { + get { return IExecuteWithSignature("getVersionCode", "()I"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Res/ColorStateList.cs b/src/net/Netdroid/Generated/Android/Content/Res/ColorStateList.cs index 88ad68976..408a4e13e 100644 --- a/src/net/Netdroid/Generated/Android/Content/Res/ColorStateList.cs +++ b/src/net/Netdroid/Generated/Android/Content/Res/ColorStateList.cs @@ -70,6 +70,19 @@ public static Android.Content.Res.ColorStateList CreateFromXml(Android.Content.R return SExecute(LocalBridgeClazz, "createFromXml", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Content.Res.ColorStateList CreateFromXml(Android.Content.Res.Resources arg0, Org.Xmlpull.V1.XmlPullParser arg1) + { + return SExecute(LocalBridgeClazz, "createFromXml", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Res/Configuration.cs b/src/net/Netdroid/Generated/Android/Content/Res/Configuration.cs index 6febd2cbe..b55296288 100644 --- a/src/net/Netdroid/Generated/Android/Content/Res/Configuration.cs +++ b/src/net/Netdroid/Generated/Android/Content/Res/Configuration.cs @@ -126,6 +126,11 @@ public Configuration(Android.Content.Res.Configuration arg0) /// public int uiMode { get { return IGetField("uiMode"); } set { ISetField("uiMode", value); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.Locale locale { get { return IGetField("locale"); } set { ISetField("locale", value); } } + /// /// /// public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } @@ -354,6 +359,13 @@ public Configuration(Android.Content.Res.Configuration arg0) private static int _ORIENTATION_PORTRAITContent = default; private static bool _ORIENTATION_PORTRAITReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int ORIENTATION_SQUARE { get { if (!_ORIENTATION_SQUAREReady) { _ORIENTATION_SQUAREContent = SGetField(LocalBridgeClazz, "ORIENTATION_SQUARE"); _ORIENTATION_SQUAREReady = true; } return _ORIENTATION_SQUAREContent; } } + private static int _ORIENTATION_SQUAREContent = default; + private static bool _ORIENTATION_SQUAREReady = false; // this is used because in case of generics + /// /// /// public static int ORIENTATION_UNDEFINED { get { if (!_ORIENTATION_UNDEFINEDReady) { _ORIENTATION_UNDEFINEDContent = SGetField(LocalBridgeClazz, "ORIENTATION_UNDEFINED"); _ORIENTATION_UNDEFINEDReady = true; } return _ORIENTATION_UNDEFINEDContent; } } @@ -510,6 +522,13 @@ public Configuration(Android.Content.Res.Configuration arg0) private static int _TOUCHSCREEN_NOTOUCHContent = default; private static bool _TOUCHSCREEN_NOTOUCHReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TOUCHSCREEN_STYLUS { get { if (!_TOUCHSCREEN_STYLUSReady) { _TOUCHSCREEN_STYLUSContent = SGetField(LocalBridgeClazz, "TOUCHSCREEN_STYLUS"); _TOUCHSCREEN_STYLUSReady = true; } return _TOUCHSCREEN_STYLUSContent; } } + private static int _TOUCHSCREEN_STYLUSContent = default; + private static bool _TOUCHSCREEN_STYLUSReady = false; // this is used because in case of generics + /// /// /// public static int TOUCHSCREEN_UNDEFINED { get { if (!_TOUCHSCREEN_UNDEFINEDReady) { _TOUCHSCREEN_UNDEFINEDContent = SGetField(LocalBridgeClazz, "TOUCHSCREEN_UNDEFINED"); _TOUCHSCREEN_UNDEFINEDReady = true; } return _TOUCHSCREEN_UNDEFINEDContent; } } diff --git a/src/net/Netdroid/Generated/Android/Content/Res/Resources.cs b/src/net/Netdroid/Generated/Android/Content/Res/Resources.cs index 0cc75175d..c3de45079 100644 --- a/src/net/Netdroid/Generated/Android/Content/Res/Resources.cs +++ b/src/net/Netdroid/Generated/Android/Content/Res/Resources.cs @@ -29,6 +29,17 @@ namespace Android.Content.Res public partial class Resources { #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Resources(Android.Content.Res.AssetManager arg0, Android.Util.DisplayMetrics arg1, Android.Content.Res.Configuration arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -110,6 +121,17 @@ public Android.Content.Res.ColorStateList GetColorStateList(int arg0, Android.Co return IExecute("getColorStateList", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Res.ColorStateList GetColorStateList(int arg0) + { + return IExecuteWithSignature("getColorStateList", "(I)Landroid/content/res/ColorStateList;", arg0); + } + /// /// /// /// @@ -171,6 +193,17 @@ public Android.Graphics.Drawable.Drawable GetDrawable(int arg0, Android.Content. return IExecute("getDrawable", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable GetDrawable(int arg0) + { + return IExecuteWithSignature("getDrawable", "(I)Landroid/graphics/drawable/Drawable;", arg0); + } + /// /// /// /// @@ -182,6 +215,29 @@ public Android.Graphics.Drawable.Drawable GetDrawableForDensity(int arg0, int ar return IExecute("getDrawableForDensity", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable GetDrawableForDensity(int arg0, int arg1) + { + return IExecute("getDrawableForDensity", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Movie GetMovie(int arg0) + { + return IExecuteWithSignature("getMovie", "(I)Landroid/graphics/Movie;", arg0); + } + /// /// /// /// @@ -265,6 +321,17 @@ public int GetColor(int arg0, Android.Content.Res.Resources.Theme arg1) return IExecute("getColor", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetColor(int arg0) + { + return IExecuteWithSignature("getColor", "(I)I", arg0); + } + /// /// /// /// @@ -498,6 +565,16 @@ public void RemoveLoaders(params Android.Content.Res.Loader.ResourcesLoader[] ar { if (arg0.Length == 0) IExecuteWithSignature("removeLoaders", "([Landroid/content/res/loader/ResourcesLoader;)V"); else IExecuteWithSignature("removeLoaders", "([Landroid/content/res/loader/ResourcesLoader;)V", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void UpdateConfiguration(Android.Content.Res.Configuration arg0, Android.Util.DisplayMetrics arg1) + { + IExecute("updateConfiguration", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Database/AbstractWindowedCursor.cs b/src/net/Netdroid/Generated/Android/Database/AbstractWindowedCursor.cs index 2a6a2356b..d97b4985f 100644 --- a/src/net/Netdroid/Generated/Android/Database/AbstractWindowedCursor.cs +++ b/src/net/Netdroid/Generated/Android/Database/AbstractWindowedCursor.cs @@ -54,6 +54,46 @@ public bool HasWindow() return IExecuteWithSignature("hasWindow", "()Z"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsBlob(int arg0) + { + return IExecuteWithSignature("isBlob", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsFloat(int arg0) + { + return IExecuteWithSignature("isFloat", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsLong(int arg0) + { + return IExecuteWithSignature("isLong", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsString(int arg0) + { + return IExecuteWithSignature("isString", "(I)Z", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Database/AllPackageClasses.cs index 1aa60fede..d040c9980 100644 --- a/src/net/Netdroid/Generated/Android/Database/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Database/AllPackageClasses.cs @@ -684,7 +684,52 @@ public DatabaseUtils(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class + #region InsertHelper + /// + /// + /// + [System.Obsolete()] + public partial class InsertHelper : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.database.DatabaseUtils$InsertHelper"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public InsertHelper() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public InsertHelper(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + } + #endregion + + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Database/ContentObservable.cs b/src/net/Netdroid/Generated/Android/Database/ContentObservable.cs index aca1042b4..5ab704628 100644 --- a/src/net/Netdroid/Generated/Android/Database/ContentObservable.cs +++ b/src/net/Netdroid/Generated/Android/Database/ContentObservable.cs @@ -55,6 +55,24 @@ public void DispatchChange(bool arg0, Android.Net.Uri arg1) IExecute("dispatchChange", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void DispatchChange(bool arg0) + { + IExecuteWithSignature("dispatchChange", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void NotifyChange(bool arg0) + { + IExecuteWithSignature("notifyChange", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/ContentObserver.cs b/src/net/Netdroid/Generated/Android/Database/ContentObserver.cs index cc90a1fc3..a64ac5d41 100644 --- a/src/net/Netdroid/Generated/Android/Database/ContentObserver.cs +++ b/src/net/Netdroid/Generated/Android/Database/ContentObserver.cs @@ -91,6 +91,15 @@ public void DispatchChange(bool arg0, Java.Util.Collection arg1 IExecute("dispatchChange", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public void DispatchChange(bool arg0) + { + IExecuteWithSignature("dispatchChange", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/Cursor.cs b/src/net/Netdroid/Generated/Android/Database/Cursor.cs index b6c164372..eebf5b51e 100644 --- a/src/net/Netdroid/Generated/Android/Database/Cursor.cs +++ b/src/net/Netdroid/Generated/Android/Database/Cursor.cs @@ -258,6 +258,15 @@ public bool MoveToPrevious() return IExecuteWithSignature("moveToPrevious", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool Requery() + { + return IExecuteWithSignature("requery", "()Z"); + } + /// /// /// /// @@ -374,6 +383,14 @@ public void CopyStringToBuffer(int arg0, Android.Database.CharArrayBuffer arg1) IExecute("copyStringToBuffer", arg0, arg1); } /// + /// + /// + [System.Obsolete()] + public void Deactivate() + { + IExecuteWithSignature("deactivate", "()V"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/CursorWindow.cs b/src/net/Netdroid/Generated/Android/Database/CursorWindow.cs index 412ef2ffa..2741a18cc 100644 --- a/src/net/Netdroid/Generated/Android/Database/CursorWindow.cs +++ b/src/net/Netdroid/Generated/Android/Database/CursorWindow.cs @@ -30,6 +30,15 @@ public partial class CursorWindow { #region Constructors /// + /// + /// + /// + [System.Obsolete()] + public CursorWindow(bool arg0) + : base(arg0) + { + } + /// /// /// /// @@ -104,6 +113,61 @@ public bool AllocRow() return IExecuteWithSignature("allocRow", "()Z"); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsBlob(int arg0, int arg1) + { + return IExecute("isBlob", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsFloat(int arg0, int arg1) + { + return IExecute("isFloat", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsLong(int arg0, int arg1) + { + return IExecute("isLong", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsNull(int arg0, int arg1) + { + return IExecute("isNull", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsString(int arg0, int arg1) + { + return IExecute("isString", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/CursorWrapper.cs b/src/net/Netdroid/Generated/Android/Database/CursorWrapper.cs index 846ccc9d5..fc19f8043 100644 --- a/src/net/Netdroid/Generated/Android/Database/CursorWrapper.cs +++ b/src/net/Netdroid/Generated/Android/Database/CursorWrapper.cs @@ -225,6 +225,15 @@ public bool MoveToPrevious() return IExecuteWithSignature("moveToPrevious", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool Requery() + { + return IExecuteWithSignature("requery", "()Z"); + } + /// /// /// /// @@ -341,6 +350,14 @@ public void CopyStringToBuffer(int arg0, Android.Database.CharArrayBuffer arg1) IExecute("copyStringToBuffer", arg0, arg1); } /// + /// + /// + [System.Obsolete()] + public void Deactivate() + { + IExecuteWithSignature("deactivate", "()V"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/DatabaseUtils.cs b/src/net/Netdroid/Generated/Android/Database/DatabaseUtils.cs index 2f7039d9a..774eef3ab 100644 --- a/src/net/Netdroid/Generated/Android/Database/DatabaseUtils.cs +++ b/src/net/Netdroid/Generated/Android/Database/DatabaseUtils.cs @@ -481,6 +481,17 @@ public static void CursorStringToContentValuesIfPresent(Android.Database.Cursor SExecute(LocalBridgeClazz, "cursorStringToContentValuesIfPresent", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + public static void CursorStringToInsertHelper(Android.Database.Cursor arg0, Java.Lang.String arg1, Android.Database.DatabaseUtils.InsertHelper arg2, int arg3) + { + SExecute(LocalBridgeClazz, "cursorStringToInsertHelper", arg0, arg1, arg2, arg3); + } + /// /// /// /// @@ -558,7 +569,190 @@ public static void ReadExceptionWithOperationApplicationExceptionFromParcel(Andr #endregion #region Nested classes + #region InsertHelper + public partial class InsertHelper + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public InsertHelper(Android.Database.Sqlite.SQLiteDatabase arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetColumnIndex(Java.Lang.String arg0) + { + return IExecuteWithSignature("getColumnIndex", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public long Execute() + { + return IExecuteWithSignature("execute", "()J"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public long Insert(Android.Content.ContentValues arg0) + { + return IExecuteWithSignature("insert", "(Landroid/content/ContentValues;)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public long Replace(Android.Content.ContentValues arg0) + { + return IExecuteWithSignature("replace", "(Landroid/content/ContentValues;)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, bool arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, byte[] arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, double arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, float arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, int arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, Java.Lang.String arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(int arg0, long arg1) + { + IExecute("bind", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void BindNull(int arg0) + { + IExecuteWithSignature("bindNull", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Close() + { + IExecuteWithSignature("close", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void PrepareForInsert() + { + IExecuteWithSignature("prepareForInsert", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void PrepareForReplace() + { + IExecuteWithSignature("prepareForReplace", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion // TODO: complete the class diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteClosable.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteClosable.cs index 563e6d71d..b9e073941 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteClosable.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteClosable.cs @@ -66,6 +66,14 @@ public void ReleaseReference() { IExecuteWithSignature("releaseReference", "()V"); } + /// + /// + /// + [System.Obsolete()] + public void ReleaseReferenceFromContainer() + { + IExecuteWithSignature("releaseReferenceFromContainer", "()V"); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteCursor.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteCursor.cs index 9054502e3..b6d922df4 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteCursor.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteCursor.cs @@ -39,6 +39,18 @@ public SQLiteCursor(Android.Database.Sqlite.SQLiteCursorDriver arg0, Java.Lang.S : base(arg0, arg1, arg2) { } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SQLiteCursor(Android.Database.Sqlite.SQLiteDatabase arg0, Android.Database.Sqlite.SQLiteCursorDriver arg1, Java.Lang.String arg2, Android.Database.Sqlite.SQLiteQuery arg3) + : base(arg0, arg1, arg2, arg3) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteDatabase.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteDatabase.cs index e2e39e8c9..e4df05cb2 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteDatabase.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteDatabase.cs @@ -320,6 +320,14 @@ public Java.Lang.String Path get { return IExecuteWithSignature("getPath", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.Map SyncedTables + { + get { return IExecuteWithSignature>("getSyncedTables", "()Ljava/util/Map;"); } + } + /// /// /// public int Version @@ -518,6 +526,15 @@ public bool IsDbLockedByCurrentThread() return IExecuteWithSignature("isDbLockedByCurrentThread", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsDbLockedByOtherThreads() + { + return IExecuteWithSignature("isDbLockedByOtherThreads", "()Z"); + } + /// /// /// /// @@ -551,6 +568,15 @@ public bool NeedUpgrade(int arg0) return IExecuteWithSignature("needUpgrade", "(I)Z", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool YieldIfContended() + { + return IExecuteWithSignature("yieldIfContended", "()Z"); + } + /// /// /// /// @@ -744,6 +770,27 @@ public void ExecSQL(Java.Lang.String arg0) IExecuteWithSignature("execSQL", "(Ljava/lang/String;)V", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void MarkTableSyncable(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + IExecute("markTableSyncable", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void MarkTableSyncable(Java.Lang.String arg0, Java.Lang.String arg1) + { + IExecute("markTableSyncable", arg0, arg1); + } + /// /// /// /// @@ -780,6 +827,15 @@ public void SetLocale(Java.Util.Locale arg0) IExecuteWithSignature("setLocale", "(Ljava/util/Locale;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetLockingEnabled(bool arg0) + { + IExecuteWithSignature("setLockingEnabled", "(Z)V", arg0); + } + /// /// /// /// @@ -1003,6 +1059,16 @@ public Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder SetErrorHandler return IExecuteWithSignature("setErrorHandler", "(Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder SetIdleConnectionTimeout(long arg0) + { + return IExecuteWithSignature("setIdleConnectionTimeout", "(J)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteOpenHelper.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteOpenHelper.cs index cb54e0804..fdb0ec785 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteOpenHelper.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteOpenHelper.cs @@ -152,6 +152,15 @@ public void OnOpen(Android.Database.Sqlite.SQLiteDatabase arg0) IExecuteWithSignature("onOpen", "(Landroid/database/sqlite/SQLiteDatabase;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetIdleConnectionTimeout(long arg0) + { + IExecuteWithSignature("setIdleConnectionTimeout", "(J)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteProgram.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteProgram.cs index 032458bc4..62e55c836 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteProgram.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteProgram.cs @@ -46,6 +46,14 @@ public partial class SQLiteProgram #region Instance methods /// + /// + /// + [System.Obsolete()] + public int UniqueId + { + get { return IExecuteWithSignature("getUniqueId", "()I"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteQueryBuilder.cs b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteQueryBuilder.cs index 4408ad4be..45b964a8d 100644 --- a/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteQueryBuilder.cs +++ b/src/net/Netdroid/Generated/Android/Database/Sqlite/SQLiteQueryBuilder.cs @@ -216,6 +216,22 @@ public Java.Lang.String BuildQuery(Java.Lang.String[] arg0, Java.Lang.String arg return IExecute("buildQuery", arg0, arg1, arg2, arg3, arg4, arg5); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String BuildQuery(Java.Lang.String[] arg0, Java.Lang.String arg1, Java.Lang.String[] arg2, Java.Lang.String arg3, Java.Lang.String arg4, Java.Lang.String arg5, Java.Lang.String arg6) + { + return IExecute("buildQuery", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// /// /// /// @@ -243,6 +259,24 @@ public Java.Lang.String BuildUnionSubQuery(Java.Lang.String arg0, Java.Lang.Stri return IExecute("buildUnionSubQuery", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String BuildUnionSubQuery(Java.Lang.String arg0, Java.Lang.String[] arg1, Java.Util.Set arg2, int arg3, Java.Lang.String arg4, Java.Lang.String arg5, Java.Lang.String[] arg6, Java.Lang.String arg7, Java.Lang.String arg8) + { + return IExecute("buildUnionSubQuery", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Drm/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Drm/AllPackageClasses.cs index def979116..19a1e7a4d 100644 --- a/src/net/Netdroid/Generated/Android/Drm/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Drm/AllPackageClasses.cs @@ -26,6 +26,1043 @@ namespace Android.Drm { + #region DrmConvertedStatus + /// + /// + /// + [System.Obsolete()] + public partial class DrmConvertedStatus : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmConvertedStatus"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmConvertedStatus() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmConvertedStatus(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmErrorEvent + /// + /// + /// + [System.Obsolete()] + public partial class DrmErrorEvent : Android.Drm.DrmEvent + { + const string _bridgeClassName = "android.drm.DrmErrorEvent"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmErrorEvent() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmErrorEvent(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmEvent + /// + /// + /// + [System.Obsolete()] + public partial class DrmEvent : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmEvent"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmEvent() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmEvent(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmInfo + /// + /// + /// + [System.Obsolete()] + public partial class DrmInfo : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmInfo"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmInfo() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmInfoEvent + /// + /// + /// + [System.Obsolete()] + public partial class DrmInfoEvent : Android.Drm.DrmEvent + { + const string _bridgeClassName = "android.drm.DrmInfoEvent"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmInfoEvent() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmInfoEvent(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmInfoRequest + /// + /// + /// + [System.Obsolete()] + public partial class DrmInfoRequest : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmInfoRequest"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmInfoRequest() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmInfoRequest(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmInfoStatus + /// + /// + /// + [System.Obsolete()] + public partial class DrmInfoStatus : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmInfoStatus"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmInfoStatus() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmInfoStatus(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmManagerClient + /// + /// + /// + [System.Obsolete()] + public partial class DrmManagerClient : Java.Lang.AutoCloseable + { + const string _bridgeClassName = "android.drm.DrmManagerClient"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmManagerClient() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmManagerClient(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region OnErrorListener + /// + /// + /// + [System.Obsolete()] + public partial class OnErrorListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnErrorListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.drm.OnErrorListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnErrorListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnErrorListenerDirect : OnErrorListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.drm.DrmManagerClient$OnErrorListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnEventListener + /// + /// + /// + [System.Obsolete()] + public partial class OnEventListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnEventListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.drm.OnEventListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnEventListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnEventListenerDirect : OnEventListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.drm.DrmManagerClient$OnEventListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnInfoListener + /// + /// + /// + [System.Obsolete()] + public partial class OnInfoListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnInfoListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.drm.OnInfoListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnInfoListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnInfoListenerDirect : OnInfoListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.drm.DrmManagerClient$OnInfoListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region DrmRights + /// + /// + /// + [System.Obsolete()] + public partial class DrmRights : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmRights"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmRights() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmRights(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmStore + /// + /// + /// + [System.Obsolete()] + public partial class DrmStore : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmStore() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmStore(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Action + /// + /// + /// + [System.Obsolete()] + public partial class Action : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore$Action"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Action() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Action(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ConstraintsColumns + /// + /// + /// + [System.Obsolete()] + public partial class ConstraintsColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore$ConstraintsColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ConstraintsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ConstraintsColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ConstraintsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ConstraintsColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region DrmObjectType + /// + /// + /// + [System.Obsolete()] + public partial class DrmObjectType : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore$DrmObjectType"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmObjectType() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmObjectType(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Playback + /// + /// + /// + [System.Obsolete()] + public partial class Playback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore$Playback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Playback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Playback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region RightsStatus + /// + /// + /// + [System.Obsolete()] + public partial class RightsStatus : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmStore$RightsStatus"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RightsStatus() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RightsStatus(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region DrmSupportInfo + /// + /// + /// + [System.Obsolete()] + public partial class DrmSupportInfo : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmSupportInfo"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmSupportInfo() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmSupportInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DrmUtils + /// + /// + /// + [System.Obsolete()] + public partial class DrmUtils : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmUtils"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DrmUtils() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DrmUtils(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region ExtendedMetadataParser + /// + /// + /// + [System.Obsolete()] + public partial class ExtendedMetadataParser : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.DrmUtils$ExtendedMetadataParser"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ExtendedMetadataParser() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ExtendedMetadataParser(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region ProcessedData + /// + /// + /// + [System.Obsolete()] + public partial class ProcessedData : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.drm.ProcessedData"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ProcessedData() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ProcessedData(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmConvertedStatus.cs b/src/net/Netdroid/Generated/Android/Drm/DrmConvertedStatus.cs new file mode 100644 index 000000000..6bf5023c2 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmConvertedStatus.cs @@ -0,0 +1,111 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmConvertedStatus + public partial class DrmConvertedStatus + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmConvertedStatus(int arg0, byte[] arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public byte[] convertedData { get { if (!_convertedDataReady) { _convertedDataContent = IGetFieldArray("convertedData"); _convertedDataReady = true; } return _convertedDataContent; } } + private byte[] _convertedDataContent = default; + private bool _convertedDataReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public int offset { get { if (!_offsetReady) { _offsetContent = IGetField("offset"); _offsetReady = true; } return _offsetContent; } } + private int _offsetContent = default; + private bool _offsetReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public int statusCode { get { if (!_statusCodeReady) { _statusCodeContent = IGetField("statusCode"); _statusCodeReady = true; } return _statusCodeContent; } } + private int _statusCodeContent = default; + private bool _statusCodeReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ERROR { get { if (!_STATUS_ERRORReady) { _STATUS_ERRORContent = SGetField(LocalBridgeClazz, "STATUS_ERROR"); _STATUS_ERRORReady = true; } return _STATUS_ERRORContent; } } + private static int _STATUS_ERRORContent = default; + private static bool _STATUS_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_INPUTDATA_ERROR { get { if (!_STATUS_INPUTDATA_ERRORReady) { _STATUS_INPUTDATA_ERRORContent = SGetField(LocalBridgeClazz, "STATUS_INPUTDATA_ERROR"); _STATUS_INPUTDATA_ERRORReady = true; } return _STATUS_INPUTDATA_ERRORContent; } } + private static int _STATUS_INPUTDATA_ERRORContent = default; + private static bool _STATUS_INPUTDATA_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_OK { get { if (!_STATUS_OKReady) { _STATUS_OKContent = SGetField(LocalBridgeClazz, "STATUS_OK"); _STATUS_OKReady = true; } return _STATUS_OKContent; } } + private static int _STATUS_OKContent = default; + private static bool _STATUS_OKReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmErrorEvent.cs b/src/net/Netdroid/Generated/Android/Drm/DrmErrorEvent.cs new file mode 100644 index 000000000..a4647624e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmErrorEvent.cs @@ -0,0 +1,137 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmErrorEvent + public partial class DrmErrorEvent + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmErrorEvent(int arg0, int arg1, Java.Lang.String arg2, Java.Util.HashMap arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmErrorEvent(int arg0, int arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_ACQUIRE_DRM_INFO_FAILED { get { if (!_TYPE_ACQUIRE_DRM_INFO_FAILEDReady) { _TYPE_ACQUIRE_DRM_INFO_FAILEDContent = SGetField(LocalBridgeClazz, "TYPE_ACQUIRE_DRM_INFO_FAILED"); _TYPE_ACQUIRE_DRM_INFO_FAILEDReady = true; } return _TYPE_ACQUIRE_DRM_INFO_FAILEDContent; } } + private static int _TYPE_ACQUIRE_DRM_INFO_FAILEDContent = default; + private static bool _TYPE_ACQUIRE_DRM_INFO_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_NO_INTERNET_CONNECTION { get { if (!_TYPE_NO_INTERNET_CONNECTIONReady) { _TYPE_NO_INTERNET_CONNECTIONContent = SGetField(LocalBridgeClazz, "TYPE_NO_INTERNET_CONNECTION"); _TYPE_NO_INTERNET_CONNECTIONReady = true; } return _TYPE_NO_INTERNET_CONNECTIONContent; } } + private static int _TYPE_NO_INTERNET_CONNECTIONContent = default; + private static bool _TYPE_NO_INTERNET_CONNECTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_NOT_SUPPORTED { get { if (!_TYPE_NOT_SUPPORTEDReady) { _TYPE_NOT_SUPPORTEDContent = SGetField(LocalBridgeClazz, "TYPE_NOT_SUPPORTED"); _TYPE_NOT_SUPPORTEDReady = true; } return _TYPE_NOT_SUPPORTEDContent; } } + private static int _TYPE_NOT_SUPPORTEDContent = default; + private static bool _TYPE_NOT_SUPPORTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_OUT_OF_MEMORY { get { if (!_TYPE_OUT_OF_MEMORYReady) { _TYPE_OUT_OF_MEMORYContent = SGetField(LocalBridgeClazz, "TYPE_OUT_OF_MEMORY"); _TYPE_OUT_OF_MEMORYReady = true; } return _TYPE_OUT_OF_MEMORYContent; } } + private static int _TYPE_OUT_OF_MEMORYContent = default; + private static bool _TYPE_OUT_OF_MEMORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_PROCESS_DRM_INFO_FAILED { get { if (!_TYPE_PROCESS_DRM_INFO_FAILEDReady) { _TYPE_PROCESS_DRM_INFO_FAILEDContent = SGetField(LocalBridgeClazz, "TYPE_PROCESS_DRM_INFO_FAILED"); _TYPE_PROCESS_DRM_INFO_FAILEDReady = true; } return _TYPE_PROCESS_DRM_INFO_FAILEDContent; } } + private static int _TYPE_PROCESS_DRM_INFO_FAILEDContent = default; + private static bool _TYPE_PROCESS_DRM_INFO_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_REMOVE_ALL_RIGHTS_FAILED { get { if (!_TYPE_REMOVE_ALL_RIGHTS_FAILEDReady) { _TYPE_REMOVE_ALL_RIGHTS_FAILEDContent = SGetField(LocalBridgeClazz, "TYPE_REMOVE_ALL_RIGHTS_FAILED"); _TYPE_REMOVE_ALL_RIGHTS_FAILEDReady = true; } return _TYPE_REMOVE_ALL_RIGHTS_FAILEDContent; } } + private static int _TYPE_REMOVE_ALL_RIGHTS_FAILEDContent = default; + private static bool _TYPE_REMOVE_ALL_RIGHTS_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_NOT_INSTALLED { get { if (!_TYPE_RIGHTS_NOT_INSTALLEDReady) { _TYPE_RIGHTS_NOT_INSTALLEDContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_NOT_INSTALLED"); _TYPE_RIGHTS_NOT_INSTALLEDReady = true; } return _TYPE_RIGHTS_NOT_INSTALLEDContent; } } + private static int _TYPE_RIGHTS_NOT_INSTALLEDContent = default; + private static bool _TYPE_RIGHTS_NOT_INSTALLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_RENEWAL_NOT_ALLOWED { get { if (!_TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDReady) { _TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_RENEWAL_NOT_ALLOWED"); _TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDReady = true; } return _TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDContent; } } + private static int _TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDContent = default; + private static bool _TYPE_RIGHTS_RENEWAL_NOT_ALLOWEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmEvent.cs b/src/net/Netdroid/Generated/Android/Drm/DrmEvent.cs new file mode 100644 index 000000000..a86fc071d --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmEvent.cs @@ -0,0 +1,120 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmEvent + public partial class DrmEvent + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_ALL_RIGHTS_REMOVED { get { if (!_TYPE_ALL_RIGHTS_REMOVEDReady) { _TYPE_ALL_RIGHTS_REMOVEDContent = SGetField(LocalBridgeClazz, "TYPE_ALL_RIGHTS_REMOVED"); _TYPE_ALL_RIGHTS_REMOVEDReady = true; } return _TYPE_ALL_RIGHTS_REMOVEDContent; } } + private static int _TYPE_ALL_RIGHTS_REMOVEDContent = default; + private static bool _TYPE_ALL_RIGHTS_REMOVEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_DRM_INFO_PROCESSED { get { if (!_TYPE_DRM_INFO_PROCESSEDReady) { _TYPE_DRM_INFO_PROCESSEDContent = SGetField(LocalBridgeClazz, "TYPE_DRM_INFO_PROCESSED"); _TYPE_DRM_INFO_PROCESSEDReady = true; } return _TYPE_DRM_INFO_PROCESSEDContent; } } + private static int _TYPE_DRM_INFO_PROCESSEDContent = default; + private static bool _TYPE_DRM_INFO_PROCESSEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DRM_INFO_OBJECT { get { if (!_DRM_INFO_OBJECTReady) { _DRM_INFO_OBJECTContent = SGetField(LocalBridgeClazz, "DRM_INFO_OBJECT"); _DRM_INFO_OBJECTReady = true; } return _DRM_INFO_OBJECTContent; } } + private static Java.Lang.String _DRM_INFO_OBJECTContent = default; + private static bool _DRM_INFO_OBJECTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DRM_INFO_STATUS_OBJECT { get { if (!_DRM_INFO_STATUS_OBJECTReady) { _DRM_INFO_STATUS_OBJECTContent = SGetField(LocalBridgeClazz, "DRM_INFO_STATUS_OBJECT"); _DRM_INFO_STATUS_OBJECTReady = true; } return _DRM_INFO_STATUS_OBJECTContent; } } + private static Java.Lang.String _DRM_INFO_STATUS_OBJECTContent = default; + private static bool _DRM_INFO_STATUS_OBJECTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Message + { + get { return IExecuteWithSignature("getMessage", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Type + { + get { return IExecuteWithSignature("getType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int UniqueId + { + get { return IExecuteWithSignature("getUniqueId", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public object GetAttribute(Java.Lang.String arg0) + { + return IExecuteWithSignature("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmInfo.cs b/src/net/Netdroid/Generated/Android/Drm/DrmInfo.cs new file mode 100644 index 000000000..1664f7a25 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmInfo.cs @@ -0,0 +1,142 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmInfo + public partial class DrmInfo + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfo(int arg0, byte[] arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfo(int arg0, Java.Lang.String arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public byte[] Data + { + get { return IExecuteWithSignatureArray("getData", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public int InfoType + { + get { return IExecuteWithSignature("getInfoType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String MimeType + { + get { return IExecuteWithSignature("getMimeType", "()Ljava/lang/String;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public object Get(Java.Lang.String arg0) + { + return IExecuteWithSignature("get", "(Ljava/lang/String;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator Iterator() + { + return IExecuteWithSignature>("iterator", "()Ljava/util/Iterator;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator KeyIterator() + { + return IExecuteWithSignature>("keyIterator", "()Ljava/util/Iterator;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Put(Java.Lang.String arg0, object arg1) + { + IExecute("put", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmInfoEvent.cs b/src/net/Netdroid/Generated/Android/Drm/DrmInfoEvent.cs new file mode 100644 index 000000000..bc755e86c --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmInfoEvent.cs @@ -0,0 +1,123 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmInfoEvent + public partial class DrmInfoEvent + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfoEvent(int arg0, int arg1, Java.Lang.String arg2, Java.Util.HashMap arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfoEvent(int arg0, int arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_ACCOUNT_ALREADY_REGISTERED { get { if (!_TYPE_ACCOUNT_ALREADY_REGISTEREDReady) { _TYPE_ACCOUNT_ALREADY_REGISTEREDContent = SGetField(LocalBridgeClazz, "TYPE_ACCOUNT_ALREADY_REGISTERED"); _TYPE_ACCOUNT_ALREADY_REGISTEREDReady = true; } return _TYPE_ACCOUNT_ALREADY_REGISTEREDContent; } } + private static int _TYPE_ACCOUNT_ALREADY_REGISTEREDContent = default; + private static bool _TYPE_ACCOUNT_ALREADY_REGISTEREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT { get { if (!_TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTReady) { _TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTContent = SGetField(LocalBridgeClazz, "TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT"); _TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTReady = true; } return _TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTContent; } } + private static int _TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTContent = default; + private static bool _TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_REMOVE_RIGHTS { get { if (!_TYPE_REMOVE_RIGHTSReady) { _TYPE_REMOVE_RIGHTSContent = SGetField(LocalBridgeClazz, "TYPE_REMOVE_RIGHTS"); _TYPE_REMOVE_RIGHTSReady = true; } return _TYPE_REMOVE_RIGHTSContent; } } + private static int _TYPE_REMOVE_RIGHTSContent = default; + private static bool _TYPE_REMOVE_RIGHTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_INSTALLED { get { if (!_TYPE_RIGHTS_INSTALLEDReady) { _TYPE_RIGHTS_INSTALLEDContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_INSTALLED"); _TYPE_RIGHTS_INSTALLEDReady = true; } return _TYPE_RIGHTS_INSTALLEDContent; } } + private static int _TYPE_RIGHTS_INSTALLEDContent = default; + private static bool _TYPE_RIGHTS_INSTALLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_REMOVED { get { if (!_TYPE_RIGHTS_REMOVEDReady) { _TYPE_RIGHTS_REMOVEDContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_REMOVED"); _TYPE_RIGHTS_REMOVEDReady = true; } return _TYPE_RIGHTS_REMOVEDContent; } } + private static int _TYPE_RIGHTS_REMOVEDContent = default; + private static bool _TYPE_RIGHTS_REMOVEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WAIT_FOR_RIGHTS { get { if (!_TYPE_WAIT_FOR_RIGHTSReady) { _TYPE_WAIT_FOR_RIGHTSContent = SGetField(LocalBridgeClazz, "TYPE_WAIT_FOR_RIGHTS"); _TYPE_WAIT_FOR_RIGHTSReady = true; } return _TYPE_WAIT_FOR_RIGHTSContent; } } + private static int _TYPE_WAIT_FOR_RIGHTSContent = default; + private static bool _TYPE_WAIT_FOR_RIGHTSReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmInfoRequest.cs b/src/net/Netdroid/Generated/Android/Drm/DrmInfoRequest.cs new file mode 100644 index 000000000..46bc5bb85 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmInfoRequest.cs @@ -0,0 +1,164 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmInfoRequest + public partial class DrmInfoRequest + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfoRequest(int arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_REGISTRATION_INFO { get { if (!_TYPE_REGISTRATION_INFOReady) { _TYPE_REGISTRATION_INFOContent = SGetField(LocalBridgeClazz, "TYPE_REGISTRATION_INFO"); _TYPE_REGISTRATION_INFOReady = true; } return _TYPE_REGISTRATION_INFOContent; } } + private static int _TYPE_REGISTRATION_INFOContent = default; + private static bool _TYPE_REGISTRATION_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_ACQUISITION_INFO { get { if (!_TYPE_RIGHTS_ACQUISITION_INFOReady) { _TYPE_RIGHTS_ACQUISITION_INFOContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_ACQUISITION_INFO"); _TYPE_RIGHTS_ACQUISITION_INFOReady = true; } return _TYPE_RIGHTS_ACQUISITION_INFOContent; } } + private static int _TYPE_RIGHTS_ACQUISITION_INFOContent = default; + private static bool _TYPE_RIGHTS_ACQUISITION_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO { get { if (!_TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOReady) { _TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOContent = SGetField(LocalBridgeClazz, "TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO"); _TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOReady = true; } return _TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOContent; } } + private static int _TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOContent = default; + private static bool _TYPE_RIGHTS_ACQUISITION_PROGRESS_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_UNREGISTRATION_INFO { get { if (!_TYPE_UNREGISTRATION_INFOReady) { _TYPE_UNREGISTRATION_INFOContent = SGetField(LocalBridgeClazz, "TYPE_UNREGISTRATION_INFO"); _TYPE_UNREGISTRATION_INFOReady = true; } return _TYPE_UNREGISTRATION_INFOContent; } } + private static int _TYPE_UNREGISTRATION_INFOContent = default; + private static bool _TYPE_UNREGISTRATION_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACCOUNT_ID { get { if (!_ACCOUNT_IDReady) { _ACCOUNT_IDContent = SGetField(LocalBridgeClazz, "ACCOUNT_ID"); _ACCOUNT_IDReady = true; } return _ACCOUNT_IDContent; } } + private static Java.Lang.String _ACCOUNT_IDContent = default; + private static bool _ACCOUNT_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SUBSCRIPTION_ID { get { if (!_SUBSCRIPTION_IDReady) { _SUBSCRIPTION_IDContent = SGetField(LocalBridgeClazz, "SUBSCRIPTION_ID"); _SUBSCRIPTION_IDReady = true; } return _SUBSCRIPTION_IDContent; } } + private static Java.Lang.String _SUBSCRIPTION_IDContent = default; + private static bool _SUBSCRIPTION_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int InfoType + { + get { return IExecuteWithSignature("getInfoType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String MimeType + { + get { return IExecuteWithSignature("getMimeType", "()Ljava/lang/String;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public object Get(Java.Lang.String arg0) + { + return IExecuteWithSignature("get", "(Ljava/lang/String;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator Iterator() + { + return IExecuteWithSignature>("iterator", "()Ljava/util/Iterator;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator KeyIterator() + { + return IExecuteWithSignature>("keyIterator", "()Ljava/util/Iterator;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Put(Java.Lang.String arg0, object arg1) + { + IExecute("put", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmInfoStatus.cs b/src/net/Netdroid/Generated/Android/Drm/DrmInfoStatus.cs new file mode 100644 index 000000000..cc163d3aa --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmInfoStatus.cs @@ -0,0 +1,112 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmInfoStatus + public partial class DrmInfoStatus + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmInfoStatus(int arg0, int arg1, Android.Drm.ProcessedData arg2, Java.Lang.String arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Drm.ProcessedData data { get { if (!_dataReady) { _dataContent = IGetField("data"); _dataReady = true; } return _dataContent; } } + private Android.Drm.ProcessedData _dataContent = default; + private bool _dataReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public int infoType { get { if (!_infoTypeReady) { _infoTypeContent = IGetField("infoType"); _infoTypeReady = true; } return _infoTypeContent; } } + private int _infoTypeContent = default; + private bool _infoTypeReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public int statusCode { get { if (!_statusCodeReady) { _statusCodeContent = IGetField("statusCode"); _statusCodeReady = true; } return _statusCodeContent; } } + private int _statusCodeContent = default; + private bool _statusCodeReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String mimeType { get { if (!_mimeTypeReady) { _mimeTypeContent = IGetField("mimeType"); _mimeTypeReady = true; } return _mimeTypeContent; } } + private Java.Lang.String _mimeTypeContent = default; + private bool _mimeTypeReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ERROR { get { if (!_STATUS_ERRORReady) { _STATUS_ERRORContent = SGetField(LocalBridgeClazz, "STATUS_ERROR"); _STATUS_ERRORReady = true; } return _STATUS_ERRORContent; } } + private static int _STATUS_ERRORContent = default; + private static bool _STATUS_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_OK { get { if (!_STATUS_OKReady) { _STATUS_OKContent = SGetField(LocalBridgeClazz, "STATUS_OK"); _STATUS_OKReady = true; } return _STATUS_OKContent; } } + private static int _STATUS_OKContent = default; + private static bool _STATUS_OKReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmManagerClient.cs b/src/net/Netdroid/Generated/Android/Drm/DrmManagerClient.cs new file mode 100644 index 000000000..9f2aefe4a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmManagerClient.cs @@ -0,0 +1,700 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmManagerClient + public partial class DrmManagerClient + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public DrmManagerClient(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int ERROR_NONE { get { if (!_ERROR_NONEReady) { _ERROR_NONEContent = SGetField(LocalBridgeClazz, "ERROR_NONE"); _ERROR_NONEReady = true; } return _ERROR_NONEContent; } } + private static int _ERROR_NONEContent = default; + private static bool _ERROR_NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ERROR_UNKNOWN { get { if (!_ERROR_UNKNOWNReady) { _ERROR_UNKNOWNContent = SGetField(LocalBridgeClazz, "ERROR_UNKNOWN"); _ERROR_UNKNOWNReady = true; } return _ERROR_UNKNOWNContent; } } + private static int _ERROR_UNKNOWNContent = default; + private static bool _ERROR_UNKNOWNReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String[] AvailableDrmEngines + { + get { return IExecuteWithSignatureArray("getAvailableDrmEngines", "()[Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Collection AvailableDrmSupportInfo + { + get { return IExecuteWithSignature>("getAvailableDrmSupportInfo", "()Ljava/util/Collection;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.ContentValues GetConstraints(Android.Net.Uri arg0, int arg1) + { + return IExecute("getConstraints", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.ContentValues GetConstraints(Java.Lang.String arg0, int arg1) + { + return IExecute("getConstraints", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.ContentValues GetMetadata(Android.Net.Uri arg0) + { + return IExecuteWithSignature("getMetadata", "(Landroid/net/Uri;)Landroid/content/ContentValues;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.ContentValues GetMetadata(Java.Lang.String arg0) + { + return IExecuteWithSignature("getMetadata", "(Ljava/lang/String;)Landroid/content/ContentValues;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Drm.DrmConvertedStatus CloseConvertSession(int arg0) + { + return IExecuteWithSignature("closeConvertSession", "(I)Landroid/drm/DrmConvertedStatus;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Drm.DrmConvertedStatus ConvertData(int arg0, byte[] arg1) + { + return IExecute("convertData", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Drm.DrmInfo AcquireDrmInfo(Android.Drm.DrmInfoRequest arg0) + { + return IExecuteWithSignature("acquireDrmInfo", "(Landroid/drm/DrmInfoRequest;)Landroid/drm/DrmInfo;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool CanHandle(Android.Net.Uri arg0, Java.Lang.String arg1) + { + return IExecute("canHandle", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool CanHandle(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("canHandle", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int AcquireRights(Android.Drm.DrmInfoRequest arg0) + { + return IExecuteWithSignature("acquireRights", "(Landroid/drm/DrmInfoRequest;)I", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckRightsStatus(Android.Net.Uri arg0, int arg1) + { + return IExecute("checkRightsStatus", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckRightsStatus(Android.Net.Uri arg0) + { + return IExecuteWithSignature("checkRightsStatus", "(Landroid/net/Uri;)I", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckRightsStatus(Java.Lang.String arg0, int arg1) + { + return IExecute("checkRightsStatus", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CheckRightsStatus(Java.Lang.String arg0) + { + return IExecuteWithSignature("checkRightsStatus", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetDrmObjectType(Android.Net.Uri arg0, Java.Lang.String arg1) + { + return IExecute("getDrmObjectType", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetDrmObjectType(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("getDrmObjectType", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int OpenConvertSession(Java.Lang.String arg0) + { + return IExecuteWithSignature("openConvertSession", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int ProcessDrmInfo(Android.Drm.DrmInfo arg0) + { + return IExecuteWithSignature("processDrmInfo", "(Landroid/drm/DrmInfo;)I", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public int RemoveAllRights() + { + return IExecuteWithSignature("removeAllRights", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int RemoveRights(Android.Net.Uri arg0) + { + return IExecuteWithSignature("removeRights", "(Landroid/net/Uri;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int RemoveRights(Java.Lang.String arg0) + { + return IExecuteWithSignature("removeRights", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SaveRights(Android.Drm.DrmRights arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + return IExecute("saveRights", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetOriginalMimeType(Android.Net.Uri arg0) + { + return IExecuteWithSignature("getOriginalMimeType", "(Landroid/net/Uri;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetOriginalMimeType(Java.Lang.String arg0) + { + return IExecuteWithSignature("getOriginalMimeType", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnErrorListener(Android.Drm.DrmManagerClient.OnErrorListener arg0) + { + IExecuteWithSignature("setOnErrorListener", "(Landroid/drm/DrmManagerClient$OnErrorListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnEventListener(Android.Drm.DrmManagerClient.OnEventListener arg0) + { + IExecuteWithSignature("setOnEventListener", "(Landroid/drm/DrmManagerClient$OnEventListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnInfoListener(Android.Drm.DrmManagerClient.OnInfoListener arg0) + { + IExecuteWithSignature("setOnInfoListener", "(Landroid/drm/DrmManagerClient$OnInfoListener;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Close() + { + IExecuteWithSignature("close", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void Release() + { + IExecuteWithSignature("release", "()V"); + } + + #endregion + + #region Nested classes + #region OnErrorListener + public partial class OnErrorListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onError", new System.EventHandler>>(OnErrorEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnError { get; set; } = null; + + void OnErrorEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnError != null) ? OnOnError : OnError; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnError(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmErrorEvent arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnErrorListenerDirect + public partial class OnErrorListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnError(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmErrorEvent arg1) + { + IExecute("onError", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnEventListener + public partial class OnEventListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onEvent", new System.EventHandler>>(OnEventEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnEvent { get; set; } = null; + + void OnEventEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnEvent != null) ? OnOnEvent : OnEvent; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnEvent(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmEvent arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnEventListenerDirect + public partial class OnEventListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnEvent(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmEvent arg1) + { + IExecute("onEvent", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnInfoListener + public partial class OnInfoListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onInfo", new System.EventHandler>>(OnInfoEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnInfo { get; set; } = null; + + void OnInfoEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnInfo != null) ? OnOnInfo : OnInfo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnInfo(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmInfoEvent arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnInfoListenerDirect + public partial class OnInfoListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnInfo(Android.Drm.DrmManagerClient arg0, Android.Drm.DrmInfoEvent arg1) + { + IExecute("onInfo", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmRights.cs b/src/net/Netdroid/Generated/Android/Drm/DrmRights.cs new file mode 100644 index 000000000..a886087ab --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmRights.cs @@ -0,0 +1,143 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmRights + public partial class DrmRights + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmRights(Android.Drm.ProcessedData arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmRights(Java.Io.File arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmRights(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2, Java.Lang.String arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmRights(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public DrmRights(Java.Lang.String arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String AccountId + { + get { return IExecuteWithSignature("getAccountId", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] Data + { + get { return IExecuteWithSignatureArray("getData", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String MimeType + { + get { return IExecuteWithSignature("getMimeType", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SubscriptionId + { + get { return IExecuteWithSignature("getSubscriptionId", "()Ljava/lang/String;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmStore.cs b/src/net/Netdroid/Generated/Android/Drm/DrmStore.cs new file mode 100644 index 000000000..1036d4255 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmStore.cs @@ -0,0 +1,395 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmStore + public partial class DrmStore + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region Action + public partial class Action + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int DEFAULT { get { if (!_DEFAULTReady) { _DEFAULTContent = SGetField(LocalBridgeClazz, "DEFAULT"); _DEFAULTReady = true; } return _DEFAULTContent; } } + private static int _DEFAULTContent = default; + private static bool _DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DISPLAY { get { if (!_DISPLAYReady) { _DISPLAYContent = SGetField(LocalBridgeClazz, "DISPLAY"); _DISPLAYReady = true; } return _DISPLAYContent; } } + private static int _DISPLAYContent = default; + private static bool _DISPLAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EXECUTE { get { if (!_EXECUTEReady) { _EXECUTEContent = SGetField(LocalBridgeClazz, "EXECUTE"); _EXECUTEReady = true; } return _EXECUTEContent; } } + private static int _EXECUTEContent = default; + private static bool _EXECUTEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OUTPUT { get { if (!_OUTPUTReady) { _OUTPUTContent = SGetField(LocalBridgeClazz, "OUTPUT"); _OUTPUTReady = true; } return _OUTPUTContent; } } + private static int _OUTPUTContent = default; + private static bool _OUTPUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAY { get { if (!_PLAYReady) { _PLAYContent = SGetField(LocalBridgeClazz, "PLAY"); _PLAYReady = true; } return _PLAYContent; } } + private static int _PLAYContent = default; + private static bool _PLAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PREVIEW { get { if (!_PREVIEWReady) { _PREVIEWContent = SGetField(LocalBridgeClazz, "PREVIEW"); _PREVIEWReady = true; } return _PREVIEWContent; } } + private static int _PREVIEWContent = default; + private static bool _PREVIEWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RINGTONE { get { if (!_RINGTONEReady) { _RINGTONEContent = SGetField(LocalBridgeClazz, "RINGTONE"); _RINGTONEReady = true; } return _RINGTONEContent; } } + private static int _RINGTONEContent = default; + private static bool _RINGTONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSFER { get { if (!_TRANSFERReady) { _TRANSFERContent = SGetField(LocalBridgeClazz, "TRANSFER"); _TRANSFERReady = true; } return _TRANSFERContent; } } + private static int _TRANSFERContent = default; + private static bool _TRANSFERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ConstraintsColumns + public partial class ConstraintsColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTENDED_METADATA { get { if (!_EXTENDED_METADATAReady) { _EXTENDED_METADATAContent = SGetField(LocalBridgeClazz, "EXTENDED_METADATA"); _EXTENDED_METADATAReady = true; } return _EXTENDED_METADATAContent; } } + private static Java.Lang.String _EXTENDED_METADATAContent = default; + private static bool _EXTENDED_METADATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LICENSE_AVAILABLE_TIME { get { if (!_LICENSE_AVAILABLE_TIMEReady) { _LICENSE_AVAILABLE_TIMEContent = SGetField(LocalBridgeClazz, "LICENSE_AVAILABLE_TIME"); _LICENSE_AVAILABLE_TIMEReady = true; } return _LICENSE_AVAILABLE_TIMEContent; } } + private static Java.Lang.String _LICENSE_AVAILABLE_TIMEContent = default; + private static bool _LICENSE_AVAILABLE_TIMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LICENSE_EXPIRY_TIME { get { if (!_LICENSE_EXPIRY_TIMEReady) { _LICENSE_EXPIRY_TIMEContent = SGetField(LocalBridgeClazz, "LICENSE_EXPIRY_TIME"); _LICENSE_EXPIRY_TIMEReady = true; } return _LICENSE_EXPIRY_TIMEContent; } } + private static Java.Lang.String _LICENSE_EXPIRY_TIMEContent = default; + private static bool _LICENSE_EXPIRY_TIMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LICENSE_START_TIME { get { if (!_LICENSE_START_TIMEReady) { _LICENSE_START_TIMEContent = SGetField(LocalBridgeClazz, "LICENSE_START_TIME"); _LICENSE_START_TIMEReady = true; } return _LICENSE_START_TIMEContent; } } + private static Java.Lang.String _LICENSE_START_TIMEContent = default; + private static bool _LICENSE_START_TIMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MAX_REPEAT_COUNT { get { if (!_MAX_REPEAT_COUNTReady) { _MAX_REPEAT_COUNTContent = SGetField(LocalBridgeClazz, "MAX_REPEAT_COUNT"); _MAX_REPEAT_COUNTReady = true; } return _MAX_REPEAT_COUNTContent; } } + private static Java.Lang.String _MAX_REPEAT_COUNTContent = default; + private static bool _MAX_REPEAT_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String REMAINING_REPEAT_COUNT { get { if (!_REMAINING_REPEAT_COUNTReady) { _REMAINING_REPEAT_COUNTContent = SGetField(LocalBridgeClazz, "REMAINING_REPEAT_COUNT"); _REMAINING_REPEAT_COUNTReady = true; } return _REMAINING_REPEAT_COUNTContent; } } + private static Java.Lang.String _REMAINING_REPEAT_COUNTContent = default; + private static bool _REMAINING_REPEAT_COUNTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region DrmObjectType + public partial class DrmObjectType + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CONTENT { get { if (!_CONTENTReady) { _CONTENTContent = SGetField(LocalBridgeClazz, "CONTENT"); _CONTENTReady = true; } return _CONTENTContent; } } + private static int _CONTENTContent = default; + private static bool _CONTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RIGHTS_OBJECT { get { if (!_RIGHTS_OBJECTReady) { _RIGHTS_OBJECTContent = SGetField(LocalBridgeClazz, "RIGHTS_OBJECT"); _RIGHTS_OBJECTReady = true; } return _RIGHTS_OBJECTContent; } } + private static int _RIGHTS_OBJECTContent = default; + private static bool _RIGHTS_OBJECTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRIGGER_OBJECT { get { if (!_TRIGGER_OBJECTReady) { _TRIGGER_OBJECTContent = SGetField(LocalBridgeClazz, "TRIGGER_OBJECT"); _TRIGGER_OBJECTReady = true; } return _TRIGGER_OBJECTContent; } } + private static int _TRIGGER_OBJECTContent = default; + private static bool _TRIGGER_OBJECTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int UNKNOWN { get { if (!_UNKNOWNReady) { _UNKNOWNContent = SGetField(LocalBridgeClazz, "UNKNOWN"); _UNKNOWNReady = true; } return _UNKNOWNContent; } } + private static int _UNKNOWNContent = default; + private static bool _UNKNOWNReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Playback + public partial class Playback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int PAUSE { get { if (!_PAUSEReady) { _PAUSEContent = SGetField(LocalBridgeClazz, "PAUSE"); _PAUSEReady = true; } return _PAUSEContent; } } + private static int _PAUSEContent = default; + private static bool _PAUSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESUME { get { if (!_RESUMEReady) { _RESUMEContent = SGetField(LocalBridgeClazz, "RESUME"); _RESUMEReady = true; } return _RESUMEContent; } } + private static int _RESUMEContent = default; + private static bool _RESUMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int START { get { if (!_STARTReady) { _STARTContent = SGetField(LocalBridgeClazz, "START"); _STARTReady = true; } return _STARTContent; } } + private static int _STARTContent = default; + private static bool _STARTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STOP { get { if (!_STOPReady) { _STOPContent = SGetField(LocalBridgeClazz, "STOP"); _STOPReady = true; } return _STOPContent; } } + private static int _STOPContent = default; + private static bool _STOPReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region RightsStatus + public partial class RightsStatus + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int RIGHTS_EXPIRED { get { if (!_RIGHTS_EXPIREDReady) { _RIGHTS_EXPIREDContent = SGetField(LocalBridgeClazz, "RIGHTS_EXPIRED"); _RIGHTS_EXPIREDReady = true; } return _RIGHTS_EXPIREDContent; } } + private static int _RIGHTS_EXPIREDContent = default; + private static bool _RIGHTS_EXPIREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RIGHTS_INVALID { get { if (!_RIGHTS_INVALIDReady) { _RIGHTS_INVALIDContent = SGetField(LocalBridgeClazz, "RIGHTS_INVALID"); _RIGHTS_INVALIDReady = true; } return _RIGHTS_INVALIDContent; } } + private static int _RIGHTS_INVALIDContent = default; + private static bool _RIGHTS_INVALIDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RIGHTS_NOT_ACQUIRED { get { if (!_RIGHTS_NOT_ACQUIREDReady) { _RIGHTS_NOT_ACQUIREDContent = SGetField(LocalBridgeClazz, "RIGHTS_NOT_ACQUIRED"); _RIGHTS_NOT_ACQUIREDReady = true; } return _RIGHTS_NOT_ACQUIREDContent; } } + private static int _RIGHTS_NOT_ACQUIREDContent = default; + private static bool _RIGHTS_NOT_ACQUIREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RIGHTS_VALID { get { if (!_RIGHTS_VALIDReady) { _RIGHTS_VALIDContent = SGetField(LocalBridgeClazz, "RIGHTS_VALID"); _RIGHTS_VALIDReady = true; } return _RIGHTS_VALIDContent; } } + private static int _RIGHTS_VALIDContent = default; + private static bool _RIGHTS_VALIDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmSupportInfo.cs b/src/net/Netdroid/Generated/Android/Drm/DrmSupportInfo.cs new file mode 100644 index 000000000..0530babe8 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmSupportInfo.cs @@ -0,0 +1,108 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmSupportInfo + public partial class DrmSupportInfo + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Descriprition + { + get { return IExecuteWithSignature("getDescriprition", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Description + { + get { return IExecuteWithSignature("getDescription", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setDescription", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator FileSuffixIterator + { + get { return IExecuteWithSignature>("getFileSuffixIterator", "()Ljava/util/Iterator;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator MimeTypeIterator + { + get { return IExecuteWithSignature>("getMimeTypeIterator", "()Ljava/util/Iterator;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddFileSuffix(Java.Lang.String arg0) + { + IExecuteWithSignature("addFileSuffix", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddMimeType(Java.Lang.String arg0) + { + IExecuteWithSignature("addMimeType", "(Ljava/lang/String;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/DrmUtils.cs b/src/net/Netdroid/Generated/Android/Drm/DrmUtils.cs new file mode 100644 index 000000000..dabb12715 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/DrmUtils.cs @@ -0,0 +1,127 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region DrmUtils + public partial class DrmUtils + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Drm.DrmUtils.ExtendedMetadataParser GetExtendedMetadataParser(byte[] arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getExtendedMetadataParser", "([B)Landroid/drm/DrmUtils$ExtendedMetadataParser;", new object[] { arg0 }); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region ExtendedMetadataParser + public partial class ExtendedMetadataParser + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Get(Java.Lang.String arg0) + { + return IExecuteWithSignature("get", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator Iterator() + { + return IExecuteWithSignature>("iterator", "()Ljava/util/Iterator;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Iterator KeyIterator() + { + return IExecuteWithSignature>("keyIterator", "()Ljava/util/Iterator;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Drm/ProcessedData.cs b/src/net/Netdroid/Generated/Android/Drm/ProcessedData.cs new file mode 100644 index 000000000..ae6f9e802 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Drm/ProcessedData.cs @@ -0,0 +1,82 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Drm +{ + #region ProcessedData + public partial class ProcessedData + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String AccountId + { + get { return IExecuteWithSignature("getAccountId", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] Data + { + get { return IExecuteWithSignatureArray("getData", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SubscriptionId + { + get { return IExecuteWithSignature("getSubscriptionId", "()Ljava/lang/String;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Graphics/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Graphics/AllPackageClasses.cs index ea824814e..ef5b57751 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/AllPackageClasses.cs @@ -594,6 +594,51 @@ public Canvas(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class + #region EdgeType + /// + /// + /// + [System.Obsolete()] + public partial class EdgeType : Java.Lang.Enum + { + const string _bridgeClassName = "android.graphics.Canvas$EdgeType"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public EdgeType() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public EdgeType(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region VertexMode /// /// @@ -2585,6 +2630,51 @@ public Varying(params object[] args) : base(args) { } } #endregion + #region Movie + /// + /// + /// + [System.Obsolete()] + public partial class Movie : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.graphics.Movie"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Movie() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Movie(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region NinePatch /// /// @@ -4578,6 +4668,24 @@ protected override void InitializeHandlers() { } } #endregion + #region OutOfResourcesException + /// + /// + /// + [System.Obsolete()] + public partial class OutOfResourcesException : Java.Lang.Exception + { + const string _bridgeClassName = "android.graphics.SurfaceTexture$OutOfResourcesException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/Bitmap.cs b/src/net/Netdroid/Generated/Android/Graphics/Bitmap.cs index 0c79321ee..fba369b1d 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Bitmap.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Bitmap.cs @@ -700,6 +700,13 @@ public partial class CompressFormat private static Android.Graphics.Bitmap.CompressFormat _PNGContent = default; private static bool _PNGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap.CompressFormat WEBP { get { if (!_WEBPReady) { _WEBPContent = SGetField(LocalBridgeClazz, "WEBP"); _WEBPReady = true; } return _WEBPContent; } } + private static Android.Graphics.Bitmap.CompressFormat _WEBPContent = default; + private static bool _WEBPReady = false; // this is used because in case of generics + /// /// /// public static Android.Graphics.Bitmap.CompressFormat WEBP_LOSSLESS { get { if (!_WEBP_LOSSLESSReady) { _WEBP_LOSSLESSContent = SGetField(LocalBridgeClazz, "WEBP_LOSSLESS"); _WEBP_LOSSLESSReady = true; } return _WEBP_LOSSLESSContent; } } @@ -766,6 +773,13 @@ public partial class Config private static Android.Graphics.Bitmap.Config _ALPHA_8Content = default; private static bool _ALPHA_8Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap.Config ARGB_4444 { get { if (!_ARGB_4444Ready) { _ARGB_4444Content = SGetField(LocalBridgeClazz, "ARGB_4444"); _ARGB_4444Ready = true; } return _ARGB_4444Content; } } + private static Android.Graphics.Bitmap.Config _ARGB_4444Content = default; + private static bool _ARGB_4444Ready = false; // this is used because in case of generics + /// /// /// public static Android.Graphics.Bitmap.Config ARGB_8888 { get { if (!_ARGB_8888Ready) { _ARGB_8888Content = SGetField(LocalBridgeClazz, "ARGB_8888"); _ARGB_8888Ready = true; } return _ARGB_8888Content; } } diff --git a/src/net/Netdroid/Generated/Android/Graphics/BitmapFactory.cs b/src/net/Netdroid/Generated/Android/Graphics/BitmapFactory.cs index fe219d871..6139fe82c 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/BitmapFactory.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/BitmapFactory.cs @@ -185,6 +185,16 @@ public partial class Options /// public Android.Graphics.ColorSpace outColorSpace { get { return IGetField("outColorSpace"); } set { ISetField("outColorSpace", value); } } /// + /// + /// + [System.Obsolete()] + public bool inDither { get { return IGetField("inDither"); } set { ISetField("inDither", value); } } + /// + /// + /// + [System.Obsolete()] + public bool inInputShareable { get { return IGetField("inInputShareable"); } set { ISetField("inInputShareable", value); } } + /// /// /// public bool inJustDecodeBounds { get { return IGetField("inJustDecodeBounds"); } set { ISetField("inJustDecodeBounds", value); } } @@ -193,14 +203,29 @@ public partial class Options /// public bool inMutable { get { return IGetField("inMutable"); } set { ISetField("inMutable", value); } } /// + /// + /// + [System.Obsolete()] + public bool inPreferQualityOverSpeed { get { return IGetField("inPreferQualityOverSpeed"); } set { ISetField("inPreferQualityOverSpeed", value); } } + /// /// /// public bool inPremultiplied { get { return IGetField("inPremultiplied"); } set { ISetField("inPremultiplied", value); } } /// + /// + /// + [System.Obsolete()] + public bool inPurgeable { get { return IGetField("inPurgeable"); } set { ISetField("inPurgeable", value); } } + /// /// /// public bool inScaled { get { return IGetField("inScaled"); } set { ISetField("inScaled", value); } } /// + /// + /// + [System.Obsolete()] + public bool mCancel { get { return IGetField("mCancel"); } set { ISetField("mCancel", value); } } + /// /// /// public byte[] inTempStorage { get { return IGetFieldArray("inTempStorage"); } set { ISetField("inTempStorage", value); } } @@ -240,6 +265,14 @@ public partial class Options #endregion #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void RequestCancelDecode() + { + IExecuteWithSignature("requestCancelDecode", "()V"); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/BitmapRegionDecoder.cs b/src/net/Netdroid/Generated/Android/Graphics/BitmapRegionDecoder.cs index 486eff134..3f803332c 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/BitmapRegionDecoder.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/BitmapRegionDecoder.cs @@ -52,6 +52,20 @@ public static Android.Graphics.BitmapRegionDecoder NewInstance(Android.Os.Parcel return SExecuteWithSignature(LocalBridgeClazz, "newInstance", "(Landroid/os/ParcelFileDescriptor;)Landroid/graphics/BitmapRegionDecoder;", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.BitmapRegionDecoder NewInstance(byte[] arg0, int arg1, int arg2, bool arg3) + { + return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1, arg2, arg3); + } + /// /// /// /// @@ -64,6 +78,30 @@ public static Android.Graphics.BitmapRegionDecoder NewInstance(byte[] arg0, int return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.BitmapRegionDecoder NewInstance(Java.Io.FileDescriptor arg0, bool arg1) + { + return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.BitmapRegionDecoder NewInstance(Java.Io.InputStream arg0, bool arg1) + { + return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1); + } + /// /// /// /// @@ -74,6 +112,18 @@ public static Android.Graphics.BitmapRegionDecoder NewInstance(Java.Io.InputStre return SExecuteWithSignature(LocalBridgeClazz, "newInstance", "(Ljava/io/InputStream;)Landroid/graphics/BitmapRegionDecoder;", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.BitmapRegionDecoder NewInstance(Java.Lang.String arg0, bool arg1) + { + return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Graphics/Canvas.cs b/src/net/Netdroid/Generated/Android/Graphics/Canvas.cs index 79f792122..562289cee 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Canvas.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Canvas.cs @@ -88,6 +88,14 @@ public int Height get { return IExecuteWithSignature("getHeight", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Matrix Matrix + { + get { return IExecuteWithSignature("getMatrix", "()Landroid/graphics/Matrix;"); } set { IExecuteWithSignature("setMatrix", "(Landroid/graphics/Matrix;)V", value); } + } + /// /// /// public int MaximumBitmapHeight @@ -167,6 +175,17 @@ public bool ClipOutRect(int arg0, int arg1, int arg2, int arg3) return IExecute("clipOutRect", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ClipPath(Android.Graphics.Path arg0, Android.Graphics.Region.Op arg1) + { + return IExecute("clipPath", arg0, arg1); + } + /// /// /// /// @@ -176,6 +195,17 @@ public bool ClipPath(Android.Graphics.Path arg0) return IExecuteWithSignature("clipPath", "(Landroid/graphics/Path;)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ClipRect(Android.Graphics.Rect arg0, Android.Graphics.Region.Op arg1) + { + return IExecute("clipRect", arg0, arg1); + } + /// /// /// /// @@ -185,6 +215,17 @@ public bool ClipRect(Android.Graphics.Rect arg0) return IExecuteWithSignature("clipRect", "(Landroid/graphics/Rect;)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ClipRect(Android.Graphics.RectF arg0, Android.Graphics.Region.Op arg1) + { + return IExecute("clipRect", arg0, arg1); + } + /// /// /// /// @@ -194,6 +235,20 @@ public bool ClipRect(Android.Graphics.RectF arg0) return IExecuteWithSignature("clipRect", "(Landroid/graphics/RectF;)Z", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ClipRect(float arg0, float arg1, float arg2, float arg3, Android.Graphics.Region.Op arg4) + { + return IExecute("clipRect", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -243,6 +298,17 @@ public bool IsOpaque() return IExecuteWithSignature("isOpaque", "()Z"); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool QuickReject(Android.Graphics.Path arg0, Android.Graphics.Canvas.EdgeType arg1) + { + return IExecute("quickReject", arg0, arg1); + } + /// /// /// /// @@ -252,6 +318,17 @@ public bool QuickReject(Android.Graphics.Path arg0) return IExecuteWithSignature("quickReject", "(Landroid/graphics/Path;)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool QuickReject(Android.Graphics.RectF arg0, Android.Graphics.Canvas.EdgeType arg1) + { + return IExecute("quickReject", arg0, arg1); + } + /// /// /// /// @@ -261,6 +338,20 @@ public bool QuickReject(Android.Graphics.RectF arg0) return IExecuteWithSignature("quickReject", "(Landroid/graphics/RectF;)Z", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool QuickReject(float arg0, float arg1, float arg2, float arg3, Android.Graphics.Canvas.EdgeType arg4) + { + return IExecute("quickReject", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -302,6 +393,18 @@ public int Save() return IExecuteWithSignature("save", "()I"); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SaveLayer(Android.Graphics.RectF arg0, Android.Graphics.Paint arg1, int arg2) + { + return IExecute("saveLayer", arg0, arg1, arg2); + } + /// /// /// /// @@ -312,6 +415,21 @@ public int SaveLayer(Android.Graphics.RectF arg0, Android.Graphics.Paint arg1) return IExecute("saveLayer", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SaveLayer(float arg0, float arg1, float arg2, float arg3, Android.Graphics.Paint arg4, int arg5) + { + return IExecute("saveLayer", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// /// /// /// @@ -325,6 +443,18 @@ public int SaveLayer(float arg0, float arg1, float arg2, float arg3, Android.Gra return IExecute("saveLayer", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SaveLayerAlpha(Android.Graphics.RectF arg0, int arg1, int arg2) + { + return IExecute("saveLayerAlpha", arg0, arg1, arg2); + } + /// /// /// /// @@ -335,6 +465,21 @@ public int SaveLayerAlpha(Android.Graphics.RectF arg0, int arg1) return IExecute("saveLayerAlpha", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SaveLayerAlpha(float arg0, float arg1, float arg2, float arg3, int arg4, int arg5) + { + return IExecute("saveLayerAlpha", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// /// /// /// @@ -444,6 +589,40 @@ public void DrawBitmap(Android.Graphics.Bitmap arg0, float arg1, float arg2, And IExecute("drawBitmap", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DrawBitmap(int[] arg0, int arg1, int arg2, float arg3, float arg4, int arg5, int arg6, bool arg7, Android.Graphics.Paint arg8) + { + IExecute("drawBitmap", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DrawBitmap(int[] arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, bool arg7, Android.Graphics.Paint arg8) + { + IExecute("drawBitmap", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// /// /// /// @@ -709,6 +888,30 @@ public void DrawPoints(float[] arg0, int arg1, int arg2, Android.Graphics.Paint IExecute("drawPoints", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DrawPosText(char[] arg0, int arg1, int arg2, float[] arg3, Android.Graphics.Paint arg4) + { + IExecute("drawPosText", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DrawPosText(Java.Lang.String arg0, float[] arg1, Android.Graphics.Paint arg2) + { + IExecute("drawPosText", arg0, arg1, arg2); + } + /// /// /// /// @@ -932,6 +1135,15 @@ public void EnableZ() IExecuteWithSignature("enableZ", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void GetMatrix(Android.Graphics.Matrix arg0) + { + IExecuteWithSignature("getMatrix", "(Landroid/graphics/Matrix;)V", arg0); + } + /// /// /// public void Restore() @@ -972,14 +1184,6 @@ public void SetBitmap(Android.Graphics.Bitmap arg0) IExecuteWithSignature("setBitmap", "(Landroid/graphics/Bitmap;)V", arg0); } /// - /// - /// - /// - public void SetMatrix(Android.Graphics.Matrix arg0) - { - IExecuteWithSignature("setMatrix", "(Landroid/graphics/Matrix;)V", arg0); - } - /// /// /// /// @@ -1001,6 +1205,68 @@ public void Translate(float arg0, float arg1) #endregion #region Nested classes + #region EdgeType + public partial class EdgeType + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Canvas.EdgeType AA { get { if (!_AAReady) { _AAContent = SGetField(LocalBridgeClazz, "AA"); _AAReady = true; } return _AAContent; } } + private static Android.Graphics.Canvas.EdgeType _AAContent = default; + private static bool _AAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Canvas.EdgeType BW { get { if (!_BWReady) { _BWContent = SGetField(LocalBridgeClazz, "BW"); _BWReady = true; } return _BWContent; } } + private static Android.Graphics.Canvas.EdgeType _BWContent = default; + private static bool _BWReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Graphics.Canvas.EdgeType ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/graphics/Canvas$EdgeType;", arg0); + } + /// + /// + /// + /// + public static Android.Graphics.Canvas.EdgeType[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/graphics/Canvas$EdgeType;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region VertexMode public partial class VertexMode { diff --git a/src/net/Netdroid/Generated/Android/Graphics/ComposeShader.cs b/src/net/Netdroid/Generated/Android/Graphics/ComposeShader.cs index 9a27d582c..228b6c6b2 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/ComposeShader.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/ComposeShader.cs @@ -49,6 +49,17 @@ public ComposeShader(Android.Graphics.Shader arg0, Android.Graphics.Shader arg1, : base(arg0, arg1, arg2) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public ComposeShader(Android.Graphics.Shader arg0, Android.Graphics.Shader arg1, Android.Graphics.Xfermode arg2) + : base(arg0, arg1, arg2) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/Drawable/BitmapDrawable.cs b/src/net/Netdroid/Generated/Android/Graphics/Drawable/BitmapDrawable.cs index 1289b746a..18635c2d6 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Drawable/BitmapDrawable.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Drawable/BitmapDrawable.cs @@ -56,6 +56,42 @@ public BitmapDrawable(Android.Content.Res.Resources arg0, Java.Lang.String arg1) : base(arg0, arg1) { } + /// + /// + /// + /// + [System.Obsolete()] + public BitmapDrawable(Android.Content.Res.Resources arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public BitmapDrawable(Android.Graphics.Bitmap arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public BitmapDrawable(Java.Io.InputStream arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public BitmapDrawable(Java.Lang.String arg0) + : base(arg0) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/Drawable/Drawable.cs b/src/net/Netdroid/Generated/Android/Graphics/Drawable/Drawable.cs index 77540c8f8..32d047c85 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Drawable/Drawable.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Drawable/Drawable.cs @@ -225,6 +225,14 @@ public int MinimumWidth get { return IExecuteWithSignature("getMinimumWidth", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Opacity + { + get { return IExecuteWithSignature("getOpacity", "()I"); } + } + /// /// /// public Android.Graphics.Insets OpticalInsets @@ -495,6 +503,25 @@ public void SetBounds(int arg0, int arg1, int arg2, int arg3) IExecute("setBounds", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetColorFilter(int arg0, Android.Graphics.PorterDuff.Mode arg1) + { + IExecute("setColorFilter", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDither(bool arg0) + { + IExecuteWithSignature("setDither", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Graphics/Drawable/NinePatchDrawable.cs b/src/net/Netdroid/Generated/Android/Graphics/Drawable/NinePatchDrawable.cs index c3f360caa..44b5f1e38 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Drawable/NinePatchDrawable.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Drawable/NinePatchDrawable.cs @@ -50,6 +50,27 @@ public NinePatchDrawable(Android.Content.Res.Resources arg0, Android.Graphics.Ni : base(arg0, arg1) { } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public NinePatchDrawable(Android.Graphics.Bitmap arg0, byte[] arg1, Android.Graphics.Rect arg2, Java.Lang.String arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public NinePatchDrawable(Android.Graphics.NinePatch arg0) + : base(arg0) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/EmbossMaskFilter.cs b/src/net/Netdroid/Generated/Android/Graphics/EmbossMaskFilter.cs index 2539fd671..d1d0103ee 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/EmbossMaskFilter.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/EmbossMaskFilter.cs @@ -29,6 +29,18 @@ namespace Android.Graphics public partial class EmbossMaskFilter { #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public EmbossMaskFilter(float[] arg0, float arg1, float arg2, float arg3) + : base(arg0, arg1, arg2, arg3) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/Movie.cs b/src/net/Netdroid/Generated/Android/Graphics/Movie.cs new file mode 100644 index 000000000..51a135eb8 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Graphics/Movie.cs @@ -0,0 +1,159 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Graphics +{ + #region Movie + public partial class Movie + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Movie DecodeFile(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "decodeFile", "(Ljava/lang/String;)Landroid/graphics/Movie;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Movie DecodeStream(Java.Io.InputStream arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "decodeStream", "(Ljava/io/InputStream;)Landroid/graphics/Movie;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Movie DecodeByteArray(byte[] arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "decodeByteArray", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public bool IsOpaque() + { + return IExecuteWithSignature("isOpaque", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetTime(int arg0) + { + return IExecuteWithSignature("setTime", "(I)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public int Duration() + { + return IExecuteWithSignature("duration", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int Height() + { + return IExecuteWithSignature("height", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int Width() + { + return IExecuteWithSignature("width", "()I"); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Draw(Android.Graphics.Canvas arg0, float arg1, float arg2, Android.Graphics.Paint arg3) + { + IExecute("draw", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Draw(Android.Graphics.Canvas arg0, float arg1, float arg2) + { + IExecute("draw", arg0, arg1, arg2); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Graphics/Outline.cs b/src/net/Netdroid/Generated/Android/Graphics/Outline.cs index 54b222351..8eff3f4f1 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Outline.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Outline.cs @@ -110,6 +110,15 @@ public void Set(Android.Graphics.Outline arg0) IExecuteWithSignature("set", "(Landroid/graphics/Outline;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetConvexPath(Android.Graphics.Path arg0) + { + IExecuteWithSignature("setConvexPath", "(Landroid/graphics/Path;)V", arg0); + } + /// /// /// public void SetEmpty() diff --git a/src/net/Netdroid/Generated/Android/Graphics/Path.cs b/src/net/Netdroid/Generated/Android/Graphics/Path.cs index f8296197a..2b8c9ae96 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Path.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Path.cs @@ -86,6 +86,15 @@ public bool Interpolate(Android.Graphics.Path arg0, float arg1, Android.Graphics return IExecute("interpolate", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsConvex() + { + return IExecuteWithSignature("isConvex", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Graphics/PixelFormat.cs b/src/net/Netdroid/Generated/Android/Graphics/PixelFormat.cs index 041939821..2b06c6d50 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/PixelFormat.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/PixelFormat.cs @@ -46,12 +46,47 @@ public partial class PixelFormat /// public int bytesPerPixel { get { return IGetField("bytesPerPixel"); } set { ISetField("bytesPerPixel", value); } } /// + /// + /// + [System.Obsolete()] + public static int A_8 { get { if (!_A_8Ready) { _A_8Content = SGetField(LocalBridgeClazz, "A_8"); _A_8Ready = true; } return _A_8Content; } } + private static int _A_8Content = default; + private static bool _A_8Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int JPEG { get { if (!_JPEGReady) { _JPEGContent = SGetField(LocalBridgeClazz, "JPEG"); _JPEGReady = true; } return _JPEGContent; } } + private static int _JPEGContent = default; + private static bool _JPEGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int L_8 { get { if (!_L_8Ready) { _L_8Content = SGetField(LocalBridgeClazz, "L_8"); _L_8Ready = true; } return _L_8Content; } } + private static int _L_8Content = default; + private static bool _L_8Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int LA_88 { get { if (!_LA_88Ready) { _LA_88Content = SGetField(LocalBridgeClazz, "LA_88"); _LA_88Ready = true; } return _LA_88Content; } } + private static int _LA_88Content = default; + private static bool _LA_88Ready = false; // this is used because in case of generics + /// /// /// public static int OPAQUE { get { if (!_OPAQUEReady) { _OPAQUEContent = SGetField(LocalBridgeClazz, "OPAQUE"); _OPAQUEReady = true; } return _OPAQUEContent; } } private static int _OPAQUEContent = default; private static bool _OPAQUEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int RGB_332 { get { if (!_RGB_332Ready) { _RGB_332Content = SGetField(LocalBridgeClazz, "RGB_332"); _RGB_332Ready = true; } return _RGB_332Content; } } + private static int _RGB_332Content = default; + private static bool _RGB_332Ready = false; // this is used because in case of generics + /// /// /// public static int RGB_565 { get { if (!_RGB_565Ready) { _RGB_565Content = SGetField(LocalBridgeClazz, "RGB_565"); _RGB_565Ready = true; } return _RGB_565Content; } } @@ -70,6 +105,20 @@ public partial class PixelFormat private static int _RGBA_1010102Content = default; private static bool _RGBA_1010102Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int RGBA_4444 { get { if (!_RGBA_4444Ready) { _RGBA_4444Content = SGetField(LocalBridgeClazz, "RGBA_4444"); _RGBA_4444Ready = true; } return _RGBA_4444Content; } } + private static int _RGBA_4444Content = default; + private static bool _RGBA_4444Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RGBA_5551 { get { if (!_RGBA_5551Ready) { _RGBA_5551Content = SGetField(LocalBridgeClazz, "RGBA_5551"); _RGBA_5551Ready = true; } return _RGBA_5551Content; } } + private static int _RGBA_5551Content = default; + private static bool _RGBA_5551Ready = false; // this is used because in case of generics + /// /// /// public static int RGBA_8888 { get { if (!_RGBA_8888Ready) { _RGBA_8888Content = SGetField(LocalBridgeClazz, "RGBA_8888"); _RGBA_8888Ready = true; } return _RGBA_8888Content; } } @@ -105,6 +154,27 @@ public partial class PixelFormat public static int UNKNOWN { get { if (!_UNKNOWNReady) { _UNKNOWNContent = SGetField(LocalBridgeClazz, "UNKNOWN"); _UNKNOWNReady = true; } return _UNKNOWNContent; } } private static int _UNKNOWNContent = default; private static bool _UNKNOWNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int YCbCr_420_SP { get { if (!_YCbCr_420_SPReady) { _YCbCr_420_SPContent = SGetField(LocalBridgeClazz, "YCbCr_420_SP"); _YCbCr_420_SPReady = true; } return _YCbCr_420_SPContent; } } + private static int _YCbCr_420_SPContent = default; + private static bool _YCbCr_420_SPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int YCbCr_422_I { get { if (!_YCbCr_422_IReady) { _YCbCr_422_IContent = SGetField(LocalBridgeClazz, "YCbCr_422_I"); _YCbCr_422_IReady = true; } return _YCbCr_422_IContent; } } + private static int _YCbCr_422_IContent = default; + private static bool _YCbCr_422_IReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int YCbCr_422_SP { get { if (!_YCbCr_422_SPReady) { _YCbCr_422_SPContent = SGetField(LocalBridgeClazz, "YCbCr_422_SP"); _YCbCr_422_SPReady = true; } return _YCbCr_422_SPContent; } } + private static int _YCbCr_422_SPContent = default; + private static bool _YCbCr_422_SPReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/SurfaceTexture.cs b/src/net/Netdroid/Generated/Android/Graphics/SurfaceTexture.cs index 47d58b896..1e8e05feb 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/SurfaceTexture.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/SurfaceTexture.cs @@ -265,6 +265,37 @@ public override void OnFrameAvailable(Android.Graphics.SurfaceTexture arg0) } #endregion + #region OutOfResourcesException + public partial class OutOfResourcesException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/Graphics/Text/MeasuredText.cs b/src/net/Netdroid/Generated/Android/Graphics/Text/MeasuredText.cs index 0a767e78a..bc8ce70e8 100644 --- a/src/net/Netdroid/Generated/Android/Graphics/Text/MeasuredText.cs +++ b/src/net/Netdroid/Generated/Android/Graphics/Text/MeasuredText.cs @@ -185,6 +185,16 @@ public Android.Graphics.Text.MeasuredText.Builder AppendStyleRun(Android.Graphic return IExecute("appendStyleRun", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Text.MeasuredText.Builder SetComputeHyphenation(bool arg0) + { + return IExecuteWithSignature("setComputeHyphenation", "(Z)Landroid/graphics/text/MeasuredText$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs index 777e39405..c38917823 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs @@ -72,6 +72,678 @@ public BatteryState(params object[] args) : base(args) { } } #endregion + #region Camera + /// + /// + /// + [System.Obsolete()] + public partial class Camera : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Camera() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Camera(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Area + /// + /// + /// + [System.Obsolete()] + public partial class Area : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$Area"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Area() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Area(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region AutoFocusCallback + /// + /// + /// + [System.Obsolete()] + public partial class AutoFocusCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$AutoFocusCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AutoFocusCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AutoFocusCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AutoFocusCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AutoFocusCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region AutoFocusMoveCallback + /// + /// + /// + [System.Obsolete()] + public partial class AutoFocusMoveCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$AutoFocusMoveCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AutoFocusMoveCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AutoFocusMoveCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AutoFocusMoveCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AutoFocusMoveCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region CameraInfo + /// + /// + /// + [System.Obsolete()] + public partial class CameraInfo : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$CameraInfo"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CameraInfo() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CameraInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ErrorCallback + /// + /// + /// + [System.Obsolete()] + public partial class ErrorCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$ErrorCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ErrorCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ErrorCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ErrorCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ErrorCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Face + /// + /// + /// + [System.Obsolete()] + public partial class Face : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$Face"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Face() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Face(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region FaceDetectionListener + /// + /// + /// + [System.Obsolete()] + public partial class FaceDetectionListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FaceDetectionListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.hardware.FaceDetectionListener"; + + + // TODO: complete the class + + } + #endregion + + #region FaceDetectionListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class FaceDetectionListenerDirect : FaceDetectionListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.hardware.Camera$FaceDetectionListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnZoomChangeListener + /// + /// + /// + [System.Obsolete()] + public partial class OnZoomChangeListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnZoomChangeListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.hardware.OnZoomChangeListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnZoomChangeListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnZoomChangeListenerDirect : OnZoomChangeListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.hardware.Camera$OnZoomChangeListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region Parameters + /// + /// + /// + [System.Obsolete()] + public partial class Parameters : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$Parameters"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Parameters() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Parameters(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region PictureCallback + /// + /// + /// + [System.Obsolete()] + public partial class PictureCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$PictureCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PictureCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PictureCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PictureCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PictureCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region PreviewCallback + /// + /// + /// + [System.Obsolete()] + public partial class PreviewCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$PreviewCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PreviewCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreviewCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PreviewCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreviewCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ShutterCallback + /// + /// + /// + [System.Obsolete()] + public partial class ShutterCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$ShutterCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ShutterCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ShutterCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ShutterCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ShutterCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Size + /// + /// + /// + [System.Obsolete()] + public partial class Size : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.Camera$Size"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Size() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Size(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region ConsumerIrManager /// /// @@ -619,6 +1291,66 @@ public SensorEventListener2(params object[] args) : base(args) { } } #endregion + #region SensorListener + /// + /// + /// + [System.Obsolete()] + public partial class SensorListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SensorListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.hardware.SensorListener"; + + + // TODO: complete the class + + } + #endregion + + #region SensorListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class SensorListenerDirect : SensorListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.hardware.SensorListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + } + #endregion + #region SensorManager /// /// diff --git a/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricManager.cs b/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricManager.cs index c9cdc9abe..462c6ac6c 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricManager.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricManager.cs @@ -85,6 +85,15 @@ public Android.Hardware.Biometrics.BiometricManager.Strings GetStrings(int arg0) return IExecuteWithSignature("getStrings", "(I)Landroid/hardware/biometrics/BiometricManager$Strings;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public int CanAuthenticate() + { + return IExecuteWithSignature("canAuthenticate", "()I"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricPrompt.cs b/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricPrompt.cs index c01e13883..21d93ca11 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricPrompt.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Biometrics/BiometricPrompt.cs @@ -412,6 +412,16 @@ public Android.Hardware.Biometrics.BiometricPrompt.Builder SetDescription(Java.L return IExecuteWithSignature("setDescription", "(Ljava/lang/CharSequence;)Landroid/hardware/biometrics/BiometricPrompt$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Biometrics.BiometricPrompt.Builder SetDeviceCredentialAllowed(bool arg0) + { + return IExecuteWithSignature("setDeviceCredentialAllowed", "(Z)Landroid/hardware/biometrics/BiometricPrompt$Builder;", arg0); + } + /// /// /// /// @@ -456,6 +466,15 @@ public partial class CryptoObject { #region Constructors /// + /// + /// + /// + [System.Obsolete()] + public CryptoObject(Android.Security.Identity.IdentityCredential arg0) + : base(arg0) + { + } + /// /// /// /// @@ -511,6 +530,14 @@ public Javax.Crypto.Cipher Cipher get { return IExecuteWithSignature("getCipher", "()Ljavax/crypto/Cipher;"); } } /// + /// + /// + [System.Obsolete()] + public Android.Security.Identity.IdentityCredential IdentityCredential + { + get { return IExecuteWithSignature("getIdentityCredential", "()Landroid/security/identity/IdentityCredential;"); } + } + /// /// /// public Javax.Crypto.Mac Mac diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera.cs new file mode 100644 index 000000000..6408aeaa6 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera.cs @@ -0,0 +1,2098 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Hardware +{ + #region Camera + public partial class Camera + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CAMERA_ERROR_EVICTED { get { if (!_CAMERA_ERROR_EVICTEDReady) { _CAMERA_ERROR_EVICTEDContent = SGetField(LocalBridgeClazz, "CAMERA_ERROR_EVICTED"); _CAMERA_ERROR_EVICTEDReady = true; } return _CAMERA_ERROR_EVICTEDContent; } } + private static int _CAMERA_ERROR_EVICTEDContent = default; + private static bool _CAMERA_ERROR_EVICTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CAMERA_ERROR_SERVER_DIED { get { if (!_CAMERA_ERROR_SERVER_DIEDReady) { _CAMERA_ERROR_SERVER_DIEDContent = SGetField(LocalBridgeClazz, "CAMERA_ERROR_SERVER_DIED"); _CAMERA_ERROR_SERVER_DIEDReady = true; } return _CAMERA_ERROR_SERVER_DIEDContent; } } + private static int _CAMERA_ERROR_SERVER_DIEDContent = default; + private static bool _CAMERA_ERROR_SERVER_DIEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CAMERA_ERROR_UNKNOWN { get { if (!_CAMERA_ERROR_UNKNOWNReady) { _CAMERA_ERROR_UNKNOWNContent = SGetField(LocalBridgeClazz, "CAMERA_ERROR_UNKNOWN"); _CAMERA_ERROR_UNKNOWNReady = true; } return _CAMERA_ERROR_UNKNOWNContent; } } + private static int _CAMERA_ERROR_UNKNOWNContent = default; + private static bool _CAMERA_ERROR_UNKNOWNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_NEW_PICTURE { get { if (!_ACTION_NEW_PICTUREReady) { _ACTION_NEW_PICTUREContent = SGetField(LocalBridgeClazz, "ACTION_NEW_PICTURE"); _ACTION_NEW_PICTUREReady = true; } return _ACTION_NEW_PICTUREContent; } } + private static Java.Lang.String _ACTION_NEW_PICTUREContent = default; + private static bool _ACTION_NEW_PICTUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_NEW_VIDEO { get { if (!_ACTION_NEW_VIDEOReady) { _ACTION_NEW_VIDEOContent = SGetField(LocalBridgeClazz, "ACTION_NEW_VIDEO"); _ACTION_NEW_VIDEOReady = true; } return _ACTION_NEW_VIDEOContent; } } + private static Java.Lang.String _ACTION_NEW_VIDEOContent = default; + private static bool _ACTION_NEW_VIDEOReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + [System.Obsolete()] + public static int NumberOfCameras + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getNumberOfCameras", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Hardware.Camera Open() + { + return SExecuteWithSignature(LocalBridgeClazz, "open", "()Landroid/hardware/Camera;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Hardware.Camera Open(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "open", "(I)Landroid/hardware/Camera;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void GetCameraInfo(int arg0, Android.Hardware.Camera.CameraInfo arg1) + { + SExecute(LocalBridgeClazz, "getCameraInfo", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Camera.Parameters GetParameters + { + get { return IExecuteWithSignature("getParameters", "()Landroid/hardware/Camera$Parameters;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool EnableShutterSound(bool arg0) + { + return IExecuteWithSignature("enableShutterSound", "(Z)Z", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Lock() + { + IExecuteWithSignature("lock", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Reconnect() + { + IExecuteWithSignature("reconnect", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDisplayOrientation(int arg0) + { + IExecuteWithSignature("setDisplayOrientation", "(I)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewTexture(Android.Graphics.SurfaceTexture arg0) + { + IExecuteWithSignature("setPreviewTexture", "(Landroid/graphics/SurfaceTexture;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void StartPreview() + { + IExecuteWithSignature("startPreview", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void StartSmoothZoom(int arg0) + { + IExecuteWithSignature("startSmoothZoom", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void StopSmoothZoom() + { + IExecuteWithSignature("stopSmoothZoom", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void Unlock() + { + IExecuteWithSignature("unlock", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddCallbackBuffer(byte[] arg0) + { + IExecuteWithSignature("addCallbackBuffer", "([B)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AutoFocus(Android.Hardware.Camera.AutoFocusCallback arg0) + { + IExecuteWithSignature("autoFocus", "(Landroid/hardware/Camera$AutoFocusCallback;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void CancelAutoFocus() + { + IExecuteWithSignature("cancelAutoFocus", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void Release() + { + IExecuteWithSignature("release", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetErrorCallback(Android.Hardware.Camera.ErrorCallback arg0) + { + IExecuteWithSignature("setErrorCallback", "(Landroid/hardware/Camera$ErrorCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetFaceDetectionListener(Android.Hardware.Camera.FaceDetectionListener arg0) + { + IExecuteWithSignature("setFaceDetectionListener", "(Landroid/hardware/Camera$FaceDetectionListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOneShotPreviewCallback(Android.Hardware.Camera.PreviewCallback arg0) + { + IExecuteWithSignature("setOneShotPreviewCallback", "(Landroid/hardware/Camera$PreviewCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewCallback(Android.Hardware.Camera.PreviewCallback arg0) + { + IExecuteWithSignature("setPreviewCallback", "(Landroid/hardware/Camera$PreviewCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewCallbackWithBuffer(Android.Hardware.Camera.PreviewCallback arg0) + { + IExecuteWithSignature("setPreviewCallbackWithBuffer", "(Landroid/hardware/Camera$PreviewCallback;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewDisplay(Android.View.SurfaceHolder arg0) + { + IExecuteWithSignature("setPreviewDisplay", "(Landroid/view/SurfaceHolder;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetZoomChangeListener(Android.Hardware.Camera.OnZoomChangeListener arg0) + { + IExecuteWithSignature("setZoomChangeListener", "(Landroid/hardware/Camera$OnZoomChangeListener;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void StartFaceDetection() + { + IExecuteWithSignature("startFaceDetection", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void StopFaceDetection() + { + IExecuteWithSignature("stopFaceDetection", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void StopPreview() + { + IExecuteWithSignature("stopPreview", "()V"); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void TakePicture(Android.Hardware.Camera.ShutterCallback arg0, Android.Hardware.Camera.PictureCallback arg1, Android.Hardware.Camera.PictureCallback arg2, Android.Hardware.Camera.PictureCallback arg3) + { + IExecute("takePicture", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void TakePicture(Android.Hardware.Camera.ShutterCallback arg0, Android.Hardware.Camera.PictureCallback arg1, Android.Hardware.Camera.PictureCallback arg2) + { + IExecute("takePicture", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAutoFocusMoveCallback(Android.Hardware.Camera.AutoFocusMoveCallback arg0) + { + IExecuteWithSignature("setAutoFocusMoveCallback", "(Landroid/hardware/Camera$AutoFocusMoveCallback;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetParameters(Android.Hardware.Camera.Parameters arg0) + { + IExecuteWithSignature("setParameters", "(Landroid/hardware/Camera$Parameters;)V", arg0); + } + + #endregion + + #region Nested classes + #region Area + public partial class Area + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Area(Android.Graphics.Rect arg0, int arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Rect rect { get { return IGetField("rect"); } set { ISetField("rect", value); } } + /// + /// + /// + [System.Obsolete()] + public int weight { get { return IGetField("weight"); } set { ISetField("weight", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region AutoFocusCallback + public partial class AutoFocusCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnAutoFocus(bool arg0, Android.Hardware.Camera arg1) + { + IExecute("onAutoFocus", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region AutoFocusMoveCallback + public partial class AutoFocusMoveCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnAutoFocusMoving(bool arg0, Android.Hardware.Camera arg1) + { + IExecute("onAutoFocusMoving", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region CameraInfo + public partial class CameraInfo + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public bool canDisableShutterSound { get { return IGetField("canDisableShutterSound"); } set { ISetField("canDisableShutterSound", value); } } + /// + /// + /// + [System.Obsolete()] + public int facing { get { return IGetField("facing"); } set { ISetField("facing", value); } } + /// + /// + /// + [System.Obsolete()] + public int orientation { get { return IGetField("orientation"); } set { ISetField("orientation", value); } } + /// + /// + /// + [System.Obsolete()] + public static int CAMERA_FACING_BACK { get { if (!_CAMERA_FACING_BACKReady) { _CAMERA_FACING_BACKContent = SGetField(LocalBridgeClazz, "CAMERA_FACING_BACK"); _CAMERA_FACING_BACKReady = true; } return _CAMERA_FACING_BACKContent; } } + private static int _CAMERA_FACING_BACKContent = default; + private static bool _CAMERA_FACING_BACKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CAMERA_FACING_FRONT { get { if (!_CAMERA_FACING_FRONTReady) { _CAMERA_FACING_FRONTContent = SGetField(LocalBridgeClazz, "CAMERA_FACING_FRONT"); _CAMERA_FACING_FRONTReady = true; } return _CAMERA_FACING_FRONTContent; } } + private static int _CAMERA_FACING_FRONTContent = default; + private static bool _CAMERA_FACING_FRONTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ErrorCallback + public partial class ErrorCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnError(int arg0, Android.Hardware.Camera arg1) + { + IExecute("onError", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Face + public partial class Face + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Point leftEye { get { return IGetField("leftEye"); } set { ISetField("leftEye", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Point mouth { get { return IGetField("mouth"); } set { ISetField("mouth", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Point rightEye { get { return IGetField("rightEye"); } set { ISetField("rightEye", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Rect rect { get { return IGetField("rect"); } set { ISetField("rect", value); } } + /// + /// + /// + [System.Obsolete()] + public int id { get { return IGetField("id"); } set { ISetField("id", value); } } + /// + /// + /// + [System.Obsolete()] + public int score { get { return IGetField("score"); } set { ISetField("score", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FaceDetectionListener + public partial class FaceDetectionListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onFaceDetection", new System.EventHandler>>(OnFaceDetectionEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnFaceDetection { get; set; } = null; + + void OnFaceDetectionEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnFaceDetection != null) ? OnOnFaceDetection : OnFaceDetection; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnFaceDetection(Android.Hardware.Camera.Face[] arg0, Android.Hardware.Camera arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FaceDetectionListenerDirect + public partial class FaceDetectionListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnFaceDetection(Android.Hardware.Camera.Face[] arg0, Android.Hardware.Camera arg1) + { + IExecute("onFaceDetection", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnZoomChangeListener + public partial class OnZoomChangeListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onZoomChange", new System.EventHandler>>(OnZoomChangeEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnZoomChange { get; set; } = null; + + void OnZoomChangeEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnZoomChange != null) ? OnOnZoomChange : OnZoomChange; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnZoomChange(int arg0, bool arg1, Android.Hardware.Camera arg2) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnZoomChangeListenerDirect + public partial class OnZoomChangeListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnZoomChange(int arg0, bool arg1, Android.Hardware.Camera arg2) + { + IExecute("onZoomChange", arg0, arg1, arg2); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Parameters + public partial class Parameters + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int FOCUS_DISTANCE_FAR_INDEX { get { if (!_FOCUS_DISTANCE_FAR_INDEXReady) { _FOCUS_DISTANCE_FAR_INDEXContent = SGetField(LocalBridgeClazz, "FOCUS_DISTANCE_FAR_INDEX"); _FOCUS_DISTANCE_FAR_INDEXReady = true; } return _FOCUS_DISTANCE_FAR_INDEXContent; } } + private static int _FOCUS_DISTANCE_FAR_INDEXContent = default; + private static bool _FOCUS_DISTANCE_FAR_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FOCUS_DISTANCE_NEAR_INDEX { get { if (!_FOCUS_DISTANCE_NEAR_INDEXReady) { _FOCUS_DISTANCE_NEAR_INDEXContent = SGetField(LocalBridgeClazz, "FOCUS_DISTANCE_NEAR_INDEX"); _FOCUS_DISTANCE_NEAR_INDEXReady = true; } return _FOCUS_DISTANCE_NEAR_INDEXContent; } } + private static int _FOCUS_DISTANCE_NEAR_INDEXContent = default; + private static bool _FOCUS_DISTANCE_NEAR_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FOCUS_DISTANCE_OPTIMAL_INDEX { get { if (!_FOCUS_DISTANCE_OPTIMAL_INDEXReady) { _FOCUS_DISTANCE_OPTIMAL_INDEXContent = SGetField(LocalBridgeClazz, "FOCUS_DISTANCE_OPTIMAL_INDEX"); _FOCUS_DISTANCE_OPTIMAL_INDEXReady = true; } return _FOCUS_DISTANCE_OPTIMAL_INDEXContent; } } + private static int _FOCUS_DISTANCE_OPTIMAL_INDEXContent = default; + private static bool _FOCUS_DISTANCE_OPTIMAL_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PREVIEW_FPS_MAX_INDEX { get { if (!_PREVIEW_FPS_MAX_INDEXReady) { _PREVIEW_FPS_MAX_INDEXContent = SGetField(LocalBridgeClazz, "PREVIEW_FPS_MAX_INDEX"); _PREVIEW_FPS_MAX_INDEXReady = true; } return _PREVIEW_FPS_MAX_INDEXContent; } } + private static int _PREVIEW_FPS_MAX_INDEXContent = default; + private static bool _PREVIEW_FPS_MAX_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PREVIEW_FPS_MIN_INDEX { get { if (!_PREVIEW_FPS_MIN_INDEXReady) { _PREVIEW_FPS_MIN_INDEXContent = SGetField(LocalBridgeClazz, "PREVIEW_FPS_MIN_INDEX"); _PREVIEW_FPS_MIN_INDEXReady = true; } return _PREVIEW_FPS_MIN_INDEXContent; } } + private static int _PREVIEW_FPS_MIN_INDEXContent = default; + private static bool _PREVIEW_FPS_MIN_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANTIBANDING_50HZ { get { if (!_ANTIBANDING_50HZReady) { _ANTIBANDING_50HZContent = SGetField(LocalBridgeClazz, "ANTIBANDING_50HZ"); _ANTIBANDING_50HZReady = true; } return _ANTIBANDING_50HZContent; } } + private static Java.Lang.String _ANTIBANDING_50HZContent = default; + private static bool _ANTIBANDING_50HZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANTIBANDING_60HZ { get { if (!_ANTIBANDING_60HZReady) { _ANTIBANDING_60HZContent = SGetField(LocalBridgeClazz, "ANTIBANDING_60HZ"); _ANTIBANDING_60HZReady = true; } return _ANTIBANDING_60HZContent; } } + private static Java.Lang.String _ANTIBANDING_60HZContent = default; + private static bool _ANTIBANDING_60HZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANTIBANDING_AUTO { get { if (!_ANTIBANDING_AUTOReady) { _ANTIBANDING_AUTOContent = SGetField(LocalBridgeClazz, "ANTIBANDING_AUTO"); _ANTIBANDING_AUTOReady = true; } return _ANTIBANDING_AUTOContent; } } + private static Java.Lang.String _ANTIBANDING_AUTOContent = default; + private static bool _ANTIBANDING_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANTIBANDING_OFF { get { if (!_ANTIBANDING_OFFReady) { _ANTIBANDING_OFFContent = SGetField(LocalBridgeClazz, "ANTIBANDING_OFF"); _ANTIBANDING_OFFReady = true; } return _ANTIBANDING_OFFContent; } } + private static Java.Lang.String _ANTIBANDING_OFFContent = default; + private static bool _ANTIBANDING_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_AQUA { get { if (!_EFFECT_AQUAReady) { _EFFECT_AQUAContent = SGetField(LocalBridgeClazz, "EFFECT_AQUA"); _EFFECT_AQUAReady = true; } return _EFFECT_AQUAContent; } } + private static Java.Lang.String _EFFECT_AQUAContent = default; + private static bool _EFFECT_AQUAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_BLACKBOARD { get { if (!_EFFECT_BLACKBOARDReady) { _EFFECT_BLACKBOARDContent = SGetField(LocalBridgeClazz, "EFFECT_BLACKBOARD"); _EFFECT_BLACKBOARDReady = true; } return _EFFECT_BLACKBOARDContent; } } + private static Java.Lang.String _EFFECT_BLACKBOARDContent = default; + private static bool _EFFECT_BLACKBOARDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_MONO { get { if (!_EFFECT_MONOReady) { _EFFECT_MONOContent = SGetField(LocalBridgeClazz, "EFFECT_MONO"); _EFFECT_MONOReady = true; } return _EFFECT_MONOContent; } } + private static Java.Lang.String _EFFECT_MONOContent = default; + private static bool _EFFECT_MONOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_NEGATIVE { get { if (!_EFFECT_NEGATIVEReady) { _EFFECT_NEGATIVEContent = SGetField(LocalBridgeClazz, "EFFECT_NEGATIVE"); _EFFECT_NEGATIVEReady = true; } return _EFFECT_NEGATIVEContent; } } + private static Java.Lang.String _EFFECT_NEGATIVEContent = default; + private static bool _EFFECT_NEGATIVEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_NONE { get { if (!_EFFECT_NONEReady) { _EFFECT_NONEContent = SGetField(LocalBridgeClazz, "EFFECT_NONE"); _EFFECT_NONEReady = true; } return _EFFECT_NONEContent; } } + private static Java.Lang.String _EFFECT_NONEContent = default; + private static bool _EFFECT_NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_POSTERIZE { get { if (!_EFFECT_POSTERIZEReady) { _EFFECT_POSTERIZEContent = SGetField(LocalBridgeClazz, "EFFECT_POSTERIZE"); _EFFECT_POSTERIZEReady = true; } return _EFFECT_POSTERIZEContent; } } + private static Java.Lang.String _EFFECT_POSTERIZEContent = default; + private static bool _EFFECT_POSTERIZEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_SEPIA { get { if (!_EFFECT_SEPIAReady) { _EFFECT_SEPIAContent = SGetField(LocalBridgeClazz, "EFFECT_SEPIA"); _EFFECT_SEPIAReady = true; } return _EFFECT_SEPIAContent; } } + private static Java.Lang.String _EFFECT_SEPIAContent = default; + private static bool _EFFECT_SEPIAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_SOLARIZE { get { if (!_EFFECT_SOLARIZEReady) { _EFFECT_SOLARIZEContent = SGetField(LocalBridgeClazz, "EFFECT_SOLARIZE"); _EFFECT_SOLARIZEReady = true; } return _EFFECT_SOLARIZEContent; } } + private static Java.Lang.String _EFFECT_SOLARIZEContent = default; + private static bool _EFFECT_SOLARIZEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EFFECT_WHITEBOARD { get { if (!_EFFECT_WHITEBOARDReady) { _EFFECT_WHITEBOARDContent = SGetField(LocalBridgeClazz, "EFFECT_WHITEBOARD"); _EFFECT_WHITEBOARDReady = true; } return _EFFECT_WHITEBOARDContent; } } + private static Java.Lang.String _EFFECT_WHITEBOARDContent = default; + private static bool _EFFECT_WHITEBOARDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FLASH_MODE_AUTO { get { if (!_FLASH_MODE_AUTOReady) { _FLASH_MODE_AUTOContent = SGetField(LocalBridgeClazz, "FLASH_MODE_AUTO"); _FLASH_MODE_AUTOReady = true; } return _FLASH_MODE_AUTOContent; } } + private static Java.Lang.String _FLASH_MODE_AUTOContent = default; + private static bool _FLASH_MODE_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FLASH_MODE_OFF { get { if (!_FLASH_MODE_OFFReady) { _FLASH_MODE_OFFContent = SGetField(LocalBridgeClazz, "FLASH_MODE_OFF"); _FLASH_MODE_OFFReady = true; } return _FLASH_MODE_OFFContent; } } + private static Java.Lang.String _FLASH_MODE_OFFContent = default; + private static bool _FLASH_MODE_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FLASH_MODE_ON { get { if (!_FLASH_MODE_ONReady) { _FLASH_MODE_ONContent = SGetField(LocalBridgeClazz, "FLASH_MODE_ON"); _FLASH_MODE_ONReady = true; } return _FLASH_MODE_ONContent; } } + private static Java.Lang.String _FLASH_MODE_ONContent = default; + private static bool _FLASH_MODE_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FLASH_MODE_RED_EYE { get { if (!_FLASH_MODE_RED_EYEReady) { _FLASH_MODE_RED_EYEContent = SGetField(LocalBridgeClazz, "FLASH_MODE_RED_EYE"); _FLASH_MODE_RED_EYEReady = true; } return _FLASH_MODE_RED_EYEContent; } } + private static Java.Lang.String _FLASH_MODE_RED_EYEContent = default; + private static bool _FLASH_MODE_RED_EYEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FLASH_MODE_TORCH { get { if (!_FLASH_MODE_TORCHReady) { _FLASH_MODE_TORCHContent = SGetField(LocalBridgeClazz, "FLASH_MODE_TORCH"); _FLASH_MODE_TORCHReady = true; } return _FLASH_MODE_TORCHContent; } } + private static Java.Lang.String _FLASH_MODE_TORCHContent = default; + private static bool _FLASH_MODE_TORCHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_AUTO { get { if (!_FOCUS_MODE_AUTOReady) { _FOCUS_MODE_AUTOContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_AUTO"); _FOCUS_MODE_AUTOReady = true; } return _FOCUS_MODE_AUTOContent; } } + private static Java.Lang.String _FOCUS_MODE_AUTOContent = default; + private static bool _FOCUS_MODE_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_CONTINUOUS_PICTURE { get { if (!_FOCUS_MODE_CONTINUOUS_PICTUREReady) { _FOCUS_MODE_CONTINUOUS_PICTUREContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_CONTINUOUS_PICTURE"); _FOCUS_MODE_CONTINUOUS_PICTUREReady = true; } return _FOCUS_MODE_CONTINUOUS_PICTUREContent; } } + private static Java.Lang.String _FOCUS_MODE_CONTINUOUS_PICTUREContent = default; + private static bool _FOCUS_MODE_CONTINUOUS_PICTUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_CONTINUOUS_VIDEO { get { if (!_FOCUS_MODE_CONTINUOUS_VIDEOReady) { _FOCUS_MODE_CONTINUOUS_VIDEOContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_CONTINUOUS_VIDEO"); _FOCUS_MODE_CONTINUOUS_VIDEOReady = true; } return _FOCUS_MODE_CONTINUOUS_VIDEOContent; } } + private static Java.Lang.String _FOCUS_MODE_CONTINUOUS_VIDEOContent = default; + private static bool _FOCUS_MODE_CONTINUOUS_VIDEOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_EDOF { get { if (!_FOCUS_MODE_EDOFReady) { _FOCUS_MODE_EDOFContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_EDOF"); _FOCUS_MODE_EDOFReady = true; } return _FOCUS_MODE_EDOFContent; } } + private static Java.Lang.String _FOCUS_MODE_EDOFContent = default; + private static bool _FOCUS_MODE_EDOFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_FIXED { get { if (!_FOCUS_MODE_FIXEDReady) { _FOCUS_MODE_FIXEDContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_FIXED"); _FOCUS_MODE_FIXEDReady = true; } return _FOCUS_MODE_FIXEDContent; } } + private static Java.Lang.String _FOCUS_MODE_FIXEDContent = default; + private static bool _FOCUS_MODE_FIXEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_INFINITY { get { if (!_FOCUS_MODE_INFINITYReady) { _FOCUS_MODE_INFINITYContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_INFINITY"); _FOCUS_MODE_INFINITYReady = true; } return _FOCUS_MODE_INFINITYContent; } } + private static Java.Lang.String _FOCUS_MODE_INFINITYContent = default; + private static bool _FOCUS_MODE_INFINITYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FOCUS_MODE_MACRO { get { if (!_FOCUS_MODE_MACROReady) { _FOCUS_MODE_MACROContent = SGetField(LocalBridgeClazz, "FOCUS_MODE_MACRO"); _FOCUS_MODE_MACROReady = true; } return _FOCUS_MODE_MACROContent; } } + private static Java.Lang.String _FOCUS_MODE_MACROContent = default; + private static bool _FOCUS_MODE_MACROReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_ACTION { get { if (!_SCENE_MODE_ACTIONReady) { _SCENE_MODE_ACTIONContent = SGetField(LocalBridgeClazz, "SCENE_MODE_ACTION"); _SCENE_MODE_ACTIONReady = true; } return _SCENE_MODE_ACTIONContent; } } + private static Java.Lang.String _SCENE_MODE_ACTIONContent = default; + private static bool _SCENE_MODE_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_AUTO { get { if (!_SCENE_MODE_AUTOReady) { _SCENE_MODE_AUTOContent = SGetField(LocalBridgeClazz, "SCENE_MODE_AUTO"); _SCENE_MODE_AUTOReady = true; } return _SCENE_MODE_AUTOContent; } } + private static Java.Lang.String _SCENE_MODE_AUTOContent = default; + private static bool _SCENE_MODE_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_BARCODE { get { if (!_SCENE_MODE_BARCODEReady) { _SCENE_MODE_BARCODEContent = SGetField(LocalBridgeClazz, "SCENE_MODE_BARCODE"); _SCENE_MODE_BARCODEReady = true; } return _SCENE_MODE_BARCODEContent; } } + private static Java.Lang.String _SCENE_MODE_BARCODEContent = default; + private static bool _SCENE_MODE_BARCODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_BEACH { get { if (!_SCENE_MODE_BEACHReady) { _SCENE_MODE_BEACHContent = SGetField(LocalBridgeClazz, "SCENE_MODE_BEACH"); _SCENE_MODE_BEACHReady = true; } return _SCENE_MODE_BEACHContent; } } + private static Java.Lang.String _SCENE_MODE_BEACHContent = default; + private static bool _SCENE_MODE_BEACHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_CANDLELIGHT { get { if (!_SCENE_MODE_CANDLELIGHTReady) { _SCENE_MODE_CANDLELIGHTContent = SGetField(LocalBridgeClazz, "SCENE_MODE_CANDLELIGHT"); _SCENE_MODE_CANDLELIGHTReady = true; } return _SCENE_MODE_CANDLELIGHTContent; } } + private static Java.Lang.String _SCENE_MODE_CANDLELIGHTContent = default; + private static bool _SCENE_MODE_CANDLELIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_FIREWORKS { get { if (!_SCENE_MODE_FIREWORKSReady) { _SCENE_MODE_FIREWORKSContent = SGetField(LocalBridgeClazz, "SCENE_MODE_FIREWORKS"); _SCENE_MODE_FIREWORKSReady = true; } return _SCENE_MODE_FIREWORKSContent; } } + private static Java.Lang.String _SCENE_MODE_FIREWORKSContent = default; + private static bool _SCENE_MODE_FIREWORKSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_HDR { get { if (!_SCENE_MODE_HDRReady) { _SCENE_MODE_HDRContent = SGetField(LocalBridgeClazz, "SCENE_MODE_HDR"); _SCENE_MODE_HDRReady = true; } return _SCENE_MODE_HDRContent; } } + private static Java.Lang.String _SCENE_MODE_HDRContent = default; + private static bool _SCENE_MODE_HDRReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_LANDSCAPE { get { if (!_SCENE_MODE_LANDSCAPEReady) { _SCENE_MODE_LANDSCAPEContent = SGetField(LocalBridgeClazz, "SCENE_MODE_LANDSCAPE"); _SCENE_MODE_LANDSCAPEReady = true; } return _SCENE_MODE_LANDSCAPEContent; } } + private static Java.Lang.String _SCENE_MODE_LANDSCAPEContent = default; + private static bool _SCENE_MODE_LANDSCAPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_NIGHT { get { if (!_SCENE_MODE_NIGHTReady) { _SCENE_MODE_NIGHTContent = SGetField(LocalBridgeClazz, "SCENE_MODE_NIGHT"); _SCENE_MODE_NIGHTReady = true; } return _SCENE_MODE_NIGHTContent; } } + private static Java.Lang.String _SCENE_MODE_NIGHTContent = default; + private static bool _SCENE_MODE_NIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_NIGHT_PORTRAIT { get { if (!_SCENE_MODE_NIGHT_PORTRAITReady) { _SCENE_MODE_NIGHT_PORTRAITContent = SGetField(LocalBridgeClazz, "SCENE_MODE_NIGHT_PORTRAIT"); _SCENE_MODE_NIGHT_PORTRAITReady = true; } return _SCENE_MODE_NIGHT_PORTRAITContent; } } + private static Java.Lang.String _SCENE_MODE_NIGHT_PORTRAITContent = default; + private static bool _SCENE_MODE_NIGHT_PORTRAITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_PARTY { get { if (!_SCENE_MODE_PARTYReady) { _SCENE_MODE_PARTYContent = SGetField(LocalBridgeClazz, "SCENE_MODE_PARTY"); _SCENE_MODE_PARTYReady = true; } return _SCENE_MODE_PARTYContent; } } + private static Java.Lang.String _SCENE_MODE_PARTYContent = default; + private static bool _SCENE_MODE_PARTYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_PORTRAIT { get { if (!_SCENE_MODE_PORTRAITReady) { _SCENE_MODE_PORTRAITContent = SGetField(LocalBridgeClazz, "SCENE_MODE_PORTRAIT"); _SCENE_MODE_PORTRAITReady = true; } return _SCENE_MODE_PORTRAITContent; } } + private static Java.Lang.String _SCENE_MODE_PORTRAITContent = default; + private static bool _SCENE_MODE_PORTRAITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_SNOW { get { if (!_SCENE_MODE_SNOWReady) { _SCENE_MODE_SNOWContent = SGetField(LocalBridgeClazz, "SCENE_MODE_SNOW"); _SCENE_MODE_SNOWReady = true; } return _SCENE_MODE_SNOWContent; } } + private static Java.Lang.String _SCENE_MODE_SNOWContent = default; + private static bool _SCENE_MODE_SNOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_SPORTS { get { if (!_SCENE_MODE_SPORTSReady) { _SCENE_MODE_SPORTSContent = SGetField(LocalBridgeClazz, "SCENE_MODE_SPORTS"); _SCENE_MODE_SPORTSReady = true; } return _SCENE_MODE_SPORTSContent; } } + private static Java.Lang.String _SCENE_MODE_SPORTSContent = default; + private static bool _SCENE_MODE_SPORTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_STEADYPHOTO { get { if (!_SCENE_MODE_STEADYPHOTOReady) { _SCENE_MODE_STEADYPHOTOContent = SGetField(LocalBridgeClazz, "SCENE_MODE_STEADYPHOTO"); _SCENE_MODE_STEADYPHOTOReady = true; } return _SCENE_MODE_STEADYPHOTOContent; } } + private static Java.Lang.String _SCENE_MODE_STEADYPHOTOContent = default; + private static bool _SCENE_MODE_STEADYPHOTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_SUNSET { get { if (!_SCENE_MODE_SUNSETReady) { _SCENE_MODE_SUNSETContent = SGetField(LocalBridgeClazz, "SCENE_MODE_SUNSET"); _SCENE_MODE_SUNSETReady = true; } return _SCENE_MODE_SUNSETContent; } } + private static Java.Lang.String _SCENE_MODE_SUNSETContent = default; + private static bool _SCENE_MODE_SUNSETReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SCENE_MODE_THEATRE { get { if (!_SCENE_MODE_THEATREReady) { _SCENE_MODE_THEATREContent = SGetField(LocalBridgeClazz, "SCENE_MODE_THEATRE"); _SCENE_MODE_THEATREReady = true; } return _SCENE_MODE_THEATREContent; } } + private static Java.Lang.String _SCENE_MODE_THEATREContent = default; + private static bool _SCENE_MODE_THEATREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_AUTO { get { if (!_WHITE_BALANCE_AUTOReady) { _WHITE_BALANCE_AUTOContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_AUTO"); _WHITE_BALANCE_AUTOReady = true; } return _WHITE_BALANCE_AUTOContent; } } + private static Java.Lang.String _WHITE_BALANCE_AUTOContent = default; + private static bool _WHITE_BALANCE_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_CLOUDY_DAYLIGHT { get { if (!_WHITE_BALANCE_CLOUDY_DAYLIGHTReady) { _WHITE_BALANCE_CLOUDY_DAYLIGHTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_CLOUDY_DAYLIGHT"); _WHITE_BALANCE_CLOUDY_DAYLIGHTReady = true; } return _WHITE_BALANCE_CLOUDY_DAYLIGHTContent; } } + private static Java.Lang.String _WHITE_BALANCE_CLOUDY_DAYLIGHTContent = default; + private static bool _WHITE_BALANCE_CLOUDY_DAYLIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_DAYLIGHT { get { if (!_WHITE_BALANCE_DAYLIGHTReady) { _WHITE_BALANCE_DAYLIGHTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_DAYLIGHT"); _WHITE_BALANCE_DAYLIGHTReady = true; } return _WHITE_BALANCE_DAYLIGHTContent; } } + private static Java.Lang.String _WHITE_BALANCE_DAYLIGHTContent = default; + private static bool _WHITE_BALANCE_DAYLIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_FLUORESCENT { get { if (!_WHITE_BALANCE_FLUORESCENTReady) { _WHITE_BALANCE_FLUORESCENTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_FLUORESCENT"); _WHITE_BALANCE_FLUORESCENTReady = true; } return _WHITE_BALANCE_FLUORESCENTContent; } } + private static Java.Lang.String _WHITE_BALANCE_FLUORESCENTContent = default; + private static bool _WHITE_BALANCE_FLUORESCENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_INCANDESCENT { get { if (!_WHITE_BALANCE_INCANDESCENTReady) { _WHITE_BALANCE_INCANDESCENTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_INCANDESCENT"); _WHITE_BALANCE_INCANDESCENTReady = true; } return _WHITE_BALANCE_INCANDESCENTContent; } } + private static Java.Lang.String _WHITE_BALANCE_INCANDESCENTContent = default; + private static bool _WHITE_BALANCE_INCANDESCENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_SHADE { get { if (!_WHITE_BALANCE_SHADEReady) { _WHITE_BALANCE_SHADEContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_SHADE"); _WHITE_BALANCE_SHADEReady = true; } return _WHITE_BALANCE_SHADEContent; } } + private static Java.Lang.String _WHITE_BALANCE_SHADEContent = default; + private static bool _WHITE_BALANCE_SHADEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_TWILIGHT { get { if (!_WHITE_BALANCE_TWILIGHTReady) { _WHITE_BALANCE_TWILIGHTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_TWILIGHT"); _WHITE_BALANCE_TWILIGHTReady = true; } return _WHITE_BALANCE_TWILIGHTContent; } } + private static Java.Lang.String _WHITE_BALANCE_TWILIGHTContent = default; + private static bool _WHITE_BALANCE_TWILIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WHITE_BALANCE_WARM_FLUORESCENT { get { if (!_WHITE_BALANCE_WARM_FLUORESCENTReady) { _WHITE_BALANCE_WARM_FLUORESCENTContent = SGetField(LocalBridgeClazz, "WHITE_BALANCE_WARM_FLUORESCENT"); _WHITE_BALANCE_WARM_FLUORESCENTReady = true; } return _WHITE_BALANCE_WARM_FLUORESCENTContent; } } + private static Java.Lang.String _WHITE_BALANCE_WARM_FLUORESCENTContent = default; + private static bool _WHITE_BALANCE_WARM_FLUORESCENTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Antibanding + { + get { return IExecuteWithSignature("getAntibanding", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setAntibanding", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public bool AutoExposureLock + { + get { return IExecuteWithSignature("getAutoExposureLock", "()Z"); } set { IExecuteWithSignature("setAutoExposureLock", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public bool AutoWhiteBalanceLock + { + get { return IExecuteWithSignature("getAutoWhiteBalanceLock", "()Z"); } set { IExecuteWithSignature("setAutoWhiteBalanceLock", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ColorEffect + { + get { return IExecuteWithSignature("getColorEffect", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setColorEffect", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int ExposureCompensation + { + get { return IExecuteWithSignature("getExposureCompensation", "()I"); } set { IExecuteWithSignature("setExposureCompensation", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public float ExposureCompensationStep + { + get { return IExecuteWithSignature("getExposureCompensationStep", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String FlashMode + { + get { return IExecuteWithSignature("getFlashMode", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setFlashMode", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public float FocalLength + { + get { return IExecuteWithSignature("getFocalLength", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List FocusAreas + { + get { return IExecuteWithSignature>("getFocusAreas", "()Ljava/util/List;"); } set { IExecuteWithSignature("setFocusAreas", "(Ljava/util/List;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String FocusMode + { + get { return IExecuteWithSignature("getFocusMode", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setFocusMode", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public float HorizontalViewAngle + { + get { return IExecuteWithSignature("getHorizontalViewAngle", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public int JpegQuality + { + get { return IExecuteWithSignature("getJpegQuality", "()I"); } set { IExecuteWithSignature("setJpegQuality", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int JpegThumbnailQuality + { + get { return IExecuteWithSignature("getJpegThumbnailQuality", "()I"); } set { IExecuteWithSignature("setJpegThumbnailQuality", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Camera.Size JpegThumbnailSize + { + get { return IExecuteWithSignature("getJpegThumbnailSize", "()Landroid/hardware/Camera$Size;"); } + } + /// + /// + /// + [System.Obsolete()] + public int MaxExposureCompensation + { + get { return IExecuteWithSignature("getMaxExposureCompensation", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int MaxNumDetectedFaces + { + get { return IExecuteWithSignature("getMaxNumDetectedFaces", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int MaxNumFocusAreas + { + get { return IExecuteWithSignature("getMaxNumFocusAreas", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int MaxNumMeteringAreas + { + get { return IExecuteWithSignature("getMaxNumMeteringAreas", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int MaxZoom + { + get { return IExecuteWithSignature("getMaxZoom", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List MeteringAreas + { + get { return IExecuteWithSignature>("getMeteringAreas", "()Ljava/util/List;"); } set { IExecuteWithSignature("setMeteringAreas", "(Ljava/util/List;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int MinExposureCompensation + { + get { return IExecuteWithSignature("getMinExposureCompensation", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int PictureFormat + { + get { return IExecuteWithSignature("getPictureFormat", "()I"); } set { IExecuteWithSignature("setPictureFormat", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Camera.Size PictureSize + { + get { return IExecuteWithSignature("getPictureSize", "()Landroid/hardware/Camera$Size;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Camera.Size PreferredPreviewSizeForVideo + { + get { return IExecuteWithSignature("getPreferredPreviewSizeForVideo", "()Landroid/hardware/Camera$Size;"); } + } + /// + /// + /// + [System.Obsolete()] + public int PreviewFormat + { + get { return IExecuteWithSignature("getPreviewFormat", "()I"); } set { IExecuteWithSignature("setPreviewFormat", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int PreviewFrameRate + { + get { return IExecuteWithSignature("getPreviewFrameRate", "()I"); } set { IExecuteWithSignature("setPreviewFrameRate", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Camera.Size PreviewSize + { + get { return IExecuteWithSignature("getPreviewSize", "()Landroid/hardware/Camera$Size;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SceneMode + { + get { return IExecuteWithSignature("getSceneMode", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setSceneMode", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedAntibanding + { + get { return IExecuteWithSignature>("getSupportedAntibanding", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedColorEffects + { + get { return IExecuteWithSignature>("getSupportedColorEffects", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedFlashModes + { + get { return IExecuteWithSignature>("getSupportedFlashModes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedFocusModes + { + get { return IExecuteWithSignature>("getSupportedFocusModes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedJpegThumbnailSizes + { + get { return IExecuteWithSignature>("getSupportedJpegThumbnailSizes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPictureFormats + { + get { return IExecuteWithSignature>("getSupportedPictureFormats", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPictureSizes + { + get { return IExecuteWithSignature>("getSupportedPictureSizes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPreviewFormats + { + get { return IExecuteWithSignature>("getSupportedPreviewFormats", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPreviewFpsRange + { + get { return IExecuteWithSignature>("getSupportedPreviewFpsRange", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPreviewFrameRates + { + get { return IExecuteWithSignature>("getSupportedPreviewFrameRates", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedPreviewSizes + { + get { return IExecuteWithSignature>("getSupportedPreviewSizes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedSceneModes + { + get { return IExecuteWithSignature>("getSupportedSceneModes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedVideoSizes + { + get { return IExecuteWithSignature>("getSupportedVideoSizes", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SupportedWhiteBalance + { + get { return IExecuteWithSignature>("getSupportedWhiteBalance", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public float VerticalViewAngle + { + get { return IExecuteWithSignature("getVerticalViewAngle", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public bool VideoStabilization + { + get { return IExecuteWithSignature("getVideoStabilization", "()Z"); } set { IExecuteWithSignature("setVideoStabilization", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String WhiteBalance + { + get { return IExecuteWithSignature("getWhiteBalance", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setWhiteBalance", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int Zoom + { + get { return IExecuteWithSignature("getZoom", "()I"); } set { IExecuteWithSignature("setZoom", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List ZoomRatios + { + get { return IExecuteWithSignature>("getZoomRatios", "()Ljava/util/List;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAutoExposureLockSupported() + { + return IExecuteWithSignature("isAutoExposureLockSupported", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAutoWhiteBalanceLockSupported() + { + return IExecuteWithSignature("isAutoWhiteBalanceLockSupported", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsSmoothZoomSupported() + { + return IExecuteWithSignature("isSmoothZoomSupported", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsVideoSnapshotSupported() + { + return IExecuteWithSignature("isVideoSnapshotSupported", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsVideoStabilizationSupported() + { + return IExecuteWithSignature("isVideoStabilizationSupported", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsZoomSupported() + { + return IExecuteWithSignature("isZoomSupported", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetInt(Java.Lang.String arg0) + { + return IExecuteWithSignature("getInt", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Flatten() + { + return IExecuteWithSignature("flatten", "()Ljava/lang/String;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Get(Java.Lang.String arg0) + { + return IExecuteWithSignature("get", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void GetFocusDistances(float[] arg0) + { + IExecuteWithSignature("getFocusDistances", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void GetPreviewFpsRange(int[] arg0) + { + IExecuteWithSignature("getPreviewFpsRange", "([I)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Remove(Java.Lang.String arg0) + { + IExecuteWithSignature("remove", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void RemoveGpsData() + { + IExecuteWithSignature("removeGpsData", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Set(Java.Lang.String arg0, int arg1) + { + IExecute("set", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Set(Java.Lang.String arg0, Java.Lang.String arg1) + { + IExecute("set", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetGpsAltitude(double arg0) + { + IExecuteWithSignature("setGpsAltitude", "(D)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetGpsLatitude(double arg0) + { + IExecuteWithSignature("setGpsLatitude", "(D)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetGpsLongitude(double arg0) + { + IExecuteWithSignature("setGpsLongitude", "(D)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetGpsProcessingMethod(Java.Lang.String arg0) + { + IExecuteWithSignature("setGpsProcessingMethod", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetGpsTimestamp(long arg0) + { + IExecuteWithSignature("setGpsTimestamp", "(J)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetJpegThumbnailSize(int arg0, int arg1) + { + IExecute("setJpegThumbnailSize", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPictureSize(int arg0, int arg1) + { + IExecute("setPictureSize", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewFpsRange(int arg0, int arg1) + { + IExecute("setPreviewFpsRange", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewSize(int arg0, int arg1) + { + IExecute("setPreviewSize", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetRecordingHint(bool arg0) + { + IExecuteWithSignature("setRecordingHint", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetRotation(int arg0) + { + IExecuteWithSignature("setRotation", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Unflatten(Java.Lang.String arg0) + { + IExecuteWithSignature("unflatten", "(Ljava/lang/String;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PictureCallback + public partial class PictureCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPictureTaken(byte[] arg0, Android.Hardware.Camera arg1) + { + IExecute("onPictureTaken", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PreviewCallback + public partial class PreviewCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnPreviewFrame(byte[] arg0, Android.Hardware.Camera arg1) + { + IExecute("onPreviewFrame", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ShutterCallback + public partial class ShutterCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void OnShutter() + { + IExecuteWithSignature("onShutter", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Size + public partial class Size + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Size(Android.Hardware.Camera arg0, int arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int height { get { return IGetField("height"); } set { ISetField("height", value); } } + /// + /// + /// + [System.Obsolete()] + public int width { get { return IGetField("width"); } set { ISetField("width", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraCharacteristics.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraCharacteristics.cs index 197e22733..fc0c18ca8 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraCharacteristics.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraCharacteristics.cs @@ -326,6 +326,13 @@ public partial class CameraCharacteristics private static Android.Hardware.Camera2.CameraCharacteristics.Key _LENS_POSE_TRANSLATIONContent = default; private static bool _LENS_POSE_TRANSLATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Android.Hardware.Camera2.CameraCharacteristics.Key LENS_RADIAL_DISTORTION { get { if (!_LENS_RADIAL_DISTORTIONReady) { _LENS_RADIAL_DISTORTIONContent = SGetField(LocalBridgeClazz, "LENS_RADIAL_DISTORTION"); _LENS_RADIAL_DISTORTIONReady = true; } return _LENS_RADIAL_DISTORTIONContent; } } + private static Android.Hardware.Camera2.CameraCharacteristics.Key _LENS_RADIAL_DISTORTIONContent = default; + private static bool _LENS_RADIAL_DISTORTIONReady = false; // this is used because in case of generics + /// /// /// public static Android.Hardware.Camera2.CameraCharacteristics.Key AUTOMOTIVE_LENS_FACING { get { if (!_AUTOMOTIVE_LENS_FACINGReady) { _AUTOMOTIVE_LENS_FACINGContent = SGetField(LocalBridgeClazz, "AUTOMOTIVE_LENS_FACING"); _AUTOMOTIVE_LENS_FACINGReady = true; } return _AUTOMOTIVE_LENS_FACINGContent; } } diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraDevice.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraDevice.cs index 8ea553805..6a312e501 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraDevice.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraDevice.cs @@ -141,6 +141,68 @@ public void Close() IExecuteWithSignature("close", "()V"); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CreateCaptureSession(Java.Util.List arg0, Android.Hardware.Camera2.CameraCaptureSession.StateCallback arg1, Android.Os.Handler arg2) + { + IExecute("createCaptureSession", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CreateCaptureSessionByOutputConfigurations(Java.Util.List arg0, Android.Hardware.Camera2.CameraCaptureSession.StateCallback arg1, Android.Os.Handler arg2) + { + IExecute("createCaptureSessionByOutputConfigurations", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CreateConstrainedHighSpeedCaptureSession(Java.Util.List arg0, Android.Hardware.Camera2.CameraCaptureSession.StateCallback arg1, Android.Os.Handler arg2) + { + IExecute("createConstrainedHighSpeedCaptureSession", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CreateReprocessableCaptureSession(Android.Hardware.Camera2.Params.InputConfiguration arg0, Java.Util.List arg1, Android.Hardware.Camera2.CameraCaptureSession.StateCallback arg2, Android.Os.Handler arg3) + { + IExecute("createReprocessableCaptureSession", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CreateReprocessableCaptureSessionByConfigurations(Android.Hardware.Camera2.Params.InputConfiguration arg0, Java.Util.List arg1, Android.Hardware.Camera2.CameraCaptureSession.StateCallback arg2, Android.Os.Handler arg3) + { + IExecute("createReprocessableCaptureSessionByConfigurations", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraExtensionCharacteristics.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraExtensionCharacteristics.cs index 9f555840b..55d639a1b 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraExtensionCharacteristics.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraExtensionCharacteristics.cs @@ -44,6 +44,13 @@ public partial class CameraExtensionCharacteristics private static int _EXTENSION_AUTOMATICContent = default; private static bool _EXTENSION_AUTOMATICReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int EXTENSION_BEAUTY { get { if (!_EXTENSION_BEAUTYReady) { _EXTENSION_BEAUTYContent = SGetField(LocalBridgeClazz, "EXTENSION_BEAUTY"); _EXTENSION_BEAUTYReady = true; } return _EXTENSION_BEAUTYContent; } } + private static int _EXTENSION_BEAUTYContent = default; + private static bool _EXTENSION_BEAUTYReady = false; // this is used because in case of generics + /// /// /// public static int EXTENSION_BOKEH { get { if (!_EXTENSION_BOKEHReady) { _EXTENSION_BOKEHContent = SGetField(LocalBridgeClazz, "EXTENSION_BOKEH"); _EXTENSION_BOKEHReady = true; } return _EXTENSION_BOKEHContent; } } diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraMetadata.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraMetadata.cs index 4e94af83c..904d5b5e2 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraMetadata.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CameraMetadata.cs @@ -758,6 +758,13 @@ public partial class CameraMetadata private static int _CONTROL_SCENE_MODE_HDRContent = default; private static bool _CONTROL_SCENE_MODE_HDRReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO { get { if (!_CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady) { _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent = SGetField(LocalBridgeClazz, "CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO"); _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady = true; } return _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent; } } + private static int _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent = default; + private static bool _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady = false; // this is used because in case of generics + /// /// /// public static int CONTROL_SCENE_MODE_LANDSCAPE { get { if (!_CONTROL_SCENE_MODE_LANDSCAPEReady) { _CONTROL_SCENE_MODE_LANDSCAPEContent = SGetField(LocalBridgeClazz, "CONTROL_SCENE_MODE_LANDSCAPE"); _CONTROL_SCENE_MODE_LANDSCAPEReady = true; } return _CONTROL_SCENE_MODE_LANDSCAPEContent; } } @@ -2444,6 +2451,13 @@ public partial class CameraMetadata private static int _CONTROL_SCENE_MODE_HDRContent = default; private static bool _CONTROL_SCENE_MODE_HDRReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO { get { if (!_CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady) { _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent = SGetField(LocalBridgeClazz, "CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO"); _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady = true; } return _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent; } } + private static int _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOContent = default; + private static bool _CONTROL_SCENE_MODE_HIGH_SPEED_VIDEOReady = false; // this is used because in case of generics + /// /// /// public static int CONTROL_SCENE_MODE_LANDSCAPE { get { if (!_CONTROL_SCENE_MODE_LANDSCAPEReady) { _CONTROL_SCENE_MODE_LANDSCAPEContent = SGetField(LocalBridgeClazz, "CONTROL_SCENE_MODE_LANDSCAPE"); _CONTROL_SCENE_MODE_LANDSCAPEReady = true; } return _CONTROL_SCENE_MODE_LANDSCAPEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CaptureResult.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CaptureResult.cs index 6c2ff6de5..3f23de8a8 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/CaptureResult.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/CaptureResult.cs @@ -170,6 +170,13 @@ public partial class CaptureResult private static Android.Hardware.Camera2.CaptureResult.Key _LENS_POSE_TRANSLATIONContent = default; private static bool _LENS_POSE_TRANSLATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Android.Hardware.Camera2.CaptureResult.Key LENS_RADIAL_DISTORTION { get { if (!_LENS_RADIAL_DISTORTIONReady) { _LENS_RADIAL_DISTORTIONContent = SGetField(LocalBridgeClazz, "LENS_RADIAL_DISTORTION"); _LENS_RADIAL_DISTORTIONReady = true; } return _LENS_RADIAL_DISTORTIONContent; } } + private static Android.Hardware.Camera2.CaptureResult.Key _LENS_RADIAL_DISTORTIONContent = default; + private static bool _LENS_RADIAL_DISTORTIONReady = false; // this is used because in case of generics + /// /// /// public static Android.Hardware.Camera2.CaptureResult.Key SENSOR_DYNAMIC_BLACK_LEVEL { get { if (!_SENSOR_DYNAMIC_BLACK_LEVELReady) { _SENSOR_DYNAMIC_BLACK_LEVELContent = SGetField(LocalBridgeClazz, "SENSOR_DYNAMIC_BLACK_LEVEL"); _SENSOR_DYNAMIC_BLACK_LEVELReady = true; } return _SENSOR_DYNAMIC_BLACK_LEVELContent; } } diff --git a/src/net/Netdroid/Generated/Android/Hardware/Camera2/TotalCaptureResult.cs b/src/net/Netdroid/Generated/Android/Hardware/Camera2/TotalCaptureResult.cs index 3d23412c0..cc09a8dff 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Camera2/TotalCaptureResult.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Camera2/TotalCaptureResult.cs @@ -53,6 +53,14 @@ public Java.Util.List PartialResults get { return IExecuteWithSignature>("getPartialResults", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.Map PhysicalCameraResults + { + get { return IExecuteWithSignature>("getPhysicalCameraResults", "()Ljava/util/Map;"); } + } + /// /// /// public Java.Util.Map PhysicalCameraTotalResults diff --git a/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/AllPackageClasses.cs index 8cb81bf44..8b52da622 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/AllPackageClasses.cs @@ -26,6 +26,188 @@ namespace Android.Hardware.Fingerprint { + #region FingerprintManager + /// + /// + /// + [System.Obsolete()] + public partial class FingerprintManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.fingerprint.FingerprintManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FingerprintManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FingerprintManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region AuthenticationCallback + /// + /// + /// + [System.Obsolete()] + public partial class AuthenticationCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.fingerprint.FingerprintManager$AuthenticationCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AuthenticationCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AuthenticationCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AuthenticationCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AuthenticationCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region AuthenticationResult + /// + /// + /// + [System.Obsolete()] + public partial class AuthenticationResult : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.fingerprint.FingerprintManager$AuthenticationResult"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AuthenticationResult() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AuthenticationResult(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region CryptoObject + /// + /// + /// + [System.Obsolete()] + public partial class CryptoObject : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.hardware.fingerprint.FingerprintManager$CryptoObject"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CryptoObject() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CryptoObject(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/FingerprintManager.cs b/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/FingerprintManager.cs new file mode 100644 index 000000000..c3b2767ed --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Hardware/Fingerprint/FingerprintManager.cs @@ -0,0 +1,380 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Hardware.Fingerprint +{ + #region FingerprintManager + public partial class FingerprintManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_GOOD { get { if (!_FINGERPRINT_ACQUIRED_GOODReady) { _FINGERPRINT_ACQUIRED_GOODContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_GOOD"); _FINGERPRINT_ACQUIRED_GOODReady = true; } return _FINGERPRINT_ACQUIRED_GOODContent; } } + private static int _FINGERPRINT_ACQUIRED_GOODContent = default; + private static bool _FINGERPRINT_ACQUIRED_GOODReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_IMAGER_DIRTY { get { if (!_FINGERPRINT_ACQUIRED_IMAGER_DIRTYReady) { _FINGERPRINT_ACQUIRED_IMAGER_DIRTYContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_IMAGER_DIRTY"); _FINGERPRINT_ACQUIRED_IMAGER_DIRTYReady = true; } return _FINGERPRINT_ACQUIRED_IMAGER_DIRTYContent; } } + private static int _FINGERPRINT_ACQUIRED_IMAGER_DIRTYContent = default; + private static bool _FINGERPRINT_ACQUIRED_IMAGER_DIRTYReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_INSUFFICIENT { get { if (!_FINGERPRINT_ACQUIRED_INSUFFICIENTReady) { _FINGERPRINT_ACQUIRED_INSUFFICIENTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_INSUFFICIENT"); _FINGERPRINT_ACQUIRED_INSUFFICIENTReady = true; } return _FINGERPRINT_ACQUIRED_INSUFFICIENTContent; } } + private static int _FINGERPRINT_ACQUIRED_INSUFFICIENTContent = default; + private static bool _FINGERPRINT_ACQUIRED_INSUFFICIENTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_PARTIAL { get { if (!_FINGERPRINT_ACQUIRED_PARTIALReady) { _FINGERPRINT_ACQUIRED_PARTIALContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_PARTIAL"); _FINGERPRINT_ACQUIRED_PARTIALReady = true; } return _FINGERPRINT_ACQUIRED_PARTIALContent; } } + private static int _FINGERPRINT_ACQUIRED_PARTIALContent = default; + private static bool _FINGERPRINT_ACQUIRED_PARTIALReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_TOO_FAST { get { if (!_FINGERPRINT_ACQUIRED_TOO_FASTReady) { _FINGERPRINT_ACQUIRED_TOO_FASTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_TOO_FAST"); _FINGERPRINT_ACQUIRED_TOO_FASTReady = true; } return _FINGERPRINT_ACQUIRED_TOO_FASTContent; } } + private static int _FINGERPRINT_ACQUIRED_TOO_FASTContent = default; + private static bool _FINGERPRINT_ACQUIRED_TOO_FASTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ACQUIRED_TOO_SLOW { get { if (!_FINGERPRINT_ACQUIRED_TOO_SLOWReady) { _FINGERPRINT_ACQUIRED_TOO_SLOWContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ACQUIRED_TOO_SLOW"); _FINGERPRINT_ACQUIRED_TOO_SLOWReady = true; } return _FINGERPRINT_ACQUIRED_TOO_SLOWContent; } } + private static int _FINGERPRINT_ACQUIRED_TOO_SLOWContent = default; + private static bool _FINGERPRINT_ACQUIRED_TOO_SLOWReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_CANCELED { get { if (!_FINGERPRINT_ERROR_CANCELEDReady) { _FINGERPRINT_ERROR_CANCELEDContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_CANCELED"); _FINGERPRINT_ERROR_CANCELEDReady = true; } return _FINGERPRINT_ERROR_CANCELEDContent; } } + private static int _FINGERPRINT_ERROR_CANCELEDContent = default; + private static bool _FINGERPRINT_ERROR_CANCELEDReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_HW_NOT_PRESENT { get { if (!_FINGERPRINT_ERROR_HW_NOT_PRESENTReady) { _FINGERPRINT_ERROR_HW_NOT_PRESENTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_HW_NOT_PRESENT"); _FINGERPRINT_ERROR_HW_NOT_PRESENTReady = true; } return _FINGERPRINT_ERROR_HW_NOT_PRESENTContent; } } + private static int _FINGERPRINT_ERROR_HW_NOT_PRESENTContent = default; + private static bool _FINGERPRINT_ERROR_HW_NOT_PRESENTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_HW_UNAVAILABLE { get { if (!_FINGERPRINT_ERROR_HW_UNAVAILABLEReady) { _FINGERPRINT_ERROR_HW_UNAVAILABLEContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_HW_UNAVAILABLE"); _FINGERPRINT_ERROR_HW_UNAVAILABLEReady = true; } return _FINGERPRINT_ERROR_HW_UNAVAILABLEContent; } } + private static int _FINGERPRINT_ERROR_HW_UNAVAILABLEContent = default; + private static bool _FINGERPRINT_ERROR_HW_UNAVAILABLEReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_LOCKOUT { get { if (!_FINGERPRINT_ERROR_LOCKOUTReady) { _FINGERPRINT_ERROR_LOCKOUTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_LOCKOUT"); _FINGERPRINT_ERROR_LOCKOUTReady = true; } return _FINGERPRINT_ERROR_LOCKOUTContent; } } + private static int _FINGERPRINT_ERROR_LOCKOUTContent = default; + private static bool _FINGERPRINT_ERROR_LOCKOUTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_LOCKOUT_PERMANENT { get { if (!_FINGERPRINT_ERROR_LOCKOUT_PERMANENTReady) { _FINGERPRINT_ERROR_LOCKOUT_PERMANENTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_LOCKOUT_PERMANENT"); _FINGERPRINT_ERROR_LOCKOUT_PERMANENTReady = true; } return _FINGERPRINT_ERROR_LOCKOUT_PERMANENTContent; } } + private static int _FINGERPRINT_ERROR_LOCKOUT_PERMANENTContent = default; + private static bool _FINGERPRINT_ERROR_LOCKOUT_PERMANENTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_NO_FINGERPRINTS { get { if (!_FINGERPRINT_ERROR_NO_FINGERPRINTSReady) { _FINGERPRINT_ERROR_NO_FINGERPRINTSContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_NO_FINGERPRINTS"); _FINGERPRINT_ERROR_NO_FINGERPRINTSReady = true; } return _FINGERPRINT_ERROR_NO_FINGERPRINTSContent; } } + private static int _FINGERPRINT_ERROR_NO_FINGERPRINTSContent = default; + private static bool _FINGERPRINT_ERROR_NO_FINGERPRINTSReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_NO_SPACE { get { if (!_FINGERPRINT_ERROR_NO_SPACEReady) { _FINGERPRINT_ERROR_NO_SPACEContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_NO_SPACE"); _FINGERPRINT_ERROR_NO_SPACEReady = true; } return _FINGERPRINT_ERROR_NO_SPACEContent; } } + private static int _FINGERPRINT_ERROR_NO_SPACEContent = default; + private static bool _FINGERPRINT_ERROR_NO_SPACEReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_TIMEOUT { get { if (!_FINGERPRINT_ERROR_TIMEOUTReady) { _FINGERPRINT_ERROR_TIMEOUTContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_TIMEOUT"); _FINGERPRINT_ERROR_TIMEOUTReady = true; } return _FINGERPRINT_ERROR_TIMEOUTContent; } } + private static int _FINGERPRINT_ERROR_TIMEOUTContent = default; + private static bool _FINGERPRINT_ERROR_TIMEOUTReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_UNABLE_TO_PROCESS { get { if (!_FINGERPRINT_ERROR_UNABLE_TO_PROCESSReady) { _FINGERPRINT_ERROR_UNABLE_TO_PROCESSContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_UNABLE_TO_PROCESS"); _FINGERPRINT_ERROR_UNABLE_TO_PROCESSReady = true; } return _FINGERPRINT_ERROR_UNABLE_TO_PROCESSContent; } } + private static int _FINGERPRINT_ERROR_UNABLE_TO_PROCESSContent = default; + private static bool _FINGERPRINT_ERROR_UNABLE_TO_PROCESSReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_USER_CANCELED { get { if (!_FINGERPRINT_ERROR_USER_CANCELEDReady) { _FINGERPRINT_ERROR_USER_CANCELEDContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_USER_CANCELED"); _FINGERPRINT_ERROR_USER_CANCELEDReady = true; } return _FINGERPRINT_ERROR_USER_CANCELEDContent; } } + private static int _FINGERPRINT_ERROR_USER_CANCELEDContent = default; + private static bool _FINGERPRINT_ERROR_USER_CANCELEDReady = false; // this is used because in case of generics + /// + /// + /// + public static int FINGERPRINT_ERROR_VENDOR { get { if (!_FINGERPRINT_ERROR_VENDORReady) { _FINGERPRINT_ERROR_VENDORContent = SGetField(LocalBridgeClazz, "FINGERPRINT_ERROR_VENDOR"); _FINGERPRINT_ERROR_VENDORReady = true; } return _FINGERPRINT_ERROR_VENDORContent; } } + private static int _FINGERPRINT_ERROR_VENDORContent = default; + private static bool _FINGERPRINT_ERROR_VENDORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public bool HasEnrolledFingerprints() + { + return IExecuteWithSignature("hasEnrolledFingerprints", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsHardwareDetected() + { + return IExecuteWithSignature("isHardwareDetected", "()Z"); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Authenticate(Android.Hardware.Fingerprint.FingerprintManager.CryptoObject arg0, Android.Os.CancellationSignal arg1, int arg2, Android.Hardware.Fingerprint.FingerprintManager.AuthenticationCallback arg3, Android.Os.Handler arg4) + { + IExecute("authenticate", arg0, arg1, arg2, arg3, arg4); + } + + #endregion + + #region Nested classes + #region AuthenticationCallback + public partial class AuthenticationCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnAuthenticationError(int arg0, Java.Lang.CharSequence arg1) + { + IExecute("onAuthenticationError", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void OnAuthenticationFailed() + { + IExecuteWithSignature("onAuthenticationFailed", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnAuthenticationHelp(int arg0, Java.Lang.CharSequence arg1) + { + IExecute("onAuthenticationHelp", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnAuthenticationSucceeded(Android.Hardware.Fingerprint.FingerprintManager.AuthenticationResult arg0) + { + IExecuteWithSignature("onAuthenticationSucceeded", "(Landroid/hardware/fingerprint/FingerprintManager$AuthenticationResult;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region AuthenticationResult + public partial class AuthenticationResult + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Hardware.Fingerprint.FingerprintManager.CryptoObject GetCryptoObject + { + get { return IExecuteWithSignature("getCryptoObject", "()Landroid/hardware/fingerprint/FingerprintManager$CryptoObject;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region CryptoObject + public partial class CryptoObject + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public CryptoObject(Java.Security.Signature arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public CryptoObject(Javax.Crypto.Cipher arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public CryptoObject(Javax.Crypto.Mac arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Javax.Crypto.Cipher Cipher + { + get { return IExecuteWithSignature("getCipher", "()Ljavax/crypto/Cipher;"); } + } + /// + /// + /// + [System.Obsolete()] + public Javax.Crypto.Mac Mac + { + get { return IExecuteWithSignature("getMac", "()Ljavax/crypto/Mac;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Security.Signature Signature + { + get { return IExecuteWithSignature("getSignature", "()Ljava/security/Signature;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Hardware/Lights/Light.cs b/src/net/Netdroid/Generated/Android/Hardware/Lights/Light.cs index 5c1a35bdb..f8f7dce7b 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Lights/Light.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Lights/Light.cs @@ -56,6 +56,13 @@ public partial class Light private static int _LIGHT_CAPABILITY_COLOR_RGBContent = default; private static bool _LIGHT_CAPABILITY_COLOR_RGBReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int LIGHT_CAPABILITY_RGB { get { if (!_LIGHT_CAPABILITY_RGBReady) { _LIGHT_CAPABILITY_RGBContent = SGetField(LocalBridgeClazz, "LIGHT_CAPABILITY_RGB"); _LIGHT_CAPABILITY_RGBReady = true; } return _LIGHT_CAPABILITY_RGBContent; } } + private static int _LIGHT_CAPABILITY_RGBContent = default; + private static bool _LIGHT_CAPABILITY_RGBReady = false; // this is used because in case of generics + /// /// /// public static int LIGHT_TYPE_INPUT { get { if (!_LIGHT_TYPE_INPUTReady) { _LIGHT_TYPE_INPUTContent = SGetField(LocalBridgeClazz, "LIGHT_TYPE_INPUT"); _LIGHT_TYPE_INPUTReady = true; } return _LIGHT_TYPE_INPUTContent; } } diff --git a/src/net/Netdroid/Generated/Android/Hardware/Sensor.cs b/src/net/Netdroid/Generated/Android/Hardware/Sensor.cs index d3117f06e..fcc65cfad 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Sensor.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Sensor.cs @@ -212,6 +212,13 @@ public partial class Sensor private static int _TYPE_MOTION_DETECTContent = default; private static bool _TYPE_MOTION_DETECTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TYPE_ORIENTATION { get { if (!_TYPE_ORIENTATIONReady) { _TYPE_ORIENTATIONContent = SGetField(LocalBridgeClazz, "TYPE_ORIENTATION"); _TYPE_ORIENTATIONReady = true; } return _TYPE_ORIENTATIONContent; } } + private static int _TYPE_ORIENTATIONContent = default; + private static bool _TYPE_ORIENTATIONReady = false; // this is used because in case of generics + /// /// /// public static int TYPE_POSE_6DOF { get { if (!_TYPE_POSE_6DOFReady) { _TYPE_POSE_6DOFContent = SGetField(LocalBridgeClazz, "TYPE_POSE_6DOF"); _TYPE_POSE_6DOFReady = true; } return _TYPE_POSE_6DOFContent; } } @@ -266,6 +273,13 @@ public partial class Sensor private static int _TYPE_STEP_DETECTORContent = default; private static bool _TYPE_STEP_DETECTORReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TYPE_TEMPERATURE { get { if (!_TYPE_TEMPERATUREReady) { _TYPE_TEMPERATUREContent = SGetField(LocalBridgeClazz, "TYPE_TEMPERATURE"); _TYPE_TEMPERATUREReady = true; } return _TYPE_TEMPERATUREContent; } } + private static int _TYPE_TEMPERATUREContent = default; + private static bool _TYPE_TEMPERATUREReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String STRING_TYPE_ACCELEROMETER { get { if (!_STRING_TYPE_ACCELEROMETERReady) { _STRING_TYPE_ACCELEROMETERContent = SGetField(LocalBridgeClazz, "STRING_TYPE_ACCELEROMETER"); _STRING_TYPE_ACCELEROMETERReady = true; } return _STRING_TYPE_ACCELEROMETERContent; } } @@ -404,6 +418,13 @@ public partial class Sensor private static Java.Lang.String _STRING_TYPE_MOTION_DETECTContent = default; private static bool _STRING_TYPE_MOTION_DETECTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String STRING_TYPE_ORIENTATION { get { if (!_STRING_TYPE_ORIENTATIONReady) { _STRING_TYPE_ORIENTATIONContent = SGetField(LocalBridgeClazz, "STRING_TYPE_ORIENTATION"); _STRING_TYPE_ORIENTATIONReady = true; } return _STRING_TYPE_ORIENTATIONContent; } } + private static Java.Lang.String _STRING_TYPE_ORIENTATIONContent = default; + private static bool _STRING_TYPE_ORIENTATIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String STRING_TYPE_POSE_6DOF { get { if (!_STRING_TYPE_POSE_6DOFReady) { _STRING_TYPE_POSE_6DOFContent = SGetField(LocalBridgeClazz, "STRING_TYPE_POSE_6DOF"); _STRING_TYPE_POSE_6DOFReady = true; } return _STRING_TYPE_POSE_6DOFContent; } } @@ -457,6 +478,13 @@ public partial class Sensor public static Java.Lang.String STRING_TYPE_STEP_DETECTOR { get { if (!_STRING_TYPE_STEP_DETECTORReady) { _STRING_TYPE_STEP_DETECTORContent = SGetField(LocalBridgeClazz, "STRING_TYPE_STEP_DETECTOR"); _STRING_TYPE_STEP_DETECTORReady = true; } return _STRING_TYPE_STEP_DETECTORContent; } } private static Java.Lang.String _STRING_TYPE_STEP_DETECTORContent = default; private static bool _STRING_TYPE_STEP_DETECTORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String STRING_TYPE_TEMPERATURE { get { if (!_STRING_TYPE_TEMPERATUREReady) { _STRING_TYPE_TEMPERATUREContent = SGetField(LocalBridgeClazz, "STRING_TYPE_TEMPERATURE"); _STRING_TYPE_TEMPERATUREReady = true; } return _STRING_TYPE_TEMPERATUREContent; } } + private static Java.Lang.String _STRING_TYPE_TEMPERATUREContent = default; + private static bool _STRING_TYPE_TEMPERATUREReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Hardware/SensorListener.cs b/src/net/Netdroid/Generated/Android/Hardware/SensorListener.cs new file mode 100644 index 000000000..bf82ecfeb --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Hardware/SensorListener.cs @@ -0,0 +1,182 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Hardware +{ + #region ISensorListener + /// + /// .NET interface for org.mases.netdroid.generated.android.hardware.SensorListener implementing + /// + public partial interface ISensorListener + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SensorListener + public partial class SensorListener : Android.Hardware.ISensorListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onAccuracyChanged", new System.EventHandler>>(OnAccuracyChangedEventHandler)); + AddEventHandler("onSensorChanged", new System.EventHandler>>(OnSensorChangedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnAccuracyChanged { get; set; } = null; + + void OnAccuracyChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnAccuracyChanged != null) ? OnOnAccuracyChanged : OnAccuracyChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnAccuracyChanged(int arg0, int arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnSensorChanged { get; set; } = null; + + void OnSensorChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnSensorChanged != null) ? OnOnSensorChanged : OnSensorChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnSensorChanged(int arg0, float[] arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SensorListenerDirect + public partial class SensorListenerDirect : Android.Hardware.ISensorListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnAccuracyChanged(int arg0, int arg1) + { + IExecute("onAccuracyChanged", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnSensorChanged(int arg0, float[] arg1) + { + IExecute("onSensorChanged", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Hardware/SensorManager.cs b/src/net/Netdroid/Generated/Android/Hardware/SensorManager.cs index 9b381ac62..6da0f56d6 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/SensorManager.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/SensorManager.cs @@ -224,6 +224,69 @@ public partial class SensorManager private static int _AXIS_ZContent = default; private static bool _AXIS_ZReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int DATA_X { get { if (!_DATA_XReady) { _DATA_XContent = SGetField(LocalBridgeClazz, "DATA_X"); _DATA_XReady = true; } return _DATA_XContent; } } + private static int _DATA_XContent = default; + private static bool _DATA_XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DATA_Y { get { if (!_DATA_YReady) { _DATA_YContent = SGetField(LocalBridgeClazz, "DATA_Y"); _DATA_YReady = true; } return _DATA_YContent; } } + private static int _DATA_YContent = default; + private static bool _DATA_YReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DATA_Z { get { if (!_DATA_ZReady) { _DATA_ZContent = SGetField(LocalBridgeClazz, "DATA_Z"); _DATA_ZReady = true; } return _DATA_ZContent; } } + private static int _DATA_ZContent = default; + private static bool _DATA_ZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RAW_DATA_INDEX { get { if (!_RAW_DATA_INDEXReady) { _RAW_DATA_INDEXContent = SGetField(LocalBridgeClazz, "RAW_DATA_INDEX"); _RAW_DATA_INDEXReady = true; } return _RAW_DATA_INDEXContent; } } + private static int _RAW_DATA_INDEXContent = default; + private static bool _RAW_DATA_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RAW_DATA_X { get { if (!_RAW_DATA_XReady) { _RAW_DATA_XContent = SGetField(LocalBridgeClazz, "RAW_DATA_X"); _RAW_DATA_XReady = true; } return _RAW_DATA_XContent; } } + private static int _RAW_DATA_XContent = default; + private static bool _RAW_DATA_XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RAW_DATA_Y { get { if (!_RAW_DATA_YReady) { _RAW_DATA_YContent = SGetField(LocalBridgeClazz, "RAW_DATA_Y"); _RAW_DATA_YReady = true; } return _RAW_DATA_YContent; } } + private static int _RAW_DATA_YContent = default; + private static bool _RAW_DATA_YReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RAW_DATA_Z { get { if (!_RAW_DATA_ZReady) { _RAW_DATA_ZContent = SGetField(LocalBridgeClazz, "RAW_DATA_Z"); _RAW_DATA_ZReady = true; } return _RAW_DATA_ZContent; } } + private static int _RAW_DATA_ZContent = default; + private static bool _RAW_DATA_ZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_ACCELEROMETER { get { if (!_SENSOR_ACCELEROMETERReady) { _SENSOR_ACCELEROMETERContent = SGetField(LocalBridgeClazz, "SENSOR_ACCELEROMETER"); _SENSOR_ACCELEROMETERReady = true; } return _SENSOR_ACCELEROMETERContent; } } + private static int _SENSOR_ACCELEROMETERContent = default; + private static bool _SENSOR_ACCELEROMETERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_ALL { get { if (!_SENSOR_ALLReady) { _SENSOR_ALLContent = SGetField(LocalBridgeClazz, "SENSOR_ALL"); _SENSOR_ALLReady = true; } return _SENSOR_ALLContent; } } + private static int _SENSOR_ALLContent = default; + private static bool _SENSOR_ALLReady = false; // this is used because in case of generics + /// /// /// public static int SENSOR_DELAY_FASTEST { get { if (!_SENSOR_DELAY_FASTESTReady) { _SENSOR_DELAY_FASTESTContent = SGetField(LocalBridgeClazz, "SENSOR_DELAY_FASTEST"); _SENSOR_DELAY_FASTESTReady = true; } return _SENSOR_DELAY_FASTESTContent; } } @@ -248,6 +311,55 @@ public partial class SensorManager private static int _SENSOR_DELAY_UIContent = default; private static bool _SENSOR_DELAY_UIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int SENSOR_LIGHT { get { if (!_SENSOR_LIGHTReady) { _SENSOR_LIGHTContent = SGetField(LocalBridgeClazz, "SENSOR_LIGHT"); _SENSOR_LIGHTReady = true; } return _SENSOR_LIGHTContent; } } + private static int _SENSOR_LIGHTContent = default; + private static bool _SENSOR_LIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_MAGNETIC_FIELD { get { if (!_SENSOR_MAGNETIC_FIELDReady) { _SENSOR_MAGNETIC_FIELDContent = SGetField(LocalBridgeClazz, "SENSOR_MAGNETIC_FIELD"); _SENSOR_MAGNETIC_FIELDReady = true; } return _SENSOR_MAGNETIC_FIELDContent; } } + private static int _SENSOR_MAGNETIC_FIELDContent = default; + private static bool _SENSOR_MAGNETIC_FIELDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_MAX { get { if (!_SENSOR_MAXReady) { _SENSOR_MAXContent = SGetField(LocalBridgeClazz, "SENSOR_MAX"); _SENSOR_MAXReady = true; } return _SENSOR_MAXContent; } } + private static int _SENSOR_MAXContent = default; + private static bool _SENSOR_MAXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_MIN { get { if (!_SENSOR_MINReady) { _SENSOR_MINContent = SGetField(LocalBridgeClazz, "SENSOR_MIN"); _SENSOR_MINReady = true; } return _SENSOR_MINContent; } } + private static int _SENSOR_MINContent = default; + private static bool _SENSOR_MINReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_ORIENTATION { get { if (!_SENSOR_ORIENTATIONReady) { _SENSOR_ORIENTATIONContent = SGetField(LocalBridgeClazz, "SENSOR_ORIENTATION"); _SENSOR_ORIENTATIONReady = true; } return _SENSOR_ORIENTATIONContent; } } + private static int _SENSOR_ORIENTATIONContent = default; + private static bool _SENSOR_ORIENTATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_ORIENTATION_RAW { get { if (!_SENSOR_ORIENTATION_RAWReady) { _SENSOR_ORIENTATION_RAWContent = SGetField(LocalBridgeClazz, "SENSOR_ORIENTATION_RAW"); _SENSOR_ORIENTATION_RAWReady = true; } return _SENSOR_ORIENTATION_RAWContent; } } + private static int _SENSOR_ORIENTATION_RAWContent = default; + private static bool _SENSOR_ORIENTATION_RAWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_PROXIMITY { get { if (!_SENSOR_PROXIMITYReady) { _SENSOR_PROXIMITYContent = SGetField(LocalBridgeClazz, "SENSOR_PROXIMITY"); _SENSOR_PROXIMITYReady = true; } return _SENSOR_PROXIMITYContent; } } + private static int _SENSOR_PROXIMITYContent = default; + private static bool _SENSOR_PROXIMITYReady = false; // this is used because in case of generics + /// /// /// public static int SENSOR_STATUS_ACCURACY_HIGH { get { if (!_SENSOR_STATUS_ACCURACY_HIGHReady) { _SENSOR_STATUS_ACCURACY_HIGHContent = SGetField(LocalBridgeClazz, "SENSOR_STATUS_ACCURACY_HIGH"); _SENSOR_STATUS_ACCURACY_HIGHReady = true; } return _SENSOR_STATUS_ACCURACY_HIGHContent; } } @@ -277,6 +389,20 @@ public partial class SensorManager public static int SENSOR_STATUS_UNRELIABLE { get { if (!_SENSOR_STATUS_UNRELIABLEReady) { _SENSOR_STATUS_UNRELIABLEContent = SGetField(LocalBridgeClazz, "SENSOR_STATUS_UNRELIABLE"); _SENSOR_STATUS_UNRELIABLEReady = true; } return _SENSOR_STATUS_UNRELIABLEContent; } } private static int _SENSOR_STATUS_UNRELIABLEContent = default; private static bool _SENSOR_STATUS_UNRELIABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_TEMPERATURE { get { if (!_SENSOR_TEMPERATUREReady) { _SENSOR_TEMPERATUREContent = SGetField(LocalBridgeClazz, "SENSOR_TEMPERATURE"); _SENSOR_TEMPERATUREReady = true; } return _SENSOR_TEMPERATUREContent; } } + private static int _SENSOR_TEMPERATUREContent = default; + private static bool _SENSOR_TEMPERATUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SENSOR_TRICORDER { get { if (!_SENSOR_TRICORDERReady) { _SENSOR_TRICORDERContent = SGetField(LocalBridgeClazz, "SENSOR_TRICORDER"); _SENSOR_TRICORDERReady = true; } return _SENSOR_TRICORDERContent; } } + private static int _SENSOR_TRICORDERContent = default; + private static bool _SENSOR_TRICORDERReady = false; // this is used because in case of generics #endregion @@ -367,6 +493,14 @@ public static void GetRotationMatrixFromVector(float[] arg0, float[] arg1) #region Instance methods /// + /// + /// + [System.Obsolete()] + public int Sensors + { + get { return IExecuteWithSignature("getSensors", "()I"); } + } + /// /// /// /// @@ -479,6 +613,29 @@ public bool RegisterListener(Android.Hardware.SensorEventListener arg0, Android. return IExecute("registerListener", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterListener(Android.Hardware.SensorListener arg0, int arg1, int arg2) + { + return IExecute("registerListener", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterListener(Android.Hardware.SensorListener arg0, int arg1) + { + return IExecute("registerListener", arg0, arg1); + } + /// /// /// /// @@ -548,6 +705,25 @@ public void UnregisterListener(Android.Hardware.SensorEventListener arg0) { IExecuteWithSignature("unregisterListener", "(Landroid/hardware/SensorEventListener;)V", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterListener(Android.Hardware.SensorListener arg0, int arg1) + { + IExecute("unregisterListener", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterListener(Android.Hardware.SensorListener arg0) + { + IExecuteWithSignature("unregisterListener", "(Landroid/hardware/SensorListener;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Hardware/Usb/UsbRequest.cs b/src/net/Netdroid/Generated/Android/Hardware/Usb/UsbRequest.cs index 610b2ce86..16606b5d5 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/Usb/UsbRequest.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/Usb/UsbRequest.cs @@ -78,6 +78,17 @@ public bool Initialize(Android.Hardware.Usb.UsbDeviceConnection arg0, Android.Ha return IExecute("initialize", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool Queue(Java.Nio.ByteBuffer arg0, int arg1) + { + return IExecute("queue", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/BreakIterator.cs b/src/net/Netdroid/Generated/Android/Icu/Text/BreakIterator.cs index 539a9f88e..c803c77b2 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/BreakIterator.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/BreakIterator.cs @@ -62,6 +62,13 @@ public partial class BreakIterator private static int _KIND_SENTENCEContent = default; private static bool _KIND_SENTENCEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int KIND_TITLE { get { if (!_KIND_TITLEReady) { _KIND_TITLEContent = SGetField(LocalBridgeClazz, "KIND_TITLE"); _KIND_TITLEReady = true; } return _KIND_TITLEContent; } } + private static int _KIND_TITLEContent = default; + private static bool _KIND_TITLEReady = false; // this is used because in case of generics + /// /// /// public static int KIND_WORD { get { if (!_KIND_WORDReady) { _KIND_WORDContent = SGetField(LocalBridgeClazz, "KIND_WORD"); _KIND_WORDReady = true; } return _KIND_WORDContent; } } @@ -160,6 +167,14 @@ public static Android.Icu.Text.BreakIterator SentenceInstance get { return SExecuteWithSignature(LocalBridgeClazz, "getSentenceInstance", "()Landroid/icu/text/BreakIterator;"); } } /// + /// + /// + [System.Obsolete()] + public static Android.Icu.Text.BreakIterator TitleInstance + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getTitleInstance", "()Landroid/icu/text/BreakIterator;"); } + } + /// /// /// public static Android.Icu.Text.BreakIterator WordInstance @@ -221,6 +236,26 @@ public static Android.Icu.Text.BreakIterator GetSentenceInstance(Java.Util.Local return SExecuteWithSignature(LocalBridgeClazz, "getSentenceInstance", "(Ljava/util/Locale;)Landroid/icu/text/BreakIterator;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Icu.Text.BreakIterator GetTitleInstance(Android.Icu.Util.ULocale arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getTitleInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/BreakIterator;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Icu.Text.BreakIterator GetTitleInstance(Java.Util.Locale arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getTitleInstance", "(Ljava/util/Locale;)Landroid/icu/text/BreakIterator;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/DecimalFormat.cs b/src/net/Netdroid/Generated/Android/Icu/Text/DecimalFormat.cs index d4d42e13b..2f3262e75 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/DecimalFormat.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/DecimalFormat.cs @@ -222,6 +222,14 @@ public int PadPosition get { return IExecuteWithSignature("getPadPosition", "()I"); } set { IExecuteWithSignature("setPadPosition", "(I)V", value); } } /// + /// + /// + [System.Obsolete()] + public int ParseMaxDigits + { + get { return IExecuteWithSignature("getParseMaxDigits", "()I"); } set { IExecuteWithSignature("setParseMaxDigits", "(I)V", value); } + } + /// /// /// public Java.Lang.String PositivePrefix diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/Normalizer2.cs b/src/net/Netdroid/Generated/Android/Icu/Text/Normalizer2.cs index 9c464ccf0..cd3aed0ee 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/Normalizer2.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/Normalizer2.cs @@ -76,6 +76,18 @@ public static Android.Icu.Text.Normalizer2 NFKDInstance { get { return SExecuteWithSignature(LocalBridgeClazz, "getNFKDInstance", "()Landroid/icu/text/Normalizer2;"); } } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Icu.Text.Normalizer2 GetInstance(Java.Io.InputStream arg0, Java.Lang.String arg1, Android.Icu.Text.Normalizer2.Mode arg2) + { + return SExecute(LocalBridgeClazz, "getInstance", arg0, arg1, arg2); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Icu/Util/UniversalTimeScale.cs b/src/net/Netdroid/Generated/Android/Icu/Util/UniversalTimeScale.cs index 94fbcca24..0171852ec 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Util/UniversalTimeScale.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Util/UniversalTimeScale.cs @@ -104,6 +104,13 @@ public partial class UniversalTimeScale private static int _MAC_TIMEContent = default; private static bool _MAC_TIMEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MAX_SCALE { get { if (!_MAX_SCALEReady) { _MAX_SCALEContent = SGetField(LocalBridgeClazz, "MAX_SCALE"); _MAX_SCALEReady = true; } return _MAX_SCALEContent; } } + private static int _MAX_SCALEContent = default; + private static bool _MAX_SCALEReady = false; // this is used because in case of generics + /// /// /// public static int TO_MAX_VALUE { get { if (!_TO_MAX_VALUEReady) { _TO_MAX_VALUEContent = SGetField(LocalBridgeClazz, "TO_MAX_VALUE"); _TO_MAX_VALUEReady = true; } return _TO_MAX_VALUEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Inputmethodservice/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Inputmethodservice/AllPackageClasses.cs index 0683282f3..f311e8b1a 100644 --- a/src/net/Netdroid/Generated/Android/Inputmethodservice/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Inputmethodservice/AllPackageClasses.cs @@ -384,6 +384,246 @@ public Insets(params object[] args) : base(args) { } } #endregion + #region Keyboard + /// + /// + /// + [System.Obsolete()] + public partial class Keyboard : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.inputmethodservice.Keyboard"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Keyboard() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Keyboard(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Key + /// + /// + /// + [System.Obsolete()] + public partial class Key : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.inputmethodservice.Keyboard$Key"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Key() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Key(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Row + /// + /// + /// + [System.Obsolete()] + public partial class Row : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.inputmethodservice.Keyboard$Row"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Row() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Row(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region KeyboardView + /// + /// + /// + [System.Obsolete()] + public partial class KeyboardView : Android.View.View + { + const string _bridgeClassName = "android.inputmethodservice.KeyboardView"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyboardView() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyboardView(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region OnKeyboardActionListener + /// + /// + /// + [System.Obsolete()] + public partial class OnKeyboardActionListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnKeyboardActionListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.inputmethodservice.OnKeyboardActionListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnKeyboardActionListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnKeyboardActionListenerDirect : OnKeyboardActionListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.inputmethodservice.KeyboardView$OnKeyboardActionListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Inputmethodservice/InputMethodService.cs b/src/net/Netdroid/Generated/Android/Inputmethodservice/InputMethodService.cs index 472cc3953..6fb767a7c 100644 --- a/src/net/Netdroid/Generated/Android/Inputmethodservice/InputMethodService.cs +++ b/src/net/Netdroid/Generated/Android/Inputmethodservice/InputMethodService.cs @@ -49,6 +49,20 @@ public partial class InputMethodService public static int BACK_DISPOSITION_DEFAULT { get { if (!_BACK_DISPOSITION_DEFAULTReady) { _BACK_DISPOSITION_DEFAULTContent = SGetField(LocalBridgeClazz, "BACK_DISPOSITION_DEFAULT"); _BACK_DISPOSITION_DEFAULTReady = true; } return _BACK_DISPOSITION_DEFAULTContent; } } private static int _BACK_DISPOSITION_DEFAULTContent = default; private static bool _BACK_DISPOSITION_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BACK_DISPOSITION_WILL_DISMISS { get { if (!_BACK_DISPOSITION_WILL_DISMISSReady) { _BACK_DISPOSITION_WILL_DISMISSContent = SGetField(LocalBridgeClazz, "BACK_DISPOSITION_WILL_DISMISS"); _BACK_DISPOSITION_WILL_DISMISSReady = true; } return _BACK_DISPOSITION_WILL_DISMISSContent; } } + private static int _BACK_DISPOSITION_WILL_DISMISSContent = default; + private static bool _BACK_DISPOSITION_WILL_DISMISSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BACK_DISPOSITION_WILL_NOT_DISMISS { get { if (!_BACK_DISPOSITION_WILL_NOT_DISMISSReady) { _BACK_DISPOSITION_WILL_NOT_DISMISSContent = SGetField(LocalBridgeClazz, "BACK_DISPOSITION_WILL_NOT_DISMISS"); _BACK_DISPOSITION_WILL_NOT_DISMISSReady = true; } return _BACK_DISPOSITION_WILL_NOT_DISMISSContent; } } + private static int _BACK_DISPOSITION_WILL_NOT_DISMISSContent = default; + private static bool _BACK_DISPOSITION_WILL_NOT_DISMISSReady = false; // this is used because in case of generics #endregion @@ -107,6 +121,14 @@ public bool CurrentInputStarted get { return IExecuteWithSignature("getCurrentInputStarted", "()Z"); } } /// + /// + /// + [System.Obsolete()] + public int InputMethodWindowRecommendedHeight + { + get { return IExecuteWithSignature("getInputMethodWindowRecommendedHeight", "()I"); } + } + /// /// /// public Android.View.LayoutInflater LayoutInflater @@ -175,6 +197,15 @@ public Android.View.View OnCreateInputView() return IExecuteWithSignature("onCreateInputView", "()Landroid/view/View;"); } /// + /// + /// + /// + [System.Obsolete()] + public bool EnableHardwareAcceleration() + { + return IExecuteWithSignature("enableHardwareAcceleration", "()Z"); + } + /// /// /// /// @@ -501,6 +532,15 @@ public void OnUnbindInput() IExecuteWithSignature("onUnbindInput", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void OnUpdateCursor(Android.Graphics.Rect arg0) + { + IExecuteWithSignature("onUpdateCursor", "(Landroid/graphics/Rect;)V", arg0); + } + /// /// /// /// @@ -555,6 +595,15 @@ public void OnUpdateSelection(int arg0, int arg1, int arg2, int arg3, int arg4, IExecute("onUpdateSelection", arg0, arg1, arg2, arg3, arg4, arg5); } /// + /// + /// + /// + [System.Obsolete()] + public void OnViewClicked(bool arg0) + { + IExecuteWithSignature("onViewClicked", "(Z)V", arg0); + } + /// /// /// public void OnWindowHidden() diff --git a/src/net/Netdroid/Generated/Android/Inputmethodservice/Keyboard.cs b/src/net/Netdroid/Generated/Android/Inputmethodservice/Keyboard.cs new file mode 100644 index 000000000..3192d2de5 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Inputmethodservice/Keyboard.cs @@ -0,0 +1,516 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Inputmethodservice +{ + #region Keyboard + public partial class Keyboard + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Keyboard(Android.Content.Context arg0, int arg1, int arg2, int arg3, int arg4) + : base(arg0, arg1, arg2, arg3, arg4) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Keyboard(Android.Content.Context arg0, int arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Keyboard(Android.Content.Context arg0, int arg1, Java.Lang.CharSequence arg2, int arg3, int arg4) + : base(arg0, arg1, arg2, arg3, arg4) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Keyboard(Android.Content.Context arg0, int arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int EDGE_BOTTOM { get { if (!_EDGE_BOTTOMReady) { _EDGE_BOTTOMContent = SGetField(LocalBridgeClazz, "EDGE_BOTTOM"); _EDGE_BOTTOMReady = true; } return _EDGE_BOTTOMContent; } } + private static int _EDGE_BOTTOMContent = default; + private static bool _EDGE_BOTTOMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EDGE_LEFT { get { if (!_EDGE_LEFTReady) { _EDGE_LEFTContent = SGetField(LocalBridgeClazz, "EDGE_LEFT"); _EDGE_LEFTReady = true; } return _EDGE_LEFTContent; } } + private static int _EDGE_LEFTContent = default; + private static bool _EDGE_LEFTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EDGE_RIGHT { get { if (!_EDGE_RIGHTReady) { _EDGE_RIGHTContent = SGetField(LocalBridgeClazz, "EDGE_RIGHT"); _EDGE_RIGHTReady = true; } return _EDGE_RIGHTContent; } } + private static int _EDGE_RIGHTContent = default; + private static bool _EDGE_RIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EDGE_TOP { get { if (!_EDGE_TOPReady) { _EDGE_TOPContent = SGetField(LocalBridgeClazz, "EDGE_TOP"); _EDGE_TOPReady = true; } return _EDGE_TOPContent; } } + private static int _EDGE_TOPContent = default; + private static bool _EDGE_TOPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_ALT { get { if (!_KEYCODE_ALTReady) { _KEYCODE_ALTContent = SGetField(LocalBridgeClazz, "KEYCODE_ALT"); _KEYCODE_ALTReady = true; } return _KEYCODE_ALTContent; } } + private static int _KEYCODE_ALTContent = default; + private static bool _KEYCODE_ALTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_CANCEL { get { if (!_KEYCODE_CANCELReady) { _KEYCODE_CANCELContent = SGetField(LocalBridgeClazz, "KEYCODE_CANCEL"); _KEYCODE_CANCELReady = true; } return _KEYCODE_CANCELContent; } } + private static int _KEYCODE_CANCELContent = default; + private static bool _KEYCODE_CANCELReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_DELETE { get { if (!_KEYCODE_DELETEReady) { _KEYCODE_DELETEContent = SGetField(LocalBridgeClazz, "KEYCODE_DELETE"); _KEYCODE_DELETEReady = true; } return _KEYCODE_DELETEContent; } } + private static int _KEYCODE_DELETEContent = default; + private static bool _KEYCODE_DELETEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_DONE { get { if (!_KEYCODE_DONEReady) { _KEYCODE_DONEContent = SGetField(LocalBridgeClazz, "KEYCODE_DONE"); _KEYCODE_DONEReady = true; } return _KEYCODE_DONEContent; } } + private static int _KEYCODE_DONEContent = default; + private static bool _KEYCODE_DONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_MODE_CHANGE { get { if (!_KEYCODE_MODE_CHANGEReady) { _KEYCODE_MODE_CHANGEContent = SGetField(LocalBridgeClazz, "KEYCODE_MODE_CHANGE"); _KEYCODE_MODE_CHANGEReady = true; } return _KEYCODE_MODE_CHANGEContent; } } + private static int _KEYCODE_MODE_CHANGEContent = default; + private static bool _KEYCODE_MODE_CHANGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KEYCODE_SHIFT { get { if (!_KEYCODE_SHIFTReady) { _KEYCODE_SHIFTContent = SGetField(LocalBridgeClazz, "KEYCODE_SHIFT"); _KEYCODE_SHIFTReady = true; } return _KEYCODE_SHIFTContent; } } + private static int _KEYCODE_SHIFTContent = default; + private static bool _KEYCODE_SHIFTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Height + { + get { return IExecuteWithSignature("getHeight", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List Keys + { + get { return IExecuteWithSignature>("getKeys", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public int MinWidth + { + get { return IExecuteWithSignature("getMinWidth", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List ModifierKeys + { + get { return IExecuteWithSignature>("getModifierKeys", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public int ShiftKeyIndex + { + get { return IExecuteWithSignature("getShiftKeyIndex", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsShifted() + { + return IExecuteWithSignature("isShifted", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetShifted(bool arg0) + { + return IExecuteWithSignature("setShifted", "(Z)Z", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int[] GetNearestKeys(int arg0, int arg1) + { + return IExecuteArray("getNearestKeys", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Key + public partial class Key + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Key(Android.Content.Res.Resources arg0, Android.Inputmethodservice.Keyboard.Row arg1, int arg2, int arg3, Android.Content.Res.XmlResourceParser arg4) + : base(arg0, arg1, arg2, arg3, arg4) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public Key(Android.Inputmethodservice.Keyboard.Row arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable icon { get { return IGetField("icon"); } set { ISetField("icon", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable iconPreview { get { return IGetField("iconPreview"); } set { ISetField("iconPreview", value); } } + /// + /// + /// + [System.Obsolete()] + public bool modifier { get { return IGetField("modifier"); } set { ISetField("modifier", value); } } + /// + /// + /// + [System.Obsolete()] + public bool on { get { return IGetField("on"); } set { ISetField("on", value); } } + /// + /// + /// + [System.Obsolete()] + public bool pressed { get { return IGetField("pressed"); } set { ISetField("pressed", value); } } + /// + /// + /// + [System.Obsolete()] + public bool repeatable { get { return IGetField("repeatable"); } set { ISetField("repeatable", value); } } + /// + /// + /// + [System.Obsolete()] + public bool sticky { get { return IGetField("sticky"); } set { ISetField("sticky", value); } } + /// + /// + /// + [System.Obsolete()] + public int edgeFlags { get { return IGetField("edgeFlags"); } set { ISetField("edgeFlags", value); } } + /// + /// + /// + [System.Obsolete()] + public int gap { get { return IGetField("gap"); } set { ISetField("gap", value); } } + /// + /// + /// + [System.Obsolete()] + public int height { get { return IGetField("height"); } set { ISetField("height", value); } } + /// + /// + /// + [System.Obsolete()] + public int popupResId { get { return IGetField("popupResId"); } set { ISetField("popupResId", value); } } + /// + /// + /// + [System.Obsolete()] + public int width { get { return IGetField("width"); } set { ISetField("width", value); } } + /// + /// + /// + [System.Obsolete()] + public int x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public int y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public int[] codes { get { return IGetFieldArray("codes"); } set { ISetField("codes", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence label { get { return IGetField("label"); } set { ISetField("label", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence popupCharacters { get { return IGetField("popupCharacters"); } set { ISetField("popupCharacters", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence text { get { return IGetField("text"); } set { ISetField("text", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int[] CurrentDrawableState + { + get { return IExecuteWithSignatureArray("getCurrentDrawableState", "()[I"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsInside(int arg0, int arg1) + { + return IExecute("isInside", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SquaredDistanceFrom(int arg0, int arg1) + { + return IExecute("squaredDistanceFrom", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void OnPressed() + { + IExecuteWithSignature("onPressed", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnReleased(bool arg0) + { + IExecuteWithSignature("onReleased", "(Z)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Row + public partial class Row + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Row(Android.Content.Res.Resources arg0, Android.Inputmethodservice.Keyboard arg1, Android.Content.Res.XmlResourceParser arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public Row(Android.Inputmethodservice.Keyboard arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int defaultHeight { get { return IGetField("defaultHeight"); } set { ISetField("defaultHeight", value); } } + /// + /// + /// + [System.Obsolete()] + public int defaultHorizontalGap { get { return IGetField("defaultHorizontalGap"); } set { ISetField("defaultHorizontalGap", value); } } + /// + /// + /// + [System.Obsolete()] + public int defaultWidth { get { return IGetField("defaultWidth"); } set { ISetField("defaultWidth", value); } } + /// + /// + /// + [System.Obsolete()] + public int mode { get { return IGetField("mode"); } set { ISetField("mode", value); } } + /// + /// + /// + [System.Obsolete()] + public int rowEdgeFlags { get { return IGetField("rowEdgeFlags"); } set { ISetField("rowEdgeFlags", value); } } + /// + /// + /// + [System.Obsolete()] + public int verticalGap { get { return IGetField("verticalGap"); } set { ISetField("verticalGap", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Inputmethodservice/KeyboardView.cs b/src/net/Netdroid/Generated/Android/Inputmethodservice/KeyboardView.cs new file mode 100644 index 000000000..295b47e24 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Inputmethodservice/KeyboardView.cs @@ -0,0 +1,591 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Inputmethodservice +{ + #region KeyboardView + public partial class KeyboardView + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public KeyboardView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public KeyboardView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public KeyboardView(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Inputmethodservice.Keyboard Keyboard + { + get { return IExecuteWithSignature("getKeyboard", "()Landroid/inputmethodservice/Keyboard;"); } set { IExecuteWithSignature("setKeyboard", "(Landroid/inputmethodservice/Keyboard;)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HandleBack() + { + return IExecuteWithSignature("handleBack", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsPreviewEnabled() + { + return IExecuteWithSignature("isPreviewEnabled", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsProximityCorrectionEnabled() + { + return IExecuteWithSignature("isProximityCorrectionEnabled", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsShifted() + { + return IExecuteWithSignature("isShifted", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetShifted(bool arg0) + { + return IExecuteWithSignature("setShifted", "(Z)Z", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Closing() + { + IExecuteWithSignature("closing", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void InvalidateAllKeys() + { + IExecuteWithSignature("invalidateAllKeys", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void InvalidateKey(int arg0) + { + IExecuteWithSignature("invalidateKey", "(I)V", arg0); + } + /// + /// + /// + /// + public void OnClick(Android.View.View arg0) + { + IExecuteWithSignature("onClick", "(Landroid/view/View;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnDetachedFromWindow() + { + IExecuteWithSignature("onDetachedFromWindow", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDraw(Android.Graphics.Canvas arg0) + { + IExecuteWithSignature("onDraw", "(Landroid/graphics/Canvas;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnMeasure(int arg0, int arg1) + { + IExecute("onMeasure", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnSizeChanged(int arg0, int arg1, int arg2, int arg3) + { + IExecute("onSizeChanged", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnKeyboardActionListener(Android.Inputmethodservice.KeyboardView.OnKeyboardActionListener arg0) + { + IExecuteWithSignature("setOnKeyboardActionListener", "(Landroid/inputmethodservice/KeyboardView$OnKeyboardActionListener;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPopupOffset(int arg0, int arg1) + { + IExecute("setPopupOffset", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPopupParent(Android.View.View arg0) + { + IExecuteWithSignature("setPopupParent", "(Landroid/view/View;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPreviewEnabled(bool arg0) + { + IExecuteWithSignature("setPreviewEnabled", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetProximityCorrectionEnabled(bool arg0) + { + IExecuteWithSignature("setProximityCorrectionEnabled", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetVerticalCorrection(int arg0) + { + IExecuteWithSignature("setVerticalCorrection", "(I)V", arg0); + } + + #endregion + + #region Nested classes + #region OnKeyboardActionListener + public partial class OnKeyboardActionListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onKey", new System.EventHandler>>(OnKeyEventHandler)); + AddEventHandler("onPress", new System.EventHandler>>(OnPressEventHandler)); + AddEventHandler("onRelease", new System.EventHandler>>(OnReleaseEventHandler)); + AddEventHandler("onText", new System.EventHandler>>(OnTextEventHandler)); + AddEventHandler("swipeDown", new System.EventHandler>(SwipeDownEventHandler)); + AddEventHandler("swipeLeft", new System.EventHandler>(SwipeLeftEventHandler)); + AddEventHandler("swipeRight", new System.EventHandler>(SwipeRightEventHandler)); + AddEventHandler("swipeUp", new System.EventHandler>(SwipeUpEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnKey { get; set; } = null; + + void OnKeyEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnKey != null) ? OnOnKey : OnKey; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnKey(int arg0, int[] arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnPress { get; set; } = null; + + void OnPressEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnPress != null) ? OnOnPress : OnPress; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnPress(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRelease { get; set; } = null; + + void OnReleaseEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRelease != null) ? OnOnRelease : OnRelease; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRelease(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnText { get; set; } = null; + + void OnTextEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnText != null) ? OnOnText : OnText; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnText(Java.Lang.CharSequence arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSwipeDown { get; set; } = null; + + void SwipeDownEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnSwipeDown != null) ? OnSwipeDown : SwipeDown; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void SwipeDown() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSwipeLeft { get; set; } = null; + + void SwipeLeftEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnSwipeLeft != null) ? OnSwipeLeft : SwipeLeft; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void SwipeLeft() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSwipeRight { get; set; } = null; + + void SwipeRightEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnSwipeRight != null) ? OnSwipeRight : SwipeRight; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void SwipeRight() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSwipeUp { get; set; } = null; + + void SwipeUpEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnSwipeUp != null) ? OnSwipeUp : SwipeUp; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void SwipeUp() + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnKeyboardActionListenerDirect + public partial class OnKeyboardActionListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnKey(int arg0, int[] arg1) + { + IExecute("onKey", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnPress(int arg0) + { + IExecuteWithSignature("onPress", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRelease(int arg0) + { + IExecuteWithSignature("onRelease", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnText(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("onText", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public override void SwipeDown() + { + IExecuteWithSignature("swipeDown", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public override void SwipeLeft() + { + IExecuteWithSignature("swipeLeft", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public override void SwipeRight() + { + IExecuteWithSignature("swipeRight", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public override void SwipeUp() + { + IExecuteWithSignature("swipeUp", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Location/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Location/AllPackageClasses.cs index 05ce66e6f..f98ccf64b 100644 --- a/src/net/Netdroid/Generated/Android/Location/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Location/AllPackageClasses.cs @@ -70,6 +70,51 @@ public Address(params object[] args) : base(args) { } } #endregion + #region Criteria + /// + /// + /// + [System.Obsolete()] + public partial class Criteria : Android.Os.Parcelable + { + const string _bridgeClassName = "android.location.Criteria"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Criteria() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Criteria(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region Geocoder /// /// @@ -1159,6 +1204,216 @@ public Callback(params object[] args) : base(args) { } #endregion + } + #endregion + + #region GpsSatellite + /// + /// + /// + [System.Obsolete()] + public partial class GpsSatellite : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.location.GpsSatellite"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GpsSatellite() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GpsSatellite(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region GpsStatus + /// + /// + /// + [System.Obsolete()] + public partial class GpsStatus : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.location.GpsStatus"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GpsStatus() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GpsStatus(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Listener + /// + /// + /// + [System.Obsolete()] + public partial class Listener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Listener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.location.Listener"; + + + // TODO: complete the class + + } + #endregion + + #region ListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class ListenerDirect : Listener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.location.GpsStatus$Listener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region NmeaListener + /// + /// + /// + [System.Obsolete()] + public partial class NmeaListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public NmeaListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.location.NmeaListener"; + + + // TODO: complete the class + + } + #endregion + + #region NmeaListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class NmeaListenerDirect : NmeaListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.location.GpsStatus$NmeaListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + } #endregion @@ -1309,6 +1564,51 @@ public LocationManager(params object[] args) : base(args) { } } #endregion + #region LocationProvider + /// + /// + /// + [System.Obsolete()] + public partial class LocationProvider : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.location.LocationProvider"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public LocationProvider() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public LocationProvider(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region LocationRequest /// /// diff --git a/src/net/Netdroid/Generated/Android/Location/Criteria.cs b/src/net/Netdroid/Generated/Android/Location/Criteria.cs new file mode 100644 index 000000000..ae211a0b8 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Location/Criteria.cs @@ -0,0 +1,276 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Location +{ + #region Criteria + public partial class Criteria + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Criteria(Android.Location.Criteria arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ACCURACY_COARSE { get { if (!_ACCURACY_COARSEReady) { _ACCURACY_COARSEContent = SGetField(LocalBridgeClazz, "ACCURACY_COARSE"); _ACCURACY_COARSEReady = true; } return _ACCURACY_COARSEContent; } } + private static int _ACCURACY_COARSEContent = default; + private static bool _ACCURACY_COARSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ACCURACY_FINE { get { if (!_ACCURACY_FINEReady) { _ACCURACY_FINEContent = SGetField(LocalBridgeClazz, "ACCURACY_FINE"); _ACCURACY_FINEReady = true; } return _ACCURACY_FINEContent; } } + private static int _ACCURACY_FINEContent = default; + private static bool _ACCURACY_FINEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ACCURACY_HIGH { get { if (!_ACCURACY_HIGHReady) { _ACCURACY_HIGHContent = SGetField(LocalBridgeClazz, "ACCURACY_HIGH"); _ACCURACY_HIGHReady = true; } return _ACCURACY_HIGHContent; } } + private static int _ACCURACY_HIGHContent = default; + private static bool _ACCURACY_HIGHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ACCURACY_LOW { get { if (!_ACCURACY_LOWReady) { _ACCURACY_LOWContent = SGetField(LocalBridgeClazz, "ACCURACY_LOW"); _ACCURACY_LOWReady = true; } return _ACCURACY_LOWContent; } } + private static int _ACCURACY_LOWContent = default; + private static bool _ACCURACY_LOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ACCURACY_MEDIUM { get { if (!_ACCURACY_MEDIUMReady) { _ACCURACY_MEDIUMContent = SGetField(LocalBridgeClazz, "ACCURACY_MEDIUM"); _ACCURACY_MEDIUMReady = true; } return _ACCURACY_MEDIUMContent; } } + private static int _ACCURACY_MEDIUMContent = default; + private static bool _ACCURACY_MEDIUMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NO_REQUIREMENT { get { if (!_NO_REQUIREMENTReady) { _NO_REQUIREMENTContent = SGetField(LocalBridgeClazz, "NO_REQUIREMENT"); _NO_REQUIREMENTReady = true; } return _NO_REQUIREMENTContent; } } + private static int _NO_REQUIREMENTContent = default; + private static bool _NO_REQUIREMENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int POWER_HIGH { get { if (!_POWER_HIGHReady) { _POWER_HIGHContent = SGetField(LocalBridgeClazz, "POWER_HIGH"); _POWER_HIGHReady = true; } return _POWER_HIGHContent; } } + private static int _POWER_HIGHContent = default; + private static bool _POWER_HIGHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int POWER_LOW { get { if (!_POWER_LOWReady) { _POWER_LOWContent = SGetField(LocalBridgeClazz, "POWER_LOW"); _POWER_LOWReady = true; } return _POWER_LOWContent; } } + private static int _POWER_LOWContent = default; + private static bool _POWER_LOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int POWER_MEDIUM { get { if (!_POWER_MEDIUMReady) { _POWER_MEDIUMContent = SGetField(LocalBridgeClazz, "POWER_MEDIUM"); _POWER_MEDIUMReady = true; } return _POWER_MEDIUMContent; } } + private static int _POWER_MEDIUMContent = default; + private static bool _POWER_MEDIUMReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Accuracy + { + get { return IExecuteWithSignature("getAccuracy", "()I"); } set { IExecuteWithSignature("setAccuracy", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int BearingAccuracy + { + get { return IExecuteWithSignature("getBearingAccuracy", "()I"); } set { IExecuteWithSignature("setBearingAccuracy", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int HorizontalAccuracy + { + get { return IExecuteWithSignature("getHorizontalAccuracy", "()I"); } set { IExecuteWithSignature("setHorizontalAccuracy", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int PowerRequirement + { + get { return IExecuteWithSignature("getPowerRequirement", "()I"); } set { IExecuteWithSignature("setPowerRequirement", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int SpeedAccuracy + { + get { return IExecuteWithSignature("getSpeedAccuracy", "()I"); } set { IExecuteWithSignature("setSpeedAccuracy", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int VerticalAccuracy + { + get { return IExecuteWithSignature("getVerticalAccuracy", "()I"); } set { IExecuteWithSignature("setVerticalAccuracy", "(I)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAltitudeRequired() + { + return IExecuteWithSignature("isAltitudeRequired", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsBearingRequired() + { + return IExecuteWithSignature("isBearingRequired", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCostAllowed() + { + return IExecuteWithSignature("isCostAllowed", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsSpeedRequired() + { + return IExecuteWithSignature("isSpeedRequired", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAltitudeRequired(bool arg0) + { + IExecuteWithSignature("setAltitudeRequired", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetBearingRequired(bool arg0) + { + IExecuteWithSignature("setBearingRequired", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetCostAllowed(bool arg0) + { + IExecuteWithSignature("setCostAllowed", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSpeedRequired(bool arg0) + { + IExecuteWithSignature("setSpeedRequired", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Location/Geocoder.cs b/src/net/Netdroid/Generated/Android/Location/Geocoder.cs index da91583da..ac289718a 100644 --- a/src/net/Netdroid/Generated/Android/Location/Geocoder.cs +++ b/src/net/Netdroid/Generated/Android/Location/Geocoder.cs @@ -71,6 +71,47 @@ public static bool IsPresent() #region Instance methods /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetFromLocation(double arg0, double arg1, int arg2) + { + return IExecute>("getFromLocation", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetFromLocationName(Java.Lang.String arg0, int arg1, double arg2, double arg3, double arg4, double arg5) + { + return IExecute>("getFromLocationName", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetFromLocationName(Java.Lang.String arg0, int arg1) + { + return IExecute>("getFromLocationName", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Location/GnssCapabilities.cs b/src/net/Netdroid/Generated/Android/Location/GnssCapabilities.cs index ed51970b0..7995d0689 100644 --- a/src/net/Netdroid/Generated/Android/Location/GnssCapabilities.cs +++ b/src/net/Netdroid/Generated/Android/Location/GnssCapabilities.cs @@ -93,6 +93,15 @@ public bool HasGeofencing() return IExecuteWithSignature("hasGeofencing", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool HasGnssAntennaInfo() + { + return IExecuteWithSignature("hasGnssAntennaInfo", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Location/GnssMeasurement.cs b/src/net/Netdroid/Generated/Android/Location/GnssMeasurement.cs index 155669fdd..701f1945e 100644 --- a/src/net/Netdroid/Generated/Android/Location/GnssMeasurement.cs +++ b/src/net/Netdroid/Generated/Android/Location/GnssMeasurement.cs @@ -235,6 +235,14 @@ public double AccumulatedDeltaRangeUncertaintyMeters get { return IExecuteWithSignature("getAccumulatedDeltaRangeUncertaintyMeters", "()D"); } } /// + /// + /// + [System.Obsolete()] + public double AutomaticGainControlLevelDb + { + get { return IExecuteWithSignature("getAutomaticGainControlLevelDb", "()D"); } + } + /// /// /// public double BasebandCn0DbHz @@ -242,6 +250,14 @@ public double BasebandCn0DbHz get { return IExecuteWithSignature("getBasebandCn0DbHz", "()D"); } } /// + /// + /// + [System.Obsolete()] + public long CarrierCycles + { + get { return IExecuteWithSignature("getCarrierCycles", "()J"); } + } + /// /// /// public float CarrierFrequencyHz @@ -249,6 +265,22 @@ public float CarrierFrequencyHz get { return IExecuteWithSignature("getCarrierFrequencyHz", "()F"); } } /// + /// + /// + [System.Obsolete()] + public double CarrierPhase + { + get { return IExecuteWithSignature("getCarrierPhase", "()D"); } + } + /// + /// + /// + [System.Obsolete()] + public double CarrierPhaseUncertainty + { + get { return IExecuteWithSignature("getCarrierPhaseUncertainty", "()D"); } + } + /// /// /// public double Cn0DbHz @@ -361,6 +393,15 @@ public double TimeOffsetNanos get { return IExecuteWithSignature("getTimeOffsetNanos", "()D"); } } /// + /// + /// + /// + [System.Obsolete()] + public bool HasAutomaticGainControlLevelDb() + { + return IExecuteWithSignature("hasAutomaticGainControlLevelDb", "()Z"); + } + /// /// /// /// @@ -369,6 +410,15 @@ public bool HasBasebandCn0DbHz() return IExecuteWithSignature("hasBasebandCn0DbHz", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool HasCarrierCycles() + { + return IExecuteWithSignature("hasCarrierCycles", "()Z"); + } + /// /// /// /// @@ -377,6 +427,24 @@ public bool HasCarrierFrequencyHz() return IExecuteWithSignature("hasCarrierFrequencyHz", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool HasCarrierPhase() + { + return IExecuteWithSignature("hasCarrierPhase", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasCarrierPhaseUncertainty() + { + return IExecuteWithSignature("hasCarrierPhaseUncertainty", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Location/GnssMeasurementsEvent.cs b/src/net/Netdroid/Generated/Android/Location/GnssMeasurementsEvent.cs index d3d829e3b..00b611d07 100644 --- a/src/net/Netdroid/Generated/Android/Location/GnssMeasurementsEvent.cs +++ b/src/net/Netdroid/Generated/Android/Location/GnssMeasurementsEvent.cs @@ -212,6 +212,34 @@ public partial class Callback #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STATUS_LOCATION_DISABLED { get { if (!_STATUS_LOCATION_DISABLEDReady) { _STATUS_LOCATION_DISABLEDContent = SGetField(LocalBridgeClazz, "STATUS_LOCATION_DISABLED"); _STATUS_LOCATION_DISABLEDReady = true; } return _STATUS_LOCATION_DISABLEDContent; } } + private static int _STATUS_LOCATION_DISABLEDContent = default; + private static bool _STATUS_LOCATION_DISABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NOT_ALLOWED { get { if (!_STATUS_NOT_ALLOWEDReady) { _STATUS_NOT_ALLOWEDContent = SGetField(LocalBridgeClazz, "STATUS_NOT_ALLOWED"); _STATUS_NOT_ALLOWEDReady = true; } return _STATUS_NOT_ALLOWEDContent; } } + private static int _STATUS_NOT_ALLOWEDContent = default; + private static bool _STATUS_NOT_ALLOWEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NOT_SUPPORTED { get { if (!_STATUS_NOT_SUPPORTEDReady) { _STATUS_NOT_SUPPORTEDContent = SGetField(LocalBridgeClazz, "STATUS_NOT_SUPPORTED"); _STATUS_NOT_SUPPORTEDReady = true; } return _STATUS_NOT_SUPPORTEDContent; } } + private static int _STATUS_NOT_SUPPORTEDContent = default; + private static bool _STATUS_NOT_SUPPORTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_READY { get { if (!_STATUS_READYReady) { _STATUS_READYContent = SGetField(LocalBridgeClazz, "STATUS_READY"); _STATUS_READYReady = true; } return _STATUS_READYContent; } } + private static int _STATUS_READYContent = default; + private static bool _STATUS_READYReady = false; // this is used because in case of generics #endregion @@ -228,6 +256,15 @@ public void OnGnssMeasurementsReceived(Android.Location.GnssMeasurementsEvent ar { IExecuteWithSignature("onGnssMeasurementsReceived", "(Landroid/location/GnssMeasurementsEvent;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void OnStatusChanged(int arg0) + { + IExecuteWithSignature("onStatusChanged", "(I)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Location/GnssNavigationMessage.cs b/src/net/Netdroid/Generated/Android/Location/GnssNavigationMessage.cs index b7bdd483c..f5470ca03 100644 --- a/src/net/Netdroid/Generated/Android/Location/GnssNavigationMessage.cs +++ b/src/net/Netdroid/Generated/Android/Location/GnssNavigationMessage.cs @@ -234,6 +234,27 @@ public partial class Callback #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STATUS_LOCATION_DISABLED { get { if (!_STATUS_LOCATION_DISABLEDReady) { _STATUS_LOCATION_DISABLEDContent = SGetField(LocalBridgeClazz, "STATUS_LOCATION_DISABLED"); _STATUS_LOCATION_DISABLEDReady = true; } return _STATUS_LOCATION_DISABLEDContent; } } + private static int _STATUS_LOCATION_DISABLEDContent = default; + private static bool _STATUS_LOCATION_DISABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NOT_SUPPORTED { get { if (!_STATUS_NOT_SUPPORTEDReady) { _STATUS_NOT_SUPPORTEDContent = SGetField(LocalBridgeClazz, "STATUS_NOT_SUPPORTED"); _STATUS_NOT_SUPPORTEDReady = true; } return _STATUS_NOT_SUPPORTEDContent; } } + private static int _STATUS_NOT_SUPPORTEDContent = default; + private static bool _STATUS_NOT_SUPPORTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_READY { get { if (!_STATUS_READYReady) { _STATUS_READYContent = SGetField(LocalBridgeClazz, "STATUS_READY"); _STATUS_READYReady = true; } return _STATUS_READYContent; } } + private static int _STATUS_READYContent = default; + private static bool _STATUS_READYReady = false; // this is used because in case of generics #endregion @@ -250,6 +271,15 @@ public void OnGnssNavigationMessageReceived(Android.Location.GnssNavigationMessa { IExecuteWithSignature("onGnssNavigationMessageReceived", "(Landroid/location/GnssNavigationMessage;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void OnStatusChanged(int arg0) + { + IExecuteWithSignature("onStatusChanged", "(I)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Location/GpsSatellite.cs b/src/net/Netdroid/Generated/Android/Location/GpsSatellite.cs new file mode 100644 index 000000000..2e8f5a7a6 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Location/GpsSatellite.cs @@ -0,0 +1,117 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Location +{ + #region GpsSatellite + public partial class GpsSatellite + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public float Azimuth + { + get { return IExecuteWithSignature("getAzimuth", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public float Elevation + { + get { return IExecuteWithSignature("getElevation", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public int Prn + { + get { return IExecuteWithSignature("getPrn", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public float Snr + { + get { return IExecuteWithSignature("getSnr", "()F"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasAlmanac() + { + return IExecuteWithSignature("hasAlmanac", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasEphemeris() + { + return IExecuteWithSignature("hasEphemeris", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool UsedInFix() + { + return IExecuteWithSignature("usedInFix", "()Z"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Location/GpsStatus.cs b/src/net/Netdroid/Generated/Android/Location/GpsStatus.cs new file mode 100644 index 000000000..a084bb7d3 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Location/GpsStatus.cs @@ -0,0 +1,325 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Location +{ + #region GpsStatus + public partial class GpsStatus + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int GPS_EVENT_FIRST_FIX { get { if (!_GPS_EVENT_FIRST_FIXReady) { _GPS_EVENT_FIRST_FIXContent = SGetField(LocalBridgeClazz, "GPS_EVENT_FIRST_FIX"); _GPS_EVENT_FIRST_FIXReady = true; } return _GPS_EVENT_FIRST_FIXContent; } } + private static int _GPS_EVENT_FIRST_FIXContent = default; + private static bool _GPS_EVENT_FIRST_FIXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GPS_EVENT_SATELLITE_STATUS { get { if (!_GPS_EVENT_SATELLITE_STATUSReady) { _GPS_EVENT_SATELLITE_STATUSContent = SGetField(LocalBridgeClazz, "GPS_EVENT_SATELLITE_STATUS"); _GPS_EVENT_SATELLITE_STATUSReady = true; } return _GPS_EVENT_SATELLITE_STATUSContent; } } + private static int _GPS_EVENT_SATELLITE_STATUSContent = default; + private static bool _GPS_EVENT_SATELLITE_STATUSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GPS_EVENT_STARTED { get { if (!_GPS_EVENT_STARTEDReady) { _GPS_EVENT_STARTEDContent = SGetField(LocalBridgeClazz, "GPS_EVENT_STARTED"); _GPS_EVENT_STARTEDReady = true; } return _GPS_EVENT_STARTEDContent; } } + private static int _GPS_EVENT_STARTEDContent = default; + private static bool _GPS_EVENT_STARTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GPS_EVENT_STOPPED { get { if (!_GPS_EVENT_STOPPEDReady) { _GPS_EVENT_STOPPEDContent = SGetField(LocalBridgeClazz, "GPS_EVENT_STOPPED"); _GPS_EVENT_STOPPEDReady = true; } return _GPS_EVENT_STOPPEDContent; } } + private static int _GPS_EVENT_STOPPEDContent = default; + private static bool _GPS_EVENT_STOPPEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Location.GpsStatus Create(Android.Location.GnssStatus arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int MaxSatellites + { + get { return IExecuteWithSignature("getMaxSatellites", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.Iterable Satellites + { + get { return IExecuteWithSignature>("getSatellites", "()Ljava/lang/Iterable;"); } + } + /// + /// + /// + [System.Obsolete()] + public int TimeToFirstFix + { + get { return IExecuteWithSignature("getTimeToFirstFix", "()I"); } + } + + #endregion + + #region Nested classes + #region Listener + public partial class Listener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onGpsStatusChanged", new System.EventHandler>>(OnGpsStatusChangedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnGpsStatusChanged { get; set; } = null; + + void OnGpsStatusChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnGpsStatusChanged != null) ? OnOnGpsStatusChanged : OnGpsStatusChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnGpsStatusChanged(int arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ListenerDirect + public partial class ListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnGpsStatusChanged(int arg0) + { + IExecuteWithSignature("onGpsStatusChanged", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region NmeaListener + public partial class NmeaListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onNmeaReceived", new System.EventHandler>>(OnNmeaReceivedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnNmeaReceived { get; set; } = null; + + void OnNmeaReceivedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnNmeaReceived != null) ? OnOnNmeaReceived : OnNmeaReceived; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnNmeaReceived(long arg0, Java.Lang.String arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region NmeaListenerDirect + public partial class NmeaListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnNmeaReceived(long arg0, Java.Lang.String arg1) + { + IExecute("onNmeaReceived", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Location/Location.cs b/src/net/Netdroid/Generated/Android/Location/Location.cs index 13245a464..8ae1ed425 100644 --- a/src/net/Netdroid/Generated/Android/Location/Location.cs +++ b/src/net/Netdroid/Generated/Android/Location/Location.cs @@ -331,6 +331,15 @@ public bool IsComplete() return IExecuteWithSignature("isComplete", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsFromMockProvider() + { + return IExecuteWithSignature("isFromMockProvider", "()Z"); + } + /// /// /// /// @@ -374,6 +383,16 @@ public long GetElapsedRealtimeAgeMillis(long arg0) return IExecuteWithSignature("getElapsedRealtimeAgeMillis", "(J)J", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void Dump(Android.Util.Printer arg0, Java.Lang.String arg1) + { + IExecute("dump", arg0, arg1); + } + /// /// /// public void RemoveAccuracy() diff --git a/src/net/Netdroid/Generated/Android/Location/LocationListener.cs b/src/net/Netdroid/Generated/Android/Location/LocationListener.cs index 583b8b885..6f6504131 100644 --- a/src/net/Netdroid/Generated/Android/Location/LocationListener.cs +++ b/src/net/Netdroid/Generated/Android/Location/LocationListener.cs @@ -73,6 +73,7 @@ protected virtual void InitializeHandlers() AddEventHandler("onLocationChanged1", new System.EventHandler>>>(OnLocationChanged1EventHandler)); AddEventHandler("onProviderDisabled", new System.EventHandler>>(OnProviderDisabledEventHandler)); AddEventHandler("onProviderEnabled", new System.EventHandler>>(OnProviderEnabledEventHandler)); + AddEventHandler("onStatusChanged", new System.EventHandler>>(OnStatusChangedEventHandler)); } @@ -220,6 +221,43 @@ public virtual void OnProviderEnabled(Java.Lang.String arg0) { OnProviderEnabledDefault(arg0); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface + public void OnStatusChangedDefault(Java.Lang.String arg0, int arg1, Android.Os.Bundle arg2) + { + IExecute("onStatusChangedDefault", arg0, arg1, arg2); + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnStatusChanged { get; set; } = null; + + void OnStatusChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnStatusChanged != null) ? OnOnStatusChanged : OnStatusChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface using ; override the method to implement a different behavior + public virtual void OnStatusChanged(Java.Lang.String arg0, int arg1, Android.Os.Bundle arg2) + { + OnStatusChangedDefault(arg0, arg1, arg2); + } #endregion @@ -291,6 +329,17 @@ public override void OnProviderEnabled(Java.Lang.String arg0) { IExecuteWithSignature("onProviderEnabled", "(Ljava/lang/String;)V", arg0); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnStatusChanged(Java.Lang.String arg0, int arg1, Android.Os.Bundle arg2) + { + IExecute("onStatusChanged", arg0, arg1, arg2); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Location/LocationManager.cs b/src/net/Netdroid/Generated/Android/Location/LocationManager.cs index 8cdf2d677..7f246f310 100644 --- a/src/net/Netdroid/Generated/Android/Location/LocationManager.cs +++ b/src/net/Netdroid/Generated/Android/Location/LocationManager.cs @@ -110,6 +110,13 @@ public partial class LocationManager private static Java.Lang.String _KEY_PROXIMITY_ENTERINGContent = default; private static bool _KEY_PROXIMITY_ENTERINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_STATUS_CHANGED { get { if (!_KEY_STATUS_CHANGEDReady) { _KEY_STATUS_CHANGEDContent = SGetField(LocalBridgeClazz, "KEY_STATUS_CHANGED"); _KEY_STATUS_CHANGEDReady = true; } return _KEY_STATUS_CHANGEDContent; } } + private static Java.Lang.String _KEY_STATUS_CHANGEDContent = default; + private static bool _KEY_STATUS_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String MODE_CHANGED_ACTION { get { if (!_MODE_CHANGED_ACTIONReady) { _MODE_CHANGED_ACTIONContent = SGetField(LocalBridgeClazz, "MODE_CHANGED_ACTION"); _MODE_CHANGED_ACTIONReady = true; } return _MODE_CHANGED_ACTIONContent; } } @@ -177,6 +184,16 @@ public int GnssYearOfHardware get { return IExecuteWithSignature("getGnssYearOfHardware", "()I"); } } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Location.GpsStatus GetGpsStatus(Android.Location.GpsStatus arg0) + { + return IExecuteWithSignature("getGpsStatus", "(Landroid/location/GpsStatus;)Landroid/location/GpsStatus;", arg0); + } + /// /// /// /// @@ -186,6 +203,16 @@ public Android.Location.Location GetLastKnownLocation(Java.Lang.String arg0) return IExecuteWithSignature("getLastKnownLocation", "(Ljava/lang/String;)Landroid/location/Location;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Location.LocationProvider GetProvider(Java.Lang.String arg0) + { + return IExecuteWithSignature("getProvider", "(Ljava/lang/String;)Landroid/location/LocationProvider;", arg0); + } + /// /// /// /// @@ -195,6 +222,26 @@ public Android.Location.Provider.ProviderProperties GetProviderProperties(Java.L return IExecuteWithSignature("getProviderProperties", "(Ljava/lang/String;)Landroid/location/provider/ProviderProperties;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool AddGpsStatusListener(Android.Location.GpsStatus.Listener arg0) + { + return IExecuteWithSignature("addGpsStatusListener", "(Landroid/location/GpsStatus$Listener;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool AddNmeaListener(Android.Location.GpsStatus.NmeaListener arg0) + { + return IExecuteWithSignature("addNmeaListener", "(Landroid/location/GpsStatus$NmeaListener;)Z", arg0); + } + /// /// /// /// @@ -205,6 +252,16 @@ public bool AddNmeaListener(Android.Location.OnNmeaMessageListener arg0, Android return IExecute("addNmeaListener", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool AddNmeaListener(Android.Location.OnNmeaMessageListener arg0) + { + return IExecuteWithSignature("addNmeaListener", "(Landroid/location/OnNmeaMessageListener;)Z", arg0); + } + /// /// /// /// @@ -272,6 +329,16 @@ public bool RegisterGnssMeasurementsCallback(Android.Location.GnssMeasurementsEv return IExecute("registerGnssMeasurementsCallback", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterGnssMeasurementsCallback(Android.Location.GnssMeasurementsEvent.Callback arg0) + { + return IExecuteWithSignature("registerGnssMeasurementsCallback", "(Landroid/location/GnssMeasurementsEvent$Callback;)Z", arg0); + } + /// /// /// /// @@ -292,6 +359,16 @@ public bool RegisterGnssNavigationMessageCallback(Android.Location.GnssNavigatio return IExecute("registerGnssNavigationMessageCallback", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterGnssNavigationMessageCallback(Android.Location.GnssNavigationMessage.Callback arg0) + { + return IExecuteWithSignature("registerGnssNavigationMessageCallback", "(Landroid/location/GnssNavigationMessage$Callback;)Z", arg0); + } + /// /// /// /// @@ -312,6 +389,16 @@ public bool RegisterGnssStatusCallback(Android.Location.GnssStatus.Callback arg0 return IExecute("registerGnssStatusCallback", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterGnssStatusCallback(Android.Location.GnssStatus.Callback arg0) + { + return IExecuteWithSignature("registerGnssStatusCallback", "(Landroid/location/GnssStatus$Callback;)Z", arg0); + } + /// /// /// /// @@ -333,6 +420,28 @@ public bool SendExtraCommand(Java.Lang.String arg0, Java.Lang.String arg1, Andro return IExecute("sendExtraCommand", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetBestProvider(Android.Location.Criteria arg0, bool arg1) + { + return IExecute("getBestProvider", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List GetProviders(Android.Location.Criteria arg0, bool arg1) + { + return IExecute>("getProviders", arg0, arg1); + } + /// /// /// /// @@ -390,6 +499,33 @@ public void AddTestProvider(Java.Lang.String arg0, bool arg1, bool arg2, bool ar IExecute("addTestProvider", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } /// + /// + /// + /// + [System.Obsolete()] + public void ClearTestProviderEnabled(Java.Lang.String arg0) + { + IExecuteWithSignature("clearTestProviderEnabled", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ClearTestProviderLocation(Java.Lang.String arg0) + { + IExecuteWithSignature("clearTestProviderLocation", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ClearTestProviderStatus(Java.Lang.String arg0) + { + IExecuteWithSignature("clearTestProviderStatus", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -413,6 +549,24 @@ public void GetCurrentLocation(Java.Lang.String arg0, Android.Os.CancellationSig IExecute("getCurrentLocation", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveGpsStatusListener(Android.Location.GpsStatus.Listener arg0) + { + IExecuteWithSignature("removeGpsStatusListener", "(Landroid/location/GpsStatus$Listener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RemoveNmeaListener(Android.Location.GpsStatus.NmeaListener arg0) + { + IExecuteWithSignature("removeNmeaListener", "(Landroid/location/GpsStatus$NmeaListener;)V", arg0); + } + /// /// /// /// @@ -540,6 +694,86 @@ public void RequestLocationUpdates(Java.Lang.String arg0, long arg1, float arg2, IExecute("requestLocationUpdates", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestLocationUpdates(long arg0, float arg1, Android.Location.Criteria arg2, Android.App.PendingIntent arg3) + { + IExecute("requestLocationUpdates", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestLocationUpdates(long arg0, float arg1, Android.Location.Criteria arg2, Android.Location.LocationListener arg3, Android.Os.Looper arg4) + { + IExecute("requestLocationUpdates", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestLocationUpdates(long arg0, float arg1, Android.Location.Criteria arg2, Java.Util.Concurrent.Executor arg3, Android.Location.LocationListener arg4) + { + IExecute("requestLocationUpdates", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestSingleUpdate(Android.Location.Criteria arg0, Android.App.PendingIntent arg1) + { + IExecute("requestSingleUpdate", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestSingleUpdate(Android.Location.Criteria arg0, Android.Location.LocationListener arg1, Android.Os.Looper arg2) + { + IExecute("requestSingleUpdate", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestSingleUpdate(Java.Lang.String arg0, Android.App.PendingIntent arg1) + { + IExecute("requestSingleUpdate", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void RequestSingleUpdate(Java.Lang.String arg0, Android.Location.LocationListener arg1, Android.Os.Looper arg2) + { + IExecute("requestSingleUpdate", arg0, arg1, arg2); + } + /// /// /// /// @@ -558,6 +792,18 @@ public void SetTestProviderLocation(Java.Lang.String arg0, Android.Location.Loca IExecute("setTestProviderLocation", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetTestProviderStatus(Java.Lang.String arg0, int arg1, Android.Os.Bundle arg2, long arg3) + { + IExecute("setTestProviderStatus", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Location/LocationProvider.cs b/src/net/Netdroid/Generated/Android/Location/LocationProvider.cs new file mode 100644 index 000000000..ef1cb2c83 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Location/LocationProvider.cs @@ -0,0 +1,176 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Location +{ + #region LocationProvider + public partial class LocationProvider + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int AVAILABLE { get { if (!_AVAILABLEReady) { _AVAILABLEContent = SGetField(LocalBridgeClazz, "AVAILABLE"); _AVAILABLEReady = true; } return _AVAILABLEContent; } } + private static int _AVAILABLEContent = default; + private static bool _AVAILABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OUT_OF_SERVICE { get { if (!_OUT_OF_SERVICEReady) { _OUT_OF_SERVICEContent = SGetField(LocalBridgeClazz, "OUT_OF_SERVICE"); _OUT_OF_SERVICEReady = true; } return _OUT_OF_SERVICEContent; } } + private static int _OUT_OF_SERVICEContent = default; + private static bool _OUT_OF_SERVICEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TEMPORARILY_UNAVAILABLE { get { if (!_TEMPORARILY_UNAVAILABLEReady) { _TEMPORARILY_UNAVAILABLEContent = SGetField(LocalBridgeClazz, "TEMPORARILY_UNAVAILABLE"); _TEMPORARILY_UNAVAILABLEReady = true; } return _TEMPORARILY_UNAVAILABLEContent; } } + private static int _TEMPORARILY_UNAVAILABLEContent = default; + private static bool _TEMPORARILY_UNAVAILABLEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Accuracy + { + get { return IExecuteWithSignature("getAccuracy", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Name + { + get { return IExecuteWithSignature("getName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int PowerRequirement + { + get { return IExecuteWithSignature("getPowerRequirement", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasMonetaryCost() + { + return IExecuteWithSignature("hasMonetaryCost", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool MeetsCriteria(Android.Location.Criteria arg0) + { + return IExecuteWithSignature("meetsCriteria", "(Landroid/location/Criteria;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool RequiresCell() + { + return IExecuteWithSignature("requiresCell", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool RequiresNetwork() + { + return IExecuteWithSignature("requiresNetwork", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool RequiresSatellite() + { + return IExecuteWithSignature("requiresSatellite", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool SupportsAltitude() + { + return IExecuteWithSignature("supportsAltitude", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool SupportsBearing() + { + return IExecuteWithSignature("supportsBearing", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool SupportsSpeed() + { + return IExecuteWithSignature("supportsSpeed", "()Z"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Manifest.cs b/src/net/Netdroid/Generated/Android/Manifest.cs index 6fbfc6bbf..385fc3244 100644 --- a/src/net/Netdroid/Generated/Android/Manifest.cs +++ b/src/net/Netdroid/Generated/Android/Manifest.cs @@ -188,12 +188,26 @@ public partial class permission private static Java.Lang.String _BIND_CARRIER_MESSAGING_CLIENT_SERVICEContent = default; private static bool _BIND_CARRIER_MESSAGING_CLIENT_SERVICEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BIND_CARRIER_MESSAGING_SERVICE { get { if (!_BIND_CARRIER_MESSAGING_SERVICEReady) { _BIND_CARRIER_MESSAGING_SERVICEContent = SGetField(LocalBridgeClazz, "BIND_CARRIER_MESSAGING_SERVICE"); _BIND_CARRIER_MESSAGING_SERVICEReady = true; } return _BIND_CARRIER_MESSAGING_SERVICEContent; } } + private static Java.Lang.String _BIND_CARRIER_MESSAGING_SERVICEContent = default; + private static bool _BIND_CARRIER_MESSAGING_SERVICEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String BIND_CARRIER_SERVICES { get { if (!_BIND_CARRIER_SERVICESReady) { _BIND_CARRIER_SERVICESContent = SGetField(LocalBridgeClazz, "BIND_CARRIER_SERVICES"); _BIND_CARRIER_SERVICESReady = true; } return _BIND_CARRIER_SERVICESContent; } } private static Java.Lang.String _BIND_CARRIER_SERVICESContent = default; private static bool _BIND_CARRIER_SERVICESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BIND_CHOOSER_TARGET_SERVICE { get { if (!_BIND_CHOOSER_TARGET_SERVICEReady) { _BIND_CHOOSER_TARGET_SERVICEContent = SGetField(LocalBridgeClazz, "BIND_CHOOSER_TARGET_SERVICE"); _BIND_CHOOSER_TARGET_SERVICEReady = true; } return _BIND_CHOOSER_TARGET_SERVICEContent; } } + private static Java.Lang.String _BIND_CHOOSER_TARGET_SERVICEContent = default; + private static bool _BIND_CHOOSER_TARGET_SERVICEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String BIND_COMPANION_DEVICE_SERVICE { get { if (!_BIND_COMPANION_DEVICE_SERVICEReady) { _BIND_COMPANION_DEVICE_SERVICEContent = SGetField(LocalBridgeClazz, "BIND_COMPANION_DEVICE_SERVICE"); _BIND_COMPANION_DEVICE_SERVICEReady = true; } return _BIND_COMPANION_DEVICE_SERVICEContent; } } @@ -674,6 +688,13 @@ public partial class permission private static Java.Lang.String _GET_PACKAGE_SIZEContent = default; private static bool _GET_PACKAGE_SIZEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GET_TASKS { get { if (!_GET_TASKSReady) { _GET_TASKSContent = SGetField(LocalBridgeClazz, "GET_TASKS"); _GET_TASKSReady = true; } return _GET_TASKSContent; } } + private static Java.Lang.String _GET_TASKSContent = default; + private static bool _GET_TASKSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String GLOBAL_SEARCH { get { if (!_GLOBAL_SEARCHReady) { _GLOBAL_SEARCHContent = SGetField(LocalBridgeClazz, "GLOBAL_SEARCH"); _GLOBAL_SEARCHReady = true; } return _GLOBAL_SEARCHContent; } } @@ -1328,12 +1349,26 @@ public partial class permission private static Java.Lang.String _PACKAGE_USAGE_STATSContent = default; private static bool _PACKAGE_USAGE_STATSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSISTENT_ACTIVITY { get { if (!_PERSISTENT_ACTIVITYReady) { _PERSISTENT_ACTIVITYContent = SGetField(LocalBridgeClazz, "PERSISTENT_ACTIVITY"); _PERSISTENT_ACTIVITYReady = true; } return _PERSISTENT_ACTIVITYContent; } } + private static Java.Lang.String _PERSISTENT_ACTIVITYContent = default; + private static bool _PERSISTENT_ACTIVITYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String POST_NOTIFICATIONS { get { if (!_POST_NOTIFICATIONSReady) { _POST_NOTIFICATIONSContent = SGetField(LocalBridgeClazz, "POST_NOTIFICATIONS"); _POST_NOTIFICATIONSReady = true; } return _POST_NOTIFICATIONSContent; } } private static Java.Lang.String _POST_NOTIFICATIONSContent = default; private static bool _POST_NOTIFICATIONSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PROCESS_OUTGOING_CALLS { get { if (!_PROCESS_OUTGOING_CALLSReady) { _PROCESS_OUTGOING_CALLSContent = SGetField(LocalBridgeClazz, "PROCESS_OUTGOING_CALLS"); _PROCESS_OUTGOING_CALLSReady = true; } return _PROCESS_OUTGOING_CALLSContent; } } + private static Java.Lang.String _PROCESS_OUTGOING_CALLSContent = default; + private static bool _PROCESS_OUTGOING_CALLSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String PROVIDE_OWN_AUTOFILL_SUGGESTIONS { get { if (!_PROVIDE_OWN_AUTOFILL_SUGGESTIONSReady) { _PROVIDE_OWN_AUTOFILL_SUGGESTIONSContent = SGetField(LocalBridgeClazz, "PROVIDE_OWN_AUTOFILL_SUGGESTIONS"); _PROVIDE_OWN_AUTOFILL_SUGGESTIONSReady = true; } return _PROVIDE_OWN_AUTOFILL_SUGGESTIONSContent; } } @@ -1394,6 +1429,13 @@ public partial class permission private static Java.Lang.String _READ_HOME_APP_SEARCH_DATAContent = default; private static bool _READ_HOME_APP_SEARCH_DATAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String READ_INPUT_STATE { get { if (!_READ_INPUT_STATEReady) { _READ_INPUT_STATEContent = SGetField(LocalBridgeClazz, "READ_INPUT_STATE"); _READ_INPUT_STATEReady = true; } return _READ_INPUT_STATEContent; } } + private static Java.Lang.String _READ_INPUT_STATEContent = default; + private static bool _READ_INPUT_STATEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String READ_LOGS { get { if (!_READ_LOGSReady) { _READ_LOGSContent = SGetField(LocalBridgeClazz, "READ_LOGS"); _READ_LOGSReady = true; } return _READ_LOGSContent; } } @@ -1604,6 +1646,13 @@ public partial class permission private static Java.Lang.String _REQUEST_PASSWORD_COMPLEXITYContent = default; private static bool _REQUEST_PASSWORD_COMPLEXITYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RESTART_PACKAGES { get { if (!_RESTART_PACKAGESReady) { _RESTART_PACKAGESContent = SGetField(LocalBridgeClazz, "RESTART_PACKAGES"); _RESTART_PACKAGESReady = true; } return _RESTART_PACKAGESContent; } } + private static Java.Lang.String _RESTART_PACKAGESContent = default; + private static bool _RESTART_PACKAGESReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String RUN_USER_INITIATED_JOBS { get { if (!_RUN_USER_INITIATED_JOBSReady) { _RUN_USER_INITIATED_JOBSContent = SGetField(LocalBridgeClazz, "RUN_USER_INITIATED_JOBS"); _RUN_USER_INITIATED_JOBSReady = true; } return _RUN_USER_INITIATED_JOBSContent; } } @@ -1652,6 +1701,13 @@ public partial class permission private static Java.Lang.String _SET_DEBUG_APPContent = default; private static bool _SET_DEBUG_APPReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SET_PREFERRED_APPLICATIONS { get { if (!_SET_PREFERRED_APPLICATIONSReady) { _SET_PREFERRED_APPLICATIONSContent = SGetField(LocalBridgeClazz, "SET_PREFERRED_APPLICATIONS"); _SET_PREFERRED_APPLICATIONSReady = true; } return _SET_PREFERRED_APPLICATIONSContent; } } + private static Java.Lang.String _SET_PREFERRED_APPLICATIONSContent = default; + private static bool _SET_PREFERRED_APPLICATIONSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SET_PROCESS_LIMIT { get { if (!_SET_PROCESS_LIMITReady) { _SET_PROCESS_LIMITContent = SGetField(LocalBridgeClazz, "SET_PROCESS_LIMIT"); _SET_PROCESS_LIMITReady = true; } return _SET_PROCESS_LIMITContent; } } @@ -1688,6 +1744,13 @@ public partial class permission private static Java.Lang.String _SIGNAL_PERSISTENT_PROCESSESContent = default; private static bool _SIGNAL_PERSISTENT_PROCESSESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SMS_FINANCIAL_TRANSACTIONS { get { if (!_SMS_FINANCIAL_TRANSACTIONSReady) { _SMS_FINANCIAL_TRANSACTIONSContent = SGetField(LocalBridgeClazz, "SMS_FINANCIAL_TRANSACTIONS"); _SMS_FINANCIAL_TRANSACTIONSReady = true; } return _SMS_FINANCIAL_TRANSACTIONSContent; } } + private static Java.Lang.String _SMS_FINANCIAL_TRANSACTIONSContent = default; + private static bool _SMS_FINANCIAL_TRANSACTIONSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String START_FOREGROUND_SERVICES_FROM_BACKGROUND { get { if (!_START_FOREGROUND_SERVICES_FROM_BACKGROUNDReady) { _START_FOREGROUND_SERVICES_FROM_BACKGROUNDContent = SGetField(LocalBridgeClazz, "START_FOREGROUND_SERVICES_FROM_BACKGROUND"); _START_FOREGROUND_SERVICES_FROM_BACKGROUNDReady = true; } return _START_FOREGROUND_SERVICES_FROM_BACKGROUNDContent; } } @@ -1766,6 +1829,13 @@ public partial class permission private static Java.Lang.String _USE_EXACT_ALARMContent = default; private static bool _USE_EXACT_ALARMReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USE_FINGERPRINT { get { if (!_USE_FINGERPRINTReady) { _USE_FINGERPRINTContent = SGetField(LocalBridgeClazz, "USE_FINGERPRINT"); _USE_FINGERPRINTReady = true; } return _USE_FINGERPRINTContent; } } + private static Java.Lang.String _USE_FINGERPRINTContent = default; + private static bool _USE_FINGERPRINTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String USE_FULL_SCREEN_INTENT { get { if (!_USE_FULL_SCREEN_INTENTReady) { _USE_FULL_SCREEN_INTENTContent = SGetField(LocalBridgeClazz, "USE_FULL_SCREEN_INTENT"); _USE_FULL_SCREEN_INTENTReady = true; } return _USE_FULL_SCREEN_INTENTContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs index f6f0d5a80..0078b706b 100644 --- a/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs @@ -1740,6 +1740,66 @@ protected override void InitializeHandlers() { } } #endregion + #region OnRoutingChangedListener + /// + /// + /// + [System.Obsolete()] + public partial class OnRoutingChangedListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnRoutingChangedListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnRoutingChangedListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnRoutingChangedListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnRoutingChangedListenerDirect : OnRoutingChangedListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.AudioRecord$OnRoutingChangedListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + } #endregion @@ -2229,6 +2289,66 @@ protected override void InitializeHandlers() { } } #endregion + #region OnRoutingChangedListener + /// + /// + /// + [System.Obsolete()] + public partial class OnRoutingChangedListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnRoutingChangedListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnRoutingChangedListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnRoutingChangedListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnRoutingChangedListenerDirect : OnRoutingChangedListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.AudioTrack$OnRoutingChangedListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + #region StreamEventCallback /// /// @@ -5106,6 +5226,53 @@ public ErrorCodes(params object[] args) : base(args) { } } #endregion + #region HdcpLevel + /// + /// + /// + [System.Obsolete()] + public partial class HdcpLevel : Java.Lang.Annotation.Annotation + { + const string _bridgeClassName = "android.media.MediaDrm$HdcpLevel"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("HdcpLevel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public HdcpLevel() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("HdcpLevel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public HdcpLevel(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region KeyRequest /// /// @@ -5623,6 +5790,53 @@ public ProvisionRequest(params object[] args) : base(args) { } } #endregion + #region SecurityLevel + /// + /// + /// + [System.Obsolete()] + public partial class SecurityLevel : Java.Lang.Annotation.Annotation + { + const string _bridgeClassName = "android.media.MediaDrm$SecurityLevel"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("SecurityLevel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public SecurityLevel() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("SecurityLevel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public SecurityLevel(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region SessionException /// /// @@ -6076,6 +6290,53 @@ public Builder(params object[] args) : base(args) { } } #endregion + #region MediaMetadataEditor + /// + /// + /// + [System.Obsolete()] + public partial class MediaMetadataEditor : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.media.MediaMetadataEditor"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("MediaMetadataEditor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public MediaMetadataEditor() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("MediaMetadataEditor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public MediaMetadataEditor(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region MediaMetadataRetriever /// /// @@ -9734,6 +9995,426 @@ public Rating(params object[] args) : base(args) { } } #endregion + #region RemoteControlClient + /// + /// + /// + [System.Obsolete()] + public partial class RemoteControlClient : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.media.RemoteControlClient"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RemoteControlClient() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RemoteControlClient(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region MetadataEditor + /// + /// + /// + [System.Obsolete()] + public partial class MetadataEditor : Android.Media.MediaMetadataEditor + { + const string _bridgeClassName = "android.media.RemoteControlClient$MetadataEditor"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public MetadataEditor() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public MetadataEditor(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region OnGetPlaybackPositionListener + /// + /// + /// + [System.Obsolete()] + public partial class OnGetPlaybackPositionListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnGetPlaybackPositionListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnGetPlaybackPositionListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnGetPlaybackPositionListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnGetPlaybackPositionListenerDirect : OnGetPlaybackPositionListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.RemoteControlClient$OnGetPlaybackPositionListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnMetadataUpdateListener + /// + /// + /// + [System.Obsolete()] + public partial class OnMetadataUpdateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnMetadataUpdateListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnMetadataUpdateListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnMetadataUpdateListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnMetadataUpdateListenerDirect : OnMetadataUpdateListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.RemoteControlClient$OnMetadataUpdateListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnPlaybackPositionUpdateListener + /// + /// + /// + [System.Obsolete()] + public partial class OnPlaybackPositionUpdateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnPlaybackPositionUpdateListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnPlaybackPositionUpdateListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnPlaybackPositionUpdateListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnPlaybackPositionUpdateListenerDirect : OnPlaybackPositionUpdateListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.RemoteControlClient$OnPlaybackPositionUpdateListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region RemoteController + /// + /// + /// + [System.Obsolete()] + public partial class RemoteController : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.media.RemoteController"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RemoteController() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RemoteController(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region MetadataEditor + /// + /// + /// + [System.Obsolete()] + public partial class MetadataEditor : Android.Media.MediaMetadataEditor + { + const string _bridgeClassName = "android.media.RemoteController$MetadataEditor"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public MetadataEditor() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public MetadataEditor(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region OnClientUpdateListener + /// + /// + /// + [System.Obsolete()] + public partial class OnClientUpdateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnClientUpdateListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.media.OnClientUpdateListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnClientUpdateListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnClientUpdateListenerDirect : OnClientUpdateListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.media.RemoteController$OnClientUpdateListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + #region ResourceBusyException /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/AsyncPlayer.cs b/src/net/Netdroid/Generated/Android/Media/AsyncPlayer.cs index d5274b40a..5cbccfb60 100644 --- a/src/net/Netdroid/Generated/Android/Media/AsyncPlayer.cs +++ b/src/net/Netdroid/Generated/Android/Media/AsyncPlayer.cs @@ -66,6 +66,18 @@ public void Play(Android.Content.Context arg0, Android.Net.Uri arg1, bool arg2, IExecute("play", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Play(Android.Content.Context arg0, Android.Net.Uri arg1, bool arg2, int arg3) + { + IExecute("play", arg0, arg1, arg2, arg3); + } + /// /// /// public void Stop() diff --git a/src/net/Netdroid/Generated/Android/Media/AudioAttributes.cs b/src/net/Netdroid/Generated/Android/Media/AudioAttributes.cs index f8c8c4b1f..9a71b64ab 100644 --- a/src/net/Netdroid/Generated/Android/Media/AudioAttributes.cs +++ b/src/net/Netdroid/Generated/Android/Media/AudioAttributes.cs @@ -104,6 +104,13 @@ public partial class AudioAttributes private static int _FLAG_HW_AV_SYNCContent = default; private static bool _FLAG_HW_AV_SYNCReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int FLAG_LOW_LATENCY { get { if (!_FLAG_LOW_LATENCYReady) { _FLAG_LOW_LATENCYContent = SGetField(LocalBridgeClazz, "FLAG_LOW_LATENCY"); _FLAG_LOW_LATENCYReady = true; } return _FLAG_LOW_LATENCYContent; } } + private static int _FLAG_LOW_LATENCYContent = default; + private static bool _FLAG_LOW_LATENCYReady = false; // this is used because in case of generics + /// /// /// public static int SPATIALIZATION_BEHAVIOR_AUTO { get { if (!_SPATIALIZATION_BEHAVIOR_AUTOReady) { _SPATIALIZATION_BEHAVIOR_AUTOContent = SGetField(LocalBridgeClazz, "SPATIALIZATION_BEHAVIOR_AUTO"); _SPATIALIZATION_BEHAVIOR_AUTOReady = true; } return _SPATIALIZATION_BEHAVIOR_AUTOContent; } } @@ -164,6 +171,27 @@ public partial class AudioAttributes private static int _USAGE_NOTIFICATIONContent = default; private static bool _USAGE_NOTIFICATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int USAGE_NOTIFICATION_COMMUNICATION_DELAYED { get { if (!_USAGE_NOTIFICATION_COMMUNICATION_DELAYEDReady) { _USAGE_NOTIFICATION_COMMUNICATION_DELAYEDContent = SGetField(LocalBridgeClazz, "USAGE_NOTIFICATION_COMMUNICATION_DELAYED"); _USAGE_NOTIFICATION_COMMUNICATION_DELAYEDReady = true; } return _USAGE_NOTIFICATION_COMMUNICATION_DELAYEDContent; } } + private static int _USAGE_NOTIFICATION_COMMUNICATION_DELAYEDContent = default; + private static bool _USAGE_NOTIFICATION_COMMUNICATION_DELAYEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_NOTIFICATION_COMMUNICATION_INSTANT { get { if (!_USAGE_NOTIFICATION_COMMUNICATION_INSTANTReady) { _USAGE_NOTIFICATION_COMMUNICATION_INSTANTContent = SGetField(LocalBridgeClazz, "USAGE_NOTIFICATION_COMMUNICATION_INSTANT"); _USAGE_NOTIFICATION_COMMUNICATION_INSTANTReady = true; } return _USAGE_NOTIFICATION_COMMUNICATION_INSTANTContent; } } + private static int _USAGE_NOTIFICATION_COMMUNICATION_INSTANTContent = default; + private static bool _USAGE_NOTIFICATION_COMMUNICATION_INSTANTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_NOTIFICATION_COMMUNICATION_REQUEST { get { if (!_USAGE_NOTIFICATION_COMMUNICATION_REQUESTReady) { _USAGE_NOTIFICATION_COMMUNICATION_REQUESTContent = SGetField(LocalBridgeClazz, "USAGE_NOTIFICATION_COMMUNICATION_REQUEST"); _USAGE_NOTIFICATION_COMMUNICATION_REQUESTReady = true; } return _USAGE_NOTIFICATION_COMMUNICATION_REQUESTContent; } } + private static int _USAGE_NOTIFICATION_COMMUNICATION_REQUESTContent = default; + private static bool _USAGE_NOTIFICATION_COMMUNICATION_REQUESTReady = false; // this is used because in case of generics + /// /// /// public static int USAGE_NOTIFICATION_EVENT { get { if (!_USAGE_NOTIFICATION_EVENTReady) { _USAGE_NOTIFICATION_EVENTContent = SGetField(LocalBridgeClazz, "USAGE_NOTIFICATION_EVENT"); _USAGE_NOTIFICATION_EVENTReady = true; } return _USAGE_NOTIFICATION_EVENTContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/AudioFormat.cs b/src/net/Netdroid/Generated/Android/Media/AudioFormat.cs index 3397c2a76..aee267a49 100644 --- a/src/net/Netdroid/Generated/Android/Media/AudioFormat.cs +++ b/src/net/Netdroid/Generated/Android/Media/AudioFormat.cs @@ -44,6 +44,34 @@ public partial class AudioFormat private static Android.Os.Parcelable.Creator _CREATORContent = default; private static bool _CREATORReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_CONFIGURATION_DEFAULT { get { if (!_CHANNEL_CONFIGURATION_DEFAULTReady) { _CHANNEL_CONFIGURATION_DEFAULTContent = SGetField(LocalBridgeClazz, "CHANNEL_CONFIGURATION_DEFAULT"); _CHANNEL_CONFIGURATION_DEFAULTReady = true; } return _CHANNEL_CONFIGURATION_DEFAULTContent; } } + private static int _CHANNEL_CONFIGURATION_DEFAULTContent = default; + private static bool _CHANNEL_CONFIGURATION_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_CONFIGURATION_INVALID { get { if (!_CHANNEL_CONFIGURATION_INVALIDReady) { _CHANNEL_CONFIGURATION_INVALIDContent = SGetField(LocalBridgeClazz, "CHANNEL_CONFIGURATION_INVALID"); _CHANNEL_CONFIGURATION_INVALIDReady = true; } return _CHANNEL_CONFIGURATION_INVALIDContent; } } + private static int _CHANNEL_CONFIGURATION_INVALIDContent = default; + private static bool _CHANNEL_CONFIGURATION_INVALIDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_CONFIGURATION_MONO { get { if (!_CHANNEL_CONFIGURATION_MONOReady) { _CHANNEL_CONFIGURATION_MONOContent = SGetField(LocalBridgeClazz, "CHANNEL_CONFIGURATION_MONO"); _CHANNEL_CONFIGURATION_MONOReady = true; } return _CHANNEL_CONFIGURATION_MONOContent; } } + private static int _CHANNEL_CONFIGURATION_MONOContent = default; + private static bool _CHANNEL_CONFIGURATION_MONOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_CONFIGURATION_STEREO { get { if (!_CHANNEL_CONFIGURATION_STEREOReady) { _CHANNEL_CONFIGURATION_STEREOContent = SGetField(LocalBridgeClazz, "CHANNEL_CONFIGURATION_STEREO"); _CHANNEL_CONFIGURATION_STEREOReady = true; } return _CHANNEL_CONFIGURATION_STEREOContent; } } + private static int _CHANNEL_CONFIGURATION_STEREOContent = default; + private static bool _CHANNEL_CONFIGURATION_STEREOReady = false; // this is used because in case of generics + /// /// /// public static int CHANNEL_IN_BACK { get { if (!_CHANNEL_IN_BACKReady) { _CHANNEL_IN_BACKContent = SGetField(LocalBridgeClazz, "CHANNEL_IN_BACK"); _CHANNEL_IN_BACKReady = true; } return _CHANNEL_IN_BACKContent; } } @@ -176,6 +204,13 @@ public partial class AudioFormat private static int _CHANNEL_OUT_6POINT1Content = default; private static bool _CHANNEL_OUT_6POINT1Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CHANNEL_OUT_7POINT1 { get { if (!_CHANNEL_OUT_7POINT1Ready) { _CHANNEL_OUT_7POINT1Content = SGetField(LocalBridgeClazz, "CHANNEL_OUT_7POINT1"); _CHANNEL_OUT_7POINT1Ready = true; } return _CHANNEL_OUT_7POINT1Content; } } + private static int _CHANNEL_OUT_7POINT1Content = default; + private static bool _CHANNEL_OUT_7POINT1Ready = false; // this is used because in case of generics + /// /// /// public static int CHANNEL_OUT_7POINT1_SURROUND { get { if (!_CHANNEL_OUT_7POINT1_SURROUNDReady) { _CHANNEL_OUT_7POINT1_SURROUNDContent = SGetField(LocalBridgeClazz, "CHANNEL_OUT_7POINT1_SURROUND"); _CHANNEL_OUT_7POINT1_SURROUNDReady = true; } return _CHANNEL_OUT_7POINT1_SURROUNDContent; } } @@ -482,6 +517,13 @@ public partial class AudioFormat private static int _ENCODING_DTS_HD_MAContent = default; private static bool _ENCODING_DTS_HD_MAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int ENCODING_DTS_UHD { get { if (!_ENCODING_DTS_UHDReady) { _ENCODING_DTS_UHDContent = SGetField(LocalBridgeClazz, "ENCODING_DTS_UHD"); _ENCODING_DTS_UHDReady = true; } return _ENCODING_DTS_UHDContent; } } + private static int _ENCODING_DTS_UHDContent = default; + private static bool _ENCODING_DTS_UHDReady = false; // this is used because in case of generics + /// /// /// public static int ENCODING_DTS_UHD_P1 { get { if (!_ENCODING_DTS_UHD_P1Ready) { _ENCODING_DTS_UHD_P1Content = SGetField(LocalBridgeClazz, "ENCODING_DTS_UHD_P1"); _ENCODING_DTS_UHD_P1Ready = true; } return _ENCODING_DTS_UHD_P1Content; } } diff --git a/src/net/Netdroid/Generated/Android/Media/AudioManager.cs b/src/net/Netdroid/Generated/Android/Media/AudioManager.cs index 40029c398..b911d906b 100644 --- a/src/net/Netdroid/Generated/Android/Media/AudioManager.cs +++ b/src/net/Netdroid/Generated/Android/Media/AudioManager.cs @@ -380,6 +380,13 @@ public partial class AudioManager private static int _MODE_RINGTONEContent = default; private static bool _MODE_RINGTONEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int NUM_STREAMS { get { if (!_NUM_STREAMSReady) { _NUM_STREAMSContent = SGetField(LocalBridgeClazz, "NUM_STREAMS"); _NUM_STREAMSReady = true; } return _NUM_STREAMSContent; } } + private static int _NUM_STREAMSContent = default; + private static bool _NUM_STREAMSReady = false; // this is used because in case of generics + /// /// /// public static int PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED { get { if (!_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTEDReady) { _PLAYBACK_OFFLOAD_GAPLESS_SUPPORTEDContent = SGetField(LocalBridgeClazz, "PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED"); _PLAYBACK_OFFLOAD_GAPLESS_SUPPORTEDReady = true; } return _PLAYBACK_OFFLOAD_GAPLESS_SUPPORTEDContent; } } @@ -416,6 +423,55 @@ public partial class AudioManager private static int _RINGER_MODE_VIBRATEContent = default; private static bool _RINGER_MODE_VIBRATEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int ROUTE_ALL { get { if (!_ROUTE_ALLReady) { _ROUTE_ALLContent = SGetField(LocalBridgeClazz, "ROUTE_ALL"); _ROUTE_ALLReady = true; } return _ROUTE_ALLContent; } } + private static int _ROUTE_ALLContent = default; + private static bool _ROUTE_ALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_BLUETOOTH { get { if (!_ROUTE_BLUETOOTHReady) { _ROUTE_BLUETOOTHContent = SGetField(LocalBridgeClazz, "ROUTE_BLUETOOTH"); _ROUTE_BLUETOOTHReady = true; } return _ROUTE_BLUETOOTHContent; } } + private static int _ROUTE_BLUETOOTHContent = default; + private static bool _ROUTE_BLUETOOTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_BLUETOOTH_A2DP { get { if (!_ROUTE_BLUETOOTH_A2DPReady) { _ROUTE_BLUETOOTH_A2DPContent = SGetField(LocalBridgeClazz, "ROUTE_BLUETOOTH_A2DP"); _ROUTE_BLUETOOTH_A2DPReady = true; } return _ROUTE_BLUETOOTH_A2DPContent; } } + private static int _ROUTE_BLUETOOTH_A2DPContent = default; + private static bool _ROUTE_BLUETOOTH_A2DPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_BLUETOOTH_SCO { get { if (!_ROUTE_BLUETOOTH_SCOReady) { _ROUTE_BLUETOOTH_SCOContent = SGetField(LocalBridgeClazz, "ROUTE_BLUETOOTH_SCO"); _ROUTE_BLUETOOTH_SCOReady = true; } return _ROUTE_BLUETOOTH_SCOContent; } } + private static int _ROUTE_BLUETOOTH_SCOContent = default; + private static bool _ROUTE_BLUETOOTH_SCOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_EARPIECE { get { if (!_ROUTE_EARPIECEReady) { _ROUTE_EARPIECEContent = SGetField(LocalBridgeClazz, "ROUTE_EARPIECE"); _ROUTE_EARPIECEReady = true; } return _ROUTE_EARPIECEContent; } } + private static int _ROUTE_EARPIECEContent = default; + private static bool _ROUTE_EARPIECEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_HEADSET { get { if (!_ROUTE_HEADSETReady) { _ROUTE_HEADSETContent = SGetField(LocalBridgeClazz, "ROUTE_HEADSET"); _ROUTE_HEADSETReady = true; } return _ROUTE_HEADSETContent; } } + private static int _ROUTE_HEADSETContent = default; + private static bool _ROUTE_HEADSETReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ROUTE_SPEAKER { get { if (!_ROUTE_SPEAKERReady) { _ROUTE_SPEAKERContent = SGetField(LocalBridgeClazz, "ROUTE_SPEAKER"); _ROUTE_SPEAKERReady = true; } return _ROUTE_SPEAKERContent; } } + private static int _ROUTE_SPEAKERContent = default; + private static bool _ROUTE_SPEAKERReady = false; // this is used because in case of generics + /// /// /// public static int SCO_AUDIO_STATE_CONNECTED { get { if (!_SCO_AUDIO_STATE_CONNECTEDReady) { _SCO_AUDIO_STATE_CONNECTEDContent = SGetField(LocalBridgeClazz, "SCO_AUDIO_STATE_CONNECTED"); _SCO_AUDIO_STATE_CONNECTEDReady = true; } return _SCO_AUDIO_STATE_CONNECTEDContent; } } @@ -494,6 +550,41 @@ public partial class AudioManager private static int _USE_DEFAULT_STREAM_TYPEContent = default; private static bool _USE_DEFAULT_STREAM_TYPEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int VIBRATE_SETTING_OFF { get { if (!_VIBRATE_SETTING_OFFReady) { _VIBRATE_SETTING_OFFContent = SGetField(LocalBridgeClazz, "VIBRATE_SETTING_OFF"); _VIBRATE_SETTING_OFFReady = true; } return _VIBRATE_SETTING_OFFContent; } } + private static int _VIBRATE_SETTING_OFFContent = default; + private static bool _VIBRATE_SETTING_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int VIBRATE_SETTING_ON { get { if (!_VIBRATE_SETTING_ONReady) { _VIBRATE_SETTING_ONContent = SGetField(LocalBridgeClazz, "VIBRATE_SETTING_ON"); _VIBRATE_SETTING_ONReady = true; } return _VIBRATE_SETTING_ONContent; } } + private static int _VIBRATE_SETTING_ONContent = default; + private static bool _VIBRATE_SETTING_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int VIBRATE_SETTING_ONLY_SILENT { get { if (!_VIBRATE_SETTING_ONLY_SILENTReady) { _VIBRATE_SETTING_ONLY_SILENTContent = SGetField(LocalBridgeClazz, "VIBRATE_SETTING_ONLY_SILENT"); _VIBRATE_SETTING_ONLY_SILENTReady = true; } return _VIBRATE_SETTING_ONLY_SILENTContent; } } + private static int _VIBRATE_SETTING_ONLY_SILENTContent = default; + private static bool _VIBRATE_SETTING_ONLY_SILENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int VIBRATE_TYPE_NOTIFICATION { get { if (!_VIBRATE_TYPE_NOTIFICATIONReady) { _VIBRATE_TYPE_NOTIFICATIONContent = SGetField(LocalBridgeClazz, "VIBRATE_TYPE_NOTIFICATION"); _VIBRATE_TYPE_NOTIFICATIONReady = true; } return _VIBRATE_TYPE_NOTIFICATIONContent; } } + private static int _VIBRATE_TYPE_NOTIFICATIONContent = default; + private static bool _VIBRATE_TYPE_NOTIFICATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int VIBRATE_TYPE_RINGER { get { if (!_VIBRATE_TYPE_RINGERReady) { _VIBRATE_TYPE_RINGERContent = SGetField(LocalBridgeClazz, "VIBRATE_TYPE_RINGER"); _VIBRATE_TYPE_RINGERReady = true; } return _VIBRATE_TYPE_RINGERContent; } } + private static int _VIBRATE_TYPE_RINGERContent = default; + private static bool _VIBRATE_TYPE_RINGERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_AUDIO_BECOMING_NOISY { get { if (!_ACTION_AUDIO_BECOMING_NOISYReady) { _ACTION_AUDIO_BECOMING_NOISYContent = SGetField(LocalBridgeClazz, "ACTION_AUDIO_BECOMING_NOISY"); _ACTION_AUDIO_BECOMING_NOISYReady = true; } return _ACTION_AUDIO_BECOMING_NOISYContent; } } @@ -518,6 +609,13 @@ public partial class AudioManager private static Java.Lang.String _ACTION_MICROPHONE_MUTE_CHANGEDContent = default; private static bool _ACTION_MICROPHONE_MUTE_CHANGEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_SCO_AUDIO_STATE_CHANGED { get { if (!_ACTION_SCO_AUDIO_STATE_CHANGEDReady) { _ACTION_SCO_AUDIO_STATE_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_SCO_AUDIO_STATE_CHANGED"); _ACTION_SCO_AUDIO_STATE_CHANGEDReady = true; } return _ACTION_SCO_AUDIO_STATE_CHANGEDContent; } } + private static Java.Lang.String _ACTION_SCO_AUDIO_STATE_CHANGEDContent = default; + private static bool _ACTION_SCO_AUDIO_STATE_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_SCO_AUDIO_STATE_UPDATED { get { if (!_ACTION_SCO_AUDIO_STATE_UPDATEDReady) { _ACTION_SCO_AUDIO_STATE_UPDATEDContent = SGetField(LocalBridgeClazz, "ACTION_SCO_AUDIO_STATE_UPDATED"); _ACTION_SCO_AUDIO_STATE_UPDATEDReady = true; } return _ACTION_SCO_AUDIO_STATE_UPDATEDContent; } } @@ -566,6 +664,20 @@ public partial class AudioManager private static Java.Lang.String _EXTRA_SCO_AUDIO_STATEContent = default; private static bool _EXTRA_SCO_AUDIO_STATEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_VIBRATE_SETTING { get { if (!_EXTRA_VIBRATE_SETTINGReady) { _EXTRA_VIBRATE_SETTINGContent = SGetField(LocalBridgeClazz, "EXTRA_VIBRATE_SETTING"); _EXTRA_VIBRATE_SETTINGReady = true; } return _EXTRA_VIBRATE_SETTINGContent; } } + private static Java.Lang.String _EXTRA_VIBRATE_SETTINGContent = default; + private static bool _EXTRA_VIBRATE_SETTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_VIBRATE_TYPE { get { if (!_EXTRA_VIBRATE_TYPEReady) { _EXTRA_VIBRATE_TYPEContent = SGetField(LocalBridgeClazz, "EXTRA_VIBRATE_TYPE"); _EXTRA_VIBRATE_TYPEReady = true; } return _EXTRA_VIBRATE_TYPEContent; } } + private static Java.Lang.String _EXTRA_VIBRATE_TYPEContent = default; + private static bool _EXTRA_VIBRATE_TYPEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String PROPERTY_OUTPUT_FRAMES_PER_BUFFER { get { if (!_PROPERTY_OUTPUT_FRAMES_PER_BUFFERReady) { _PROPERTY_OUTPUT_FRAMES_PER_BUFFERContent = SGetField(LocalBridgeClazz, "PROPERTY_OUTPUT_FRAMES_PER_BUFFER"); _PROPERTY_OUTPUT_FRAMES_PER_BUFFERReady = true; } return _PROPERTY_OUTPUT_FRAMES_PER_BUFFERContent; } } @@ -601,6 +713,13 @@ public partial class AudioManager public static Java.Lang.String RINGER_MODE_CHANGED_ACTION { get { if (!_RINGER_MODE_CHANGED_ACTIONReady) { _RINGER_MODE_CHANGED_ACTIONContent = SGetField(LocalBridgeClazz, "RINGER_MODE_CHANGED_ACTION"); _RINGER_MODE_CHANGED_ACTIONReady = true; } return _RINGER_MODE_CHANGED_ACTIONContent; } } private static Java.Lang.String _RINGER_MODE_CHANGED_ACTIONContent = default; private static bool _RINGER_MODE_CHANGED_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VIBRATE_SETTING_CHANGED_ACTION { get { if (!_VIBRATE_SETTING_CHANGED_ACTIONReady) { _VIBRATE_SETTING_CHANGED_ACTIONContent = SGetField(LocalBridgeClazz, "VIBRATE_SETTING_CHANGED_ACTION"); _VIBRATE_SETTING_CHANGED_ACTIONReady = true; } return _VIBRATE_SETTING_CHANGED_ACTIONContent; } } + private static Java.Lang.String _VIBRATE_SETTING_CHANGED_ACTIONContent = default; + private static bool _VIBRATE_SETTING_CHANGED_ACTIONReady = false; // this is used because in case of generics #endregion @@ -633,6 +752,17 @@ public static int GetDirectPlaybackSupport(Android.Media.AudioFormat arg0, Andro { return SExecute(LocalBridgeClazz, "getDirectPlaybackSupport", arg0, arg1); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int GetPlaybackOffloadSupport(Android.Media.AudioFormat arg0, Android.Media.AudioAttributes arg1) + { + return SExecute(LocalBridgeClazz, "getPlaybackOffloadSupport", arg0, arg1); + } #endregion @@ -737,6 +867,15 @@ public bool ClearPreferredMixerAttributes(Android.Media.AudioAttributes arg0, An return IExecute("clearPreferredMixerAttributes", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsBluetoothA2dpOn() + { + return IExecuteWithSignature("isBluetoothA2dpOn", "()Z"); + } + /// /// /// /// @@ -745,6 +884,15 @@ public bool IsBluetoothScoAvailableOffCall() return IExecuteWithSignature("isBluetoothScoAvailableOffCall", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsBluetoothScoOn() + { + return IExecuteWithSignature("isBluetoothScoOn", "()Z"); + } + /// /// /// /// @@ -777,6 +925,15 @@ public bool IsRampingRingerEnabled() return IExecuteWithSignature("isRampingRingerEnabled", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsSpeakerphoneOn() + { + return IExecuteWithSignature("isSpeakerphoneOn", "()Z"); + } + /// /// /// /// @@ -812,6 +969,25 @@ public bool IsVolumeGroupMuted(int arg0) return IExecuteWithSignature("isVolumeGroupMuted", "(I)Z", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsWiredHeadsetOn() + { + return IExecuteWithSignature("isWiredHeadsetOn", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RegisterRemoteController(Android.Media.RemoteController arg0) + { + return IExecuteWithSignature("registerRemoteController", "(Landroid/media/RemoteController;)Z", arg0); + } + /// /// /// /// @@ -851,6 +1027,16 @@ public bool SetSurroundFormatEnabled(int arg0, bool arg1) return IExecute("setSurroundFormatEnabled", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool ShouldVibrate(int arg0) + { + return IExecuteWithSignature("shouldVibrate", "(I)Z", arg0); + } + /// /// /// /// @@ -862,6 +1048,16 @@ public float GetStreamVolumeDb(int arg0, int arg1, int arg2) return IExecute("getStreamVolumeDb", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int AbandonAudioFocus(Android.Media.AudioManager.OnAudioFocusChangeListener arg0) + { + return IExecuteWithSignature("abandonAudioFocus", "(Landroid/media/AudioManager$OnAudioFocusChangeListener;)I", arg0); + } + /// /// /// /// @@ -888,6 +1084,16 @@ public int GetAudioHwSyncForSession(int arg0) return IExecuteWithSignature("getAudioHwSyncForSession", "(I)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetRouting(int arg0) + { + return IExecuteWithSignature("getRouting", "(I)I", arg0); + } + /// /// /// /// @@ -915,6 +1121,16 @@ public int GetStreamVolume(int arg0) return IExecuteWithSignature("getStreamVolume", "(I)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetVibrateSetting(int arg0) + { + return IExecuteWithSignature("getVibrateSetting", "(I)I", arg0); + } + /// /// /// /// @@ -933,6 +1149,18 @@ public int RequestAudioFocus(Android.Media.AudioFocusRequest arg0) return IExecuteWithSignature("requestAudioFocus", "(Landroid/media/AudioFocusRequest;)I", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int RequestAudioFocus(Android.Media.AudioManager.OnAudioFocusChangeListener arg0, int arg1, int arg2) + { + return IExecute("requestAudioFocus", arg0, arg1, arg2); + } + /// /// /// /// @@ -1110,6 +1338,33 @@ public void RegisterAudioRecordingCallback(Android.Media.AudioManager.AudioRecor IExecute("registerAudioRecordingCallback", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void RegisterMediaButtonEventReceiver(Android.App.PendingIntent arg0) + { + IExecuteWithSignature("registerMediaButtonEventReceiver", "(Landroid/app/PendingIntent;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterMediaButtonEventReceiver(Android.Content.ComponentName arg0) + { + IExecuteWithSignature("registerMediaButtonEventReceiver", "(Landroid/content/ComponentName;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterRemoteControlClient(Android.Media.RemoteControlClient arg0) + { + IExecuteWithSignature("registerRemoteControlClient", "(Landroid/media/RemoteControlClient;)V", arg0); + } + /// /// /// /// @@ -1134,6 +1389,15 @@ public void RemoveOnPreferredMixerAttributesChangedListener(Android.Media.AudioM IExecuteWithSignature("removeOnPreferredMixerAttributesChangedListener", "(Landroid/media/AudioManager$OnPreferredMixerAttributesChangedListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetBluetoothA2dpOn(bool arg0) + { + IExecuteWithSignature("setBluetoothA2dpOn", "(Z)V", arg0); + } + /// /// /// /// @@ -1158,6 +1422,46 @@ public void SetParameters(Java.Lang.String arg0) IExecuteWithSignature("setParameters", "(Ljava/lang/String;)V", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetRouting(int arg0, int arg1, int arg2) + { + IExecute("setRouting", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSpeakerphoneOn(bool arg0) + { + IExecuteWithSignature("setSpeakerphoneOn", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetStreamMute(int arg0, bool arg1) + { + IExecute("setStreamMute", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetStreamSolo(int arg0, bool arg1) + { + IExecute("setStreamSolo", arg0, arg1); + } + /// /// /// /// @@ -1168,6 +1472,41 @@ public void SetStreamVolume(int arg0, int arg1, int arg2) IExecute("setStreamVolume", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVibrateSetting(int arg0, int arg1) + { + IExecute("setVibrateSetting", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetWiredHeadsetOn(bool arg0) + { + IExecuteWithSignature("setWiredHeadsetOn", "(Z)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void StartBluetoothSco() + { + IExecuteWithSignature("startBluetoothSco", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void StopBluetoothSco() + { + IExecuteWithSignature("stopBluetoothSco", "()V"); + } + /// /// /// public void UnloadSoundEffects() @@ -1198,6 +1537,42 @@ public void UnregisterAudioRecordingCallback(Android.Media.AudioManager.AudioRec { IExecuteWithSignature("unregisterAudioRecordingCallback", "(Landroid/media/AudioManager$AudioRecordingCallback;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterMediaButtonEventReceiver(Android.App.PendingIntent arg0) + { + IExecuteWithSignature("unregisterMediaButtonEventReceiver", "(Landroid/app/PendingIntent;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterMediaButtonEventReceiver(Android.Content.ComponentName arg0) + { + IExecuteWithSignature("unregisterMediaButtonEventReceiver", "(Landroid/content/ComponentName;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterRemoteControlClient(Android.Media.RemoteControlClient arg0) + { + IExecuteWithSignature("unregisterRemoteControlClient", "(Landroid/media/RemoteControlClient;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void UnregisterRemoteController(Android.Media.RemoteController arg0) + { + IExecuteWithSignature("unregisterRemoteController", "(Landroid/media/RemoteController;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/AudioRecord.cs b/src/net/Netdroid/Generated/Android/Media/AudioRecord.cs index ca9ed12aa..d0e1d0c92 100644 --- a/src/net/Netdroid/Generated/Android/Media/AudioRecord.cs +++ b/src/net/Netdroid/Generated/Android/Media/AudioRecord.cs @@ -416,6 +416,16 @@ public int SetPositionNotificationPeriod(int arg0) return IExecuteWithSignature("setPositionNotificationPeriod", "(I)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddOnRoutingChangedListener(Android.Media.AudioRecord.OnRoutingChangedListener arg0, Android.Os.Handler arg1) + { + IExecute("addOnRoutingChangedListener", arg0, arg1); + } + /// /// /// /// @@ -441,6 +451,15 @@ public void Release() IExecuteWithSignature("release", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveOnRoutingChangedListener(Android.Media.AudioRecord.OnRoutingChangedListener arg0) + { + IExecuteWithSignature("removeOnRoutingChangedListener", "(Landroid/media/AudioRecord$OnRoutingChangedListener;)V", arg0); + } + /// /// /// /// @@ -624,6 +643,13 @@ public partial class MetricsConstants private static Java.Lang.String _ENCODINGContent = default; private static bool _ENCODINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LATENCY { get { if (!_LATENCYReady) { _LATENCYContent = SGetField(LocalBridgeClazz, "LATENCY"); _LATENCYReady = true; } return _LATENCYContent; } } + private static Java.Lang.String _LATENCYContent = default; + private static bool _LATENCYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SAMPLERATE { get { if (!_SAMPLERATEReady) { _SAMPLERATEContent = SGetField(LocalBridgeClazz, "SAMPLERATE"); _SAMPLERATEReady = true; } return _SAMPLERATEContent; } } @@ -783,6 +809,150 @@ public override void OnPeriodicNotification(Android.Media.AudioRecord arg0) } #endregion + #region OnRoutingChangedListener + public partial class OnRoutingChangedListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onRoutingChanged", new System.EventHandler>>(OnRoutingChangedEventHandler)); + AddEventHandler("onRoutingChanged1", new System.EventHandler>>(OnRoutingChanged1EventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRoutingChanged { get; set; } = null; + + void OnRoutingChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRoutingChanged != null) ? OnOnRoutingChanged : OnRoutingChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRoutingChanged(Android.Media.AudioRecord arg0) + { + + } + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface + public void OnRoutingChangedDefault(Android.Media.AudioRouting arg0) + { + IExecuteWithSignature("onRoutingChangedDefault", "(Landroid/media/AudioRouting;)V", arg0); + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRoutingChanged1 { get; set; } = null; + + void OnRoutingChanged1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRoutingChanged1 != null) ? OnOnRoutingChanged1 : OnRoutingChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface using ; override the method to implement a different behavior + public virtual void OnRoutingChanged(Android.Media.AudioRouting arg0) + { + OnRoutingChangedDefault(arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnRoutingChangedListenerDirect + public partial class OnRoutingChangedListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRoutingChanged(Android.Media.AudioRecord arg0) + { + IExecuteWithSignature("onRoutingChanged", "(Landroid/media/AudioRecord;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRoutingChanged(Android.Media.AudioRouting arg0) + { + IExecuteWithSignature("onRoutingChanged", "(Landroid/media/AudioRouting;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/AudioTrack.cs b/src/net/Netdroid/Generated/Android/Media/AudioTrack.cs index 8befcc923..ceece5fa3 100644 --- a/src/net/Netdroid/Generated/Android/Media/AudioTrack.cs +++ b/src/net/Netdroid/Generated/Android/Media/AudioTrack.cs @@ -42,6 +42,37 @@ public AudioTrack(Android.Media.AudioAttributes arg0, Android.Media.AudioFormat : base(arg0, arg1, arg2, arg3, arg4) { } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public AudioTrack(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) + : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6) + { + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public AudioTrack(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) + : base(arg0, arg1, arg2, arg3, arg4, arg5) + { + } #endregion @@ -257,6 +288,17 @@ public static float MinVolume get { return SExecuteWithSignature(LocalBridgeClazz, "getMinVolume", "()F"); } } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsDirectPlaybackSupported(Android.Media.AudioFormat arg0, Android.Media.AudioAttributes arg1) + { + return SExecute(LocalBridgeClazz, "isDirectPlaybackSupported", arg0, arg1); + } + /// /// /// /// @@ -630,6 +672,17 @@ public int SetStartThresholdInFrames(int arg0) return IExecuteWithSignature("setStartThresholdInFrames", "(I)I", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SetStereoVolume(float arg0, float arg1) + { + return IExecute("setStereoVolume", arg0, arg1); + } + /// /// /// /// @@ -738,6 +791,16 @@ public void AddOnRoutingChangedListener(Android.Media.AudioRouting.OnRoutingChan IExecute("addOnRoutingChangedListener", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddOnRoutingChangedListener(Android.Media.AudioTrack.OnRoutingChangedListener arg0, Android.Os.Handler arg1) + { + IExecute("addOnRoutingChangedListener", arg0, arg1); + } + /// /// /// public void Flush() @@ -793,6 +856,15 @@ public void RemoveOnRoutingChangedListener(Android.Media.AudioRouting.OnRoutingC IExecuteWithSignature("removeOnRoutingChangedListener", "(Landroid/media/AudioRouting$OnRoutingChangedListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveOnRoutingChangedListener(Android.Media.AudioTrack.OnRoutingChangedListener arg0) + { + IExecuteWithSignature("removeOnRoutingChangedListener", "(Landroid/media/AudioTrack$OnRoutingChangedListener;)V", arg0); + } + /// /// /// /// @@ -984,12 +1056,26 @@ public partial class MetricsConstants #region Fields /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CHANNELMASK { get { if (!_CHANNELMASKReady) { _CHANNELMASKContent = SGetField(LocalBridgeClazz, "CHANNELMASK"); _CHANNELMASKReady = true; } return _CHANNELMASKContent; } } + private static Java.Lang.String _CHANNELMASKContent = default; + private static bool _CHANNELMASKReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String CONTENTTYPE { get { if (!_CONTENTTYPEReady) { _CONTENTTYPEContent = SGetField(LocalBridgeClazz, "CONTENTTYPE"); _CONTENTTYPEReady = true; } return _CONTENTTYPEContent; } } private static Java.Lang.String _CONTENTTYPEContent = default; private static bool _CONTENTTYPEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SAMPLERATE { get { if (!_SAMPLERATEReady) { _SAMPLERATEContent = SGetField(LocalBridgeClazz, "SAMPLERATE"); _SAMPLERATEReady = true; } return _SAMPLERATEContent; } } + private static Java.Lang.String _SAMPLERATEContent = default; + private static bool _SAMPLERATEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String STREAMTYPE { get { if (!_STREAMTYPEReady) { _STREAMTYPEContent = SGetField(LocalBridgeClazz, "STREAMTYPE"); _STREAMTYPEReady = true; } return _STREAMTYPEContent; } } @@ -1250,6 +1336,150 @@ public override void OnPeriodicNotification(Android.Media.AudioTrack arg0) } #endregion + #region OnRoutingChangedListener + public partial class OnRoutingChangedListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onRoutingChanged", new System.EventHandler>>(OnRoutingChangedEventHandler)); + AddEventHandler("onRoutingChanged1", new System.EventHandler>>(OnRoutingChanged1EventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRoutingChanged { get; set; } = null; + + void OnRoutingChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRoutingChanged != null) ? OnOnRoutingChanged : OnRoutingChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRoutingChanged(Android.Media.AudioTrack arg0) + { + + } + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface + public void OnRoutingChangedDefault(Android.Media.AudioRouting arg0) + { + IExecuteWithSignature("onRoutingChangedDefault", "(Landroid/media/AudioRouting;)V", arg0); + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRoutingChanged1 { get; set; } = null; + + void OnRoutingChanged1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRoutingChanged1 != null) ? OnOnRoutingChanged1 : OnRoutingChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + /// The method invokes the default implementation in the JVM interface using ; override the method to implement a different behavior + public virtual void OnRoutingChanged(Android.Media.AudioRouting arg0) + { + OnRoutingChangedDefault(arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnRoutingChangedListenerDirect + public partial class OnRoutingChangedListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRoutingChanged(Android.Media.AudioTrack arg0) + { + IExecuteWithSignature("onRoutingChanged", "(Landroid/media/AudioTrack;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRoutingChanged(Android.Media.AudioRouting arg0) + { + IExecuteWithSignature("onRoutingChanged", "(Landroid/media/AudioRouting;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region StreamEventCallback public partial class StreamEventCallback { diff --git a/src/net/Netdroid/Generated/Android/Media/CamcorderProfile.cs b/src/net/Netdroid/Generated/Android/Media/CamcorderProfile.cs index 4327c958b..4dc96e902 100644 --- a/src/net/Netdroid/Generated/Android/Media/CamcorderProfile.cs +++ b/src/net/Netdroid/Generated/Android/Media/CamcorderProfile.cs @@ -312,6 +312,27 @@ public partial class CamcorderProfile #region Static methods /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Media.CamcorderProfile Get(int arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "get", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Media.CamcorderProfile Get(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "get", "(I)Landroid/media/CamcorderProfile;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/DrmInitData.cs b/src/net/Netdroid/Generated/Android/Media/DrmInitData.cs index 548d22fc2..d4f1a7364 100644 --- a/src/net/Netdroid/Generated/Android/Media/DrmInitData.cs +++ b/src/net/Netdroid/Generated/Android/Media/DrmInitData.cs @@ -53,6 +53,16 @@ public int SchemeInitDataCount get { return IExecuteWithSignature("getSchemeInitDataCount", "()I"); } } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.DrmInitData.SchemeInitData Get(Java.Util.UUID arg0) + { + return IExecuteWithSignature("get", "(Ljava/util/UUID;)Landroid/media/DrmInitData$SchemeInitData;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/ExifInterface.cs b/src/net/Netdroid/Generated/Android/Media/ExifInterface.cs index 342102c92..56cc362d0 100644 --- a/src/net/Netdroid/Generated/Android/Media/ExifInterface.cs +++ b/src/net/Netdroid/Generated/Android/Media/ExifInterface.cs @@ -162,6 +162,13 @@ public ExifInterface(Java.Lang.String arg0) private static int _WHITEBALANCE_MANUALContent = default; private static bool _WHITEBALANCE_MANUALReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TAG_APERTURE { get { if (!_TAG_APERTUREReady) { _TAG_APERTUREContent = SGetField(LocalBridgeClazz, "TAG_APERTURE"); _TAG_APERTUREReady = true; } return _TAG_APERTUREContent; } } + private static Java.Lang.String _TAG_APERTUREContent = default; + private static bool _TAG_APERTUREReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TAG_APERTURE_VALUE { get { if (!_TAG_APERTURE_VALUEReady) { _TAG_APERTURE_VALUEContent = SGetField(LocalBridgeClazz, "TAG_APERTURE_VALUE"); _TAG_APERTURE_VALUEReady = true; } return _TAG_APERTURE_VALUEContent; } } @@ -594,6 +601,13 @@ public ExifInterface(Java.Lang.String arg0) private static Java.Lang.String _TAG_INTEROPERABILITY_INDEXContent = default; private static bool _TAG_INTEROPERABILITY_INDEXReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TAG_ISO { get { if (!_TAG_ISOReady) { _TAG_ISOContent = SGetField(LocalBridgeClazz, "TAG_ISO"); _TAG_ISOReady = true; } return _TAG_ISOContent; } } + private static Java.Lang.String _TAG_ISOContent = default; + private static bool _TAG_ISOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TAG_ISO_SPEED_RATINGS { get { if (!_TAG_ISO_SPEED_RATINGSReady) { _TAG_ISO_SPEED_RATINGSContent = SGetField(LocalBridgeClazz, "TAG_ISO_SPEED_RATINGS"); _TAG_ISO_SPEED_RATINGSReady = true; } return _TAG_ISO_SPEED_RATINGSContent; } } @@ -906,12 +920,26 @@ public ExifInterface(Java.Lang.String arg0) private static Java.Lang.String _TAG_SUBSEC_TIMEContent = default; private static bool _TAG_SUBSEC_TIMEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TAG_SUBSEC_TIME_DIG { get { if (!_TAG_SUBSEC_TIME_DIGReady) { _TAG_SUBSEC_TIME_DIGContent = SGetField(LocalBridgeClazz, "TAG_SUBSEC_TIME_DIG"); _TAG_SUBSEC_TIME_DIGReady = true; } return _TAG_SUBSEC_TIME_DIGContent; } } + private static Java.Lang.String _TAG_SUBSEC_TIME_DIGContent = default; + private static bool _TAG_SUBSEC_TIME_DIGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TAG_SUBSEC_TIME_DIGITIZED { get { if (!_TAG_SUBSEC_TIME_DIGITIZEDReady) { _TAG_SUBSEC_TIME_DIGITIZEDContent = SGetField(LocalBridgeClazz, "TAG_SUBSEC_TIME_DIGITIZED"); _TAG_SUBSEC_TIME_DIGITIZEDReady = true; } return _TAG_SUBSEC_TIME_DIGITIZEDContent; } } private static Java.Lang.String _TAG_SUBSEC_TIME_DIGITIZEDContent = default; private static bool _TAG_SUBSEC_TIME_DIGITIZEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TAG_SUBSEC_TIME_ORIG { get { if (!_TAG_SUBSEC_TIME_ORIGReady) { _TAG_SUBSEC_TIME_ORIGContent = SGetField(LocalBridgeClazz, "TAG_SUBSEC_TIME_ORIG"); _TAG_SUBSEC_TIME_ORIGReady = true; } return _TAG_SUBSEC_TIME_ORIGContent; } } + private static Java.Lang.String _TAG_SUBSEC_TIME_ORIGContent = default; + private static bool _TAG_SUBSEC_TIME_ORIGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TAG_SUBSEC_TIME_ORIGINAL { get { if (!_TAG_SUBSEC_TIME_ORIGINALReady) { _TAG_SUBSEC_TIME_ORIGINALContent = SGetField(LocalBridgeClazz, "TAG_SUBSEC_TIME_ORIGINAL"); _TAG_SUBSEC_TIME_ORIGINALReady = true; } return _TAG_SUBSEC_TIME_ORIGINALContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/MediaCodec.cs b/src/net/Netdroid/Generated/Android/Media/MediaCodec.cs index 156da1b41..45082a727 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaCodec.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaCodec.cs @@ -68,6 +68,13 @@ public partial class MediaCodec private static int _BUFFER_FLAG_PARTIAL_FRAMEContent = default; private static bool _BUFFER_FLAG_PARTIAL_FRAMEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int BUFFER_FLAG_SYNC_FRAME { get { if (!_BUFFER_FLAG_SYNC_FRAMEReady) { _BUFFER_FLAG_SYNC_FRAMEContent = SGetField(LocalBridgeClazz, "BUFFER_FLAG_SYNC_FRAME"); _BUFFER_FLAG_SYNC_FRAMEReady = true; } return _BUFFER_FLAG_SYNC_FRAMEContent; } } + private static int _BUFFER_FLAG_SYNC_FRAMEContent = default; + private static bool _BUFFER_FLAG_SYNC_FRAMEReady = false; // this is used because in case of generics + /// /// /// public static int CONFIGURE_FLAG_ENCODE { get { if (!_CONFIGURE_FLAG_ENCODEReady) { _CONFIGURE_FLAG_ENCODEContent = SGetField(LocalBridgeClazz, "CONFIGURE_FLAG_ENCODE"); _CONFIGURE_FLAG_ENCODEReady = true; } return _CONFIGURE_FLAG_ENCODEContent; } } @@ -104,6 +111,13 @@ public partial class MediaCodec private static int _CRYPTO_MODE_UNENCRYPTEDContent = default; private static bool _CRYPTO_MODE_UNENCRYPTEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int INFO_OUTPUT_BUFFERS_CHANGED { get { if (!_INFO_OUTPUT_BUFFERS_CHANGEDReady) { _INFO_OUTPUT_BUFFERS_CHANGEDContent = SGetField(LocalBridgeClazz, "INFO_OUTPUT_BUFFERS_CHANGED"); _INFO_OUTPUT_BUFFERS_CHANGEDReady = true; } return _INFO_OUTPUT_BUFFERS_CHANGEDContent; } } + private static int _INFO_OUTPUT_BUFFERS_CHANGEDContent = default; + private static bool _INFO_OUTPUT_BUFFERS_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static int INFO_OUTPUT_FORMAT_CHANGED { get { if (!_INFO_OUTPUT_FORMAT_CHANGEDReady) { _INFO_OUTPUT_FORMAT_CHANGEDContent = SGetField(LocalBridgeClazz, "INFO_OUTPUT_FORMAT_CHANGED"); _INFO_OUTPUT_FORMAT_CHANGEDReady = true; } return _INFO_OUTPUT_FORMAT_CHANGEDContent; } } @@ -245,6 +259,14 @@ public Android.Media.MediaCodecInfo CodecInfo get { return IExecuteWithSignature("getCodecInfo", "()Landroid/media/MediaCodecInfo;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Nio.ByteBuffer[] InputBuffers + { + get { return IExecuteWithSignatureArray("getInputBuffers", "()[Ljava/nio/ByteBuffer;"); } + } + /// /// /// public Android.Media.MediaFormat InputFormat @@ -266,6 +288,14 @@ public Java.Lang.String Name get { return IExecuteWithSignature("getName", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Nio.ByteBuffer[] OutputBuffers + { + get { return IExecuteWithSignatureArray("getOutputBuffers", "()[Ljava/nio/ByteBuffer;"); } + } + /// /// /// public Android.Media.MediaFormat OutputFormat diff --git a/src/net/Netdroid/Generated/Android/Media/MediaCodecInfo.cs b/src/net/Netdroid/Generated/Android/Media/MediaCodecInfo.cs index e681c22e7..88d73bc49 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaCodecInfo.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaCodecInfo.cs @@ -201,18 +201,109 @@ public partial class CodecCapabilities /// public int[] colorFormats { get { return IGetFieldArray("colorFormats"); } set { ISetField("colorFormats", value); } } /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format12bitRGB444 { get { if (!_COLOR_Format12bitRGB444Ready) { _COLOR_Format12bitRGB444Content = SGetField(LocalBridgeClazz, "COLOR_Format12bitRGB444"); _COLOR_Format12bitRGB444Ready = true; } return _COLOR_Format12bitRGB444Content; } } + private static int _COLOR_Format12bitRGB444Content = default; + private static bool _COLOR_Format12bitRGB444Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format16bitARGB1555 { get { if (!_COLOR_Format16bitARGB1555Ready) { _COLOR_Format16bitARGB1555Content = SGetField(LocalBridgeClazz, "COLOR_Format16bitARGB1555"); _COLOR_Format16bitARGB1555Ready = true; } return _COLOR_Format16bitARGB1555Content; } } + private static int _COLOR_Format16bitARGB1555Content = default; + private static bool _COLOR_Format16bitARGB1555Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format16bitARGB4444 { get { if (!_COLOR_Format16bitARGB4444Ready) { _COLOR_Format16bitARGB4444Content = SGetField(LocalBridgeClazz, "COLOR_Format16bitARGB4444"); _COLOR_Format16bitARGB4444Ready = true; } return _COLOR_Format16bitARGB4444Content; } } + private static int _COLOR_Format16bitARGB4444Content = default; + private static bool _COLOR_Format16bitARGB4444Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format16bitBGR565 { get { if (!_COLOR_Format16bitBGR565Ready) { _COLOR_Format16bitBGR565Content = SGetField(LocalBridgeClazz, "COLOR_Format16bitBGR565"); _COLOR_Format16bitBGR565Ready = true; } return _COLOR_Format16bitBGR565Content; } } + private static int _COLOR_Format16bitBGR565Content = default; + private static bool _COLOR_Format16bitBGR565Ready = false; // this is used because in case of generics + /// /// /// public static int COLOR_Format16bitRGB565 { get { if (!_COLOR_Format16bitRGB565Ready) { _COLOR_Format16bitRGB565Content = SGetField(LocalBridgeClazz, "COLOR_Format16bitRGB565"); _COLOR_Format16bitRGB565Ready = true; } return _COLOR_Format16bitRGB565Content; } } private static int _COLOR_Format16bitRGB565Content = default; private static bool _COLOR_Format16bitRGB565Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format18bitARGB1665 { get { if (!_COLOR_Format18bitARGB1665Ready) { _COLOR_Format18bitARGB1665Content = SGetField(LocalBridgeClazz, "COLOR_Format18bitARGB1665"); _COLOR_Format18bitARGB1665Ready = true; } return _COLOR_Format18bitARGB1665Content; } } + private static int _COLOR_Format18bitARGB1665Content = default; + private static bool _COLOR_Format18bitARGB1665Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format18BitBGR666 { get { if (!_COLOR_Format18BitBGR666Ready) { _COLOR_Format18BitBGR666Content = SGetField(LocalBridgeClazz, "COLOR_Format18BitBGR666"); _COLOR_Format18BitBGR666Ready = true; } return _COLOR_Format18BitBGR666Content; } } + private static int _COLOR_Format18BitBGR666Content = default; + private static bool _COLOR_Format18BitBGR666Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format18bitRGB666 { get { if (!_COLOR_Format18bitRGB666Ready) { _COLOR_Format18bitRGB666Content = SGetField(LocalBridgeClazz, "COLOR_Format18bitRGB666"); _COLOR_Format18bitRGB666Ready = true; } return _COLOR_Format18bitRGB666Content; } } + private static int _COLOR_Format18bitRGB666Content = default; + private static bool _COLOR_Format18bitRGB666Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format19bitARGB1666 { get { if (!_COLOR_Format19bitARGB1666Ready) { _COLOR_Format19bitARGB1666Content = SGetField(LocalBridgeClazz, "COLOR_Format19bitARGB1666"); _COLOR_Format19bitARGB1666Ready = true; } return _COLOR_Format19bitARGB1666Content; } } + private static int _COLOR_Format19bitARGB1666Content = default; + private static bool _COLOR_Format19bitARGB1666Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format24BitABGR6666 { get { if (!_COLOR_Format24BitABGR6666Ready) { _COLOR_Format24BitABGR6666Content = SGetField(LocalBridgeClazz, "COLOR_Format24BitABGR6666"); _COLOR_Format24BitABGR6666Ready = true; } return _COLOR_Format24BitABGR6666Content; } } + private static int _COLOR_Format24BitABGR6666Content = default; + private static bool _COLOR_Format24BitABGR6666Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format24bitARGB1887 { get { if (!_COLOR_Format24bitARGB1887Ready) { _COLOR_Format24bitARGB1887Content = SGetField(LocalBridgeClazz, "COLOR_Format24bitARGB1887"); _COLOR_Format24bitARGB1887Ready = true; } return _COLOR_Format24bitARGB1887Content; } } + private static int _COLOR_Format24bitARGB1887Content = default; + private static bool _COLOR_Format24bitARGB1887Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format24BitARGB6666 { get { if (!_COLOR_Format24BitARGB6666Ready) { _COLOR_Format24BitARGB6666Content = SGetField(LocalBridgeClazz, "COLOR_Format24BitARGB6666"); _COLOR_Format24BitARGB6666Ready = true; } return _COLOR_Format24BitARGB6666Content; } } + private static int _COLOR_Format24BitARGB6666Content = default; + private static bool _COLOR_Format24BitARGB6666Ready = false; // this is used because in case of generics + /// /// /// public static int COLOR_Format24bitBGR888 { get { if (!_COLOR_Format24bitBGR888Ready) { _COLOR_Format24bitBGR888Content = SGetField(LocalBridgeClazz, "COLOR_Format24bitBGR888"); _COLOR_Format24bitBGR888Ready = true; } return _COLOR_Format24bitBGR888Content; } } private static int _COLOR_Format24bitBGR888Content = default; private static bool _COLOR_Format24bitBGR888Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format24bitRGB888 { get { if (!_COLOR_Format24bitRGB888Ready) { _COLOR_Format24bitRGB888Content = SGetField(LocalBridgeClazz, "COLOR_Format24bitRGB888"); _COLOR_Format24bitRGB888Ready = true; } return _COLOR_Format24bitRGB888Content; } } + private static int _COLOR_Format24bitRGB888Content = default; + private static bool _COLOR_Format24bitRGB888Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format25bitARGB1888 { get { if (!_COLOR_Format25bitARGB1888Ready) { _COLOR_Format25bitARGB1888Content = SGetField(LocalBridgeClazz, "COLOR_Format25bitARGB1888"); _COLOR_Format25bitARGB1888Ready = true; } return _COLOR_Format25bitARGB1888Content; } } + private static int _COLOR_Format25bitARGB1888Content = default; + private static bool _COLOR_Format25bitARGB1888Ready = false; // this is used because in case of generics + /// /// /// public static int COLOR_Format32bitABGR2101010 { get { if (!_COLOR_Format32bitABGR2101010Ready) { _COLOR_Format32bitABGR2101010Content = SGetField(LocalBridgeClazz, "COLOR_Format32bitABGR2101010"); _COLOR_Format32bitABGR2101010Ready = true; } return _COLOR_Format32bitABGR2101010Content; } } @@ -225,24 +316,94 @@ public partial class CodecCapabilities private static int _COLOR_Format32bitABGR8888Content = default; private static bool _COLOR_Format32bitABGR8888Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format32bitARGB8888 { get { if (!_COLOR_Format32bitARGB8888Ready) { _COLOR_Format32bitARGB8888Content = SGetField(LocalBridgeClazz, "COLOR_Format32bitARGB8888"); _COLOR_Format32bitARGB8888Ready = true; } return _COLOR_Format32bitARGB8888Content; } } + private static int _COLOR_Format32bitARGB8888Content = default; + private static bool _COLOR_Format32bitARGB8888Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format32bitBGRA8888 { get { if (!_COLOR_Format32bitBGRA8888Ready) { _COLOR_Format32bitBGRA8888Content = SGetField(LocalBridgeClazz, "COLOR_Format32bitBGRA8888"); _COLOR_Format32bitBGRA8888Ready = true; } return _COLOR_Format32bitBGRA8888Content; } } + private static int _COLOR_Format32bitBGRA8888Content = default; + private static bool _COLOR_Format32bitBGRA8888Ready = false; // this is used because in case of generics + /// /// /// public static int COLOR_Format64bitABGRFloat { get { if (!_COLOR_Format64bitABGRFloatReady) { _COLOR_Format64bitABGRFloatContent = SGetField(LocalBridgeClazz, "COLOR_Format64bitABGRFloat"); _COLOR_Format64bitABGRFloatReady = true; } return _COLOR_Format64bitABGRFloatContent; } } private static int _COLOR_Format64bitABGRFloatContent = default; private static bool _COLOR_Format64bitABGRFloatReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_Format8bitRGB332 { get { if (!_COLOR_Format8bitRGB332Ready) { _COLOR_Format8bitRGB332Content = SGetField(LocalBridgeClazz, "COLOR_Format8bitRGB332"); _COLOR_Format8bitRGB332Ready = true; } return _COLOR_Format8bitRGB332Content; } } + private static int _COLOR_Format8bitRGB332Content = default; + private static bool _COLOR_Format8bitRGB332Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatCbYCrY { get { if (!_COLOR_FormatCbYCrYReady) { _COLOR_FormatCbYCrYContent = SGetField(LocalBridgeClazz, "COLOR_FormatCbYCrY"); _COLOR_FormatCbYCrYReady = true; } return _COLOR_FormatCbYCrYContent; } } + private static int _COLOR_FormatCbYCrYContent = default; + private static bool _COLOR_FormatCbYCrYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatCrYCbY { get { if (!_COLOR_FormatCrYCbYReady) { _COLOR_FormatCrYCbYContent = SGetField(LocalBridgeClazz, "COLOR_FormatCrYCbY"); _COLOR_FormatCrYCbYReady = true; } return _COLOR_FormatCrYCbYContent; } } + private static int _COLOR_FormatCrYCbYContent = default; + private static bool _COLOR_FormatCrYCbYReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatL16 { get { if (!_COLOR_FormatL16Ready) { _COLOR_FormatL16Content = SGetField(LocalBridgeClazz, "COLOR_FormatL16"); _COLOR_FormatL16Ready = true; } return _COLOR_FormatL16Content; } } private static int _COLOR_FormatL16Content = default; private static bool _COLOR_FormatL16Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatL2 { get { if (!_COLOR_FormatL2Ready) { _COLOR_FormatL2Content = SGetField(LocalBridgeClazz, "COLOR_FormatL2"); _COLOR_FormatL2Ready = true; } return _COLOR_FormatL2Content; } } + private static int _COLOR_FormatL2Content = default; + private static bool _COLOR_FormatL2Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatL24 { get { if (!_COLOR_FormatL24Ready) { _COLOR_FormatL24Content = SGetField(LocalBridgeClazz, "COLOR_FormatL24"); _COLOR_FormatL24Ready = true; } return _COLOR_FormatL24Content; } } + private static int _COLOR_FormatL24Content = default; + private static bool _COLOR_FormatL24Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatL32 { get { if (!_COLOR_FormatL32Ready) { _COLOR_FormatL32Content = SGetField(LocalBridgeClazz, "COLOR_FormatL32"); _COLOR_FormatL32Ready = true; } return _COLOR_FormatL32Content; } } + private static int _COLOR_FormatL32Content = default; + private static bool _COLOR_FormatL32Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatL4 { get { if (!_COLOR_FormatL4Ready) { _COLOR_FormatL4Content = SGetField(LocalBridgeClazz, "COLOR_FormatL4"); _COLOR_FormatL4Ready = true; } return _COLOR_FormatL4Content; } } + private static int _COLOR_FormatL4Content = default; + private static bool _COLOR_FormatL4Ready = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatL8 { get { if (!_COLOR_FormatL8Ready) { _COLOR_FormatL8Content = SGetField(LocalBridgeClazz, "COLOR_FormatL8"); _COLOR_FormatL8Ready = true; } return _COLOR_FormatL8Content; } } private static int _COLOR_FormatL8Content = default; private static bool _COLOR_FormatL8Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatMonochrome { get { if (!_COLOR_FormatMonochromeReady) { _COLOR_FormatMonochromeContent = SGetField(LocalBridgeClazz, "COLOR_FormatMonochrome"); _COLOR_FormatMonochromeReady = true; } return _COLOR_FormatMonochromeContent; } } + private static int _COLOR_FormatMonochromeContent = default; + private static bool _COLOR_FormatMonochromeReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatRawBayer10bit { get { if (!_COLOR_FormatRawBayer10bitReady) { _COLOR_FormatRawBayer10bitContent = SGetField(LocalBridgeClazz, "COLOR_FormatRawBayer10bit"); _COLOR_FormatRawBayer10bitReady = true; } return _COLOR_FormatRawBayer10bitContent; } } @@ -279,30 +440,135 @@ public partial class CodecCapabilities private static int _COLOR_FormatSurfaceContent = default; private static bool _COLOR_FormatSurfaceReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYCbYCr { get { if (!_COLOR_FormatYCbYCrReady) { _COLOR_FormatYCbYCrContent = SGetField(LocalBridgeClazz, "COLOR_FormatYCbYCr"); _COLOR_FormatYCbYCrReady = true; } return _COLOR_FormatYCbYCrContent; } } + private static int _COLOR_FormatYCbYCrContent = default; + private static bool _COLOR_FormatYCbYCrReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYCrYCb { get { if (!_COLOR_FormatYCrYCbReady) { _COLOR_FormatYCrYCbContent = SGetField(LocalBridgeClazz, "COLOR_FormatYCrYCb"); _COLOR_FormatYCrYCbReady = true; } return _COLOR_FormatYCrYCbContent; } } + private static int _COLOR_FormatYCrYCbContent = default; + private static bool _COLOR_FormatYCrYCbReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV411PackedPlanar { get { if (!_COLOR_FormatYUV411PackedPlanarReady) { _COLOR_FormatYUV411PackedPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV411PackedPlanar"); _COLOR_FormatYUV411PackedPlanarReady = true; } return _COLOR_FormatYUV411PackedPlanarContent; } } + private static int _COLOR_FormatYUV411PackedPlanarContent = default; + private static bool _COLOR_FormatYUV411PackedPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV411Planar { get { if (!_COLOR_FormatYUV411PlanarReady) { _COLOR_FormatYUV411PlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV411Planar"); _COLOR_FormatYUV411PlanarReady = true; } return _COLOR_FormatYUV411PlanarContent; } } + private static int _COLOR_FormatYUV411PlanarContent = default; + private static bool _COLOR_FormatYUV411PlanarReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatYUV420Flexible { get { if (!_COLOR_FormatYUV420FlexibleReady) { _COLOR_FormatYUV420FlexibleContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV420Flexible"); _COLOR_FormatYUV420FlexibleReady = true; } return _COLOR_FormatYUV420FlexibleContent; } } private static int _COLOR_FormatYUV420FlexibleContent = default; private static bool _COLOR_FormatYUV420FlexibleReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV420PackedPlanar { get { if (!_COLOR_FormatYUV420PackedPlanarReady) { _COLOR_FormatYUV420PackedPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV420PackedPlanar"); _COLOR_FormatYUV420PackedPlanarReady = true; } return _COLOR_FormatYUV420PackedPlanarContent; } } + private static int _COLOR_FormatYUV420PackedPlanarContent = default; + private static bool _COLOR_FormatYUV420PackedPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV420PackedSemiPlanar { get { if (!_COLOR_FormatYUV420PackedSemiPlanarReady) { _COLOR_FormatYUV420PackedSemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV420PackedSemiPlanar"); _COLOR_FormatYUV420PackedSemiPlanarReady = true; } return _COLOR_FormatYUV420PackedSemiPlanarContent; } } + private static int _COLOR_FormatYUV420PackedSemiPlanarContent = default; + private static bool _COLOR_FormatYUV420PackedSemiPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV420Planar { get { if (!_COLOR_FormatYUV420PlanarReady) { _COLOR_FormatYUV420PlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV420Planar"); _COLOR_FormatYUV420PlanarReady = true; } return _COLOR_FormatYUV420PlanarContent; } } + private static int _COLOR_FormatYUV420PlanarContent = default; + private static bool _COLOR_FormatYUV420PlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV420SemiPlanar { get { if (!_COLOR_FormatYUV420SemiPlanarReady) { _COLOR_FormatYUV420SemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV420SemiPlanar"); _COLOR_FormatYUV420SemiPlanarReady = true; } return _COLOR_FormatYUV420SemiPlanarContent; } } + private static int _COLOR_FormatYUV420SemiPlanarContent = default; + private static bool _COLOR_FormatYUV420SemiPlanarReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatYUV422Flexible { get { if (!_COLOR_FormatYUV422FlexibleReady) { _COLOR_FormatYUV422FlexibleContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV422Flexible"); _COLOR_FormatYUV422FlexibleReady = true; } return _COLOR_FormatYUV422FlexibleContent; } } private static int _COLOR_FormatYUV422FlexibleContent = default; private static bool _COLOR_FormatYUV422FlexibleReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV422PackedPlanar { get { if (!_COLOR_FormatYUV422PackedPlanarReady) { _COLOR_FormatYUV422PackedPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV422PackedPlanar"); _COLOR_FormatYUV422PackedPlanarReady = true; } return _COLOR_FormatYUV422PackedPlanarContent; } } + private static int _COLOR_FormatYUV422PackedPlanarContent = default; + private static bool _COLOR_FormatYUV422PackedPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV422PackedSemiPlanar { get { if (!_COLOR_FormatYUV422PackedSemiPlanarReady) { _COLOR_FormatYUV422PackedSemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV422PackedSemiPlanar"); _COLOR_FormatYUV422PackedSemiPlanarReady = true; } return _COLOR_FormatYUV422PackedSemiPlanarContent; } } + private static int _COLOR_FormatYUV422PackedSemiPlanarContent = default; + private static bool _COLOR_FormatYUV422PackedSemiPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV422Planar { get { if (!_COLOR_FormatYUV422PlanarReady) { _COLOR_FormatYUV422PlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV422Planar"); _COLOR_FormatYUV422PlanarReady = true; } return _COLOR_FormatYUV422PlanarContent; } } + private static int _COLOR_FormatYUV422PlanarContent = default; + private static bool _COLOR_FormatYUV422PlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV422SemiPlanar { get { if (!_COLOR_FormatYUV422SemiPlanarReady) { _COLOR_FormatYUV422SemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV422SemiPlanar"); _COLOR_FormatYUV422SemiPlanarReady = true; } return _COLOR_FormatYUV422SemiPlanarContent; } } + private static int _COLOR_FormatYUV422SemiPlanarContent = default; + private static bool _COLOR_FormatYUV422SemiPlanarReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatYUV444Flexible { get { if (!_COLOR_FormatYUV444FlexibleReady) { _COLOR_FormatYUV444FlexibleContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV444Flexible"); _COLOR_FormatYUV444FlexibleReady = true; } return _COLOR_FormatYUV444FlexibleContent; } } private static int _COLOR_FormatYUV444FlexibleContent = default; private static bool _COLOR_FormatYUV444FlexibleReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_FormatYUV444Interleaved { get { if (!_COLOR_FormatYUV444InterleavedReady) { _COLOR_FormatYUV444InterleavedContent = SGetField(LocalBridgeClazz, "COLOR_FormatYUV444Interleaved"); _COLOR_FormatYUV444InterleavedReady = true; } return _COLOR_FormatYUV444InterleavedContent; } } + private static int _COLOR_FormatYUV444InterleavedContent = default; + private static bool _COLOR_FormatYUV444InterleavedReady = false; // this is used because in case of generics + /// /// /// public static int COLOR_FormatYUVP010 { get { if (!_COLOR_FormatYUVP010Ready) { _COLOR_FormatYUVP010Content = SGetField(LocalBridgeClazz, "COLOR_FormatYUVP010"); _COLOR_FormatYUVP010Ready = true; } return _COLOR_FormatYUVP010Content; } } private static int _COLOR_FormatYUVP010Content = default; private static bool _COLOR_FormatYUVP010Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int COLOR_QCOM_FormatYUV420SemiPlanar { get { if (!_COLOR_QCOM_FormatYUV420SemiPlanarReady) { _COLOR_QCOM_FormatYUV420SemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_QCOM_FormatYUV420SemiPlanar"); _COLOR_QCOM_FormatYUV420SemiPlanarReady = true; } return _COLOR_QCOM_FormatYUV420SemiPlanarContent; } } + private static int _COLOR_QCOM_FormatYUV420SemiPlanarContent = default; + private static bool _COLOR_QCOM_FormatYUV420SemiPlanarReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int COLOR_TI_FormatYUV420PackedSemiPlanar { get { if (!_COLOR_TI_FormatYUV420PackedSemiPlanarReady) { _COLOR_TI_FormatYUV420PackedSemiPlanarContent = SGetField(LocalBridgeClazz, "COLOR_TI_FormatYUV420PackedSemiPlanar"); _COLOR_TI_FormatYUV420PackedSemiPlanarReady = true; } return _COLOR_TI_FormatYUV420PackedSemiPlanarContent; } } + private static int _COLOR_TI_FormatYUV420PackedSemiPlanarContent = default; + private static bool _COLOR_TI_FormatYUV420PackedSemiPlanarReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String FEATURE_AdaptivePlayback { get { if (!_FEATURE_AdaptivePlaybackReady) { _FEATURE_AdaptivePlaybackContent = SGetField(LocalBridgeClazz, "FEATURE_AdaptivePlayback"); _FEATURE_AdaptivePlaybackReady = true; } return _FEATURE_AdaptivePlaybackContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/MediaCodecList.cs b/src/net/Netdroid/Generated/Android/Media/MediaCodecList.cs index 3cb4d6c2f..8fadb4042 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaCodecList.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaCodecList.cs @@ -61,6 +61,24 @@ public MediaCodecList(int arg0) #endregion #region Static methods + /// + /// + /// + [System.Obsolete()] + public static int CodecCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getCodecCount", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Media.MediaCodecInfo GetCodecInfoAt(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getCodecInfoAt", "(I)Landroid/media/MediaCodecInfo;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/MediaDrm.cs b/src/net/Netdroid/Generated/Android/Media/MediaDrm.cs index 7f2a562fe..31ef3f9a2 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaDrm.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaDrm.cs @@ -47,12 +47,26 @@ public MediaDrm(Java.Util.UUID arg0) #region Fields /// + /// + /// + [System.Obsolete()] + public static int EVENT_KEY_EXPIRED { get { if (!_EVENT_KEY_EXPIREDReady) { _EVENT_KEY_EXPIREDContent = SGetField(LocalBridgeClazz, "EVENT_KEY_EXPIRED"); _EVENT_KEY_EXPIREDReady = true; } return _EVENT_KEY_EXPIREDContent; } } + private static int _EVENT_KEY_EXPIREDContent = default; + private static bool _EVENT_KEY_EXPIREDReady = false; // this is used because in case of generics + /// /// /// public static int EVENT_KEY_REQUIRED { get { if (!_EVENT_KEY_REQUIREDReady) { _EVENT_KEY_REQUIREDContent = SGetField(LocalBridgeClazz, "EVENT_KEY_REQUIRED"); _EVENT_KEY_REQUIREDReady = true; } return _EVENT_KEY_REQUIREDContent; } } private static int _EVENT_KEY_REQUIREDContent = default; private static bool _EVENT_KEY_REQUIREDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int EVENT_PROVISION_REQUIRED { get { if (!_EVENT_PROVISION_REQUIREDReady) { _EVENT_PROVISION_REQUIREDContent = SGetField(LocalBridgeClazz, "EVENT_PROVISION_REQUIRED"); _EVENT_PROVISION_REQUIREDReady = true; } return _EVENT_PROVISION_REQUIREDContent; } } + private static int _EVENT_PROVISION_REQUIREDContent = default; + private static bool _EVENT_PROVISION_REQUIREDReady = false; // this is used because in case of generics + /// /// /// public static int EVENT_SESSION_RECLAIMED { get { if (!_EVENT_SESSION_RECLAIMEDReady) { _EVENT_SESSION_RECLAIMEDContent = SGetField(LocalBridgeClazz, "EVENT_SESSION_RECLAIMED"); _EVENT_SESSION_RECLAIMEDReady = true; } return _EVENT_SESSION_RECLAIMEDContent; } } @@ -323,6 +337,22 @@ public int OpenSessionCount get { return IExecuteWithSignature("getOpenSessionCount", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.List SecureStopIds + { + get { return IExecuteWithSignature>("getSecureStopIds", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.List SecureStops + { + get { return IExecuteWithSignature>("getSecureStops", "()Ljava/util/List;"); } + } + /// /// /// /// @@ -406,6 +436,16 @@ public byte[] GetPropertyByteArray(Java.Lang.String arg0) return IExecuteWithSignatureArray("getPropertyByteArray", "(Ljava/lang/String;)[B", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] GetSecureStop(byte[] arg0) + { + return IExecuteWithSignatureArray("getSecureStop", "([B)[B", new object[] { arg0 }); + } + /// /// /// /// @@ -454,6 +494,23 @@ public Java.Lang.String GetPropertyString(Java.Lang.String arg0) return IExecuteWithSignature>("queryKeyStatus", "([B)Ljava/util/HashMap;", new object[] { arg0 }); } /// + /// + /// + /// + [System.Obsolete()] + public void ReleaseSecureStops(byte[] arg0) + { + IExecuteWithSignature("releaseSecureStops", "([B)V", new object[] { arg0 }); + } + /// + /// + /// + [System.Obsolete()] + public void RemoveAllSecureStops() + { + IExecuteWithSignature("removeAllSecureStops", "()V"); + } + /// /// /// /// @@ -470,6 +527,15 @@ public void RemoveOfflineLicense(byte[] arg0) IExecuteWithSignature("removeOfflineLicense", "([B)V", new object[] { arg0 }); } /// + /// + /// + /// + [System.Obsolete()] + public void RemoveSecureStop(byte[] arg0) + { + IExecuteWithSignature("removeSecureStop", "([B)V", new object[] { arg0 }); + } + /// /// /// /// @@ -549,6 +615,22 @@ public void ProvideProvisionResponse(byte[] arg0) IExecuteWithSignature("provideProvisionResponse", "([B)V", new object[] { arg0 }); } /// + /// + /// + [System.Obsolete()] + public void Release() + { + IExecuteWithSignature("release", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void ReleaseAllSecureStops() + { + IExecuteWithSignature("releaseAllSecureStops", "()V"); + } + /// /// /// /// @@ -941,6 +1023,37 @@ public partial class ErrorCodes } #endregion + #region HdcpLevel + public partial class HdcpLevel + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region KeyRequest public partial class KeyRequest { @@ -1927,6 +2040,37 @@ public Java.Lang.String DefaultUrl } #endregion + #region SecurityLevel + public partial class SecurityLevel + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region SessionException public partial class SessionException { diff --git a/src/net/Netdroid/Generated/Android/Media/MediaExtractor.cs b/src/net/Netdroid/Generated/Android/Media/MediaExtractor.cs index c7816fd97..298ced46d 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaExtractor.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaExtractor.cs @@ -315,6 +315,15 @@ public void SetDataSource(Java.Lang.String arg0) { IExecuteWithSignature("setDataSource", "(Ljava/lang/String;)V", arg0); } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMediaCas(Android.Media.MediaCas arg0) + { + IExecuteWithSignature("setMediaCas", "(Landroid/media/MediaCas;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/MediaFormat.cs b/src/net/Netdroid/Generated/Android/Media/MediaFormat.cs index a072276a5..71138eae5 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaFormat.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaFormat.cs @@ -226,6 +226,13 @@ public MediaFormat(Android.Media.MediaFormat arg0) private static Java.Lang.String _KEY_AAC_ENCODED_TARGET_LEVELContent = default; private static bool _KEY_AAC_ENCODED_TARGET_LEVELReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT { get { if (!_KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTReady) { _KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTContent = SGetField(LocalBridgeClazz, "KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT"); _KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTReady = true; } return _KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTContent; } } + private static Java.Lang.String _KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTContent = default; + private static bool _KEY_AAC_MAX_OUTPUT_CHANNEL_COUNTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_AAC_PROFILE { get { if (!_KEY_AAC_PROFILEReady) { _KEY_AAC_PROFILEContent = SGetField(LocalBridgeClazz, "KEY_AAC_PROFILE"); _KEY_AAC_PROFILEReady = true; } return _KEY_AAC_PROFILEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/MediaMetadataEditor.cs b/src/net/Netdroid/Generated/Android/Media/MediaMetadataEditor.cs new file mode 100644 index 000000000..1315c8808 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Media/MediaMetadataEditor.cs @@ -0,0 +1,216 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Media +{ + #region MediaMetadataEditor + public partial class MediaMetadataEditor + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int BITMAP_KEY_ARTWORK { get { if (!_BITMAP_KEY_ARTWORKReady) { _BITMAP_KEY_ARTWORKContent = SGetField(LocalBridgeClazz, "BITMAP_KEY_ARTWORK"); _BITMAP_KEY_ARTWORKReady = true; } return _BITMAP_KEY_ARTWORKContent; } } + private static int _BITMAP_KEY_ARTWORKContent = default; + private static bool _BITMAP_KEY_ARTWORKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RATING_KEY_BY_OTHERS { get { if (!_RATING_KEY_BY_OTHERSReady) { _RATING_KEY_BY_OTHERSContent = SGetField(LocalBridgeClazz, "RATING_KEY_BY_OTHERS"); _RATING_KEY_BY_OTHERSReady = true; } return _RATING_KEY_BY_OTHERSContent; } } + private static int _RATING_KEY_BY_OTHERSContent = default; + private static bool _RATING_KEY_BY_OTHERSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RATING_KEY_BY_USER { get { if (!_RATING_KEY_BY_USERReady) { _RATING_KEY_BY_USERContent = SGetField(LocalBridgeClazz, "RATING_KEY_BY_USER"); _RATING_KEY_BY_USERReady = true; } return _RATING_KEY_BY_USERContent; } } + private static int _RATING_KEY_BY_USERContent = default; + private static bool _RATING_KEY_BY_USERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int[] EditableKeys + { + get { return IExecuteWithSignatureArray("getEditableKeys", "()[I"); } + } + /// + /// + /// + [System.Obsolete()] + public void Apply() + { + IExecuteWithSignature("apply", "()V"); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Bitmap GetBitmap(int arg0, Android.Graphics.Bitmap arg1) + { + return IExecute("getBitmap", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.MediaMetadataEditor PutBitmap(int arg0, Android.Graphics.Bitmap arg1) + { + return IExecute("putBitmap", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.MediaMetadataEditor PutLong(int arg0, long arg1) + { + return IExecute("putLong", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.MediaMetadataEditor PutObject(int arg0, object arg1) + { + return IExecute("putObject", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.MediaMetadataEditor PutString(int arg0, Java.Lang.String arg1) + { + return IExecute("putString", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public object GetObject(int arg0, object arg1) + { + return IExecute("getObject", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetString(int arg0, Java.Lang.String arg1) + { + return IExecute("getString", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public long GetLong(int arg0, long arg1) + { + return IExecute("getLong", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddEditableKey(int arg0) + { + IExecuteWithSignature("addEditableKey", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Clear() + { + IExecuteWithSignature("clear", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void RemoveEditableKeys() + { + IExecuteWithSignature("removeEditableKeys", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Media/MediaPlayer.cs b/src/net/Netdroid/Generated/Android/Media/MediaPlayer.cs index e7029d359..b6da24c8b 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaPlayer.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaPlayer.cs @@ -233,6 +233,13 @@ public MediaPlayer(Android.Content.Context arg0) public static int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING { get { if (!_VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGReady) { _VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGContent = SGetField(LocalBridgeClazz, "VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING"); _VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGReady = true; } return _VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGContent; } } private static int _VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGContent = default; private static bool _VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MEDIA_MIMETYPE_TEXT_SUBRIP { get { if (!_MEDIA_MIMETYPE_TEXT_SUBRIPReady) { _MEDIA_MIMETYPE_TEXT_SUBRIPContent = SGetField(LocalBridgeClazz, "MEDIA_MIMETYPE_TEXT_SUBRIP"); _MEDIA_MIMETYPE_TEXT_SUBRIPReady = true; } return _MEDIA_MIMETYPE_TEXT_SUBRIPContent; } } + private static Java.Lang.String _MEDIA_MIMETYPE_TEXT_SUBRIPContent = default; + private static bool _MEDIA_MIMETYPE_TEXT_SUBRIPReady = false; // this is used because in case of generics #endregion @@ -686,6 +693,15 @@ public void SetAudioAttributes(Android.Media.AudioAttributes arg0) IExecuteWithSignature("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetAudioStreamType(int arg0) + { + IExecuteWithSignature("setAudioStreamType", "(I)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/MediaRecorder.cs b/src/net/Netdroid/Generated/Android/Media/MediaRecorder.cs index b7e3e108c..49157dc53 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaRecorder.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaRecorder.cs @@ -247,6 +247,15 @@ public void SetAudioSource(int arg0) IExecuteWithSignature("setAudioSource", "(I)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetCamera(Android.Hardware.Camera arg0) + { + IExecuteWithSignature("setCamera", "(Landroid/hardware/Camera;)V", arg0); + } + /// /// /// /// @@ -1118,6 +1127,13 @@ public partial class OutputFormat private static int _OGGContent = default; private static bool _OGGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int RAW_AMR { get { if (!_RAW_AMRReady) { _RAW_AMRContent = SGetField(LocalBridgeClazz, "RAW_AMR"); _RAW_AMRReady = true; } return _RAW_AMRContent; } } + private static int _RAW_AMRContent = default; + private static bool _RAW_AMRReady = false; // this is used because in case of generics + /// /// /// public static int THREE_GPP { get { if (!_THREE_GPPReady) { _THREE_GPPContent = SGetField(LocalBridgeClazz, "THREE_GPP"); _THREE_GPPReady = true; } return _THREE_GPPContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/MediaRouter.cs b/src/net/Netdroid/Generated/Android/Media/MediaRouter.cs index 919550d4b..f1b04b2af 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaRouter.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaRouter.cs @@ -776,6 +776,13 @@ public partial class UserRouteInfo #region Instance methods /// + /// + /// + public Android.Media.RemoteControlClient RemoteControlClient + { + get { return IExecuteWithSignature("getRemoteControlClient", "()Landroid/media/RemoteControlClient;"); } set { IExecuteWithSignature("setRemoteControlClient", "(Landroid/media/RemoteControlClient;)V", value); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/MediaRouter2.cs b/src/net/Netdroid/Generated/Android/Media/MediaRouter2.cs index a86c2f955..3e04e9016 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaRouter2.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaRouter2.cs @@ -341,6 +341,33 @@ public partial class RouteCallback #region Instance methods /// + /// + /// + /// + [System.Obsolete()] + public void OnRoutesAdded(Java.Util.List arg0) + { + IExecuteWithSignature("onRoutesAdded", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnRoutesChanged(Java.Util.List arg0) + { + IExecuteWithSignature("onRoutesChanged", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnRoutesRemoved(Java.Util.List arg0) + { + IExecuteWithSignature("onRoutesRemoved", "(Ljava/util/List;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/MediaTimestamp.cs b/src/net/Netdroid/Generated/Android/Media/MediaTimestamp.cs index 7109ab12a..d0376d62b 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaTimestamp.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaTimestamp.cs @@ -76,6 +76,14 @@ public long AnchorSystemNanoTime get { return IExecuteWithSignature("getAnchorSystemNanoTime", "()J"); } } /// + /// + /// + [System.Obsolete()] + public long AnchorSytemNanoTime + { + get { return IExecuteWithSignature("getAnchorSytemNanoTime", "()J"); } + } + /// /// /// public float MediaClockRate diff --git a/src/net/Netdroid/Generated/Android/Media/Midi/MidiManager.cs b/src/net/Netdroid/Generated/Android/Media/Midi/MidiManager.cs index 50093dbd2..afc6298a2 100644 --- a/src/net/Netdroid/Generated/Android/Media/Midi/MidiManager.cs +++ b/src/net/Netdroid/Generated/Android/Media/Midi/MidiManager.cs @@ -58,6 +58,14 @@ public partial class MidiManager #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Media.Midi.MidiDeviceInfo[] Devices + { + get { return IExecuteWithSignatureArray("getDevices", "()[Landroid/media/midi/MidiDeviceInfo;"); } + } + /// /// /// /// @@ -87,6 +95,16 @@ public void OpenDevice(Android.Media.Midi.MidiDeviceInfo arg0, Android.Media.Mid IExecute("openDevice", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void RegisterDeviceCallback(Android.Media.Midi.MidiManager.DeviceCallback arg0, Android.Os.Handler arg1) + { + IExecute("registerDeviceCallback", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/RemoteControlClient.cs b/src/net/Netdroid/Generated/Android/Media/RemoteControlClient.cs new file mode 100644 index 000000000..860fc4d57 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Media/RemoteControlClient.cs @@ -0,0 +1,628 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Media +{ + #region RemoteControlClient + public partial class RemoteControlClient + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public RemoteControlClient(Android.App.PendingIntent arg0, Android.Os.Looper arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public RemoteControlClient(Android.App.PendingIntent arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_FAST_FORWARD { get { if (!_FLAG_KEY_MEDIA_FAST_FORWARDReady) { _FLAG_KEY_MEDIA_FAST_FORWARDContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_FAST_FORWARD"); _FLAG_KEY_MEDIA_FAST_FORWARDReady = true; } return _FLAG_KEY_MEDIA_FAST_FORWARDContent; } } + private static int _FLAG_KEY_MEDIA_FAST_FORWARDContent = default; + private static bool _FLAG_KEY_MEDIA_FAST_FORWARDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_NEXT { get { if (!_FLAG_KEY_MEDIA_NEXTReady) { _FLAG_KEY_MEDIA_NEXTContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_NEXT"); _FLAG_KEY_MEDIA_NEXTReady = true; } return _FLAG_KEY_MEDIA_NEXTContent; } } + private static int _FLAG_KEY_MEDIA_NEXTContent = default; + private static bool _FLAG_KEY_MEDIA_NEXTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_PAUSE { get { if (!_FLAG_KEY_MEDIA_PAUSEReady) { _FLAG_KEY_MEDIA_PAUSEContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_PAUSE"); _FLAG_KEY_MEDIA_PAUSEReady = true; } return _FLAG_KEY_MEDIA_PAUSEContent; } } + private static int _FLAG_KEY_MEDIA_PAUSEContent = default; + private static bool _FLAG_KEY_MEDIA_PAUSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_PLAY { get { if (!_FLAG_KEY_MEDIA_PLAYReady) { _FLAG_KEY_MEDIA_PLAYContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_PLAY"); _FLAG_KEY_MEDIA_PLAYReady = true; } return _FLAG_KEY_MEDIA_PLAYContent; } } + private static int _FLAG_KEY_MEDIA_PLAYContent = default; + private static bool _FLAG_KEY_MEDIA_PLAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_PLAY_PAUSE { get { if (!_FLAG_KEY_MEDIA_PLAY_PAUSEReady) { _FLAG_KEY_MEDIA_PLAY_PAUSEContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_PLAY_PAUSE"); _FLAG_KEY_MEDIA_PLAY_PAUSEReady = true; } return _FLAG_KEY_MEDIA_PLAY_PAUSEContent; } } + private static int _FLAG_KEY_MEDIA_PLAY_PAUSEContent = default; + private static bool _FLAG_KEY_MEDIA_PLAY_PAUSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_POSITION_UPDATE { get { if (!_FLAG_KEY_MEDIA_POSITION_UPDATEReady) { _FLAG_KEY_MEDIA_POSITION_UPDATEContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_POSITION_UPDATE"); _FLAG_KEY_MEDIA_POSITION_UPDATEReady = true; } return _FLAG_KEY_MEDIA_POSITION_UPDATEContent; } } + private static int _FLAG_KEY_MEDIA_POSITION_UPDATEContent = default; + private static bool _FLAG_KEY_MEDIA_POSITION_UPDATEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_PREVIOUS { get { if (!_FLAG_KEY_MEDIA_PREVIOUSReady) { _FLAG_KEY_MEDIA_PREVIOUSContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_PREVIOUS"); _FLAG_KEY_MEDIA_PREVIOUSReady = true; } return _FLAG_KEY_MEDIA_PREVIOUSContent; } } + private static int _FLAG_KEY_MEDIA_PREVIOUSContent = default; + private static bool _FLAG_KEY_MEDIA_PREVIOUSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_RATING { get { if (!_FLAG_KEY_MEDIA_RATINGReady) { _FLAG_KEY_MEDIA_RATINGContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_RATING"); _FLAG_KEY_MEDIA_RATINGReady = true; } return _FLAG_KEY_MEDIA_RATINGContent; } } + private static int _FLAG_KEY_MEDIA_RATINGContent = default; + private static bool _FLAG_KEY_MEDIA_RATINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_REWIND { get { if (!_FLAG_KEY_MEDIA_REWINDReady) { _FLAG_KEY_MEDIA_REWINDContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_REWIND"); _FLAG_KEY_MEDIA_REWINDReady = true; } return _FLAG_KEY_MEDIA_REWINDContent; } } + private static int _FLAG_KEY_MEDIA_REWINDContent = default; + private static bool _FLAG_KEY_MEDIA_REWINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_KEY_MEDIA_STOP { get { if (!_FLAG_KEY_MEDIA_STOPReady) { _FLAG_KEY_MEDIA_STOPContent = SGetField(LocalBridgeClazz, "FLAG_KEY_MEDIA_STOP"); _FLAG_KEY_MEDIA_STOPReady = true; } return _FLAG_KEY_MEDIA_STOPContent; } } + private static int _FLAG_KEY_MEDIA_STOPContent = default; + private static bool _FLAG_KEY_MEDIA_STOPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_BUFFERING { get { if (!_PLAYSTATE_BUFFERINGReady) { _PLAYSTATE_BUFFERINGContent = SGetField(LocalBridgeClazz, "PLAYSTATE_BUFFERING"); _PLAYSTATE_BUFFERINGReady = true; } return _PLAYSTATE_BUFFERINGContent; } } + private static int _PLAYSTATE_BUFFERINGContent = default; + private static bool _PLAYSTATE_BUFFERINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_ERROR { get { if (!_PLAYSTATE_ERRORReady) { _PLAYSTATE_ERRORContent = SGetField(LocalBridgeClazz, "PLAYSTATE_ERROR"); _PLAYSTATE_ERRORReady = true; } return _PLAYSTATE_ERRORContent; } } + private static int _PLAYSTATE_ERRORContent = default; + private static bool _PLAYSTATE_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_FAST_FORWARDING { get { if (!_PLAYSTATE_FAST_FORWARDINGReady) { _PLAYSTATE_FAST_FORWARDINGContent = SGetField(LocalBridgeClazz, "PLAYSTATE_FAST_FORWARDING"); _PLAYSTATE_FAST_FORWARDINGReady = true; } return _PLAYSTATE_FAST_FORWARDINGContent; } } + private static int _PLAYSTATE_FAST_FORWARDINGContent = default; + private static bool _PLAYSTATE_FAST_FORWARDINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_PAUSED { get { if (!_PLAYSTATE_PAUSEDReady) { _PLAYSTATE_PAUSEDContent = SGetField(LocalBridgeClazz, "PLAYSTATE_PAUSED"); _PLAYSTATE_PAUSEDReady = true; } return _PLAYSTATE_PAUSEDContent; } } + private static int _PLAYSTATE_PAUSEDContent = default; + private static bool _PLAYSTATE_PAUSEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_PLAYING { get { if (!_PLAYSTATE_PLAYINGReady) { _PLAYSTATE_PLAYINGContent = SGetField(LocalBridgeClazz, "PLAYSTATE_PLAYING"); _PLAYSTATE_PLAYINGReady = true; } return _PLAYSTATE_PLAYINGContent; } } + private static int _PLAYSTATE_PLAYINGContent = default; + private static bool _PLAYSTATE_PLAYINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_REWINDING { get { if (!_PLAYSTATE_REWINDINGReady) { _PLAYSTATE_REWINDINGContent = SGetField(LocalBridgeClazz, "PLAYSTATE_REWINDING"); _PLAYSTATE_REWINDINGReady = true; } return _PLAYSTATE_REWINDINGContent; } } + private static int _PLAYSTATE_REWINDINGContent = default; + private static bool _PLAYSTATE_REWINDINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_SKIPPING_BACKWARDS { get { if (!_PLAYSTATE_SKIPPING_BACKWARDSReady) { _PLAYSTATE_SKIPPING_BACKWARDSContent = SGetField(LocalBridgeClazz, "PLAYSTATE_SKIPPING_BACKWARDS"); _PLAYSTATE_SKIPPING_BACKWARDSReady = true; } return _PLAYSTATE_SKIPPING_BACKWARDSContent; } } + private static int _PLAYSTATE_SKIPPING_BACKWARDSContent = default; + private static bool _PLAYSTATE_SKIPPING_BACKWARDSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_SKIPPING_FORWARDS { get { if (!_PLAYSTATE_SKIPPING_FORWARDSReady) { _PLAYSTATE_SKIPPING_FORWARDSContent = SGetField(LocalBridgeClazz, "PLAYSTATE_SKIPPING_FORWARDS"); _PLAYSTATE_SKIPPING_FORWARDSReady = true; } return _PLAYSTATE_SKIPPING_FORWARDSContent; } } + private static int _PLAYSTATE_SKIPPING_FORWARDSContent = default; + private static bool _PLAYSTATE_SKIPPING_FORWARDSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PLAYSTATE_STOPPED { get { if (!_PLAYSTATE_STOPPEDReady) { _PLAYSTATE_STOPPEDContent = SGetField(LocalBridgeClazz, "PLAYSTATE_STOPPED"); _PLAYSTATE_STOPPEDReady = true; } return _PLAYSTATE_STOPPEDContent; } } + private static int _PLAYSTATE_STOPPEDContent = default; + private static bool _PLAYSTATE_STOPPEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Media.Session.MediaSession MediaSession + { + get { return IExecuteWithSignature("getMediaSession", "()Landroid/media/session/MediaSession;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.RemoteControlClient.MetadataEditor EditMetadata(bool arg0) + { + return IExecuteWithSignature("editMetadata", "(Z)Landroid/media/RemoteControlClient$MetadataEditor;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMetadataUpdateListener(Android.Media.RemoteControlClient.OnMetadataUpdateListener arg0) + { + IExecuteWithSignature("setMetadataUpdateListener", "(Landroid/media/RemoteControlClient$OnMetadataUpdateListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnGetPlaybackPositionListener(Android.Media.RemoteControlClient.OnGetPlaybackPositionListener arg0) + { + IExecuteWithSignature("setOnGetPlaybackPositionListener", "(Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPlaybackPositionUpdateListener(Android.Media.RemoteControlClient.OnPlaybackPositionUpdateListener arg0) + { + IExecuteWithSignature("setPlaybackPositionUpdateListener", "(Landroid/media/RemoteControlClient$OnPlaybackPositionUpdateListener;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetPlaybackState(int arg0, long arg1, float arg2) + { + IExecute("setPlaybackState", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPlaybackState(int arg0) + { + IExecuteWithSignature("setPlaybackState", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetTransportControlFlags(int arg0) + { + IExecuteWithSignature("setTransportControlFlags", "(I)V", arg0); + } + + #endregion + + #region Nested classes + #region MetadataEditor + public partial class MetadataEditor + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int BITMAP_KEY_ARTWORK { get { if (!_BITMAP_KEY_ARTWORKReady) { _BITMAP_KEY_ARTWORKContent = SGetField(LocalBridgeClazz, "BITMAP_KEY_ARTWORK"); _BITMAP_KEY_ARTWORKReady = true; } return _BITMAP_KEY_ARTWORKContent; } } + private static int _BITMAP_KEY_ARTWORKContent = default; + private static bool _BITMAP_KEY_ARTWORKReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnGetPlaybackPositionListener + public partial class OnGetPlaybackPositionListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onGetPlaybackPosition", new System.EventHandler>(OnGetPlaybackPositionEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnGetPlaybackPosition { get; set; } = null; + + void OnGetPlaybackPositionEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnOnGetPlaybackPosition != null) ? OnOnGetPlaybackPosition : OnGetPlaybackPosition; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual long OnGetPlaybackPosition() + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnGetPlaybackPositionListenerDirect + public partial class OnGetPlaybackPositionListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override long OnGetPlaybackPosition() + { + return IExecuteWithSignature("onGetPlaybackPosition", "()J"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnMetadataUpdateListener + public partial class OnMetadataUpdateListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onMetadataUpdate", new System.EventHandler>>(OnMetadataUpdateEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnMetadataUpdate { get; set; } = null; + + void OnMetadataUpdateEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnMetadataUpdate != null) ? OnOnMetadataUpdate : OnMetadataUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnMetadataUpdate(int arg0, object arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnMetadataUpdateListenerDirect + public partial class OnMetadataUpdateListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnMetadataUpdate(int arg0, object arg1) + { + IExecute("onMetadataUpdate", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPlaybackPositionUpdateListener + public partial class OnPlaybackPositionUpdateListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onPlaybackPositionUpdate", new System.EventHandler>>(OnPlaybackPositionUpdateEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnPlaybackPositionUpdate { get; set; } = null; + + void OnPlaybackPositionUpdateEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnPlaybackPositionUpdate != null) ? OnOnPlaybackPositionUpdate : OnPlaybackPositionUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnPlaybackPositionUpdate(long arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPlaybackPositionUpdateListenerDirect + public partial class OnPlaybackPositionUpdateListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnPlaybackPositionUpdate(long arg0) + { + IExecuteWithSignature("onPlaybackPositionUpdate", "(J)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Media/RemoteController.cs b/src/net/Netdroid/Generated/Android/Media/RemoteController.cs new file mode 100644 index 000000000..a4f6b026e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Media/RemoteController.cs @@ -0,0 +1,432 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Media +{ + #region RemoteController + public partial class RemoteController + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public RemoteController(Android.Content.Context arg0, Android.Media.RemoteController.OnClientUpdateListener arg1, Android.Os.Looper arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public RemoteController(Android.Content.Context arg0, Android.Media.RemoteController.OnClientUpdateListener arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int POSITION_SYNCHRONIZATION_CHECK { get { if (!_POSITION_SYNCHRONIZATION_CHECKReady) { _POSITION_SYNCHRONIZATION_CHECKContent = SGetField(LocalBridgeClazz, "POSITION_SYNCHRONIZATION_CHECK"); _POSITION_SYNCHRONIZATION_CHECKReady = true; } return _POSITION_SYNCHRONIZATION_CHECKContent; } } + private static int _POSITION_SYNCHRONIZATION_CHECKContent = default; + private static bool _POSITION_SYNCHRONIZATION_CHECKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int POSITION_SYNCHRONIZATION_NONE { get { if (!_POSITION_SYNCHRONIZATION_NONEReady) { _POSITION_SYNCHRONIZATION_NONEContent = SGetField(LocalBridgeClazz, "POSITION_SYNCHRONIZATION_NONE"); _POSITION_SYNCHRONIZATION_NONEReady = true; } return _POSITION_SYNCHRONIZATION_NONEContent; } } + private static int _POSITION_SYNCHRONIZATION_NONEContent = default; + private static bool _POSITION_SYNCHRONIZATION_NONEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public long EstimatedMediaPosition + { + get { return IExecuteWithSignature("getEstimatedMediaPosition", "()J"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Media.RemoteController.MetadataEditor EditMetadata() + { + return IExecuteWithSignature("editMetadata", "()Landroid/media/RemoteController$MetadataEditor;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ClearArtworkConfiguration() + { + return IExecuteWithSignature("clearArtworkConfiguration", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SeekTo(long arg0) + { + return IExecuteWithSignature("seekTo", "(J)Z", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SendMediaKeyEvent(Android.View.KeyEvent arg0) + { + return IExecuteWithSignature("sendMediaKeyEvent", "(Landroid/view/KeyEvent;)Z", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetArtworkConfiguration(int arg0, int arg1) + { + return IExecute("setArtworkConfiguration", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetSynchronizationMode(int arg0) + { + return IExecuteWithSignature("setSynchronizationMode", "(I)Z", arg0); + } + + #endregion + + #region Nested classes + #region MetadataEditor + public partial class MetadataEditor + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnClientUpdateListener + public partial class OnClientUpdateListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onClientChange", new System.EventHandler>>(OnClientChangeEventHandler)); + AddEventHandler("onClientMetadataUpdate", new System.EventHandler>>(OnClientMetadataUpdateEventHandler)); + AddEventHandler("onClientPlaybackStateUpdate", new System.EventHandler>>(OnClientPlaybackStateUpdateEventHandler)); + AddEventHandler("onClientPlaybackStateUpdate1", new System.EventHandler>>(OnClientPlaybackStateUpdate1EventHandler)); + AddEventHandler("onClientTransportControlUpdate", new System.EventHandler>>(OnClientTransportControlUpdateEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnClientChange { get; set; } = null; + + void OnClientChangeEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnClientChange != null) ? OnOnClientChange : OnClientChange; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnClientChange(bool arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnClientMetadataUpdate { get; set; } = null; + + void OnClientMetadataUpdateEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnClientMetadataUpdate != null) ? OnOnClientMetadataUpdate : OnClientMetadataUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnClientMetadataUpdate(Android.Media.RemoteController.MetadataEditor arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnClientPlaybackStateUpdate { get; set; } = null; + + void OnClientPlaybackStateUpdateEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnClientPlaybackStateUpdate != null) ? OnOnClientPlaybackStateUpdate : OnClientPlaybackStateUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnClientPlaybackStateUpdate(int arg0, long arg1, long arg2, float arg3) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnClientPlaybackStateUpdate1 { get; set; } = null; + + void OnClientPlaybackStateUpdate1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnClientPlaybackStateUpdate1 != null) ? OnOnClientPlaybackStateUpdate1 : OnClientPlaybackStateUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnClientPlaybackStateUpdate(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnClientTransportControlUpdate { get; set; } = null; + + void OnClientTransportControlUpdateEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnClientTransportControlUpdate != null) ? OnOnClientTransportControlUpdate : OnClientTransportControlUpdate; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnClientTransportControlUpdate(int arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnClientUpdateListenerDirect + public partial class OnClientUpdateListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnClientChange(bool arg0) + { + IExecuteWithSignature("onClientChange", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnClientMetadataUpdate(Android.Media.RemoteController.MetadataEditor arg0) + { + IExecuteWithSignature("onClientMetadataUpdate", "(Landroid/media/RemoteController$MetadataEditor;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnClientPlaybackStateUpdate(int arg0, long arg1, long arg2, float arg3) + { + IExecute("onClientPlaybackStateUpdate", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnClientPlaybackStateUpdate(int arg0) + { + IExecuteWithSignature("onClientPlaybackStateUpdate", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnClientTransportControlUpdate(int arg0) + { + IExecuteWithSignature("onClientTransportControlUpdate", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Media/Ringtone.cs b/src/net/Netdroid/Generated/Android/Media/Ringtone.cs index 035a3e7d4..1d2d6aaf6 100644 --- a/src/net/Netdroid/Generated/Android/Media/Ringtone.cs +++ b/src/net/Netdroid/Generated/Android/Media/Ringtone.cs @@ -53,6 +53,14 @@ public Android.Media.AudioAttributes AudioAttributes get { return IExecuteWithSignature("getAudioAttributes", "()Landroid/media/AudioAttributes;"); } set { IExecuteWithSignature("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", value); } } /// + /// + /// + [System.Obsolete()] + public int StreamType + { + get { return IExecuteWithSignature("getStreamType", "()I"); } set { IExecuteWithSignature("setStreamType", "(I)V", value); } + } + /// /// /// public float Volume diff --git a/src/net/Netdroid/Generated/Android/Media/RingtoneManager.cs b/src/net/Netdroid/Generated/Android/Media/RingtoneManager.cs index 7bd3c01e1..8e6c9990d 100644 --- a/src/net/Netdroid/Generated/Android/Media/RingtoneManager.cs +++ b/src/net/Netdroid/Generated/Android/Media/RingtoneManager.cs @@ -114,6 +114,13 @@ public RingtoneManager(Android.Content.Context arg0) private static Java.Lang.String _EXTRA_RINGTONE_EXISTING_URIContent = default; private static bool _EXTRA_RINGTONE_EXISTING_URIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_RINGTONE_INCLUDE_DRM { get { if (!_EXTRA_RINGTONE_INCLUDE_DRMReady) { _EXTRA_RINGTONE_INCLUDE_DRMContent = SGetField(LocalBridgeClazz, "EXTRA_RINGTONE_INCLUDE_DRM"); _EXTRA_RINGTONE_INCLUDE_DRMReady = true; } return _EXTRA_RINGTONE_INCLUDE_DRMContent; } } + private static Java.Lang.String _EXTRA_RINGTONE_INCLUDE_DRMContent = default; + private static bool _EXTRA_RINGTONE_INCLUDE_DRMReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_RINGTONE_PICKED_URI { get { if (!_EXTRA_RINGTONE_PICKED_URIReady) { _EXTRA_RINGTONE_PICKED_URIContent = SGetField(LocalBridgeClazz, "EXTRA_RINGTONE_PICKED_URI"); _EXTRA_RINGTONE_PICKED_URIReady = true; } return _EXTRA_RINGTONE_PICKED_URIContent; } } @@ -255,6 +262,14 @@ public Android.Database.Cursor Cursor get { return IExecuteWithSignature("getCursor", "()Landroid/database/Cursor;"); } } /// + /// + /// + [System.Obsolete()] + public bool IncludeDrm + { + get { return IExecuteWithSignature("getIncludeDrm", "()Z"); } set { IExecuteWithSignature("setIncludeDrm", "(Z)V", value); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/Session/MediaSession.cs b/src/net/Netdroid/Generated/Android/Media/Session/MediaSession.cs index 04e44e126..c1f181ff7 100644 --- a/src/net/Netdroid/Generated/Android/Media/Session/MediaSession.cs +++ b/src/net/Netdroid/Generated/Android/Media/Session/MediaSession.cs @@ -56,6 +56,20 @@ public MediaSession(Android.Content.Context arg0, Java.Lang.String arg1) #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static int FLAG_HANDLES_MEDIA_BUTTONS { get { if (!_FLAG_HANDLES_MEDIA_BUTTONSReady) { _FLAG_HANDLES_MEDIA_BUTTONSContent = SGetField(LocalBridgeClazz, "FLAG_HANDLES_MEDIA_BUTTONS"); _FLAG_HANDLES_MEDIA_BUTTONSReady = true; } return _FLAG_HANDLES_MEDIA_BUTTONSContent; } } + private static int _FLAG_HANDLES_MEDIA_BUTTONSContent = default; + private static bool _FLAG_HANDLES_MEDIA_BUTTONSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FLAG_HANDLES_TRANSPORT_CONTROLS { get { if (!_FLAG_HANDLES_TRANSPORT_CONTROLSReady) { _FLAG_HANDLES_TRANSPORT_CONTROLSContent = SGetField(LocalBridgeClazz, "FLAG_HANDLES_TRANSPORT_CONTROLS"); _FLAG_HANDLES_TRANSPORT_CONTROLSReady = true; } return _FLAG_HANDLES_TRANSPORT_CONTROLSContent; } } + private static int _FLAG_HANDLES_TRANSPORT_CONTROLSContent = default; + private static bool _FLAG_HANDLES_TRANSPORT_CONTROLSReady = false; // this is used because in case of generics #endregion @@ -159,6 +173,15 @@ public void SetMediaButtonBroadcastReceiver(Android.Content.ComponentName arg0) IExecuteWithSignature("setMediaButtonBroadcastReceiver", "(Landroid/content/ComponentName;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetMediaButtonReceiver(Android.App.PendingIntent arg0) + { + IExecuteWithSignature("setMediaButtonReceiver", "(Landroid/app/PendingIntent;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/Session/MediaSessionManager.cs b/src/net/Netdroid/Generated/Android/Media/Session/MediaSessionManager.cs index ebea27469..4695b4277 100644 --- a/src/net/Netdroid/Generated/Android/Media/Session/MediaSessionManager.cs +++ b/src/net/Netdroid/Generated/Android/Media/Session/MediaSessionManager.cs @@ -130,6 +130,15 @@ public void AddOnSession2TokensChangedListener(Android.Media.Session.MediaSessio IExecuteWithSignature("addOnSession2TokensChangedListener", "(Landroid/media/session/MediaSessionManager$OnSession2TokensChangedListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void NotifySession2Created(Android.Media.Session2Token arg0) + { + IExecuteWithSignature("notifySession2Created", "(Landroid/media/Session2Token;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/SoundPool.cs b/src/net/Netdroid/Generated/Android/Media/SoundPool.cs index 6778ca9fa..af97c58e5 100644 --- a/src/net/Netdroid/Generated/Android/Media/SoundPool.cs +++ b/src/net/Netdroid/Generated/Android/Media/SoundPool.cs @@ -29,6 +29,17 @@ namespace Android.Media public partial class SoundPool { #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SoundPool(int arg0, int arg1, int arg2) + : base(arg0, arg1, arg2) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/ThumbnailUtils.cs b/src/net/Netdroid/Generated/Android/Media/ThumbnailUtils.cs index eba7d9ac7..f6236bb15 100644 --- a/src/net/Netdroid/Generated/Android/Media/ThumbnailUtils.cs +++ b/src/net/Netdroid/Generated/Android/Media/ThumbnailUtils.cs @@ -60,6 +60,17 @@ public static Android.Graphics.Bitmap CreateAudioThumbnail(Java.Io.File arg0, An return SExecute(LocalBridgeClazz, "createAudioThumbnail", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap CreateAudioThumbnail(Java.Lang.String arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "createAudioThumbnail", arg0, arg1); + } + /// /// /// /// @@ -72,6 +83,17 @@ public static Android.Graphics.Bitmap CreateImageThumbnail(Java.Io.File arg0, An return SExecute(LocalBridgeClazz, "createImageThumbnail", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap CreateImageThumbnail(Java.Lang.String arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "createImageThumbnail", arg0, arg1); + } + /// /// /// /// @@ -84,6 +106,17 @@ public static Android.Graphics.Bitmap CreateVideoThumbnail(Java.Io.File arg0, An return SExecute(LocalBridgeClazz, "createVideoThumbnail", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap CreateVideoThumbnail(Java.Lang.String arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "createVideoThumbnail", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/Tv/TableResponse.cs b/src/net/Netdroid/Generated/Android/Media/Tv/TableResponse.cs index e98447d24..fcc476452 100644 --- a/src/net/Netdroid/Generated/Android/Media/Tv/TableResponse.cs +++ b/src/net/Netdroid/Generated/Android/Media/Tv/TableResponse.cs @@ -29,6 +29,20 @@ namespace Android.Media.Tv public partial class TableResponse { #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public TableResponse(int arg0, int arg1, int arg2, Android.Net.Uri arg3, int arg4, int arg5) + : base(arg0, arg1, arg2, arg3, arg4, arg5) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/Tv/TvContract.cs b/src/net/Netdroid/Generated/Android/Media/Tv/TvContract.cs index 0b1ec6528..e19d4ea6e 100644 --- a/src/net/Netdroid/Generated/Android/Media/Tv/TvContract.cs +++ b/src/net/Netdroid/Generated/Android/Media/Tv/TvContract.cs @@ -1519,6 +1519,13 @@ public partial class Programs private static Java.Lang.String _COLUMN_EPISODE_DISPLAY_NUMBERContent = default; private static bool _COLUMN_EPISODE_DISPLAY_NUMBERReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String COLUMN_EPISODE_NUMBER { get { if (!_COLUMN_EPISODE_NUMBERReady) { _COLUMN_EPISODE_NUMBERContent = SGetField(LocalBridgeClazz, "COLUMN_EPISODE_NUMBER"); _COLUMN_EPISODE_NUMBERReady = true; } return _COLUMN_EPISODE_NUMBERContent; } } + private static Java.Lang.String _COLUMN_EPISODE_NUMBERContent = default; + private static bool _COLUMN_EPISODE_NUMBERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String COLUMN_EPISODE_TITLE { get { if (!_COLUMN_EPISODE_TITLEReady) { _COLUMN_EPISODE_TITLEContent = SGetField(LocalBridgeClazz, "COLUMN_EPISODE_TITLE"); _COLUMN_EPISODE_TITLEReady = true; } return _COLUMN_EPISODE_TITLEContent; } } @@ -1627,6 +1634,13 @@ public partial class Programs private static Java.Lang.String _COLUMN_SEASON_DISPLAY_NUMBERContent = default; private static bool _COLUMN_SEASON_DISPLAY_NUMBERReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String COLUMN_SEASON_NUMBER { get { if (!_COLUMN_SEASON_NUMBERReady) { _COLUMN_SEASON_NUMBERContent = SGetField(LocalBridgeClazz, "COLUMN_SEASON_NUMBER"); _COLUMN_SEASON_NUMBERReady = true; } return _COLUMN_SEASON_NUMBERContent; } } + private static Java.Lang.String _COLUMN_SEASON_NUMBERContent = default; + private static bool _COLUMN_SEASON_NUMBERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String COLUMN_SEASON_TITLE { get { if (!_COLUMN_SEASON_TITLEReady) { _COLUMN_SEASON_TITLEContent = SGetField(LocalBridgeClazz, "COLUMN_SEASON_TITLE"); _COLUMN_SEASON_TITLEReady = true; } return _COLUMN_SEASON_TITLEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Media/Tv/TvInputInfo.cs b/src/net/Netdroid/Generated/Android/Media/Tv/TvInputInfo.cs index b1a71e30c..4fbd0c485 100644 --- a/src/net/Netdroid/Generated/Android/Media/Tv/TvInputInfo.cs +++ b/src/net/Netdroid/Generated/Android/Media/Tv/TvInputInfo.cs @@ -160,6 +160,15 @@ public int Type get { return IExecuteWithSignature("getType", "()I"); } } /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent CreateSettingsIntent() + { + return IExecuteWithSignature("createSettingsIntent", "()Landroid/content/Intent;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Net/AllPackageClasses.cs index 884bd44cd..c6cff5961 100644 --- a/src/net/Netdroid/Generated/Android/Net/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Net/AllPackageClasses.cs @@ -1683,6 +1683,141 @@ public NetworkCapabilities(params object[] args) : base(args) { } } #endregion + #region NetworkInfo + /// + /// + /// + [System.Obsolete()] + public partial class NetworkInfo : Android.Os.Parcelable + { + const string _bridgeClassName = "android.net.NetworkInfo"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public NetworkInfo() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public NetworkInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region DetailedState + /// + /// + /// + [System.Obsolete()] + public partial class DetailedState : Java.Lang.Enum + { + const string _bridgeClassName = "android.net.NetworkInfo$DetailedState"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DetailedState() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DetailedState(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region State + /// + /// + /// + [System.Obsolete()] + public partial class State : Java.Lang.Enum + { + const string _bridgeClassName = "android.net.NetworkInfo$State"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public State() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public State(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region NetworkRequest /// /// @@ -2102,6 +2237,51 @@ public Callback(params object[] args) : base(args) { } } #endregion + #region SSLCertificateSocketFactory + /// + /// + /// + [System.Obsolete()] + public partial class SSLCertificateSocketFactory : Javax.Net.Ssl.SSLSocketFactory + { + const string _bridgeClassName = "android.net.SSLCertificateSocketFactory"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SSLCertificateSocketFactory() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SSLCertificateSocketFactory(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region SSLSessionCache /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/ConnectivityManager.cs b/src/net/Netdroid/Generated/Android/Net/ConnectivityManager.cs index 83abdabc8..92d05f239 100644 --- a/src/net/Netdroid/Generated/Android/Net/ConnectivityManager.cs +++ b/src/net/Netdroid/Generated/Android/Net/ConnectivityManager.cs @@ -38,6 +38,13 @@ public partial class ConnectivityManager #region Fields /// + /// + /// + [System.Obsolete()] + public static int DEFAULT_NETWORK_PREFERENCE { get { if (!_DEFAULT_NETWORK_PREFERENCEReady) { _DEFAULT_NETWORK_PREFERENCEContent = SGetField(LocalBridgeClazz, "DEFAULT_NETWORK_PREFERENCE"); _DEFAULT_NETWORK_PREFERENCEReady = true; } return _DEFAULT_NETWORK_PREFERENCEContent; } } + private static int _DEFAULT_NETWORK_PREFERENCEContent = default; + private static bool _DEFAULT_NETWORK_PREFERENCEReady = false; // this is used because in case of generics + /// /// /// public static int MULTIPATH_PREFERENCE_HANDOVER { get { if (!_MULTIPATH_PREFERENCE_HANDOVERReady) { _MULTIPATH_PREFERENCE_HANDOVERContent = SGetField(LocalBridgeClazz, "MULTIPATH_PREFERENCE_HANDOVER"); _MULTIPATH_PREFERENCE_HANDOVERReady = true; } return _MULTIPATH_PREFERENCE_HANDOVERContent; } } @@ -74,6 +81,90 @@ public partial class ConnectivityManager private static int _RESTRICT_BACKGROUND_STATUS_WHITELISTEDContent = default; private static bool _RESTRICT_BACKGROUND_STATUS_WHITELISTEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TYPE_BLUETOOTH { get { if (!_TYPE_BLUETOOTHReady) { _TYPE_BLUETOOTHContent = SGetField(LocalBridgeClazz, "TYPE_BLUETOOTH"); _TYPE_BLUETOOTHReady = true; } return _TYPE_BLUETOOTHContent; } } + private static int _TYPE_BLUETOOTHContent = default; + private static bool _TYPE_BLUETOOTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_DUMMY { get { if (!_TYPE_DUMMYReady) { _TYPE_DUMMYContent = SGetField(LocalBridgeClazz, "TYPE_DUMMY"); _TYPE_DUMMYReady = true; } return _TYPE_DUMMYContent; } } + private static int _TYPE_DUMMYContent = default; + private static bool _TYPE_DUMMYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_ETHERNET { get { if (!_TYPE_ETHERNETReady) { _TYPE_ETHERNETContent = SGetField(LocalBridgeClazz, "TYPE_ETHERNET"); _TYPE_ETHERNETReady = true; } return _TYPE_ETHERNETContent; } } + private static int _TYPE_ETHERNETContent = default; + private static bool _TYPE_ETHERNETReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE { get { if (!_TYPE_MOBILEReady) { _TYPE_MOBILEContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE"); _TYPE_MOBILEReady = true; } return _TYPE_MOBILEContent; } } + private static int _TYPE_MOBILEContent = default; + private static bool _TYPE_MOBILEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE_DUN { get { if (!_TYPE_MOBILE_DUNReady) { _TYPE_MOBILE_DUNContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE_DUN"); _TYPE_MOBILE_DUNReady = true; } return _TYPE_MOBILE_DUNContent; } } + private static int _TYPE_MOBILE_DUNContent = default; + private static bool _TYPE_MOBILE_DUNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE_HIPRI { get { if (!_TYPE_MOBILE_HIPRIReady) { _TYPE_MOBILE_HIPRIContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE_HIPRI"); _TYPE_MOBILE_HIPRIReady = true; } return _TYPE_MOBILE_HIPRIContent; } } + private static int _TYPE_MOBILE_HIPRIContent = default; + private static bool _TYPE_MOBILE_HIPRIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE_MMS { get { if (!_TYPE_MOBILE_MMSReady) { _TYPE_MOBILE_MMSContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE_MMS"); _TYPE_MOBILE_MMSReady = true; } return _TYPE_MOBILE_MMSContent; } } + private static int _TYPE_MOBILE_MMSContent = default; + private static bool _TYPE_MOBILE_MMSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE_SUPL { get { if (!_TYPE_MOBILE_SUPLReady) { _TYPE_MOBILE_SUPLContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE_SUPL"); _TYPE_MOBILE_SUPLReady = true; } return _TYPE_MOBILE_SUPLContent; } } + private static int _TYPE_MOBILE_SUPLContent = default; + private static bool _TYPE_MOBILE_SUPLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_VPN { get { if (!_TYPE_VPNReady) { _TYPE_VPNContent = SGetField(LocalBridgeClazz, "TYPE_VPN"); _TYPE_VPNReady = true; } return _TYPE_VPNContent; } } + private static int _TYPE_VPNContent = default; + private static bool _TYPE_VPNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WIFI { get { if (!_TYPE_WIFIReady) { _TYPE_WIFIContent = SGetField(LocalBridgeClazz, "TYPE_WIFI"); _TYPE_WIFIReady = true; } return _TYPE_WIFIContent; } } + private static int _TYPE_WIFIContent = default; + private static bool _TYPE_WIFIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WIMAX { get { if (!_TYPE_WIMAXReady) { _TYPE_WIMAXContent = SGetField(LocalBridgeClazz, "TYPE_WIMAX"); _TYPE_WIMAXReady = true; } return _TYPE_WIMAXContent; } } + private static int _TYPE_WIMAXContent = default; + private static bool _TYPE_WIMAXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_BACKGROUND_DATA_SETTING_CHANGED { get { if (!_ACTION_BACKGROUND_DATA_SETTING_CHANGEDReady) { _ACTION_BACKGROUND_DATA_SETTING_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_BACKGROUND_DATA_SETTING_CHANGED"); _ACTION_BACKGROUND_DATA_SETTING_CHANGEDReady = true; } return _ACTION_BACKGROUND_DATA_SETTING_CHANGEDContent; } } + private static Java.Lang.String _ACTION_BACKGROUND_DATA_SETTING_CHANGEDContent = default; + private static bool _ACTION_BACKGROUND_DATA_SETTING_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_CAPTIVE_PORTAL_SIGN_IN { get { if (!_ACTION_CAPTIVE_PORTAL_SIGN_INReady) { _ACTION_CAPTIVE_PORTAL_SIGN_INContent = SGetField(LocalBridgeClazz, "ACTION_CAPTIVE_PORTAL_SIGN_IN"); _ACTION_CAPTIVE_PORTAL_SIGN_INReady = true; } return _ACTION_CAPTIVE_PORTAL_SIGN_INContent; } } @@ -86,6 +177,13 @@ public partial class ConnectivityManager private static Java.Lang.String _ACTION_RESTRICT_BACKGROUND_CHANGEDContent = default; private static bool _ACTION_RESTRICT_BACKGROUND_CHANGEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONNECTIVITY_ACTION { get { if (!_CONNECTIVITY_ACTIONReady) { _CONNECTIVITY_ACTIONContent = SGetField(LocalBridgeClazz, "CONNECTIVITY_ACTION"); _CONNECTIVITY_ACTIONReady = true; } return _CONNECTIVITY_ACTIONContent; } } + private static Java.Lang.String _CONNECTIVITY_ACTIONContent = default; + private static bool _CONNECTIVITY_ACTIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_CAPTIVE_PORTAL { get { if (!_EXTRA_CAPTIVE_PORTALReady) { _EXTRA_CAPTIVE_PORTALContent = SGetField(LocalBridgeClazz, "EXTRA_CAPTIVE_PORTAL"); _EXTRA_CAPTIVE_PORTALReady = true; } return _EXTRA_CAPTIVE_PORTALContent; } } @@ -98,24 +196,59 @@ public partial class ConnectivityManager private static Java.Lang.String _EXTRA_CAPTIVE_PORTAL_URLContent = default; private static bool _EXTRA_CAPTIVE_PORTAL_URLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_EXTRA_INFO { get { if (!_EXTRA_EXTRA_INFOReady) { _EXTRA_EXTRA_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_EXTRA_INFO"); _EXTRA_EXTRA_INFOReady = true; } return _EXTRA_EXTRA_INFOContent; } } + private static Java.Lang.String _EXTRA_EXTRA_INFOContent = default; + private static bool _EXTRA_EXTRA_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_IS_FAILOVER { get { if (!_EXTRA_IS_FAILOVERReady) { _EXTRA_IS_FAILOVERContent = SGetField(LocalBridgeClazz, "EXTRA_IS_FAILOVER"); _EXTRA_IS_FAILOVERReady = true; } return _EXTRA_IS_FAILOVERContent; } } + private static Java.Lang.String _EXTRA_IS_FAILOVERContent = default; + private static bool _EXTRA_IS_FAILOVERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_NETWORK { get { if (!_EXTRA_NETWORKReady) { _EXTRA_NETWORKContent = SGetField(LocalBridgeClazz, "EXTRA_NETWORK"); _EXTRA_NETWORKReady = true; } return _EXTRA_NETWORKContent; } } private static Java.Lang.String _EXTRA_NETWORKContent = default; private static bool _EXTRA_NETWORKReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_NETWORK_INFO { get { if (!_EXTRA_NETWORK_INFOReady) { _EXTRA_NETWORK_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_NETWORK_INFO"); _EXTRA_NETWORK_INFOReady = true; } return _EXTRA_NETWORK_INFOContent; } } + private static Java.Lang.String _EXTRA_NETWORK_INFOContent = default; + private static bool _EXTRA_NETWORK_INFOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_NETWORK_REQUEST { get { if (!_EXTRA_NETWORK_REQUESTReady) { _EXTRA_NETWORK_REQUESTContent = SGetField(LocalBridgeClazz, "EXTRA_NETWORK_REQUEST"); _EXTRA_NETWORK_REQUESTReady = true; } return _EXTRA_NETWORK_REQUESTContent; } } private static Java.Lang.String _EXTRA_NETWORK_REQUESTContent = default; private static bool _EXTRA_NETWORK_REQUESTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_NETWORK_TYPE { get { if (!_EXTRA_NETWORK_TYPEReady) { _EXTRA_NETWORK_TYPEContent = SGetField(LocalBridgeClazz, "EXTRA_NETWORK_TYPE"); _EXTRA_NETWORK_TYPEReady = true; } return _EXTRA_NETWORK_TYPEContent; } } + private static Java.Lang.String _EXTRA_NETWORK_TYPEContent = default; + private static bool _EXTRA_NETWORK_TYPEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_NO_CONNECTIVITY { get { if (!_EXTRA_NO_CONNECTIVITYReady) { _EXTRA_NO_CONNECTIVITYContent = SGetField(LocalBridgeClazz, "EXTRA_NO_CONNECTIVITY"); _EXTRA_NO_CONNECTIVITYReady = true; } return _EXTRA_NO_CONNECTIVITYContent; } } private static Java.Lang.String _EXTRA_NO_CONNECTIVITYContent = default; private static bool _EXTRA_NO_CONNECTIVITYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_OTHER_NETWORK_INFO { get { if (!_EXTRA_OTHER_NETWORK_INFOReady) { _EXTRA_OTHER_NETWORK_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_OTHER_NETWORK_INFO"); _EXTRA_OTHER_NETWORK_INFOReady = true; } return _EXTRA_OTHER_NETWORK_INFOContent; } } + private static Java.Lang.String _EXTRA_OTHER_NETWORK_INFOContent = default; + private static bool _EXTRA_OTHER_NETWORK_INFOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_REASON { get { if (!_EXTRA_REASONReady) { _EXTRA_REASONContent = SGetField(LocalBridgeClazz, "EXTRA_REASON"); _EXTRA_REASONReady = true; } return _EXTRA_REASONContent; } } @@ -125,6 +258,34 @@ public partial class ConnectivityManager #endregion #region Static methods + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Network ProcessDefaultNetwork + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getProcessDefaultNetwork", "()Landroid/net/Network;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsNetworkTypeValid(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isNetworkTypeValid", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool SetProcessDefaultNetwork(Android.Net.Network arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "setProcessDefaultNetwork", "(Landroid/net/Network;)Z", arg0); + } #endregion @@ -137,6 +298,38 @@ public Android.Net.Network ActiveNetwork get { return IExecuteWithSignature("getActiveNetwork", "()Landroid/net/Network;"); } } /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo ActiveNetworkInfo + { + get { return IExecuteWithSignature("getActiveNetworkInfo", "()Landroid/net/NetworkInfo;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo[] AllNetworkInfo + { + get { return IExecuteWithSignatureArray("getAllNetworkInfo", "()[Landroid/net/NetworkInfo;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Network[] AllNetworks + { + get { return IExecuteWithSignatureArray("getAllNetworks", "()[Landroid/net/Network;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool BackgroundDataSetting + { + get { return IExecuteWithSignature("getBackgroundDataSetting", "()Z"); } + } + /// /// /// public Android.Net.Network BoundNetworkForProcess @@ -151,6 +344,14 @@ public Android.Net.ProxyInfo DefaultProxy get { return IExecuteWithSignature("getDefaultProxy", "()Landroid/net/ProxyInfo;"); } } /// + /// + /// + [System.Obsolete()] + public int NetworkPreference + { + get { return IExecuteWithSignature("getNetworkPreference", "()I"); } set { IExecuteWithSignature("setNetworkPreference", "(I)V", value); } + } + /// /// /// public byte[] NetworkWatchlistConfigHash @@ -183,6 +384,26 @@ public Android.Net.NetworkCapabilities GetNetworkCapabilities(Android.Net.Networ return IExecuteWithSignature("getNetworkCapabilities", "(Landroid/net/Network;)Landroid/net/NetworkCapabilities;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo GetNetworkInfo(Android.Net.Network arg0) + { + return IExecuteWithSignature("getNetworkInfo", "(Landroid/net/Network;)Landroid/net/NetworkInfo;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo GetNetworkInfo(int arg0) + { + return IExecuteWithSignature("getNetworkInfo", "(I)Landroid/net/NetworkInfo;", arg0); + } + /// /// /// /// @@ -330,6 +551,15 @@ public void RemoveDefaultNetworkActiveListener(Android.Net.ConnectivityManager.O IExecuteWithSignature("removeDefaultNetworkActiveListener", "(Landroid/net/ConnectivityManager$OnNetworkActiveListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void ReportBadNetwork(Android.Net.Network arg0) + { + IExecuteWithSignature("reportBadNetwork", "(Landroid/net/Network;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/Http/SslCertificate.cs b/src/net/Netdroid/Generated/Android/Net/Http/SslCertificate.cs index 1165f28a5..a449d314a 100644 --- a/src/net/Netdroid/Generated/Android/Net/Http/SslCertificate.cs +++ b/src/net/Netdroid/Generated/Android/Net/Http/SslCertificate.cs @@ -30,6 +30,30 @@ public partial class SslCertificate { #region Constructors /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SslCertificate(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2, Java.Lang.String arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SslCertificate(Java.Lang.String arg0, Java.Lang.String arg1, Java.Util.Date arg2, Java.Util.Date arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// /// /// /// @@ -86,6 +110,14 @@ public Android.Net.Http.SslCertificate.DName IssuedTo get { return IExecuteWithSignature("getIssuedTo", "()Landroid/net/http/SslCertificate$DName;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ValidNotAfter + { + get { return IExecuteWithSignature("getValidNotAfter", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Util.Date ValidNotAfterDate @@ -93,6 +125,14 @@ public Java.Util.Date ValidNotAfterDate get { return IExecuteWithSignature("getValidNotAfterDate", "()Ljava/util/Date;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ValidNotBefore + { + get { return IExecuteWithSignature("getValidNotBefore", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Util.Date ValidNotBeforeDate diff --git a/src/net/Netdroid/Generated/Android/Net/Http/SslError.cs b/src/net/Netdroid/Generated/Android/Net/Http/SslError.cs index 694eb2275..4289a70a7 100644 --- a/src/net/Netdroid/Generated/Android/Net/Http/SslError.cs +++ b/src/net/Netdroid/Generated/Android/Net/Http/SslError.cs @@ -40,6 +40,16 @@ public SslError(int arg0, Android.Net.Http.SslCertificate arg1, Java.Lang.String { } /// + /// + /// + /// + /// + [System.Obsolete()] + public SslError(int arg0, Android.Net.Http.SslCertificate arg1) + : base(arg0, arg1) + { + } + /// /// /// /// @@ -49,6 +59,16 @@ public SslError(int arg0, Java.Security.Cert.X509Certificate arg1, Java.Lang.Str : base(arg0, arg1, arg2) { } + /// + /// + /// + /// + /// + [System.Obsolete()] + public SslError(int arg0, Java.Security.Cert.X509Certificate arg1) + : base(arg0, arg1) + { + } #endregion @@ -82,6 +102,13 @@ public SslError(int arg0, Java.Security.Cert.X509Certificate arg1, Java.Lang.Str private static int _SSL_INVALIDContent = default; private static bool _SSL_INVALIDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int SSL_MAX_ERROR { get { if (!_SSL_MAX_ERRORReady) { _SSL_MAX_ERRORContent = SGetField(LocalBridgeClazz, "SSL_MAX_ERROR"); _SSL_MAX_ERRORReady = true; } return _SSL_MAX_ERRORContent; } } + private static int _SSL_MAX_ERRORContent = default; + private static bool _SSL_MAX_ERRORReady = false; // this is used because in case of generics + /// /// /// public static int SSL_NOTYETVALID { get { if (!_SSL_NOTYETVALIDReady) { _SSL_NOTYETVALIDContent = SGetField(LocalBridgeClazz, "SSL_NOTYETVALID"); _SSL_NOTYETVALIDReady = true; } return _SSL_NOTYETVALIDContent; } } diff --git a/src/net/Netdroid/Generated/Android/Net/NetworkInfo.cs b/src/net/Netdroid/Generated/Android/Net/NetworkInfo.cs new file mode 100644 index 000000000..545aacd90 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/NetworkInfo.cs @@ -0,0 +1,445 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net +{ + #region NetworkInfo + public partial class NetworkInfo + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public NetworkInfo(int arg0, int arg1, Java.Lang.String arg2, Java.Lang.String arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ExtraInfo + { + get { return IExecuteWithSignature("getExtraInfo", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo.DetailedState GetDetailedState + { + get { return IExecuteWithSignature("getDetailedState", "()Landroid/net/NetworkInfo$DetailedState;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkInfo.State GetState + { + get { return IExecuteWithSignature("getState", "()Landroid/net/NetworkInfo$State;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Reason + { + get { return IExecuteWithSignature("getReason", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Subtype + { + get { return IExecuteWithSignature("getSubtype", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SubtypeName + { + get { return IExecuteWithSignature("getSubtypeName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Type + { + get { return IExecuteWithSignature("getType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String TypeName + { + get { return IExecuteWithSignature("getTypeName", "()Ljava/lang/String;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsAvailable() + { + return IExecuteWithSignature("isAvailable", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsConnected() + { + return IExecuteWithSignature("isConnected", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsConnectedOrConnecting() + { + return IExecuteWithSignature("isConnectedOrConnecting", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsFailover() + { + return IExecuteWithSignature("isFailover", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsRoaming() + { + return IExecuteWithSignature("isRoaming", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetDetailedState(Android.Net.NetworkInfo.DetailedState arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + IExecute("setDetailedState", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + #region DetailedState + public partial class DetailedState + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState AUTHENTICATING { get { if (!_AUTHENTICATINGReady) { _AUTHENTICATINGContent = SGetField(LocalBridgeClazz, "AUTHENTICATING"); _AUTHENTICATINGReady = true; } return _AUTHENTICATINGContent; } } + private static Android.Net.NetworkInfo.DetailedState _AUTHENTICATINGContent = default; + private static bool _AUTHENTICATINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState BLOCKED { get { if (!_BLOCKEDReady) { _BLOCKEDContent = SGetField(LocalBridgeClazz, "BLOCKED"); _BLOCKEDReady = true; } return _BLOCKEDContent; } } + private static Android.Net.NetworkInfo.DetailedState _BLOCKEDContent = default; + private static bool _BLOCKEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState CAPTIVE_PORTAL_CHECK { get { if (!_CAPTIVE_PORTAL_CHECKReady) { _CAPTIVE_PORTAL_CHECKContent = SGetField(LocalBridgeClazz, "CAPTIVE_PORTAL_CHECK"); _CAPTIVE_PORTAL_CHECKReady = true; } return _CAPTIVE_PORTAL_CHECKContent; } } + private static Android.Net.NetworkInfo.DetailedState _CAPTIVE_PORTAL_CHECKContent = default; + private static bool _CAPTIVE_PORTAL_CHECKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState CONNECTED { get { if (!_CONNECTEDReady) { _CONNECTEDContent = SGetField(LocalBridgeClazz, "CONNECTED"); _CONNECTEDReady = true; } return _CONNECTEDContent; } } + private static Android.Net.NetworkInfo.DetailedState _CONNECTEDContent = default; + private static bool _CONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState CONNECTING { get { if (!_CONNECTINGReady) { _CONNECTINGContent = SGetField(LocalBridgeClazz, "CONNECTING"); _CONNECTINGReady = true; } return _CONNECTINGContent; } } + private static Android.Net.NetworkInfo.DetailedState _CONNECTINGContent = default; + private static bool _CONNECTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState DISCONNECTED { get { if (!_DISCONNECTEDReady) { _DISCONNECTEDContent = SGetField(LocalBridgeClazz, "DISCONNECTED"); _DISCONNECTEDReady = true; } return _DISCONNECTEDContent; } } + private static Android.Net.NetworkInfo.DetailedState _DISCONNECTEDContent = default; + private static bool _DISCONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState DISCONNECTING { get { if (!_DISCONNECTINGReady) { _DISCONNECTINGContent = SGetField(LocalBridgeClazz, "DISCONNECTING"); _DISCONNECTINGReady = true; } return _DISCONNECTINGContent; } } + private static Android.Net.NetworkInfo.DetailedState _DISCONNECTINGContent = default; + private static bool _DISCONNECTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState FAILED { get { if (!_FAILEDReady) { _FAILEDContent = SGetField(LocalBridgeClazz, "FAILED"); _FAILEDReady = true; } return _FAILEDContent; } } + private static Android.Net.NetworkInfo.DetailedState _FAILEDContent = default; + private static bool _FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState IDLE { get { if (!_IDLEReady) { _IDLEContent = SGetField(LocalBridgeClazz, "IDLE"); _IDLEReady = true; } return _IDLEContent; } } + private static Android.Net.NetworkInfo.DetailedState _IDLEContent = default; + private static bool _IDLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState OBTAINING_IPADDR { get { if (!_OBTAINING_IPADDRReady) { _OBTAINING_IPADDRContent = SGetField(LocalBridgeClazz, "OBTAINING_IPADDR"); _OBTAINING_IPADDRReady = true; } return _OBTAINING_IPADDRContent; } } + private static Android.Net.NetworkInfo.DetailedState _OBTAINING_IPADDRContent = default; + private static bool _OBTAINING_IPADDRReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState SCANNING { get { if (!_SCANNINGReady) { _SCANNINGContent = SGetField(LocalBridgeClazz, "SCANNING"); _SCANNINGReady = true; } return _SCANNINGContent; } } + private static Android.Net.NetworkInfo.DetailedState _SCANNINGContent = default; + private static bool _SCANNINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState SUSPENDED { get { if (!_SUSPENDEDReady) { _SUSPENDEDContent = SGetField(LocalBridgeClazz, "SUSPENDED"); _SUSPENDEDReady = true; } return _SUSPENDEDContent; } } + private static Android.Net.NetworkInfo.DetailedState _SUSPENDEDContent = default; + private static bool _SUSPENDEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.DetailedState VERIFYING_POOR_LINK { get { if (!_VERIFYING_POOR_LINKReady) { _VERIFYING_POOR_LINKContent = SGetField(LocalBridgeClazz, "VERIFYING_POOR_LINK"); _VERIFYING_POOR_LINKReady = true; } return _VERIFYING_POOR_LINKContent; } } + private static Android.Net.NetworkInfo.DetailedState _VERIFYING_POOR_LINKContent = default; + private static bool _VERIFYING_POOR_LINKReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Net.NetworkInfo.DetailedState ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/net/NetworkInfo$DetailedState;", arg0); + } + /// + /// + /// + /// + public static Android.Net.NetworkInfo.DetailedState[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/net/NetworkInfo$DetailedState;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region State + public partial class State + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State CONNECTED { get { if (!_CONNECTEDReady) { _CONNECTEDContent = SGetField(LocalBridgeClazz, "CONNECTED"); _CONNECTEDReady = true; } return _CONNECTEDContent; } } + private static Android.Net.NetworkInfo.State _CONNECTEDContent = default; + private static bool _CONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State CONNECTING { get { if (!_CONNECTINGReady) { _CONNECTINGContent = SGetField(LocalBridgeClazz, "CONNECTING"); _CONNECTINGReady = true; } return _CONNECTINGContent; } } + private static Android.Net.NetworkInfo.State _CONNECTINGContent = default; + private static bool _CONNECTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State DISCONNECTED { get { if (!_DISCONNECTEDReady) { _DISCONNECTEDContent = SGetField(LocalBridgeClazz, "DISCONNECTED"); _DISCONNECTEDReady = true; } return _DISCONNECTEDContent; } } + private static Android.Net.NetworkInfo.State _DISCONNECTEDContent = default; + private static bool _DISCONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State DISCONNECTING { get { if (!_DISCONNECTINGReady) { _DISCONNECTINGContent = SGetField(LocalBridgeClazz, "DISCONNECTING"); _DISCONNECTINGReady = true; } return _DISCONNECTINGContent; } } + private static Android.Net.NetworkInfo.State _DISCONNECTINGContent = default; + private static bool _DISCONNECTINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State SUSPENDED { get { if (!_SUSPENDEDReady) { _SUSPENDEDContent = SGetField(LocalBridgeClazz, "SUSPENDED"); _SUSPENDEDReady = true; } return _SUSPENDEDContent; } } + private static Android.Net.NetworkInfo.State _SUSPENDEDContent = default; + private static bool _SUSPENDEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.NetworkInfo.State UNKNOWN { get { if (!_UNKNOWNReady) { _UNKNOWNContent = SGetField(LocalBridgeClazz, "UNKNOWN"); _UNKNOWNReady = true; } return _UNKNOWNContent; } } + private static Android.Net.NetworkInfo.State _UNKNOWNContent = default; + private static bool _UNKNOWNReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Net.NetworkInfo.State ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/net/NetworkInfo$State;", arg0); + } + /// + /// + /// + /// + public static Android.Net.NetworkInfo.State[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/net/NetworkInfo$State;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/NetworkRequest.cs b/src/net/Netdroid/Generated/Android/Net/NetworkRequest.cs index c7c65b148..0fa6efee7 100644 --- a/src/net/Netdroid/Generated/Android/Net/NetworkRequest.cs +++ b/src/net/Netdroid/Generated/Android/Net/NetworkRequest.cs @@ -218,6 +218,16 @@ public Android.Net.NetworkRequest.Builder SetNetworkSpecifier(Android.Net.Networ { return IExecuteWithSignature("setNetworkSpecifier", "(Landroid/net/NetworkSpecifier;)Landroid/net/NetworkRequest$Builder;", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkRequest.Builder SetNetworkSpecifier(Java.Lang.String arg0) + { + return IExecuteWithSignature("setNetworkSpecifier", "(Ljava/lang/String;)Landroid/net/NetworkRequest$Builder;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Nsd/NsdManager.cs b/src/net/Netdroid/Generated/Android/Net/Nsd/NsdManager.cs index b7f61c50b..60b5f4360 100644 --- a/src/net/Netdroid/Generated/Android/Net/Nsd/NsdManager.cs +++ b/src/net/Netdroid/Generated/Android/Net/Nsd/NsdManager.cs @@ -171,6 +171,27 @@ public void RegisterServiceInfoCallback(Android.Net.Nsd.NsdServiceInfo arg0, Jav IExecute("registerServiceInfoCallback", arg0, arg1, arg2); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void ResolveService(Android.Net.Nsd.NsdServiceInfo arg0, Android.Net.Nsd.NsdManager.ResolveListener arg1) + { + IExecute("resolveService", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ResolveService(Android.Net.Nsd.NsdServiceInfo arg0, Java.Util.Concurrent.Executor arg1, Android.Net.Nsd.NsdManager.ResolveListener arg2) + { + IExecute("resolveService", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/Nsd/NsdServiceInfo.cs b/src/net/Netdroid/Generated/Android/Net/Nsd/NsdServiceInfo.cs index 5faffb5d1..9bebc4a24 100644 --- a/src/net/Netdroid/Generated/Android/Net/Nsd/NsdServiceInfo.cs +++ b/src/net/Netdroid/Generated/Android/Net/Nsd/NsdServiceInfo.cs @@ -59,6 +59,14 @@ public partial class NsdServiceInfo get { return IExecuteWithSignature>("getAttributes", "()Ljava/util/Map;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Net.InetAddress Host + { + get { return IExecuteWithSignature("getHost", "()Ljava/net/InetAddress;"); } set { IExecuteWithSignature("setHost", "(Ljava/net/InetAddress;)V", value); } + } + /// /// /// public Java.Util.List HostAddresses diff --git a/src/net/Netdroid/Generated/Android/Net/Proxy.cs b/src/net/Netdroid/Generated/Android/Net/Proxy.cs index 7c10ade75..dd1e148ce 100644 --- a/src/net/Netdroid/Generated/Android/Net/Proxy.cs +++ b/src/net/Netdroid/Generated/Android/Net/Proxy.cs @@ -47,6 +47,42 @@ public partial class Proxy #endregion #region Static methods + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DefaultHost + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getDefaultHost", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public static int DefaultPort + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getDefaultPort", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int GetPort(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getPort", "(Landroid/content/Context;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetHost(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getHost", "(Landroid/content/Context;)Ljava/lang/String;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Rtp/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Net/Rtp/AllPackageClasses.cs index da2c38c48..757c55ac9 100644 --- a/src/net/Netdroid/Generated/Android/Net/Rtp/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Net/Rtp/AllPackageClasses.cs @@ -26,6 +26,186 @@ namespace Android.Net.Rtp { + #region AudioCodec + /// + /// + /// + [System.Obsolete()] + public partial class AudioCodec : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.rtp.AudioCodec"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AudioCodec() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AudioCodec(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region AudioGroup + /// + /// + /// + [System.Obsolete()] + public partial class AudioGroup : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.rtp.AudioGroup"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AudioGroup() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AudioGroup(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region AudioStream + /// + /// + /// + [System.Obsolete()] + public partial class AudioStream : Android.Net.Rtp.RtpStream + { + const string _bridgeClassName = "android.net.rtp.AudioStream"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AudioStream() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AudioStream(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region RtpStream + /// + /// + /// + [System.Obsolete()] + public partial class RtpStream : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.rtp.RtpStream"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RtpStream() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RtpStream(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Rtp/AudioCodec.cs b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioCodec.cs new file mode 100644 index 000000000..f1544055a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioCodec.cs @@ -0,0 +1,134 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Rtp +{ + #region AudioCodec + public partial class AudioCodec + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int type { get { if (!_typeReady) { _typeContent = IGetField("type"); _typeReady = true; } return _typeContent; } } + private int _typeContent = default; + private bool _typeReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String fmtp { get { if (!_fmtpReady) { _fmtpContent = IGetField("fmtp"); _fmtpReady = true; } return _fmtpContent; } } + private Java.Lang.String _fmtpContent = default; + private bool _fmtpReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String rtpmap { get { if (!_rtpmapReady) { _rtpmapContent = IGetField("rtpmap"); _rtpmapReady = true; } return _rtpmapContent; } } + private Java.Lang.String _rtpmapContent = default; + private bool _rtpmapReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec AMR { get { if (!_AMRReady) { _AMRContent = SGetField(LocalBridgeClazz, "AMR"); _AMRReady = true; } return _AMRContent; } } + private static Android.Net.Rtp.AudioCodec _AMRContent = default; + private static bool _AMRReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec GSM { get { if (!_GSMReady) { _GSMContent = SGetField(LocalBridgeClazz, "GSM"); _GSMReady = true; } return _GSMContent; } } + private static Android.Net.Rtp.AudioCodec _GSMContent = default; + private static bool _GSMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec GSM_EFR { get { if (!_GSM_EFRReady) { _GSM_EFRContent = SGetField(LocalBridgeClazz, "GSM_EFR"); _GSM_EFRReady = true; } return _GSM_EFRContent; } } + private static Android.Net.Rtp.AudioCodec _GSM_EFRContent = default; + private static bool _GSM_EFRReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec PCMA { get { if (!_PCMAReady) { _PCMAContent = SGetField(LocalBridgeClazz, "PCMA"); _PCMAReady = true; } return _PCMAContent; } } + private static Android.Net.Rtp.AudioCodec _PCMAContent = default; + private static bool _PCMAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec PCMU { get { if (!_PCMUReady) { _PCMUContent = SGetField(LocalBridgeClazz, "PCMU"); _PCMUReady = true; } return _PCMUContent; } } + private static Android.Net.Rtp.AudioCodec _PCMUContent = default; + private static bool _PCMUReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec[] Codecs + { + get { return SExecuteWithSignatureArray(LocalBridgeClazz, "getCodecs", "()[Landroid/net/rtp/AudioCodec;"); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Rtp.AudioCodec GetCodec(int arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + return SExecute(LocalBridgeClazz, "getCodec", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Rtp/AudioGroup.cs b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioGroup.cs new file mode 100644 index 000000000..59f3fb8d5 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioGroup.cs @@ -0,0 +1,128 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Rtp +{ + #region AudioGroup + public partial class AudioGroup + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public AudioGroup(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int MODE_ECHO_SUPPRESSION { get { if (!_MODE_ECHO_SUPPRESSIONReady) { _MODE_ECHO_SUPPRESSIONContent = SGetField(LocalBridgeClazz, "MODE_ECHO_SUPPRESSION"); _MODE_ECHO_SUPPRESSIONReady = true; } return _MODE_ECHO_SUPPRESSIONContent; } } + private static int _MODE_ECHO_SUPPRESSIONContent = default; + private static bool _MODE_ECHO_SUPPRESSIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_MUTED { get { if (!_MODE_MUTEDReady) { _MODE_MUTEDContent = SGetField(LocalBridgeClazz, "MODE_MUTED"); _MODE_MUTEDReady = true; } return _MODE_MUTEDContent; } } + private static int _MODE_MUTEDContent = default; + private static bool _MODE_MUTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_NORMAL { get { if (!_MODE_NORMALReady) { _MODE_NORMALContent = SGetField(LocalBridgeClazz, "MODE_NORMAL"); _MODE_NORMALReady = true; } return _MODE_NORMALContent; } } + private static int _MODE_NORMALContent = default; + private static bool _MODE_NORMALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_ON_HOLD { get { if (!_MODE_ON_HOLDReady) { _MODE_ON_HOLDContent = SGetField(LocalBridgeClazz, "MODE_ON_HOLD"); _MODE_ON_HOLDReady = true; } return _MODE_ON_HOLDContent; } } + private static int _MODE_ON_HOLDContent = default; + private static bool _MODE_ON_HOLDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Mode + { + get { return IExecuteWithSignature("getMode", "()I"); } set { IExecuteWithSignature("setMode", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Rtp.AudioStream[] Streams + { + get { return IExecuteWithSignatureArray("getStreams", "()[Landroid/net/rtp/AudioStream;"); } + } + /// + /// + /// + [System.Obsolete()] + public void Clear() + { + IExecuteWithSignature("clear", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SendDtmf(int arg0) + { + IExecuteWithSignature("sendDtmf", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Rtp/AudioStream.cs b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioStream.cs new file mode 100644 index 000000000..97092155b --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Rtp/AudioStream.cs @@ -0,0 +1,101 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Rtp +{ + #region AudioStream + public partial class AudioStream + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public AudioStream(Java.Net.InetAddress arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Net.Rtp.AudioCodec Codec + { + get { return IExecuteWithSignature("getCodec", "()Landroid/net/rtp/AudioCodec;"); } set { IExecuteWithSignature("setCodec", "(Landroid/net/rtp/AudioCodec;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int DtmfType + { + get { return IExecuteWithSignature("getDtmfType", "()I"); } set { IExecuteWithSignature("setDtmfType", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Rtp.AudioGroup Group + { + get { return IExecuteWithSignature("getGroup", "()Landroid/net/rtp/AudioGroup;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void Join(Android.Net.Rtp.AudioGroup arg0) + { + IExecuteWithSignature("join", "(Landroid/net/rtp/AudioGroup;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Rtp/RtpStream.cs b/src/net/Netdroid/Generated/Android/Net/Rtp/RtpStream.cs new file mode 100644 index 000000000..361ce7ffe --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Rtp/RtpStream.cs @@ -0,0 +1,146 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Rtp +{ + #region RtpStream + public partial class RtpStream + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int MODE_NORMAL { get { if (!_MODE_NORMALReady) { _MODE_NORMALContent = SGetField(LocalBridgeClazz, "MODE_NORMAL"); _MODE_NORMALReady = true; } return _MODE_NORMALContent; } } + private static int _MODE_NORMALContent = default; + private static bool _MODE_NORMALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_RECEIVE_ONLY { get { if (!_MODE_RECEIVE_ONLYReady) { _MODE_RECEIVE_ONLYContent = SGetField(LocalBridgeClazz, "MODE_RECEIVE_ONLY"); _MODE_RECEIVE_ONLYReady = true; } return _MODE_RECEIVE_ONLYContent; } } + private static int _MODE_RECEIVE_ONLYContent = default; + private static bool _MODE_RECEIVE_ONLYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_SEND_ONLY { get { if (!_MODE_SEND_ONLYReady) { _MODE_SEND_ONLYContent = SGetField(LocalBridgeClazz, "MODE_SEND_ONLY"); _MODE_SEND_ONLYReady = true; } return _MODE_SEND_ONLYContent; } } + private static int _MODE_SEND_ONLYContent = default; + private static bool _MODE_SEND_ONLYReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Net.InetAddress LocalAddress + { + get { return IExecuteWithSignature("getLocalAddress", "()Ljava/net/InetAddress;"); } + } + /// + /// + /// + [System.Obsolete()] + public int LocalPort + { + get { return IExecuteWithSignature("getLocalPort", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Mode + { + get { return IExecuteWithSignature("getMode", "()I"); } set { IExecuteWithSignature("setMode", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Net.InetAddress RemoteAddress + { + get { return IExecuteWithSignature("getRemoteAddress", "()Ljava/net/InetAddress;"); } + } + /// + /// + /// + [System.Obsolete()] + public int RemotePort + { + get { return IExecuteWithSignature("getRemotePort", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsBusy() + { + return IExecuteWithSignature("isBusy", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Associate(Java.Net.InetAddress arg0, int arg1) + { + IExecute("associate", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void Release() + { + IExecuteWithSignature("release", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/SSLCertificateSocketFactory.cs b/src/net/Netdroid/Generated/Android/Net/SSLCertificateSocketFactory.cs new file mode 100644 index 000000000..3fef58f4e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/SSLCertificateSocketFactory.cs @@ -0,0 +1,156 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net +{ + #region SSLCertificateSocketFactory + public partial class SSLCertificateSocketFactory + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public SSLCertificateSocketFactory(int arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Javax.Net.SocketFactory GetDefault(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getDefault", "(I)Ljavax/net/SocketFactory;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Javax.Net.Ssl.SSLSocketFactory GetDefault(int arg0, Android.Net.SSLSessionCache arg1) + { + return SExecute(LocalBridgeClazz, "getDefault", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Javax.Net.Ssl.SSLSocketFactory GetInsecure(int arg0, Android.Net.SSLSessionCache arg1) + { + return SExecute(LocalBridgeClazz, "getInsecure", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] GetNpnSelectedProtocol(Java.Net.Socket arg0) + { + return IExecuteWithSignatureArray("getNpnSelectedProtocol", "(Ljava/net/Socket;)[B", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetHostname(Java.Net.Socket arg0, Java.Lang.String arg1) + { + IExecute("setHostname", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetKeyManagers(Javax.Net.Ssl.KeyManager[] arg0) + { + IExecuteWithSignature("setKeyManagers", "([Ljavax/net/ssl/KeyManager;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetNpnProtocols(byte[][] arg0) + { + IExecuteWithSignature("setNpnProtocols", "([[B)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetTrustManagers(Javax.Net.Ssl.TrustManager[] arg0) + { + IExecuteWithSignature("setTrustManagers", "([Ljavax/net/ssl/TrustManager;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetUseSessionTickets(Java.Net.Socket arg0, bool arg1) + { + IExecute("setUseSessionTickets", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Net/Sip/AllPackageClasses.cs index 15c39ea8b..d24c424da 100644 --- a/src/net/Netdroid/Generated/Android/Net/Sip/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Net/Sip/AllPackageClasses.cs @@ -26,6 +26,519 @@ namespace Android.Net.Sip { + #region SipAudioCall + /// + /// + /// + [System.Obsolete()] + public partial class SipAudioCall : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipAudioCall"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipAudioCall() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SipAudioCall(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Listener + /// + /// + /// + [System.Obsolete()] + public partial class Listener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Listener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.net.sip.Listener"; + + + // TODO: complete the class + + } + #endregion + + #region ListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class ListenerDirect : Listener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.net.sip.SipAudioCall$Listener"; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region SipErrorCode + /// + /// + /// + [System.Obsolete()] + public partial class SipErrorCode : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipErrorCode"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipErrorCode() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SipErrorCode(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region SipException + /// + /// + /// + [System.Obsolete()] + public partial class SipException : Java.Lang.Exception + { + const string _bridgeClassName = "android.net.sip.SipException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region SipManager + /// + /// + /// + [System.Obsolete()] + public partial class SipManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SipManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region SipProfile + /// + /// + /// + [System.Obsolete()] + public partial class SipProfile : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipProfile"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipProfile() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SipProfile(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipProfile$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region SipRegistrationListener + /// + /// + /// + [System.Obsolete()] + public partial class SipRegistrationListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipRegistrationListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.net.sip.SipRegistrationListener"; + + + // TODO: complete the class + + } + #endregion + + #region SipRegistrationListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class SipRegistrationListenerDirect : SipRegistrationListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.net.sip.SipRegistrationListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + } + #endregion + + #region SipSession + /// + /// + /// + [System.Obsolete()] + public partial class SipSession : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipSession"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SipSession() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SipSession(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Listener + /// + /// + /// + [System.Obsolete()] + public partial class Listener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Listener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.net.sip.Listener"; + + + // TODO: complete the class + + } + #endregion + + #region ListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class ListenerDirect : Listener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.net.sip.SipSession$Listener"; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region State + /// + /// + /// + [System.Obsolete()] + public partial class State : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.sip.SipSession$State"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public State() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public State(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipAudioCall.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipAudioCall.cs new file mode 100644 index 000000000..16c4a796a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipAudioCall.cs @@ -0,0 +1,647 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipAudioCall + public partial class SipAudioCall + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public SipAudioCall(Android.Content.Context arg0, Android.Net.Sip.SipProfile arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile LocalProfile + { + get { return IExecuteWithSignature("getLocalProfile", "()Landroid/net/sip/SipProfile;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile PeerProfile + { + get { return IExecuteWithSignature("getPeerProfile", "()Landroid/net/sip/SipProfile;"); } + } + /// + /// + /// + [System.Obsolete()] + public int State + { + get { return IExecuteWithSignature("getState", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsInCall() + { + return IExecuteWithSignature("isInCall", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsMuted() + { + return IExecuteWithSignature("isMuted", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsOnHold() + { + return IExecuteWithSignature("isOnHold", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AnswerCall(int arg0) + { + IExecuteWithSignature("answerCall", "(I)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AttachCall(Android.Net.Sip.SipSession arg0, Java.Lang.String arg1) + { + IExecute("attachCall", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void Close() + { + IExecuteWithSignature("close", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ContinueCall(int arg0) + { + IExecuteWithSignature("continueCall", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void EndCall() + { + IExecuteWithSignature("endCall", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void HoldCall(int arg0) + { + IExecuteWithSignature("holdCall", "(I)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void MakeCall(Android.Net.Sip.SipProfile arg0, Android.Net.Sip.SipSession arg1, int arg2) + { + IExecute("makeCall", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendDtmf(int arg0, Android.Os.Message arg1) + { + IExecute("sendDtmf", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SendDtmf(int arg0) + { + IExecuteWithSignature("sendDtmf", "(I)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetListener(Android.Net.Sip.SipAudioCall.Listener arg0, bool arg1) + { + IExecute("setListener", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListener(Android.Net.Sip.SipAudioCall.Listener arg0) + { + IExecuteWithSignature("setListener", "(Landroid/net/sip/SipAudioCall$Listener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSpeakerMode(bool arg0) + { + IExecuteWithSignature("setSpeakerMode", "(Z)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void StartAudio() + { + IExecuteWithSignature("startAudio", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void ToggleMute() + { + IExecuteWithSignature("toggleMute", "()V"); + } + + #endregion + + #region Nested classes + #region Listener + public partial class Listener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onCallBusy", new System.EventHandler>>(OnCallBusyEventHandler)); + AddEventHandler("onCallEnded", new System.EventHandler>>(OnCallEndedEventHandler)); + AddEventHandler("onCallEstablished", new System.EventHandler>>(OnCallEstablishedEventHandler)); + AddEventHandler("onCallHeld", new System.EventHandler>>(OnCallHeldEventHandler)); + AddEventHandler("onCalling", new System.EventHandler>>(OnCallingEventHandler)); + AddEventHandler("onChanged", new System.EventHandler>>(OnChangedEventHandler)); + AddEventHandler("onError", new System.EventHandler>>(OnErrorEventHandler)); + AddEventHandler("onReadyToCall", new System.EventHandler>>(OnReadyToCallEventHandler)); + AddEventHandler("onRinging", new System.EventHandler>>(OnRingingEventHandler)); + AddEventHandler("onRingingBack", new System.EventHandler>>(OnRingingBackEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallBusy { get; set; } = null; + + void OnCallBusyEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallBusy != null) ? OnOnCallBusy : OnCallBusy; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallBusy(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallEnded { get; set; } = null; + + void OnCallEndedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallEnded != null) ? OnOnCallEnded : OnCallEnded; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallEnded(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallEstablished { get; set; } = null; + + void OnCallEstablishedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallEstablished != null) ? OnOnCallEstablished : OnCallEstablished; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallEstablished(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallHeld { get; set; } = null; + + void OnCallHeldEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallHeld != null) ? OnOnCallHeld : OnCallHeld; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallHeld(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCalling { get; set; } = null; + + void OnCallingEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCalling != null) ? OnOnCalling : OnCalling; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCalling(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnChanged { get; set; } = null; + + void OnChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnChanged != null) ? OnOnChanged : OnChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnChanged(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnError { get; set; } = null; + + void OnErrorEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnError != null) ? OnOnError : OnError; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnError(Android.Net.Sip.SipAudioCall arg0, int arg1, Java.Lang.String arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnReadyToCall { get; set; } = null; + + void OnReadyToCallEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnReadyToCall != null) ? OnOnReadyToCall : OnReadyToCall; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnReadyToCall(Android.Net.Sip.SipAudioCall arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRinging { get; set; } = null; + + void OnRingingEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRinging != null) ? OnOnRinging : OnRinging; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRinging(Android.Net.Sip.SipAudioCall arg0, Android.Net.Sip.SipProfile arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRingingBack { get; set; } = null; + + void OnRingingBackEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRingingBack != null) ? OnOnRingingBack : OnRingingBack; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRingingBack(Android.Net.Sip.SipAudioCall arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ListenerDirect + public partial class ListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallBusy(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onCallBusy", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallEnded(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onCallEnded", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallEstablished(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onCallEstablished", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallHeld(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onCallHeld", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCalling(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onCalling", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnChanged(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onChanged", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnError(Android.Net.Sip.SipAudioCall arg0, int arg1, Java.Lang.String arg2) + { + IExecute("onError", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnReadyToCall(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onReadyToCall", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRinging(Android.Net.Sip.SipAudioCall arg0, Android.Net.Sip.SipProfile arg1) + { + IExecute("onRinging", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRingingBack(Android.Net.Sip.SipAudioCall arg0) + { + IExecuteWithSignature("onRingingBack", "(Landroid/net/sip/SipAudioCall;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipErrorCode.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipErrorCode.cs new file mode 100644 index 000000000..eceaaba5a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipErrorCode.cs @@ -0,0 +1,159 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipErrorCode + public partial class SipErrorCode + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CLIENT_ERROR { get { if (!_CLIENT_ERRORReady) { _CLIENT_ERRORContent = SGetField(LocalBridgeClazz, "CLIENT_ERROR"); _CLIENT_ERRORReady = true; } return _CLIENT_ERRORContent; } } + private static int _CLIENT_ERRORContent = default; + private static bool _CLIENT_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CROSS_DOMAIN_AUTHENTICATION { get { if (!_CROSS_DOMAIN_AUTHENTICATIONReady) { _CROSS_DOMAIN_AUTHENTICATIONContent = SGetField(LocalBridgeClazz, "CROSS_DOMAIN_AUTHENTICATION"); _CROSS_DOMAIN_AUTHENTICATIONReady = true; } return _CROSS_DOMAIN_AUTHENTICATIONContent; } } + private static int _CROSS_DOMAIN_AUTHENTICATIONContent = default; + private static bool _CROSS_DOMAIN_AUTHENTICATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DATA_CONNECTION_LOST { get { if (!_DATA_CONNECTION_LOSTReady) { _DATA_CONNECTION_LOSTContent = SGetField(LocalBridgeClazz, "DATA_CONNECTION_LOST"); _DATA_CONNECTION_LOSTReady = true; } return _DATA_CONNECTION_LOSTContent; } } + private static int _DATA_CONNECTION_LOSTContent = default; + private static bool _DATA_CONNECTION_LOSTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int IN_PROGRESS { get { if (!_IN_PROGRESSReady) { _IN_PROGRESSContent = SGetField(LocalBridgeClazz, "IN_PROGRESS"); _IN_PROGRESSReady = true; } return _IN_PROGRESSContent; } } + private static int _IN_PROGRESSContent = default; + private static bool _IN_PROGRESSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int INVALID_CREDENTIALS { get { if (!_INVALID_CREDENTIALSReady) { _INVALID_CREDENTIALSContent = SGetField(LocalBridgeClazz, "INVALID_CREDENTIALS"); _INVALID_CREDENTIALSReady = true; } return _INVALID_CREDENTIALSContent; } } + private static int _INVALID_CREDENTIALSContent = default; + private static bool _INVALID_CREDENTIALSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int INVALID_REMOTE_URI { get { if (!_INVALID_REMOTE_URIReady) { _INVALID_REMOTE_URIContent = SGetField(LocalBridgeClazz, "INVALID_REMOTE_URI"); _INVALID_REMOTE_URIReady = true; } return _INVALID_REMOTE_URIContent; } } + private static int _INVALID_REMOTE_URIContent = default; + private static bool _INVALID_REMOTE_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NO_ERROR { get { if (!_NO_ERRORReady) { _NO_ERRORContent = SGetField(LocalBridgeClazz, "NO_ERROR"); _NO_ERRORReady = true; } return _NO_ERRORContent; } } + private static int _NO_ERRORContent = default; + private static bool _NO_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PEER_NOT_REACHABLE { get { if (!_PEER_NOT_REACHABLEReady) { _PEER_NOT_REACHABLEContent = SGetField(LocalBridgeClazz, "PEER_NOT_REACHABLE"); _PEER_NOT_REACHABLEReady = true; } return _PEER_NOT_REACHABLEContent; } } + private static int _PEER_NOT_REACHABLEContent = default; + private static bool _PEER_NOT_REACHABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SERVER_ERROR { get { if (!_SERVER_ERRORReady) { _SERVER_ERRORContent = SGetField(LocalBridgeClazz, "SERVER_ERROR"); _SERVER_ERRORReady = true; } return _SERVER_ERRORContent; } } + private static int _SERVER_ERRORContent = default; + private static bool _SERVER_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SERVER_UNREACHABLE { get { if (!_SERVER_UNREACHABLEReady) { _SERVER_UNREACHABLEContent = SGetField(LocalBridgeClazz, "SERVER_UNREACHABLE"); _SERVER_UNREACHABLEReady = true; } return _SERVER_UNREACHABLEContent; } } + private static int _SERVER_UNREACHABLEContent = default; + private static bool _SERVER_UNREACHABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SOCKET_ERROR { get { if (!_SOCKET_ERRORReady) { _SOCKET_ERRORContent = SGetField(LocalBridgeClazz, "SOCKET_ERROR"); _SOCKET_ERRORReady = true; } return _SOCKET_ERRORContent; } } + private static int _SOCKET_ERRORContent = default; + private static bool _SOCKET_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TIME_OUT { get { if (!_TIME_OUTReady) { _TIME_OUTContent = SGetField(LocalBridgeClazz, "TIME_OUT"); _TIME_OUTReady = true; } return _TIME_OUTContent; } } + private static int _TIME_OUTContent = default; + private static bool _TIME_OUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSACTION_TERMINTED { get { if (!_TRANSACTION_TERMINTEDReady) { _TRANSACTION_TERMINTEDContent = SGetField(LocalBridgeClazz, "TRANSACTION_TERMINTED"); _TRANSACTION_TERMINTEDReady = true; } return _TRANSACTION_TERMINTEDContent; } } + private static int _TRANSACTION_TERMINTEDContent = default; + private static bool _TRANSACTION_TERMINTEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ToString(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "toString", "(I)Ljava/lang/String;", arg0); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipException.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipException.cs new file mode 100644 index 000000000..00bea0d41 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipException.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipException + public partial class SipException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipManager.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipManager.cs new file mode 100644 index 000000000..4fcde32d0 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipManager.cs @@ -0,0 +1,300 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipManager + public partial class SipManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int INCOMING_CALL_RESULT_CODE { get { if (!_INCOMING_CALL_RESULT_CODEReady) { _INCOMING_CALL_RESULT_CODEContent = SGetField(LocalBridgeClazz, "INCOMING_CALL_RESULT_CODE"); _INCOMING_CALL_RESULT_CODEReady = true; } return _INCOMING_CALL_RESULT_CODEContent; } } + private static int _INCOMING_CALL_RESULT_CODEContent = default; + private static bool _INCOMING_CALL_RESULT_CODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_CALL_ID { get { if (!_EXTRA_CALL_IDReady) { _EXTRA_CALL_IDContent = SGetField(LocalBridgeClazz, "EXTRA_CALL_ID"); _EXTRA_CALL_IDReady = true; } return _EXTRA_CALL_IDContent; } } + private static Java.Lang.String _EXTRA_CALL_IDContent = default; + private static bool _EXTRA_CALL_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_OFFER_SD { get { if (!_EXTRA_OFFER_SDReady) { _EXTRA_OFFER_SDContent = SGetField(LocalBridgeClazz, "EXTRA_OFFER_SD"); _EXTRA_OFFER_SDReady = true; } return _EXTRA_OFFER_SDContent; } } + private static Java.Lang.String _EXTRA_OFFER_SDContent = default; + private static bool _EXTRA_OFFER_SDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Sip.SipManager NewInstance(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "newInstance", "(Landroid/content/Context;)Landroid/net/sip/SipManager;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsApiSupported(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isApiSupported", "(Landroid/content/Context;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsIncomingCallIntent(Android.Content.Intent arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isIncomingCallIntent", "(Landroid/content/Intent;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsSipWifiOnly(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isSipWifiOnly", "(Landroid/content/Context;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsVoipSupported(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isVoipSupported", "(Landroid/content/Context;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetCallId(Android.Content.Intent arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getCallId", "(Landroid/content/Intent;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetOfferSessionDescription(Android.Content.Intent arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getOfferSessionDescription", "(Landroid/content/Intent;)Ljava/lang/String;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipAudioCall MakeAudioCall(Android.Net.Sip.SipProfile arg0, Android.Net.Sip.SipProfile arg1, Android.Net.Sip.SipAudioCall.Listener arg2, int arg3) + { + return IExecute("makeAudioCall", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipAudioCall MakeAudioCall(Java.Lang.String arg0, Java.Lang.String arg1, Android.Net.Sip.SipAudioCall.Listener arg2, int arg3) + { + return IExecute("makeAudioCall", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipAudioCall TakeAudioCall(Android.Content.Intent arg0, Android.Net.Sip.SipAudioCall.Listener arg1) + { + return IExecute("takeAudioCall", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipSession CreateSipSession(Android.Net.Sip.SipProfile arg0, Android.Net.Sip.SipSession.Listener arg1) + { + return IExecute("createSipSession", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipSession GetSessionFor(Android.Content.Intent arg0) + { + return IExecuteWithSignature("getSessionFor", "(Landroid/content/Intent;)Landroid/net/sip/SipSession;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsOpened(Java.Lang.String arg0) + { + return IExecuteWithSignature("isOpened", "(Ljava/lang/String;)Z", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsRegistered(Java.Lang.String arg0) + { + return IExecuteWithSignature("isRegistered", "(Ljava/lang/String;)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Close(Java.Lang.String arg0) + { + IExecuteWithSignature("close", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Open(Android.Net.Sip.SipProfile arg0, Android.App.PendingIntent arg1, Android.Net.Sip.SipRegistrationListener arg2) + { + IExecute("open", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Open(Android.Net.Sip.SipProfile arg0) + { + IExecuteWithSignature("open", "(Landroid/net/sip/SipProfile;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Register(Android.Net.Sip.SipProfile arg0, int arg1, Android.Net.Sip.SipRegistrationListener arg2) + { + IExecute("register", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetRegistrationListener(Java.Lang.String arg0, Android.Net.Sip.SipRegistrationListener arg1) + { + IExecute("setRegistrationListener", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Unregister(Android.Net.Sip.SipProfile arg0, Android.Net.Sip.SipRegistrationListener arg1) + { + IExecute("unregister", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipProfile.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipProfile.cs new file mode 100644 index 000000000..3c3554317 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipProfile.cs @@ -0,0 +1,363 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipProfile + public partial class SipProfile : Android.Os.IParcelable, Java.Io.ISerializable, Java.Lang.ICloneable + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Os.Parcelable(Android.Net.Sip.SipProfile t) => t.Cast(); + /// + /// Converter from to + /// + public static implicit operator Java.Io.Serializable(Android.Net.Sip.SipProfile t) => t.Cast(); + /// + /// Converter from to + /// + public static implicit operator Java.Lang.Cloneable(Android.Net.Sip.SipProfile t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String AuthUserName + { + get { return IExecuteWithSignature("getAuthUserName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool AutoRegistration + { + get { return IExecuteWithSignature("getAutoRegistration", "()Z"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DisplayName + { + get { return IExecuteWithSignature("getDisplayName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Password + { + get { return IExecuteWithSignature("getPassword", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Port + { + get { return IExecuteWithSignature("getPort", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ProfileName + { + get { return IExecuteWithSignature("getProfileName", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Protocol + { + get { return IExecuteWithSignature("getProtocol", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ProxyAddress + { + get { return IExecuteWithSignature("getProxyAddress", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool SendKeepAlive + { + get { return IExecuteWithSignature("getSendKeepAlive", "()Z"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SipDomain + { + get { return IExecuteWithSignature("getSipDomain", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String UriString + { + get { return IExecuteWithSignature("getUriString", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String UserName + { + get { return IExecuteWithSignature("getUserName", "()Ljava/lang/String;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetCallingUid(int arg0) + { + IExecuteWithSignature("setCallingUid", "(I)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Net.Sip.SipProfile arg0) + : base(arg0) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Java.Lang.String arg0, Java.Lang.String arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Java.Lang.String arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile Build() + { + return IExecuteWithSignature("build", "()Landroid/net/sip/SipProfile;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetAuthUserName(Java.Lang.String arg0) + { + return IExecuteWithSignature("setAuthUserName", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetAutoRegistration(bool arg0) + { + return IExecuteWithSignature("setAutoRegistration", "(Z)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetDisplayName(Java.Lang.String arg0) + { + return IExecuteWithSignature("setDisplayName", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetOutboundProxy(Java.Lang.String arg0) + { + return IExecuteWithSignature("setOutboundProxy", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetPassword(Java.Lang.String arg0) + { + return IExecuteWithSignature("setPassword", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetPort(int arg0) + { + return IExecuteWithSignature("setPort", "(I)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetProfileName(Java.Lang.String arg0) + { + return IExecuteWithSignature("setProfileName", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetProtocol(Java.Lang.String arg0) + { + return IExecuteWithSignature("setProtocol", "(Ljava/lang/String;)Landroid/net/sip/SipProfile$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile.Builder SetSendKeepAlive(bool arg0) + { + return IExecuteWithSignature("setSendKeepAlive", "(Z)Landroid/net/sip/SipProfile$Builder;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipRegistrationListener.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipRegistrationListener.cs new file mode 100644 index 000000000..1e1ac8259 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipRegistrationListener.cs @@ -0,0 +1,216 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region ISipRegistrationListener + /// + /// .NET interface for org.mases.netdroid.generated.android.net.sip.SipRegistrationListener implementing + /// + public partial interface ISipRegistrationListener + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SipRegistrationListener + public partial class SipRegistrationListener : Android.Net.Sip.ISipRegistrationListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onRegistering", new System.EventHandler>>(OnRegisteringEventHandler)); + AddEventHandler("onRegistrationDone", new System.EventHandler>>(OnRegistrationDoneEventHandler)); + AddEventHandler("onRegistrationFailed", new System.EventHandler>>(OnRegistrationFailedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistering { get; set; } = null; + + void OnRegisteringEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistering != null) ? OnOnRegistering : OnRegistering; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistering(Java.Lang.String arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationDone { get; set; } = null; + + void OnRegistrationDoneEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationDone != null) ? OnOnRegistrationDone : OnRegistrationDone; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationDone(Java.Lang.String arg0, long arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationFailed { get; set; } = null; + + void OnRegistrationFailedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationFailed != null) ? OnOnRegistrationFailed : OnRegistrationFailed; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationFailed(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SipRegistrationListenerDirect + public partial class SipRegistrationListenerDirect : Android.Net.Sip.ISipRegistrationListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistering(Java.Lang.String arg0) + { + IExecuteWithSignature("onRegistering", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationDone(Java.Lang.String arg0, long arg1) + { + IExecute("onRegistrationDone", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationFailed(Java.Lang.String arg0, int arg1, Java.Lang.String arg2) + { + IExecute("onRegistrationFailed", arg0, arg1, arg2); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Sip/SipSession.cs b/src/net/Netdroid/Generated/Android/Net/Sip/SipSession.cs new file mode 100644 index 000000000..114ef213a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Sip/SipSession.cs @@ -0,0 +1,763 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Sip +{ + #region SipSession + public partial class SipSession + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String CallId + { + get { return IExecuteWithSignature("getCallId", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int GetState + { + get { return IExecuteWithSignature("getState", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String LocalIp + { + get { return IExecuteWithSignature("getLocalIp", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile LocalProfile + { + get { return IExecuteWithSignature("getLocalProfile", "()Landroid/net/sip/SipProfile;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Sip.SipProfile PeerProfile + { + get { return IExecuteWithSignature("getPeerProfile", "()Landroid/net/sip/SipProfile;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsInCall() + { + return IExecuteWithSignature("isInCall", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AnswerCall(Java.Lang.String arg0, int arg1) + { + IExecute("answerCall", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ChangeCall(Java.Lang.String arg0, int arg1) + { + IExecute("changeCall", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void EndCall() + { + IExecuteWithSignature("endCall", "()V"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void MakeCall(Android.Net.Sip.SipProfile arg0, Java.Lang.String arg1, int arg2) + { + IExecute("makeCall", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Register(int arg0) + { + IExecuteWithSignature("register", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListener(Android.Net.Sip.SipSession.Listener arg0) + { + IExecuteWithSignature("setListener", "(Landroid/net/sip/SipSession$Listener;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Unregister() + { + IExecuteWithSignature("unregister", "()V"); + } + + #endregion + + #region Nested classes + #region Listener + public partial class Listener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onCallBusy", new System.EventHandler>>(OnCallBusyEventHandler)); + AddEventHandler("onCallChangeFailed", new System.EventHandler>>(OnCallChangeFailedEventHandler)); + AddEventHandler("onCallEnded", new System.EventHandler>>(OnCallEndedEventHandler)); + AddEventHandler("onCallEstablished", new System.EventHandler>>(OnCallEstablishedEventHandler)); + AddEventHandler("onCalling", new System.EventHandler>>(OnCallingEventHandler)); + AddEventHandler("onError", new System.EventHandler>>(OnErrorEventHandler)); + AddEventHandler("onRegistering", new System.EventHandler>>(OnRegisteringEventHandler)); + AddEventHandler("onRegistrationDone", new System.EventHandler>>(OnRegistrationDoneEventHandler)); + AddEventHandler("onRegistrationFailed", new System.EventHandler>>(OnRegistrationFailedEventHandler)); + AddEventHandler("onRegistrationTimeout", new System.EventHandler>>(OnRegistrationTimeoutEventHandler)); + AddEventHandler("onRinging", new System.EventHandler>>(OnRingingEventHandler)); + AddEventHandler("onRingingBack", new System.EventHandler>>(OnRingingBackEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallBusy { get; set; } = null; + + void OnCallBusyEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallBusy != null) ? OnOnCallBusy : OnCallBusy; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallBusy(Android.Net.Sip.SipSession arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallChangeFailed { get; set; } = null; + + void OnCallChangeFailedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallChangeFailed != null) ? OnOnCallChangeFailed : OnCallChangeFailed; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallChangeFailed(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallEnded { get; set; } = null; + + void OnCallEndedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallEnded != null) ? OnOnCallEnded : OnCallEnded; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallEnded(Android.Net.Sip.SipSession arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallEstablished { get; set; } = null; + + void OnCallEstablishedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallEstablished != null) ? OnOnCallEstablished : OnCallEstablished; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallEstablished(Android.Net.Sip.SipSession arg0, Java.Lang.String arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCalling { get; set; } = null; + + void OnCallingEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCalling != null) ? OnOnCalling : OnCalling; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCalling(Android.Net.Sip.SipSession arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnError { get; set; } = null; + + void OnErrorEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnError != null) ? OnOnError : OnError; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnError(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistering { get; set; } = null; + + void OnRegisteringEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistering != null) ? OnOnRegistering : OnRegistering; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistering(Android.Net.Sip.SipSession arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationDone { get; set; } = null; + + void OnRegistrationDoneEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationDone != null) ? OnOnRegistrationDone : OnRegistrationDone; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationDone(Android.Net.Sip.SipSession arg0, int arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationFailed { get; set; } = null; + + void OnRegistrationFailedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationFailed != null) ? OnOnRegistrationFailed : OnRegistrationFailed; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationFailed(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationTimeout { get; set; } = null; + + void OnRegistrationTimeoutEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationTimeout != null) ? OnOnRegistrationTimeout : OnRegistrationTimeout; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationTimeout(Android.Net.Sip.SipSession arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRinging { get; set; } = null; + + void OnRingingEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRinging != null) ? OnOnRinging : OnRinging; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRinging(Android.Net.Sip.SipSession arg0, Android.Net.Sip.SipProfile arg1, Java.Lang.String arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRingingBack { get; set; } = null; + + void OnRingingBackEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRingingBack != null) ? OnOnRingingBack : OnRingingBack; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRingingBack(Android.Net.Sip.SipSession arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ListenerDirect + public partial class ListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallBusy(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onCallBusy", "(Landroid/net/sip/SipSession;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallChangeFailed(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + IExecute("onCallChangeFailed", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallEnded(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onCallEnded", "(Landroid/net/sip/SipSession;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallEstablished(Android.Net.Sip.SipSession arg0, Java.Lang.String arg1) + { + IExecute("onCallEstablished", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCalling(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onCalling", "(Landroid/net/sip/SipSession;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnError(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + IExecute("onError", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistering(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onRegistering", "(Landroid/net/sip/SipSession;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationDone(Android.Net.Sip.SipSession arg0, int arg1) + { + IExecute("onRegistrationDone", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationFailed(Android.Net.Sip.SipSession arg0, int arg1, Java.Lang.String arg2) + { + IExecute("onRegistrationFailed", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationTimeout(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onRegistrationTimeout", "(Landroid/net/sip/SipSession;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRinging(Android.Net.Sip.SipSession arg0, Android.Net.Sip.SipProfile arg1, Java.Lang.String arg2) + { + IExecute("onRinging", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRingingBack(Android.Net.Sip.SipSession arg0) + { + IExecuteWithSignature("onRingingBack", "(Landroid/net/sip/SipSession;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region State + public partial class State + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int DEREGISTERING { get { if (!_DEREGISTERINGReady) { _DEREGISTERINGContent = SGetField(LocalBridgeClazz, "DEREGISTERING"); _DEREGISTERINGReady = true; } return _DEREGISTERINGContent; } } + private static int _DEREGISTERINGContent = default; + private static bool _DEREGISTERINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int IN_CALL { get { if (!_IN_CALLReady) { _IN_CALLContent = SGetField(LocalBridgeClazz, "IN_CALL"); _IN_CALLReady = true; } return _IN_CALLContent; } } + private static int _IN_CALLContent = default; + private static bool _IN_CALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int INCOMING_CALL { get { if (!_INCOMING_CALLReady) { _INCOMING_CALLContent = SGetField(LocalBridgeClazz, "INCOMING_CALL"); _INCOMING_CALLReady = true; } return _INCOMING_CALLContent; } } + private static int _INCOMING_CALLContent = default; + private static bool _INCOMING_CALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int INCOMING_CALL_ANSWERING { get { if (!_INCOMING_CALL_ANSWERINGReady) { _INCOMING_CALL_ANSWERINGContent = SGetField(LocalBridgeClazz, "INCOMING_CALL_ANSWERING"); _INCOMING_CALL_ANSWERINGReady = true; } return _INCOMING_CALL_ANSWERINGContent; } } + private static int _INCOMING_CALL_ANSWERINGContent = default; + private static bool _INCOMING_CALL_ANSWERINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NOT_DEFINED { get { if (!_NOT_DEFINEDReady) { _NOT_DEFINEDContent = SGetField(LocalBridgeClazz, "NOT_DEFINED"); _NOT_DEFINEDReady = true; } return _NOT_DEFINEDContent; } } + private static int _NOT_DEFINEDContent = default; + private static bool _NOT_DEFINEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OUTGOING_CALL { get { if (!_OUTGOING_CALLReady) { _OUTGOING_CALLContent = SGetField(LocalBridgeClazz, "OUTGOING_CALL"); _OUTGOING_CALLReady = true; } return _OUTGOING_CALLContent; } } + private static int _OUTGOING_CALLContent = default; + private static bool _OUTGOING_CALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OUTGOING_CALL_CANCELING { get { if (!_OUTGOING_CALL_CANCELINGReady) { _OUTGOING_CALL_CANCELINGContent = SGetField(LocalBridgeClazz, "OUTGOING_CALL_CANCELING"); _OUTGOING_CALL_CANCELINGReady = true; } return _OUTGOING_CALL_CANCELINGContent; } } + private static int _OUTGOING_CALL_CANCELINGContent = default; + private static bool _OUTGOING_CALL_CANCELINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OUTGOING_CALL_RING_BACK { get { if (!_OUTGOING_CALL_RING_BACKReady) { _OUTGOING_CALL_RING_BACKContent = SGetField(LocalBridgeClazz, "OUTGOING_CALL_RING_BACK"); _OUTGOING_CALL_RING_BACKReady = true; } return _OUTGOING_CALL_RING_BACKContent; } } + private static int _OUTGOING_CALL_RING_BACKContent = default; + private static bool _OUTGOING_CALL_RING_BACKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PINGING { get { if (!_PINGINGReady) { _PINGINGContent = SGetField(LocalBridgeClazz, "PINGING"); _PINGINGReady = true; } return _PINGINGContent; } } + private static int _PINGINGContent = default; + private static bool _PINGINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int READY_TO_CALL { get { if (!_READY_TO_CALLReady) { _READY_TO_CALLContent = SGetField(LocalBridgeClazz, "READY_TO_CALL"); _READY_TO_CALLReady = true; } return _READY_TO_CALLContent; } } + private static int _READY_TO_CALLContent = default; + private static bool _READY_TO_CALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int REGISTERING { get { if (!_REGISTERINGReady) { _REGISTERINGContent = SGetField(LocalBridgeClazz, "REGISTERING"); _REGISTERINGReady = true; } return _REGISTERINGContent; } } + private static int _REGISTERINGContent = default; + private static bool _REGISTERINGReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ToString(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "toString", "(I)Ljava/lang/String;", arg0); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/TrafficStats.cs b/src/net/Netdroid/Generated/Android/Net/TrafficStats.cs index f97157d1d..7c13f79af 100644 --- a/src/net/Netdroid/Generated/Android/Net/TrafficStats.cs +++ b/src/net/Netdroid/Generated/Android/Net/TrafficStats.cs @@ -181,6 +181,46 @@ public static long GetUidRxPackets(int arg0) return SExecuteWithSignature(LocalBridgeClazz, "getUidRxPackets", "(I)J", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidTcpRxBytes(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidTcpRxBytes", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidTcpRxSegments(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidTcpRxSegments", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidTcpTxBytes(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidTcpTxBytes", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidTcpTxSegments(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidTcpTxSegments", "(I)J", arg0); + } + /// /// /// /// @@ -199,6 +239,46 @@ public static long GetUidTxPackets(int arg0) return SExecuteWithSignature(LocalBridgeClazz, "getUidTxPackets", "(I)J", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidUdpRxBytes(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidUdpRxBytes", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidUdpRxPackets(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidUdpRxPackets", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidUdpTxBytes(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidUdpTxBytes", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static long GetUidUdpTxPackets(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getUidUdpTxPackets", "(I)J", arg0); + } + /// /// /// public static void ClearThreadStatsTag() diff --git a/src/net/Netdroid/Generated/Android/Net/VpnManager.cs b/src/net/Netdroid/Generated/Android/Net/VpnManager.cs index a363e8eba..9121e9a9c 100644 --- a/src/net/Netdroid/Generated/Android/Net/VpnManager.cs +++ b/src/net/Netdroid/Generated/Android/Net/VpnManager.cs @@ -191,6 +191,14 @@ public void DeleteProvisionedVpnProfile() IExecuteWithSignature("deleteProvisionedVpnProfile", "()V"); } /// + /// + /// + [System.Obsolete()] + public void StartProvisionedVpnProfile() + { + IExecuteWithSignature("startProvisionedVpnProfile", "()V"); + } + /// /// /// public void StopProvisionedVpnProfile() diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/AllPackageClasses.cs index 244c1242c..6ba15f1ea 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/AllPackageClasses.cs @@ -336,6 +336,366 @@ public WifiAvailableChannel(params object[] args) : base(args) { } } #endregion + #region WifiConfiguration + /// + /// + /// + [System.Obsolete()] + public partial class WifiConfiguration : Android.Os.Parcelable + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public WifiConfiguration() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public WifiConfiguration(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region AuthAlgorithm + /// + /// + /// + [System.Obsolete()] + public partial class AuthAlgorithm : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$AuthAlgorithm"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AuthAlgorithm() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AuthAlgorithm(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region GroupCipher + /// + /// + /// + [System.Obsolete()] + public partial class GroupCipher : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$GroupCipher"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GroupCipher() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GroupCipher(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region GroupMgmtCipher + /// + /// + /// + [System.Obsolete()] + public partial class GroupMgmtCipher : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$GroupMgmtCipher"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GroupMgmtCipher() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GroupMgmtCipher(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region KeyMgmt + /// + /// + /// + [System.Obsolete()] + public partial class KeyMgmt : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$KeyMgmt"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyMgmt() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyMgmt(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region PairwiseCipher + /// + /// + /// + [System.Obsolete()] + public partial class PairwiseCipher : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$PairwiseCipher"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PairwiseCipher() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PairwiseCipher(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Protocol + /// + /// + /// + [System.Obsolete()] + public partial class Protocol : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$Protocol"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Protocol() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Protocol(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Status + /// + /// + /// + [System.Obsolete()] + public partial class Status : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiConfiguration$Status"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Status() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Status(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region WifiEnterpriseConfig /// /// @@ -1129,6 +1489,53 @@ public WifiLock(params object[] args) : base(args) { } } #endregion + #region WpsCallback + /// + /// + /// + [System.Obsolete()] + public partial class WpsCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.net.wifi.WifiManager$WpsCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("WpsCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public WpsCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("WpsCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public WpsCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/DiscoverySession.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/DiscoverySession.cs index 2c8ace307..49aa0cfb3 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/DiscoverySession.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/DiscoverySession.cs @@ -46,6 +46,27 @@ public partial class DiscoverySession #region Instance methods /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkSpecifier CreateNetworkSpecifierOpen(Android.Net.Wifi.Aware.PeerHandle arg0) + { + return IExecuteWithSignature("createNetworkSpecifierOpen", "(Landroid/net/wifi/aware/PeerHandle;)Landroid/net/NetworkSpecifier;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkSpecifier CreateNetworkSpecifierPassphrase(Android.Net.Wifi.Aware.PeerHandle arg0, Java.Lang.String arg1) + { + return IExecute("createNetworkSpecifierPassphrase", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/WifiAwareSession.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/WifiAwareSession.cs index cd08fe625..5965b4fa3 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/WifiAwareSession.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/Aware/WifiAwareSession.cs @@ -46,6 +46,29 @@ public partial class WifiAwareSession #region Instance methods /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkSpecifier CreateNetworkSpecifierOpen(int arg0, byte[] arg1) + { + return IExecute("createNetworkSpecifierOpen", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.NetworkSpecifier CreateNetworkSpecifierPassphrase(int arg0, byte[] arg1, Java.Lang.String arg2) + { + return IExecute("createNetworkSpecifierPassphrase", arg0, arg1, arg2); + } + /// /// /// public void Close() diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/P2p/WifiP2pManager.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/P2p/WifiP2pManager.cs index 8cd12c959..2153aca23 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/P2p/WifiP2pManager.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/P2p/WifiP2pManager.cs @@ -1714,9 +1714,31 @@ public partial class NetworkInfoListener /// protected virtual void InitializeHandlers() { + AddEventHandler("onNetworkInfoAvailable", new System.EventHandler>>(OnNetworkInfoAvailableEventHandler)); } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnNetworkInfoAvailable { get; set; } = null; + + void OnNetworkInfoAvailableEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnNetworkInfoAvailable != null) ? OnOnNetworkInfoAvailable : OnNetworkInfoAvailable; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + public virtual void OnNetworkInfoAvailable(Android.Net.NetworkInfo arg0) + { + + } + #endregion #region Nested classes @@ -1747,6 +1769,14 @@ public partial class NetworkInfoListenerDirect #endregion #region Instance methods + /// + /// + /// + /// + public override void OnNetworkInfoAvailable(Android.Net.NetworkInfo arg0) + { + IExecuteWithSignature("onNetworkInfoAvailable", "(Landroid/net/NetworkInfo;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/ScanResult.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/ScanResult.cs index c3c7915e7..d0e9b7c8e 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/ScanResult.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/ScanResult.cs @@ -66,6 +66,16 @@ public ScanResult(Android.Net.Wifi.ScanResult arg0) /// public int level { get { return IGetField("level"); } set { ISetField("level", value); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence operatorFriendlyName { get { return IGetField("operatorFriendlyName"); } set { ISetField("operatorFriendlyName", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence venueName { get { return IGetField("venueName"); } set { ISetField("venueName", value); } } + /// /// /// public Java.Lang.String BSSID { get { return IGetField("BSSID"); } set { ISetField("BSSID", value); } } @@ -74,6 +84,11 @@ public ScanResult(Android.Net.Wifi.ScanResult arg0) /// public Java.Lang.String capabilities { get { return IGetField("capabilities"); } set { ISetField("capabilities", value); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SSID { get { return IGetField("SSID"); } set { ISetField("SSID", value); } } + /// /// /// public long timestamp { get { return IGetField("timestamp"); } set { ISetField("timestamp", value); } } diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/SoftApConfiguration.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/SoftApConfiguration.cs index 7ee9a2f0d..fd4295a1a 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/SoftApConfiguration.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/SoftApConfiguration.cs @@ -109,6 +109,14 @@ public int SecurityType get { return IExecuteWithSignature("getSecurityType", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Ssid + { + get { return IExecuteWithSignature("getSsid", "()Ljava/lang/String;"); } + } + /// /// /// public Android.Net.Wifi.WifiSsid WifiSsid diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiConfiguration.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiConfiguration.cs new file mode 100644 index 000000000..364bfba13 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiConfiguration.cs @@ -0,0 +1,971 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Net.Wifi +{ + #region WifiConfiguration + public partial class WifiConfiguration + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public WifiConfiguration(Android.Net.Wifi.WifiConfiguration arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiEnterpriseConfig enterpriseConfig { get { return IGetField("enterpriseConfig"); } set { ISetField("enterpriseConfig", value); } } + /// + /// + /// + [System.Obsolete()] + public bool hiddenSSID { get { return IGetField("hiddenSSID"); } set { ISetField("hiddenSSID", value); } } + /// + /// + /// + [System.Obsolete()] + public bool isHomeProviderNetwork { get { return IGetField("isHomeProviderNetwork"); } set { ISetField("isHomeProviderNetwork", value); } } + /// + /// + /// + [System.Obsolete()] + public int networkId { get { return IGetField("networkId"); } set { ISetField("networkId", value); } } + /// + /// + /// + [System.Obsolete()] + public int priority { get { return IGetField("priority"); } set { ISetField("priority", value); } } + /// + /// + /// + [System.Obsolete()] + public int status { get { return IGetField("status"); } set { ISetField("status", value); } } + /// + /// + /// + [System.Obsolete()] + public int wepTxKeyIndex { get { return IGetField("wepTxKeyIndex"); } set { ISetField("wepTxKeyIndex", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String BSSID { get { return IGetField("BSSID"); } set { ISetField("BSSID", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String FQDN { get { return IGetField("FQDN"); } set { ISetField("FQDN", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String preSharedKey { get { return IGetField("preSharedKey"); } set { ISetField("preSharedKey", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String providerFriendlyName { get { return IGetField("providerFriendlyName"); } set { ISetField("providerFriendlyName", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SSID { get { return IGetField("SSID"); } set { ISetField("SSID", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String[] wepKeys { get { return IGetFieldArray("wepKeys"); } set { ISetField("wepKeys", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedAuthAlgorithms { get { return IGetField("allowedAuthAlgorithms"); } set { ISetField("allowedAuthAlgorithms", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedGroupCiphers { get { return IGetField("allowedGroupCiphers"); } set { ISetField("allowedGroupCiphers", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedGroupManagementCiphers { get { return IGetField("allowedGroupManagementCiphers"); } set { ISetField("allowedGroupManagementCiphers", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedKeyManagement { get { return IGetField("allowedKeyManagement"); } set { ISetField("allowedKeyManagement", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedPairwiseCiphers { get { return IGetField("allowedPairwiseCiphers"); } set { ISetField("allowedPairwiseCiphers", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedProtocols { get { return IGetField("allowedProtocols"); } set { ISetField("allowedProtocols", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Util.BitSet allowedSuiteBCiphers { get { return IGetField("allowedSuiteBCiphers"); } set { ISetField("allowedSuiteBCiphers", value); } } + /// + /// + /// + [System.Obsolete()] + public long[] roamingConsortiumIds { get { return IGetFieldArray("roamingConsortiumIds"); } set { ISetField("roamingConsortiumIds", value); } } + /// + /// + /// + [System.Obsolete()] + public static int RANDOMIZATION_AUTO { get { if (!_RANDOMIZATION_AUTOReady) { _RANDOMIZATION_AUTOContent = SGetField(LocalBridgeClazz, "RANDOMIZATION_AUTO"); _RANDOMIZATION_AUTOReady = true; } return _RANDOMIZATION_AUTOContent; } } + private static int _RANDOMIZATION_AUTOContent = default; + private static bool _RANDOMIZATION_AUTOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RANDOMIZATION_NON_PERSISTENT { get { if (!_RANDOMIZATION_NON_PERSISTENTReady) { _RANDOMIZATION_NON_PERSISTENTContent = SGetField(LocalBridgeClazz, "RANDOMIZATION_NON_PERSISTENT"); _RANDOMIZATION_NON_PERSISTENTReady = true; } return _RANDOMIZATION_NON_PERSISTENTContent; } } + private static int _RANDOMIZATION_NON_PERSISTENTContent = default; + private static bool _RANDOMIZATION_NON_PERSISTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RANDOMIZATION_NONE { get { if (!_RANDOMIZATION_NONEReady) { _RANDOMIZATION_NONEContent = SGetField(LocalBridgeClazz, "RANDOMIZATION_NONE"); _RANDOMIZATION_NONEReady = true; } return _RANDOMIZATION_NONEContent; } } + private static int _RANDOMIZATION_NONEContent = default; + private static bool _RANDOMIZATION_NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RANDOMIZATION_PERSISTENT { get { if (!_RANDOMIZATION_PERSISTENTReady) { _RANDOMIZATION_PERSISTENTContent = SGetField(LocalBridgeClazz, "RANDOMIZATION_PERSISTENT"); _RANDOMIZATION_PERSISTENTReady = true; } return _RANDOMIZATION_PERSISTENTContent; } } + private static int _RANDOMIZATION_PERSISTENTContent = default; + private static bool _RANDOMIZATION_PERSISTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_DPP { get { if (!_SECURITY_TYPE_DPPReady) { _SECURITY_TYPE_DPPContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_DPP"); _SECURITY_TYPE_DPPReady = true; } return _SECURITY_TYPE_DPPContent; } } + private static int _SECURITY_TYPE_DPPContent = default; + private static bool _SECURITY_TYPE_DPPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_EAP { get { if (!_SECURITY_TYPE_EAPReady) { _SECURITY_TYPE_EAPContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_EAP"); _SECURITY_TYPE_EAPReady = true; } return _SECURITY_TYPE_EAPContent; } } + private static int _SECURITY_TYPE_EAPContent = default; + private static bool _SECURITY_TYPE_EAPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_EAP_SUITE_B { get { if (!_SECURITY_TYPE_EAP_SUITE_BReady) { _SECURITY_TYPE_EAP_SUITE_BContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_EAP_SUITE_B"); _SECURITY_TYPE_EAP_SUITE_BReady = true; } return _SECURITY_TYPE_EAP_SUITE_BContent; } } + private static int _SECURITY_TYPE_EAP_SUITE_BContent = default; + private static bool _SECURITY_TYPE_EAP_SUITE_BReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_EAP_WPA3_ENTERPRISE { get { if (!_SECURITY_TYPE_EAP_WPA3_ENTERPRISEReady) { _SECURITY_TYPE_EAP_WPA3_ENTERPRISEContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_EAP_WPA3_ENTERPRISE"); _SECURITY_TYPE_EAP_WPA3_ENTERPRISEReady = true; } return _SECURITY_TYPE_EAP_WPA3_ENTERPRISEContent; } } + private static int _SECURITY_TYPE_EAP_WPA3_ENTERPRISEContent = default; + private static bool _SECURITY_TYPE_EAP_WPA3_ENTERPRISEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT { get { if (!_SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITReady) { _SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT"); _SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITReady = true; } return _SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITContent; } } + private static int _SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITContent = default; + private static bool _SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_OPEN { get { if (!_SECURITY_TYPE_OPENReady) { _SECURITY_TYPE_OPENContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_OPEN"); _SECURITY_TYPE_OPENReady = true; } return _SECURITY_TYPE_OPENContent; } } + private static int _SECURITY_TYPE_OPENContent = default; + private static bool _SECURITY_TYPE_OPENReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_OWE { get { if (!_SECURITY_TYPE_OWEReady) { _SECURITY_TYPE_OWEContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_OWE"); _SECURITY_TYPE_OWEReady = true; } return _SECURITY_TYPE_OWEContent; } } + private static int _SECURITY_TYPE_OWEContent = default; + private static bool _SECURITY_TYPE_OWEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_PSK { get { if (!_SECURITY_TYPE_PSKReady) { _SECURITY_TYPE_PSKContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_PSK"); _SECURITY_TYPE_PSKReady = true; } return _SECURITY_TYPE_PSKContent; } } + private static int _SECURITY_TYPE_PSKContent = default; + private static bool _SECURITY_TYPE_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_SAE { get { if (!_SECURITY_TYPE_SAEReady) { _SECURITY_TYPE_SAEContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_SAE"); _SECURITY_TYPE_SAEReady = true; } return _SECURITY_TYPE_SAEContent; } } + private static int _SECURITY_TYPE_SAEContent = default; + private static bool _SECURITY_TYPE_SAEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_WAPI_CERT { get { if (!_SECURITY_TYPE_WAPI_CERTReady) { _SECURITY_TYPE_WAPI_CERTContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_WAPI_CERT"); _SECURITY_TYPE_WAPI_CERTReady = true; } return _SECURITY_TYPE_WAPI_CERTContent; } } + private static int _SECURITY_TYPE_WAPI_CERTContent = default; + private static bool _SECURITY_TYPE_WAPI_CERTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_WAPI_PSK { get { if (!_SECURITY_TYPE_WAPI_PSKReady) { _SECURITY_TYPE_WAPI_PSKContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_WAPI_PSK"); _SECURITY_TYPE_WAPI_PSKReady = true; } return _SECURITY_TYPE_WAPI_PSKContent; } } + private static int _SECURITY_TYPE_WAPI_PSKContent = default; + private static bool _SECURITY_TYPE_WAPI_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SECURITY_TYPE_WEP { get { if (!_SECURITY_TYPE_WEPReady) { _SECURITY_TYPE_WEPContent = SGetField(LocalBridgeClazz, "SECURITY_TYPE_WEP"); _SECURITY_TYPE_WEPReady = true; } return _SECURITY_TYPE_WEPContent; } } + private static int _SECURITY_TYPE_WEPContent = default; + private static bool _SECURITY_TYPE_WEPReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Net.ProxyInfo HttpProxy + { + get { return IExecuteWithSignature("getHttpProxy", "()Landroid/net/ProxyInfo;"); } set { IExecuteWithSignature("setHttpProxy", "(Landroid/net/ProxyInfo;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Key + { + get { return IExecuteWithSignature("getKey", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int MacRandomizationSetting + { + get { return IExecuteWithSignature("getMacRandomizationSetting", "()I"); } set { IExecuteWithSignature("setMacRandomizationSetting", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.MacAddress RandomizedMacAddress + { + get { return IExecuteWithSignature("getRandomizedMacAddress", "()Landroid/net/MacAddress;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsDppConfigurator() + { + return IExecuteWithSignature("isDppConfigurator", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsPasspoint() + { + return IExecuteWithSignature("isPasspoint", "()Z"); + } + /// + /// + /// + /// + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIpConfiguration(Android.Net.IpConfiguration arg0) + { + IExecuteWithSignature("setIpConfiguration", "(Landroid/net/IpConfiguration;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSecurityParams(int arg0) + { + IExecuteWithSignature("setSecurityParams", "(I)V", arg0); + } + /// + /// + /// + /// + /// + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + #region AuthAlgorithm + public partial class AuthAlgorithm + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int LEAP { get { if (!_LEAPReady) { _LEAPContent = SGetField(LocalBridgeClazz, "LEAP"); _LEAPReady = true; } return _LEAPContent; } } + private static int _LEAPContent = default; + private static bool _LEAPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OPEN { get { if (!_OPENReady) { _OPENContent = SGetField(LocalBridgeClazz, "OPEN"); _OPENReady = true; } return _OPENContent; } } + private static int _OPENContent = default; + private static bool _OPENReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SAE { get { if (!_SAEReady) { _SAEContent = SGetField(LocalBridgeClazz, "SAE"); _SAEReady = true; } return _SAEContent; } } + private static int _SAEContent = default; + private static bool _SAEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SHARED { get { if (!_SHAREDReady) { _SHAREDContent = SGetField(LocalBridgeClazz, "SHARED"); _SHAREDReady = true; } return _SHAREDContent; } } + private static int _SHAREDContent = default; + private static bool _SHAREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String varName { get { if (!_varNameReady) { _varNameContent = SGetField(LocalBridgeClazz, "varName"); _varNameReady = true; } return _varNameContent; } } + private static Java.Lang.String _varNameContent = default; + private static bool _varNameReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region GroupCipher + public partial class GroupCipher + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CCMP { get { if (!_CCMPReady) { _CCMPContent = SGetField(LocalBridgeClazz, "CCMP"); _CCMPReady = true; } return _CCMPContent; } } + private static int _CCMPContent = default; + private static bool _CCMPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GCMP_128 { get { if (!_GCMP_128Ready) { _GCMP_128Content = SGetField(LocalBridgeClazz, "GCMP_128"); _GCMP_128Ready = true; } return _GCMP_128Content; } } + private static int _GCMP_128Content = default; + private static bool _GCMP_128Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GCMP_256 { get { if (!_GCMP_256Ready) { _GCMP_256Content = SGetField(LocalBridgeClazz, "GCMP_256"); _GCMP_256Ready = true; } return _GCMP_256Content; } } + private static int _GCMP_256Content = default; + private static bool _GCMP_256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SMS4 { get { if (!_SMS4Ready) { _SMS4Content = SGetField(LocalBridgeClazz, "SMS4"); _SMS4Ready = true; } return _SMS4Content; } } + private static int _SMS4Content = default; + private static bool _SMS4Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TKIP { get { if (!_TKIPReady) { _TKIPContent = SGetField(LocalBridgeClazz, "TKIP"); _TKIPReady = true; } return _TKIPContent; } } + private static int _TKIPContent = default; + private static bool _TKIPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WEP104 { get { if (!_WEP104Ready) { _WEP104Content = SGetField(LocalBridgeClazz, "WEP104"); _WEP104Ready = true; } return _WEP104Content; } } + private static int _WEP104Content = default; + private static bool _WEP104Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WEP40 { get { if (!_WEP40Ready) { _WEP40Content = SGetField(LocalBridgeClazz, "WEP40"); _WEP40Ready = true; } return _WEP40Content; } } + private static int _WEP40Content = default; + private static bool _WEP40Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String varName { get { if (!_varNameReady) { _varNameContent = SGetField(LocalBridgeClazz, "varName"); _varNameReady = true; } return _varNameContent; } } + private static Java.Lang.String _varNameContent = default; + private static bool _varNameReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region GroupMgmtCipher + public partial class GroupMgmtCipher + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int BIP_CMAC_256 { get { if (!_BIP_CMAC_256Ready) { _BIP_CMAC_256Content = SGetField(LocalBridgeClazz, "BIP_CMAC_256"); _BIP_CMAC_256Ready = true; } return _BIP_CMAC_256Content; } } + private static int _BIP_CMAC_256Content = default; + private static bool _BIP_CMAC_256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BIP_GMAC_128 { get { if (!_BIP_GMAC_128Ready) { _BIP_GMAC_128Content = SGetField(LocalBridgeClazz, "BIP_GMAC_128"); _BIP_GMAC_128Ready = true; } return _BIP_GMAC_128Content; } } + private static int _BIP_GMAC_128Content = default; + private static bool _BIP_GMAC_128Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int BIP_GMAC_256 { get { if (!_BIP_GMAC_256Ready) { _BIP_GMAC_256Content = SGetField(LocalBridgeClazz, "BIP_GMAC_256"); _BIP_GMAC_256Ready = true; } return _BIP_GMAC_256Content; } } + private static int _BIP_GMAC_256Content = default; + private static bool _BIP_GMAC_256Ready = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region KeyMgmt + public partial class KeyMgmt + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int DPP { get { if (!_DPPReady) { _DPPContent = SGetField(LocalBridgeClazz, "DPP"); _DPPReady = true; } return _DPPContent; } } + private static int _DPPContent = default; + private static bool _DPPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FILS_SHA256 { get { if (!_FILS_SHA256Ready) { _FILS_SHA256Content = SGetField(LocalBridgeClazz, "FILS_SHA256"); _FILS_SHA256Ready = true; } return _FILS_SHA256Content; } } + private static int _FILS_SHA256Content = default; + private static bool _FILS_SHA256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FILS_SHA384 { get { if (!_FILS_SHA384Ready) { _FILS_SHA384Content = SGetField(LocalBridgeClazz, "FILS_SHA384"); _FILS_SHA384Ready = true; } return _FILS_SHA384Content; } } + private static int _FILS_SHA384Content = default; + private static bool _FILS_SHA384Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FT_EAP { get { if (!_FT_EAPReady) { _FT_EAPContent = SGetField(LocalBridgeClazz, "FT_EAP"); _FT_EAPReady = true; } return _FT_EAPContent; } } + private static int _FT_EAPContent = default; + private static bool _FT_EAPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FT_PSK { get { if (!_FT_PSKReady) { _FT_PSKContent = SGetField(LocalBridgeClazz, "FT_PSK"); _FT_PSKReady = true; } return _FT_PSKContent; } } + private static int _FT_PSKContent = default; + private static bool _FT_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int IEEE8021X { get { if (!_IEEE8021XReady) { _IEEE8021XContent = SGetField(LocalBridgeClazz, "IEEE8021X"); _IEEE8021XReady = true; } return _IEEE8021XContent; } } + private static int _IEEE8021XContent = default; + private static bool _IEEE8021XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NONE { get { if (!_NONEReady) { _NONEContent = SGetField(LocalBridgeClazz, "NONE"); _NONEReady = true; } return _NONEContent; } } + private static int _NONEContent = default; + private static bool _NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OSEN { get { if (!_OSENReady) { _OSENContent = SGetField(LocalBridgeClazz, "OSEN"); _OSENReady = true; } return _OSENContent; } } + private static int _OSENContent = default; + private static bool _OSENReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OWE { get { if (!_OWEReady) { _OWEContent = SGetField(LocalBridgeClazz, "OWE"); _OWEReady = true; } return _OWEContent; } } + private static int _OWEContent = default; + private static bool _OWEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SAE { get { if (!_SAEReady) { _SAEContent = SGetField(LocalBridgeClazz, "SAE"); _SAEReady = true; } return _SAEContent; } } + private static int _SAEContent = default; + private static bool _SAEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SUITE_B_192 { get { if (!_SUITE_B_192Ready) { _SUITE_B_192Content = SGetField(LocalBridgeClazz, "SUITE_B_192"); _SUITE_B_192Ready = true; } return _SUITE_B_192Content; } } + private static int _SUITE_B_192Content = default; + private static bool _SUITE_B_192Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WAPI_CERT { get { if (!_WAPI_CERTReady) { _WAPI_CERTContent = SGetField(LocalBridgeClazz, "WAPI_CERT"); _WAPI_CERTReady = true; } return _WAPI_CERTContent; } } + private static int _WAPI_CERTContent = default; + private static bool _WAPI_CERTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WAPI_PSK { get { if (!_WAPI_PSKReady) { _WAPI_PSKContent = SGetField(LocalBridgeClazz, "WAPI_PSK"); _WAPI_PSKReady = true; } return _WAPI_PSKContent; } } + private static int _WAPI_PSKContent = default; + private static bool _WAPI_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA_EAP { get { if (!_WPA_EAPReady) { _WPA_EAPContent = SGetField(LocalBridgeClazz, "WPA_EAP"); _WPA_EAPReady = true; } return _WPA_EAPContent; } } + private static int _WPA_EAPContent = default; + private static bool _WPA_EAPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA_EAP_SHA256 { get { if (!_WPA_EAP_SHA256Ready) { _WPA_EAP_SHA256Content = SGetField(LocalBridgeClazz, "WPA_EAP_SHA256"); _WPA_EAP_SHA256Ready = true; } return _WPA_EAP_SHA256Content; } } + private static int _WPA_EAP_SHA256Content = default; + private static bool _WPA_EAP_SHA256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA_PSK { get { if (!_WPA_PSKReady) { _WPA_PSKContent = SGetField(LocalBridgeClazz, "WPA_PSK"); _WPA_PSKReady = true; } return _WPA_PSKContent; } } + private static int _WPA_PSKContent = default; + private static bool _WPA_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA_PSK_SHA256 { get { if (!_WPA_PSK_SHA256Ready) { _WPA_PSK_SHA256Content = SGetField(LocalBridgeClazz, "WPA_PSK_SHA256"); _WPA_PSK_SHA256Ready = true; } return _WPA_PSK_SHA256Content; } } + private static int _WPA_PSK_SHA256Content = default; + private static bool _WPA_PSK_SHA256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA2_PSK { get { if (!_WPA2_PSKReady) { _WPA2_PSKContent = SGetField(LocalBridgeClazz, "WPA2_PSK"); _WPA2_PSKReady = true; } return _WPA2_PSKContent; } } + private static int _WPA2_PSKContent = default; + private static bool _WPA2_PSKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String varName { get { if (!_varNameReady) { _varNameContent = SGetField(LocalBridgeClazz, "varName"); _varNameReady = true; } return _varNameContent; } } + private static Java.Lang.String _varNameContent = default; + private static bool _varNameReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PairwiseCipher + public partial class PairwiseCipher + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CCMP { get { if (!_CCMPReady) { _CCMPContent = SGetField(LocalBridgeClazz, "CCMP"); _CCMPReady = true; } return _CCMPContent; } } + private static int _CCMPContent = default; + private static bool _CCMPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GCMP_128 { get { if (!_GCMP_128Ready) { _GCMP_128Content = SGetField(LocalBridgeClazz, "GCMP_128"); _GCMP_128Ready = true; } return _GCMP_128Content; } } + private static int _GCMP_128Content = default; + private static bool _GCMP_128Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int GCMP_256 { get { if (!_GCMP_256Ready) { _GCMP_256Content = SGetField(LocalBridgeClazz, "GCMP_256"); _GCMP_256Ready = true; } return _GCMP_256Content; } } + private static int _GCMP_256Content = default; + private static bool _GCMP_256Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NONE { get { if (!_NONEReady) { _NONEContent = SGetField(LocalBridgeClazz, "NONE"); _NONEReady = true; } return _NONEContent; } } + private static int _NONEContent = default; + private static bool _NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SMS4 { get { if (!_SMS4Ready) { _SMS4Content = SGetField(LocalBridgeClazz, "SMS4"); _SMS4Ready = true; } return _SMS4Content; } } + private static int _SMS4Content = default; + private static bool _SMS4Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TKIP { get { if (!_TKIPReady) { _TKIPContent = SGetField(LocalBridgeClazz, "TKIP"); _TKIPReady = true; } return _TKIPContent; } } + private static int _TKIPContent = default; + private static bool _TKIPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String varName { get { if (!_varNameReady) { _varNameContent = SGetField(LocalBridgeClazz, "varName"); _varNameReady = true; } return _varNameContent; } } + private static Java.Lang.String _varNameContent = default; + private static bool _varNameReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Protocol + public partial class Protocol + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int RSN { get { if (!_RSNReady) { _RSNContent = SGetField(LocalBridgeClazz, "RSN"); _RSNReady = true; } return _RSNContent; } } + private static int _RSNContent = default; + private static bool _RSNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WAPI { get { if (!_WAPIReady) { _WAPIContent = SGetField(LocalBridgeClazz, "WAPI"); _WAPIReady = true; } return _WAPIContent; } } + private static int _WAPIContent = default; + private static bool _WAPIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPA { get { if (!_WPAReady) { _WPAContent = SGetField(LocalBridgeClazz, "WPA"); _WPAReady = true; } return _WPAContent; } } + private static int _WPAContent = default; + private static bool _WPAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String varName { get { if (!_varNameReady) { _varNameContent = SGetField(LocalBridgeClazz, "varName"); _varNameReady = true; } return _varNameContent; } } + private static Java.Lang.String _varNameContent = default; + private static bool _varNameReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Status + public partial class Status + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CURRENT { get { if (!_CURRENTReady) { _CURRENTContent = SGetField(LocalBridgeClazz, "CURRENT"); _CURRENTReady = true; } return _CURRENTContent; } } + private static int _CURRENTContent = default; + private static bool _CURRENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DISABLED { get { if (!_DISABLEDReady) { _DISABLEDContent = SGetField(LocalBridgeClazz, "DISABLED"); _DISABLEDReady = true; } return _DISABLEDContent; } } + private static int _DISABLEDContent = default; + private static bool _DISABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ENABLED { get { if (!_ENABLEDReady) { _ENABLEDContent = SGetField(LocalBridgeClazz, "ENABLED"); _ENABLEDReady = true; } return _ENABLEDContent; } } + private static int _ENABLEDContent = default; + private static bool _ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String[] strings { get { if (!_stringsReady) { _stringsContent = SGetFieldArray(LocalBridgeClazz, "strings"); _stringsReady = true; } return _stringsContent; } } + private static Java.Lang.String[] _stringsContent = default; + private static bool _stringsReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiEnterpriseConfig.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiEnterpriseConfig.cs index 746f26829..44bf1683b 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiEnterpriseConfig.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiEnterpriseConfig.cs @@ -239,6 +239,14 @@ public Java.Lang.String Realm get { return IExecuteWithSignature("getRealm", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setRealm", "(Ljava/lang/String;)V", value); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SubjectMatch + { + get { return IExecuteWithSignature("getSubjectMatch", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setSubjectMatch", "(Ljava/lang/String;)V", value); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs index 51e2d0128..2a2906780 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs @@ -157,6 +157,15 @@ public partial class WifiInfo : Android.Net.ITransportInfo, Android.Os.IParcelab #endregion #region Static methods + /// + /// + /// + /// + /// + public static Android.Net.NetworkInfo.DetailedState GetDetailedStateOf(Android.Net.Wifi.SupplicantState arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getDetailedStateOf", "(Landroid/net/wifi/SupplicantState;)Landroid/net/NetworkInfo$DetailedState;", arg0); + } #endregion @@ -232,6 +241,14 @@ public Java.Util.List Informatio get { return IExecuteWithSignature>("getInformationElements", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public int IpAddress + { + get { return IExecuteWithSignature("getIpAddress", "()I"); } + } + /// /// /// public int LinkSpeed diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiManager.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiManager.cs index 5c8c93648..0177f430d 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiManager.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiManager.cs @@ -50,6 +50,13 @@ public partial class WifiManager private static int _ACTION_REMOVE_SUGGESTION_LINGERContent = default; private static bool _ACTION_REMOVE_SUGGESTION_LINGERReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int ERROR_AUTHENTICATING { get { if (!_ERROR_AUTHENTICATINGReady) { _ERROR_AUTHENTICATINGContent = SGetField(LocalBridgeClazz, "ERROR_AUTHENTICATING"); _ERROR_AUTHENTICATINGReady = true; } return _ERROR_AUTHENTICATINGContent; } } + private static int _ERROR_AUTHENTICATINGContent = default; + private static bool _ERROR_AUTHENTICATINGReady = false; // this is used because in case of generics + /// /// /// public static int STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATION { get { if (!_STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATIONReady) { _STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATIONContent = SGetField(LocalBridgeClazz, "STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATION"); _STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATIONReady = true; } return _STATUS_LOCAL_ONLY_CONNECTION_FAILURE_ASSOCIATIONContent; } } @@ -218,12 +225,33 @@ public partial class WifiManager private static int _WIFI_INTERFACE_TYPE_STAContent = default; private static bool _WIFI_INTERFACE_TYPE_STAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int WIFI_MODE_FULL { get { if (!_WIFI_MODE_FULLReady) { _WIFI_MODE_FULLContent = SGetField(LocalBridgeClazz, "WIFI_MODE_FULL"); _WIFI_MODE_FULLReady = true; } return _WIFI_MODE_FULLContent; } } + private static int _WIFI_MODE_FULLContent = default; + private static bool _WIFI_MODE_FULLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WIFI_MODE_FULL_HIGH_PERF { get { if (!_WIFI_MODE_FULL_HIGH_PERFReady) { _WIFI_MODE_FULL_HIGH_PERFContent = SGetField(LocalBridgeClazz, "WIFI_MODE_FULL_HIGH_PERF"); _WIFI_MODE_FULL_HIGH_PERFReady = true; } return _WIFI_MODE_FULL_HIGH_PERFContent; } } + private static int _WIFI_MODE_FULL_HIGH_PERFContent = default; + private static bool _WIFI_MODE_FULL_HIGH_PERFReady = false; // this is used because in case of generics + /// /// /// public static int WIFI_MODE_FULL_LOW_LATENCY { get { if (!_WIFI_MODE_FULL_LOW_LATENCYReady) { _WIFI_MODE_FULL_LOW_LATENCYContent = SGetField(LocalBridgeClazz, "WIFI_MODE_FULL_LOW_LATENCY"); _WIFI_MODE_FULL_LOW_LATENCYReady = true; } return _WIFI_MODE_FULL_LOW_LATENCYContent; } } private static int _WIFI_MODE_FULL_LOW_LATENCYContent = default; private static bool _WIFI_MODE_FULL_LOW_LATENCYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int WIFI_MODE_SCAN_ONLY { get { if (!_WIFI_MODE_SCAN_ONLYReady) { _WIFI_MODE_SCAN_ONLYContent = SGetField(LocalBridgeClazz, "WIFI_MODE_SCAN_ONLY"); _WIFI_MODE_SCAN_ONLYReady = true; } return _WIFI_MODE_SCAN_ONLYContent; } } + private static int _WIFI_MODE_SCAN_ONLYContent = default; + private static bool _WIFI_MODE_SCAN_ONLYReady = false; // this is used because in case of generics + /// /// /// public static int WIFI_MULTI_INTERNET_MODE_DBS_AP { get { if (!_WIFI_MULTI_INTERNET_MODE_DBS_APReady) { _WIFI_MULTI_INTERNET_MODE_DBS_APContent = SGetField(LocalBridgeClazz, "WIFI_MULTI_INTERNET_MODE_DBS_AP"); _WIFI_MULTI_INTERNET_MODE_DBS_APReady = true; } return _WIFI_MULTI_INTERNET_MODE_DBS_APContent; } } @@ -272,6 +300,41 @@ public partial class WifiManager private static int _WIFI_STATE_UNKNOWNContent = default; private static bool _WIFI_STATE_UNKNOWNReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int WPS_AUTH_FAILURE { get { if (!_WPS_AUTH_FAILUREReady) { _WPS_AUTH_FAILUREContent = SGetField(LocalBridgeClazz, "WPS_AUTH_FAILURE"); _WPS_AUTH_FAILUREReady = true; } return _WPS_AUTH_FAILUREContent; } } + private static int _WPS_AUTH_FAILUREContent = default; + private static bool _WPS_AUTH_FAILUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPS_OVERLAP_ERROR { get { if (!_WPS_OVERLAP_ERRORReady) { _WPS_OVERLAP_ERRORContent = SGetField(LocalBridgeClazz, "WPS_OVERLAP_ERROR"); _WPS_OVERLAP_ERRORReady = true; } return _WPS_OVERLAP_ERRORContent; } } + private static int _WPS_OVERLAP_ERRORContent = default; + private static bool _WPS_OVERLAP_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPS_TIMED_OUT { get { if (!_WPS_TIMED_OUTReady) { _WPS_TIMED_OUTContent = SGetField(LocalBridgeClazz, "WPS_TIMED_OUT"); _WPS_TIMED_OUTReady = true; } return _WPS_TIMED_OUTContent; } } + private static int _WPS_TIMED_OUTContent = default; + private static bool _WPS_TIMED_OUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPS_TKIP_ONLY_PROHIBITED { get { if (!_WPS_TKIP_ONLY_PROHIBITEDReady) { _WPS_TKIP_ONLY_PROHIBITEDContent = SGetField(LocalBridgeClazz, "WPS_TKIP_ONLY_PROHIBITED"); _WPS_TKIP_ONLY_PROHIBITEDReady = true; } return _WPS_TKIP_ONLY_PROHIBITEDContent; } } + private static int _WPS_TKIP_ONLY_PROHIBITEDContent = default; + private static bool _WPS_TKIP_ONLY_PROHIBITEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WPS_WEP_PROHIBITED { get { if (!_WPS_WEP_PROHIBITEDReady) { _WPS_WEP_PROHIBITEDContent = SGetField(LocalBridgeClazz, "WPS_WEP_PROHIBITED"); _WPS_WEP_PROHIBITEDReady = true; } return _WPS_WEP_PROHIBITEDContent; } } + private static int _WPS_WEP_PROHIBITEDContent = default; + private static bool _WPS_WEP_PROHIBITEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_PICK_WIFI_NETWORK { get { if (!_ACTION_PICK_WIFI_NETWORKReady) { _ACTION_PICK_WIFI_NETWORKContent = SGetField(LocalBridgeClazz, "ACTION_PICK_WIFI_NETWORK"); _ACTION_PICK_WIFI_NETWORKReady = true; } return _ACTION_PICK_WIFI_NETWORKContent; } } @@ -308,6 +371,13 @@ public partial class WifiManager private static Java.Lang.String _CHANNEL_DATA_KEY_NUM_APContent = default; private static bool _CHANNEL_DATA_KEY_NUM_APReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_BSSID { get { if (!_EXTRA_BSSIDReady) { _EXTRA_BSSIDContent = SGetField(LocalBridgeClazz, "EXTRA_BSSID"); _EXTRA_BSSIDReady = true; } return _EXTRA_BSSIDContent; } } + private static Java.Lang.String _EXTRA_BSSIDContent = default; + private static bool _EXTRA_BSSIDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_NETWORK_INFO { get { if (!_EXTRA_NETWORK_INFOReady) { _EXTRA_NETWORK_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_NETWORK_INFO"); _EXTRA_NETWORK_INFOReady = true; } return _EXTRA_NETWORK_INFOContent; } } @@ -326,6 +396,13 @@ public partial class WifiManager private static Java.Lang.String _EXTRA_NEW_RSSIContent = default; private static bool _EXTRA_NEW_RSSIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_NEW_STATE { get { if (!_EXTRA_NEW_STATEReady) { _EXTRA_NEW_STATEContent = SGetField(LocalBridgeClazz, "EXTRA_NEW_STATE"); _EXTRA_NEW_STATEReady = true; } return _EXTRA_NEW_STATEContent; } } + private static Java.Lang.String _EXTRA_NEW_STATEContent = default; + private static bool _EXTRA_NEW_STATEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_PREVIOUS_WIFI_STATE { get { if (!_EXTRA_PREVIOUS_WIFI_STATEReady) { _EXTRA_PREVIOUS_WIFI_STATEContent = SGetField(LocalBridgeClazz, "EXTRA_PREVIOUS_WIFI_STATE"); _EXTRA_PREVIOUS_WIFI_STATEReady = true; } return _EXTRA_PREVIOUS_WIFI_STATEContent; } } @@ -344,6 +421,27 @@ public partial class WifiManager private static Java.Lang.String _EXTRA_SCAN_AVAILABLEContent = default; private static bool _EXTRA_SCAN_AVAILABLEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SUPPLICANT_CONNECTED { get { if (!_EXTRA_SUPPLICANT_CONNECTEDReady) { _EXTRA_SUPPLICANT_CONNECTEDContent = SGetField(LocalBridgeClazz, "EXTRA_SUPPLICANT_CONNECTED"); _EXTRA_SUPPLICANT_CONNECTEDReady = true; } return _EXTRA_SUPPLICANT_CONNECTEDContent; } } + private static Java.Lang.String _EXTRA_SUPPLICANT_CONNECTEDContent = default; + private static bool _EXTRA_SUPPLICANT_CONNECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SUPPLICANT_ERROR { get { if (!_EXTRA_SUPPLICANT_ERRORReady) { _EXTRA_SUPPLICANT_ERRORContent = SGetField(LocalBridgeClazz, "EXTRA_SUPPLICANT_ERROR"); _EXTRA_SUPPLICANT_ERRORReady = true; } return _EXTRA_SUPPLICANT_ERRORContent; } } + private static Java.Lang.String _EXTRA_SUPPLICANT_ERRORContent = default; + private static bool _EXTRA_SUPPLICANT_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_WIFI_INFO { get { if (!_EXTRA_WIFI_INFOReady) { _EXTRA_WIFI_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_WIFI_INFO"); _EXTRA_WIFI_INFOReady = true; } return _EXTRA_WIFI_INFOContent; } } + private static Java.Lang.String _EXTRA_WIFI_INFOContent = default; + private static bool _EXTRA_WIFI_INFOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_WIFI_STATE { get { if (!_EXTRA_WIFI_STATEReady) { _EXTRA_WIFI_STATEContent = SGetField(LocalBridgeClazz, "EXTRA_WIFI_STATE"); _EXTRA_WIFI_STATEReady = true; } return _EXTRA_WIFI_STATEContent; } } @@ -374,6 +472,20 @@ public partial class WifiManager private static Java.Lang.String _SCAN_RESULTS_AVAILABLE_ACTIONContent = default; private static bool _SCAN_RESULTS_AVAILABLE_ACTIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SUPPLICANT_CONNECTION_CHANGE_ACTION { get { if (!_SUPPLICANT_CONNECTION_CHANGE_ACTIONReady) { _SUPPLICANT_CONNECTION_CHANGE_ACTIONContent = SGetField(LocalBridgeClazz, "SUPPLICANT_CONNECTION_CHANGE_ACTION"); _SUPPLICANT_CONNECTION_CHANGE_ACTIONReady = true; } return _SUPPLICANT_CONNECTION_CHANGE_ACTIONContent; } } + private static Java.Lang.String _SUPPLICANT_CONNECTION_CHANGE_ACTIONContent = default; + private static bool _SUPPLICANT_CONNECTION_CHANGE_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SUPPLICANT_STATE_CHANGED_ACTION { get { if (!_SUPPLICANT_STATE_CHANGED_ACTIONReady) { _SUPPLICANT_STATE_CHANGED_ACTIONContent = SGetField(LocalBridgeClazz, "SUPPLICANT_STATE_CHANGED_ACTION"); _SUPPLICANT_STATE_CHANGED_ACTIONReady = true; } return _SUPPLICANT_STATE_CHANGED_ACTIONContent; } } + private static Java.Lang.String _SUPPLICANT_STATE_CHANGED_ACTIONContent = default; + private static bool _SUPPLICANT_STATE_CHANGED_ACTIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String UNKNOWN_SSID { get { if (!_UNKNOWN_SSIDReady) { _UNKNOWN_SSIDContent = SGetField(LocalBridgeClazz, "UNKNOWN_SSID"); _UNKNOWN_SSIDReady = true; } return _UNKNOWN_SSIDContent; } } @@ -390,6 +502,17 @@ public partial class WifiManager #region Static methods /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int CalculateSignalLevel(int arg0, int arg1) + { + return SExecute(LocalBridgeClazz, "calculateSignalLevel", arg0, arg1); + } + /// /// /// /// @@ -411,6 +534,30 @@ public Java.Util.List CallerConfiguredNetwor get { return IExecuteWithSignature>("getCallerConfiguredNetworks", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.List ConfiguredNetworks + { + get { return IExecuteWithSignature>("getConfiguredNetworks", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiInfo ConnectionInfo + { + get { return IExecuteWithSignature("getConnectionInfo", "()Landroid/net/wifi/WifiInfo;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.DhcpInfo DhcpInfo + { + get { return IExecuteWithSignature("getDhcpInfo", "()Landroid/net/DhcpInfo;"); } + } + /// /// /// public int MaxNumberOfChannelsPerNetworkSpecifierRequest @@ -439,6 +586,14 @@ public Java.Util.List NetworkSuggestions get { return IExecuteWithSignature>("getNetworkSuggestions", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.List PasspointConfigurations + { + get { return IExecuteWithSignature>("getPasspointConfigurations", "()Ljava/util/List;"); } + } + /// /// /// public Java.Util.List ScanResults @@ -460,6 +615,15 @@ public int WifiState get { return IExecuteWithSignature("getWifiState", "()I"); } } /// + /// + /// + /// + /// + public Android.Net.Wifi.WifiManager.AddNetworkResult AddNetworkPrivileged(Android.Net.Wifi.WifiConfiguration arg0) + { + return IExecuteWithSignature("addNetworkPrivileged", "(Landroid/net/wifi/WifiConfiguration;)Landroid/net/wifi/WifiManager$AddNetworkResult;", arg0); + } + /// /// /// /// @@ -479,6 +643,46 @@ public Android.Net.Wifi.WifiManager.WifiLock CreateWifiLock(int arg0, Java.Lang. return IExecute("createWifiLock", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiManager.WifiLock CreateWifiLock(Java.Lang.String arg0) + { + return IExecuteWithSignature("createWifiLock", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool DisableNetwork(int arg0) + { + return IExecuteWithSignature("disableNetwork", "(I)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool Disconnect() + { + return IExecuteWithSignature("disconnect", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool EnableNetwork(int arg0, bool arg1) + { + return IExecute("enableNetwork", arg0, arg1); + } + /// /// /// /// @@ -545,6 +749,15 @@ public bool IsDecoratedIdentitySupported() return IExecuteWithSignature("isDecoratedIdentitySupported", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsDeviceToApRttSupported() + { + return IExecuteWithSignature("isDeviceToApRttSupported", "()Z"); + } + /// /// /// /// @@ -625,6 +838,15 @@ public bool IsPreferredNetworkOffloadSupported() return IExecuteWithSignature("isPreferredNetworkOffloadSupported", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsScanAlwaysAvailable() + { + return IExecuteWithSignature("isScanAlwaysAvailable", "()Z"); + } + /// /// /// /// @@ -778,6 +1000,43 @@ public bool IsWpa3SuiteBSupported() return IExecuteWithSignature("isWpa3SuiteBSupported", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool PingSupplicant() + { + return IExecuteWithSignature("pingSupplicant", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool Reassociate() + { + return IExecuteWithSignature("reassociate", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool Reconnect() + { + return IExecuteWithSignature("reconnect", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RemoveNetwork(int arg0) + { + return IExecuteWithSignature("removeNetwork", "(I)Z", arg0); + } + /// /// /// /// @@ -786,6 +1045,34 @@ public bool RemoveNonCallerConfiguredNetworks() return IExecuteWithSignature("removeNonCallerConfiguredNetworks", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool SaveConfiguration() + { + return IExecuteWithSignature("saveConfiguration", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetWifiEnabled(bool arg0) + { + return IExecuteWithSignature("setWifiEnabled", "(Z)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool StartScan() + { + return IExecuteWithSignature("startScan", "()Z"); + } + /// /// /// /// @@ -795,6 +1082,16 @@ public bool ValidateSoftApConfiguration(Android.Net.Wifi.SoftApConfiguration arg return IExecuteWithSignature("validateSoftApConfiguration", "(Landroid/net/wifi/SoftApConfiguration;)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int AddNetwork(Android.Net.Wifi.WifiConfiguration arg0) + { + return IExecuteWithSignature("addNetwork", "(Landroid/net/wifi/WifiConfiguration;)I", arg0); + } + /// /// /// /// @@ -832,6 +1129,16 @@ public int RemoveNetworkSuggestions(Java.Util.List("removeNetworkSuggestions", "(Ljava/util/List;)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int UpdateNetwork(Android.Net.Wifi.WifiConfiguration arg0) + { + return IExecuteWithSignature("updateNetwork", "(Landroid/net/wifi/WifiConfiguration;)I", arg0); + } + /// /// /// /// @@ -895,6 +1202,15 @@ public void AllowAutojoinGlobal(bool arg0) IExecuteWithSignature("allowAutojoinGlobal", "(Z)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void CancelWps(Android.Net.Wifi.WifiManager.WpsCallback arg0) + { + IExecuteWithSignature("cancelWps", "(Landroid/net/wifi/WifiManager$WpsCallback;)V", arg0); + } + /// /// /// public void FlushPasspointAnqpCache() @@ -973,6 +1289,15 @@ public void RemoveLocalOnlyConnectionFailureListener(Android.Net.Wifi.WifiManage IExecuteWithSignature("removeLocalOnlyConnectionFailureListener", "(Landroid/net/wifi/WifiManager$LocalOnlyConnectionFailureListener;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void RemovePasspointConfiguration(Java.Lang.String arg0) + { + IExecuteWithSignature("removePasspointConfiguration", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// @@ -1049,6 +1374,16 @@ public void StartLocalOnlyHotspot(Android.Net.Wifi.WifiManager.LocalOnlyHotspotC IExecute("startLocalOnlyHotspot", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartWps(Android.Net.Wifi.WpsInfo arg0, Android.Net.Wifi.WifiManager.WpsCallback arg1) + { + IExecute("startWps", arg0, arg1); + } + /// /// /// /// @@ -1470,6 +1805,14 @@ public Android.Net.Wifi.SoftApConfiguration SoftApConfiguration get { return IExecuteWithSignature("getSoftApConfiguration", "()Landroid/net/wifi/SoftApConfiguration;"); } } /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiConfiguration WifiConfiguration + { + get { return IExecuteWithSignature("getWifiConfiguration", "()Landroid/net/wifi/WifiConfiguration;"); } + } + /// /// /// public void Close() @@ -1900,6 +2243,63 @@ public void SetWorkSource(Android.Os.WorkSource arg0) } #endregion + #region WpsCallback + public partial class WpsCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void OnFailed(int arg0) + { + IExecuteWithSignature("onFailed", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnStarted(Java.Lang.String arg0) + { + IExecuteWithSignature("onStarted", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void OnSucceeded() + { + IExecuteWithSignature("onSucceeded", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSpecifier.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSpecifier.cs index da460fdb3..6f664d8ce 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSpecifier.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSpecifier.cs @@ -236,6 +236,16 @@ public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetWpa3Enterprise192BitMode return IExecuteWithSignature("setWpa3Enterprise192BitModeConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetWpa3EnterpriseConfig(Android.Net.Wifi.WifiEnterpriseConfig arg0) + { + return IExecuteWithSignature("setWpa3EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSuggestion.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSuggestion.cs index 9d2844d17..7aea8f95a 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSuggestion.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiNetworkSuggestion.cs @@ -495,6 +495,16 @@ public Android.Net.Wifi.WifiNetworkSuggestion.Builder SetWpa3Enterprise192BitMod return IExecuteWithSignature("setWpa3Enterprise192BitModeConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSuggestion$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Wifi.WifiNetworkSuggestion.Builder SetWpa3EnterpriseConfig(Android.Net.Wifi.WifiEnterpriseConfig arg0) + { + return IExecuteWithSignature("setWpa3EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSuggestion$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Nfc/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Nfc/AllPackageClasses.cs index 4181c4fa6..dc9f59f26 100644 --- a/src/net/Netdroid/Generated/Android/Nfc/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Nfc/AllPackageClasses.cs @@ -189,6 +189,147 @@ public partial class NfcAdapter : MASES.JCOBridge.C2JBridge.JVMBridgeListener #warning Remember to build the Java class for event listener // TODO: complete the class + #region CreateBeamUrisCallback + /// + /// + /// + [System.Obsolete()] + public partial class CreateBeamUrisCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.nfc.NfcAdapter$CreateBeamUrisCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("CreateBeamUrisCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CreateBeamUrisCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("CreateBeamUrisCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CreateBeamUrisCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region CreateNdefMessageCallback + /// + /// + /// + [System.Obsolete()] + public partial class CreateNdefMessageCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.nfc.NfcAdapter$CreateNdefMessageCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("CreateNdefMessageCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CreateNdefMessageCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("CreateNdefMessageCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CreateNdefMessageCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OnNdefPushCompleteCallback + /// + /// + /// + [System.Obsolete()] + public partial class OnNdefPushCompleteCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.nfc.NfcAdapter$OnNdefPushCompleteCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("OnNdefPushCompleteCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnNdefPushCompleteCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("OnNdefPushCompleteCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnNdefPushCompleteCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region OnTagRemovedListener /// /// diff --git a/src/net/Netdroid/Generated/Android/Nfc/NdefRecord.cs b/src/net/Netdroid/Generated/Android/Nfc/NdefRecord.cs index 62c07dc27..9556cb6a8 100644 --- a/src/net/Netdroid/Generated/Android/Nfc/NdefRecord.cs +++ b/src/net/Netdroid/Generated/Android/Nfc/NdefRecord.cs @@ -30,6 +30,16 @@ public partial class NdefRecord { #region Constructors /// + /// + /// + /// + /// + [System.Obsolete()] + public NdefRecord(byte[] arg0) + : base(arg0) + { + } + /// /// /// /// @@ -241,6 +251,15 @@ public Android.Net.Uri ToUri() return IExecuteWithSignature("toUri", "()Landroid/net/Uri;"); } /// + /// + /// + /// + [System.Obsolete()] + public byte[] ToByteArray() + { + return IExecuteWithSignatureArray("toByteArray", "()[B"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Nfc/NfcAdapter.cs b/src/net/Netdroid/Generated/Android/Nfc/NfcAdapter.cs index 063273ee4..11d1aaa1e 100644 --- a/src/net/Netdroid/Generated/Android/Nfc/NfcAdapter.cs +++ b/src/net/Netdroid/Generated/Android/Nfc/NfcAdapter.cs @@ -292,6 +292,128 @@ public virtual void EnableReaderMode(Android.App.Activity arg0, Android.Nfc.NfcA #endregion #region Nested classes + #region CreateBeamUrisCallback + public partial class CreateBeamUrisCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Net.Uri[] CreateBeamUris(Android.Nfc.NfcEvent arg0) + { + return IExecuteWithSignatureArray("createBeamUris", "(Landroid/nfc/NfcEvent;)[Landroid/net/Uri;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region CreateNdefMessageCallback + public partial class CreateNdefMessageCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Nfc.NdefMessage CreateNdefMessage(Android.Nfc.NfcEvent arg0) + { + return IExecuteWithSignature("createNdefMessage", "(Landroid/nfc/NfcEvent;)Landroid/nfc/NdefMessage;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnNdefPushCompleteCallback + public partial class OnNdefPushCompleteCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void OnNdefPushComplete(Android.Nfc.NfcEvent arg0) + { + IExecuteWithSignature("onNdefPushComplete", "(Landroid/nfc/NfcEvent;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region OnTagRemovedListener public partial class OnTagRemovedListener { diff --git a/src/net/Netdroid/Generated/Android/Opengl/EGL14.cs b/src/net/Netdroid/Generated/Android/Opengl/EGL14.cs index 1462b13b9..d56e5af02 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/EGL14.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/EGL14.cs @@ -797,6 +797,20 @@ public static Android.Opengl.EGLSurface EglCreatePbufferSurface(Android.Opengl.E return SExecute(LocalBridgeClazz, "eglCreatePbufferSurface", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Opengl.EGLSurface EglCreatePixmapSurface(Android.Opengl.EGLDisplay arg0, Android.Opengl.EGLConfig arg1, int arg2, int[] arg3, int arg4) + { + return SExecute(LocalBridgeClazz, "eglCreatePixmapSurface", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Opengl/EGLObjectHandle.cs b/src/net/Netdroid/Generated/Android/Opengl/EGLObjectHandle.cs index 9498f77e5..d247348ff 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/EGLObjectHandle.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/EGLObjectHandle.cs @@ -46,6 +46,14 @@ public partial class EGLObjectHandle #region Instance methods /// + /// + /// + [System.Obsolete()] + public int Handle + { + get { return IExecuteWithSignature("getHandle", "()I"); } + } + /// /// /// public long NativeHandle diff --git a/src/net/Netdroid/Generated/Android/Opengl/GLES20.cs b/src/net/Netdroid/Generated/Android/Opengl/GLES20.cs index f1a6363ce..d24eacc51 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/GLES20.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/GLES20.cs @@ -1364,6 +1364,13 @@ public partial class GLES20 private static int _GL_STENCIL_FUNCContent = default; private static bool _GL_STENCIL_FUNCReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int GL_STENCIL_INDEX { get { if (!_GL_STENCIL_INDEXReady) { _GL_STENCIL_INDEXContent = SGetField(LocalBridgeClazz, "GL_STENCIL_INDEX"); _GL_STENCIL_INDEXReady = true; } return _GL_STENCIL_INDEXContent; } } + private static int _GL_STENCIL_INDEXContent = default; + private static bool _GL_STENCIL_INDEXReady = false; // this is used because in case of generics + /// /// /// public static int GL_STENCIL_INDEX8 { get { if (!_GL_STENCIL_INDEX8Ready) { _GL_STENCIL_INDEX8Content = SGetField(LocalBridgeClazz, "GL_STENCIL_INDEX8"); _GL_STENCIL_INDEX8Ready = true; } return _GL_STENCIL_INDEX8Content; } } diff --git a/src/net/Netdroid/Generated/Android/Opengl/GLES30.cs b/src/net/Netdroid/Generated/Android/Opengl/GLES30.cs index 3572ce53c..eb6cb9f36 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/GLES30.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/GLES30.cs @@ -2899,6 +2899,21 @@ public static void GlGetTransformFeedbackVarying(int arg0, int arg1, int arg2, i SExecute(LocalBridgeClazz, "glGetTransformFeedbackVarying", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void GlGetTransformFeedbackVarying(int arg0, int arg1, int arg2, Java.Nio.IntBuffer arg3, Java.Nio.IntBuffer arg4, Java.Nio.IntBuffer arg5, byte arg6) + { + SExecute(LocalBridgeClazz, "glGetTransformFeedbackVarying", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Opengl/GLSurfaceView.cs b/src/net/Netdroid/Generated/Android/Opengl/GLSurfaceView.cs index 27d0d673d..6a8ffd7f9 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/GLSurfaceView.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/GLSurfaceView.cs @@ -233,6 +233,15 @@ public void SurfaceDestroyed(Android.View.SurfaceHolder arg0) IExecuteWithSignature("surfaceDestroyed", "(Landroid/view/SurfaceHolder;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SurfaceRedrawNeeded(Android.View.SurfaceHolder arg0) + { + IExecuteWithSignature("surfaceRedrawNeeded", "(Landroid/view/SurfaceHolder;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Opengl/Matrix.cs b/src/net/Netdroid/Generated/Android/Opengl/Matrix.cs index b8dad0f8b..265716dc2 100644 --- a/src/net/Netdroid/Generated/Android/Opengl/Matrix.cs +++ b/src/net/Netdroid/Generated/Android/Opengl/Matrix.cs @@ -215,6 +215,19 @@ public static void SetLookAtM(float[] arg0, int arg1, float arg2, float arg3, fl SExecute(LocalBridgeClazz, "setLookAtM", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetRotateEulerM(float[] arg0, int arg1, float arg2, float arg3, float arg4) + { + SExecute(LocalBridgeClazz, "setRotateEulerM", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Os/AllPackageClasses.cs index 7829f7e00..5a37a6436 100644 --- a/src/net/Netdroid/Generated/Android/Os/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Os/AllPackageClasses.cs @@ -26,6 +26,148 @@ namespace Android.Os { + #region AsyncTask + /// + /// + /// + [System.Obsolete()] + public partial class AsyncTask : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.os.AsyncTask"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AsyncTask class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTask() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AsyncTask class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTask(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Status + /// + /// + /// + [System.Obsolete()] + public partial class Status : Java.Lang.Enum + { + const string _bridgeClassName = "android.os.AsyncTask$Status"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Status() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Status(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region AsyncTask + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public partial class AsyncTask : MASES.JCOBridge.C2JBridge.JVMBridgeBase> + { + const string _bridgeClassName = "android.os.AsyncTask"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("AsyncTask class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTask() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("AsyncTask class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public AsyncTask(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region BadParcelableException /// /// @@ -886,6 +1028,51 @@ public Debug(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class + #region InstructionCount + /// + /// + /// + [System.Obsolete()] + public partial class InstructionCount : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.os.Debug$InstructionCount"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public InstructionCount() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public InstructionCount(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region MemoryInfo /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/AsyncTask.cs b/src/net/Netdroid/Generated/Android/Os/AsyncTask.cs new file mode 100644 index 000000000..bd9580757 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Os/AsyncTask.cs @@ -0,0 +1,354 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Os +{ + #region AsyncTask + public partial class AsyncTask + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Util.Concurrent.Executor SERIAL_EXECUTOR { get { if (!_SERIAL_EXECUTORReady) { _SERIAL_EXECUTORContent = SGetField(LocalBridgeClazz, "SERIAL_EXECUTOR"); _SERIAL_EXECUTORReady = true; } return _SERIAL_EXECUTORContent; } } + private static Java.Util.Concurrent.Executor _SERIAL_EXECUTORContent = default; + private static bool _SERIAL_EXECUTORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Util.Concurrent.Executor THREAD_POOL_EXECUTOR { get { if (!_THREAD_POOL_EXECUTORReady) { _THREAD_POOL_EXECUTORContent = SGetField(LocalBridgeClazz, "THREAD_POOL_EXECUTOR"); _THREAD_POOL_EXECUTORReady = true; } return _THREAD_POOL_EXECUTORContent; } } + private static Java.Util.Concurrent.Executor _THREAD_POOL_EXECUTORContent = default; + private static bool _THREAD_POOL_EXECUTORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + [System.Obsolete()] + public static void Execute(Java.Lang.Runnable arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "execute", "(Ljava/lang/Runnable;)V", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask.Status GetStatus + { + get { return IExecuteWithSignature("getStatus", "()Landroid/os/AsyncTask$Status;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask Execute(params object[] arg0) + { + if (arg0.Length == 0) return IExecuteWithSignature("execute", "([Ljava/lang/Object;)Landroid/os/AsyncTask;"); else return IExecuteWithSignature("execute", "([Ljava/lang/Object;)Landroid/os/AsyncTask;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask ExecuteOnExecutor(Java.Util.Concurrent.Executor arg0, params object[] arg1) + { + if (arg1.Length == 0) return IExecute("executeOnExecutor", arg0); else return IExecute("executeOnExecutor", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool Cancel(bool arg0) + { + return IExecuteWithSignature("cancel", "(Z)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCancelled() + { + return IExecuteWithSignature("isCancelled", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public object Get() + { + return IExecuteWithSignature("get", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public object Get(long arg0, Java.Util.Concurrent.TimeUnit arg1) + { + return IExecute("get", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Status + public partial class Status + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.AsyncTask.Status FINISHED { get { if (!_FINISHEDReady) { _FINISHEDContent = SGetField(LocalBridgeClazz, "FINISHED"); _FINISHEDReady = true; } return _FINISHEDContent; } } + private static Android.Os.AsyncTask.Status _FINISHEDContent = default; + private static bool _FINISHEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Os.AsyncTask.Status PENDING { get { if (!_PENDINGReady) { _PENDINGContent = SGetField(LocalBridgeClazz, "PENDING"); _PENDINGReady = true; } return _PENDINGContent; } } + private static Android.Os.AsyncTask.Status _PENDINGContent = default; + private static bool _PENDINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Os.AsyncTask.Status RUNNING { get { if (!_RUNNINGReady) { _RUNNINGContent = SGetField(LocalBridgeClazz, "RUNNING"); _RUNNINGReady = true; } return _RUNNINGContent; } } + private static Android.Os.AsyncTask.Status _RUNNINGContent = default; + private static bool _RUNNINGReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Os.AsyncTask.Status ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/os/AsyncTask$Status;", arg0); + } + /// + /// + /// + /// + public static Android.Os.AsyncTask.Status[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/os/AsyncTask$Status;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion + + #region AsyncTask + public partial class AsyncTask + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Os.AsyncTask(Android.Os.AsyncTask t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Util.Concurrent.Executor SERIAL_EXECUTOR { get { if (!_SERIAL_EXECUTORReady) { _SERIAL_EXECUTORContent = SGetField(LocalBridgeClazz, "SERIAL_EXECUTOR"); _SERIAL_EXECUTORReady = true; } return _SERIAL_EXECUTORContent; } } + private static Java.Util.Concurrent.Executor _SERIAL_EXECUTORContent = default; + private static bool _SERIAL_EXECUTORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Util.Concurrent.Executor THREAD_POOL_EXECUTOR { get { if (!_THREAD_POOL_EXECUTORReady) { _THREAD_POOL_EXECUTORContent = SGetField(LocalBridgeClazz, "THREAD_POOL_EXECUTOR"); _THREAD_POOL_EXECUTORReady = true; } return _THREAD_POOL_EXECUTORContent; } } + private static Java.Util.Concurrent.Executor _THREAD_POOL_EXECUTORContent = default; + private static bool _THREAD_POOL_EXECUTORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + [System.Obsolete()] + public static void Execute(Java.Lang.Runnable arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "execute", "(Ljava/lang/Runnable;)V", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask.Status GetStatus + { + get { return IExecuteWithSignature("getStatus", "()Landroid/os/AsyncTask$Status;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask Execute(params Params[] arg0) + { + if (arg0.Length == 0) return IExecuteWithSignature>("execute", "([Ljava/lang/Object;)Landroid/os/AsyncTask;"); else return IExecuteWithSignature>("execute", "([Ljava/lang/Object;)Landroid/os/AsyncTask;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.AsyncTask ExecuteOnExecutor(Java.Util.Concurrent.Executor arg0, params Params[] arg1) + { + if (arg1.Length == 0) return IExecute>("executeOnExecutor", arg0); else return IExecute>("executeOnExecutor", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool Cancel(bool arg0) + { + return IExecuteWithSignature("cancel", "(Z)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCancelled() + { + return IExecuteWithSignature("isCancelled", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Result Get() + { + return IExecuteWithSignature("get", "()Ljava/lang/Object;"); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Result Get(long arg0, Java.Util.Concurrent.TimeUnit arg1) + { + return IExecute("get", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Os/BaseBundle.cs b/src/net/Netdroid/Generated/Android/Os/BaseBundle.cs index 96d38291a..867dd2ff2 100644 --- a/src/net/Netdroid/Generated/Android/Os/BaseBundle.cs +++ b/src/net/Netdroid/Generated/Android/Os/BaseBundle.cs @@ -155,6 +155,16 @@ public int[] GetIntArray(Java.Lang.String arg0) return IExecuteWithSignatureArray("getIntArray", "(Ljava/lang/String;)[I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public object Get(Java.Lang.String arg0) + { + return IExecuteWithSignature("get", "(Ljava/lang/String;)Ljava/lang/Object;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Build.cs b/src/net/Netdroid/Generated/Android/Os/Build.cs index c21552852..00d7c5a52 100644 --- a/src/net/Netdroid/Generated/Android/Os/Build.cs +++ b/src/net/Netdroid/Generated/Android/Os/Build.cs @@ -56,6 +56,20 @@ public partial class Build private static Java.Lang.String _BRANDContent = default; private static bool _BRANDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CPU_ABI { get { if (!_CPU_ABIReady) { _CPU_ABIContent = SGetField(LocalBridgeClazz, "CPU_ABI"); _CPU_ABIReady = true; } return _CPU_ABIContent; } } + private static Java.Lang.String _CPU_ABIContent = default; + private static bool _CPU_ABIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CPU_ABI2 { get { if (!_CPU_ABI2Ready) { _CPU_ABI2Content = SGetField(LocalBridgeClazz, "CPU_ABI2"); _CPU_ABI2Ready = true; } return _CPU_ABI2Content; } } + private static Java.Lang.String _CPU_ABI2Content = default; + private static bool _CPU_ABI2Ready = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String DEVICE { get { if (!_DEVICEReady) { _DEVICEContent = SGetField(LocalBridgeClazz, "DEVICE"); _DEVICEReady = true; } return _DEVICEContent; } } @@ -116,6 +130,20 @@ public partial class Build private static Java.Lang.String _PRODUCTContent = default; private static bool _PRODUCTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RADIO { get { if (!_RADIOReady) { _RADIOContent = SGetField(LocalBridgeClazz, "RADIO"); _RADIOReady = true; } return _RADIOContent; } } + private static Java.Lang.String _RADIOContent = default; + private static bool _RADIOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SERIAL { get { if (!_SERIALReady) { _SERIALContent = SGetField(LocalBridgeClazz, "SERIAL"); _SERIALReady = true; } return _SERIALContent; } } + private static Java.Lang.String _SERIALContent = default; + private static bool _SERIALReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SKU { get { if (!_SKUReady) { _SKUContent = SGetField(LocalBridgeClazz, "SKU"); _SKUReady = true; } return _SKUContent; } } @@ -339,6 +367,13 @@ public partial class VERSION private static Java.Lang.String _RELEASE_OR_PREVIEW_DISPLAYContent = default; private static bool _RELEASE_OR_PREVIEW_DISPLAYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SDK { get { if (!_SDKReady) { _SDKContent = SGetField(LocalBridgeClazz, "SDK"); _SDKReady = true; } return _SDKContent; } } + private static Java.Lang.String _SDKContent = default; + private static bool _SDKReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SECURITY_PATCH { get { if (!_SECURITY_PATCHReady) { _SECURITY_PATCHContent = SGetField(LocalBridgeClazz, "SECURITY_PATCH"); _SECURITY_PATCHReady = true; } return _SECURITY_PATCHContent; } } diff --git a/src/net/Netdroid/Generated/Android/Os/Bundle.cs b/src/net/Netdroid/Generated/Android/Os/Bundle.cs index 89aa5874b..f4c1f7407 100644 --- a/src/net/Netdroid/Generated/Android/Os/Bundle.cs +++ b/src/net/Netdroid/Generated/Android/Os/Bundle.cs @@ -105,6 +105,39 @@ public Java.Lang.ClassLoader ClassLoader get { return IExecuteWithSignature("getClassLoader", "()Ljava/lang/ClassLoader;"); } set { IExecuteWithSignature("setClassLoader", "(Ljava/lang/ClassLoader;)V", value); } } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Util.SparseArray GetSparseParcelableArray(Java.Lang.String arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature>("getSparseParcelableArray", "(Ljava/lang/String;)Landroid/util/SparseArray;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.ArrayList GetParcelableArrayList(Java.Lang.String arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature>("getParcelableArrayList", "(Ljava/lang/String;)Ljava/util/ArrayList;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public T GetParcelable(Java.Lang.String arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature("getParcelable", "(Ljava/lang/String;)Landroid/os/Parcelable;", arg0); + } + /// /// /// /// @@ -186,6 +219,16 @@ public Android.Os.IBinder GetBinder(Java.Lang.String arg0) return IExecuteWithSignature("getBinder", "(Ljava/lang/String;)Landroid/os/IBinder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Parcelable[] GetParcelableArray(Java.Lang.String arg0) + { + return IExecuteWithSignatureArray("getParcelableArray", "(Ljava/lang/String;)[Landroid/os/Parcelable;", arg0); + } + /// /// /// /// @@ -294,6 +337,16 @@ public int DescribeContents() return IExecuteWithSignature("describeContents", "()I"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Io.Serializable GetSerializable(Java.Lang.String arg0) + { + return IExecuteWithSignature("getSerializable", "(Ljava/lang/String;)Ljava/io/Serializable;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Debug.cs b/src/net/Netdroid/Generated/Android/Os/Debug.cs index 69a9ca7d3..c67525c13 100644 --- a/src/net/Netdroid/Generated/Android/Os/Debug.cs +++ b/src/net/Netdroid/Generated/Android/Os/Debug.cs @@ -55,6 +55,13 @@ public partial class Debug public static int SHOW_INITIALIZED { get { if (!_SHOW_INITIALIZEDReady) { _SHOW_INITIALIZEDContent = SGetField(LocalBridgeClazz, "SHOW_INITIALIZED"); _SHOW_INITIALIZEDReady = true; } return _SHOW_INITIALIZEDContent; } } private static int _SHOW_INITIALIZEDContent = default; private static bool _SHOW_INITIALIZEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRACE_COUNT_ALLOCS { get { if (!_TRACE_COUNT_ALLOCSReady) { _TRACE_COUNT_ALLOCSContent = SGetField(LocalBridgeClazz, "TRACE_COUNT_ALLOCS"); _TRACE_COUNT_ALLOCSReady = true; } return _TRACE_COUNT_ALLOCSContent; } } + private static int _TRACE_COUNT_ALLOCSContent = default; + private static bool _TRACE_COUNT_ALLOCSReady = false; // this is used because in case of generics #endregion @@ -95,6 +102,94 @@ public static int BinderSentTransactions get { return SExecuteWithSignature(LocalBridgeClazz, "getBinderSentTransactions", "()I"); } } /// + /// + /// + [System.Obsolete()] + public static int GlobalAllocCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalAllocCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalAllocSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalAllocSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalClassInitCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalClassInitCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalClassInitTime + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalClassInitTime", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalExternalAllocCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalExternalAllocCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalExternalAllocSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalExternalAllocSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalExternalFreedCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalExternalFreedCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalExternalFreedSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalExternalFreedSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalFreedCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalFreedCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalFreedSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalFreedSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int GlobalGcInvocationCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getGlobalGcInvocationCount", "()I"); } + } + /// /// /// public static int LoadedClassCount @@ -137,6 +232,46 @@ public static long Pss get { return SExecuteWithSignature>(LocalBridgeClazz, "getRuntimeStats", "()Ljava/util/Map;"); } } /// + /// + /// + [System.Obsolete()] + public static int ThreadAllocCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getThreadAllocCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int ThreadAllocSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getThreadAllocSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int ThreadExternalAllocCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getThreadExternalAllocCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int ThreadExternalAllocSize + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getThreadExternalAllocSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public static int ThreadGcInvocationCount + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getThreadGcInvocationCount", "()I"); } + } + /// /// /// /// @@ -164,6 +299,26 @@ public static bool WaitingForDebugger() return SExecuteWithSignature(LocalBridgeClazz, "waitingForDebugger", "()Z"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static int SetAllocationLimit(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "setAllocationLimit", "(I)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int SetGlobalAllocationLimit(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "setGlobalAllocationLimit", "(I)I", arg0); + } + /// /// /// /// @@ -200,6 +355,15 @@ public static void AttachJvmtiAgent(Java.Lang.String arg0, Java.Lang.String arg1 SExecute(LocalBridgeClazz, "attachJvmtiAgent", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public static void ChangeDebugPort(int arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "changeDebugPort", "(I)V", arg0); + } + /// /// /// /// @@ -209,6 +373,14 @@ public static void DumpHprofData(Java.Lang.String arg0) SExecuteWithSignature(LocalBridgeClazz, "dumpHprofData", "(Ljava/lang/String;)V", arg0); } /// + /// + /// + [System.Obsolete()] + public static void EnableEmulatorTraceOutput() + { + SExecuteWithSignature(LocalBridgeClazz, "enableEmulatorTraceOutput", "()V"); + } + /// /// /// /// @@ -217,6 +389,150 @@ public static void PrintLoadedClasses(int arg0) SExecuteWithSignature(LocalBridgeClazz, "printLoadedClasses", "(I)V", arg0); } /// + /// + /// + [System.Obsolete()] + public static void ResetAllCounts() + { + SExecuteWithSignature(LocalBridgeClazz, "resetAllCounts", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalAllocCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalAllocCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalAllocSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalAllocSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalClassInitCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalClassInitCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalClassInitTime() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalClassInitTime", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalExternalAllocCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalExternalAllocCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalExternalAllocSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalExternalAllocSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalExternalFreedCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalExternalFreedCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalExternalFreedSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalExternalFreedSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalFreedCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalFreedCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalFreedSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalFreedSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetGlobalGcInvocationCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetGlobalGcInvocationCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetThreadAllocCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetThreadAllocCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetThreadAllocSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetThreadAllocSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetThreadExternalAllocCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetThreadExternalAllocCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetThreadExternalAllocSize() + { + SExecuteWithSignature(LocalBridgeClazz, "resetThreadExternalAllocSize", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void ResetThreadGcInvocationCount() + { + SExecuteWithSignature(LocalBridgeClazz, "resetThreadGcInvocationCount", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public static void StartAllocCounting() + { + SExecuteWithSignature(LocalBridgeClazz, "startAllocCounting", "()V"); + } + /// /// /// public static void StartMethodTracing() @@ -268,6 +584,14 @@ public static void StartNativeTracing() SExecuteWithSignature(LocalBridgeClazz, "startNativeTracing", "()V"); } /// + /// + /// + [System.Obsolete()] + public static void StopAllocCounting() + { + SExecuteWithSignature(LocalBridgeClazz, "stopAllocCounting", "()V"); + } + /// /// /// public static void StopMethodTracing() @@ -296,6 +620,73 @@ public static void WaitForDebugger() #endregion #region Nested classes + #region InstructionCount + public partial class InstructionCount + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public bool Collect() + { + return IExecuteWithSignature("collect", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ResetAndStart() + { + return IExecuteWithSignature("resetAndStart", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int GlobalMethodInvocations() + { + return IExecuteWithSignature("globalMethodInvocations", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int GlobalTotal() + { + return IExecuteWithSignature("globalTotal", "()I"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region MemoryInfo public partial class MemoryInfo { diff --git a/src/net/Netdroid/Generated/Android/Os/Environment.cs b/src/net/Netdroid/Generated/Android/Os/Environment.cs index 5056ccf8a..b23aa12ee 100644 --- a/src/net/Netdroid/Generated/Android/Os/Environment.cs +++ b/src/net/Netdroid/Generated/Android/Os/Environment.cs @@ -287,6 +287,16 @@ public static Java.Lang.String GetExternalStorageState(Java.Io.File arg0) { return SExecuteWithSignature(LocalBridgeClazz, "getExternalStorageState", "(Ljava/io/File;)Ljava/lang/String;", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetStorageState(Java.Io.File arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getStorageState", "(Ljava/io/File;)Ljava/lang/String;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Os/FileObserver.cs b/src/net/Netdroid/Generated/Android/Os/FileObserver.cs index ba70e12bd..b18444a87 100644 --- a/src/net/Netdroid/Generated/Android/Os/FileObserver.cs +++ b/src/net/Netdroid/Generated/Android/Os/FileObserver.cs @@ -47,6 +47,25 @@ public FileObserver(Java.Io.File arg0) { } /// + /// + /// + /// + /// + [System.Obsolete()] + public FileObserver(Java.Lang.String arg0, int arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public FileObserver(Java.Lang.String arg0) + : base(arg0) + { + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/FileUtils.cs b/src/net/Netdroid/Generated/Android/Os/FileUtils.cs index 3e9e19981..3a2977814 100644 --- a/src/net/Netdroid/Generated/Android/Os/FileUtils.cs +++ b/src/net/Netdroid/Generated/Android/Os/FileUtils.cs @@ -91,6 +91,24 @@ public static long Copy(Java.Io.InputStream arg0, Java.Io.OutputStream arg1) { return SExecute(LocalBridgeClazz, "copy", arg0, arg1); } + /// + /// + /// + /// + [System.Obsolete()] + public static void CloseQuietly(Java.Io.FileDescriptor arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "closeQuietly", "(Ljava/io/FileDescriptor;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public static void CloseQuietly(Java.Lang.AutoCloseable arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "closeQuietly", "(Ljava/lang/AutoCloseable;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Os/Handler.cs b/src/net/Netdroid/Generated/Android/Os/Handler.cs index 503da0a7a..9d2d9c5c9 100644 --- a/src/net/Netdroid/Generated/Android/Os/Handler.cs +++ b/src/net/Netdroid/Generated/Android/Os/Handler.cs @@ -30,6 +30,15 @@ public partial class Handler { #region Constructors /// + /// + /// + /// + [System.Obsolete()] + public Handler(Android.Os.Handler.Callback arg0) + : base(arg0) + { + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Health/UidHealthStats.cs b/src/net/Netdroid/Generated/Android/Os/Health/UidHealthStats.cs index 09b138c21..3cf20c39e 100644 --- a/src/net/Netdroid/Generated/Android/Os/Health/UidHealthStats.cs +++ b/src/net/Netdroid/Generated/Android/Os/Health/UidHealthStats.cs @@ -92,6 +92,13 @@ public partial class UidHealthStats private static int _MEASUREMENT_BUTTON_USER_ACTIVITY_COUNTContent = default; private static bool _MEASUREMENT_BUTTON_USER_ACTIVITY_COUNTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MEASUREMENT_CPU_POWER_MAMS { get { if (!_MEASUREMENT_CPU_POWER_MAMSReady) { _MEASUREMENT_CPU_POWER_MAMSContent = SGetField(LocalBridgeClazz, "MEASUREMENT_CPU_POWER_MAMS"); _MEASUREMENT_CPU_POWER_MAMSReady = true; } return _MEASUREMENT_CPU_POWER_MAMSContent; } } + private static int _MEASUREMENT_CPU_POWER_MAMSContent = default; + private static bool _MEASUREMENT_CPU_POWER_MAMSReady = false; // this is used because in case of generics + /// /// /// public static int MEASUREMENT_MOBILE_IDLE_MS { get { if (!_MEASUREMENT_MOBILE_IDLE_MSReady) { _MEASUREMENT_MOBILE_IDLE_MSContent = SGetField(LocalBridgeClazz, "MEASUREMENT_MOBILE_IDLE_MS"); _MEASUREMENT_MOBILE_IDLE_MSReady = true; } return _MEASUREMENT_MOBILE_IDLE_MSContent; } } diff --git a/src/net/Netdroid/Generated/Android/Os/Looper.cs b/src/net/Netdroid/Generated/Android/Os/Looper.cs index 061846954..39e482013 100644 --- a/src/net/Netdroid/Generated/Android/Os/Looper.cs +++ b/src/net/Netdroid/Generated/Android/Os/Looper.cs @@ -78,6 +78,14 @@ public static void Prepare() { SExecuteWithSignature(LocalBridgeClazz, "prepare", "()V"); } + /// + /// + /// + [System.Obsolete()] + public static void PrepareMainLooper() + { + SExecuteWithSignature(LocalBridgeClazz, "prepareMainLooper", "()V"); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Os/MemoryFile.cs b/src/net/Netdroid/Generated/Android/Os/MemoryFile.cs index 7cd1529c5..d513685d9 100644 --- a/src/net/Netdroid/Generated/Android/Os/MemoryFile.cs +++ b/src/net/Netdroid/Generated/Android/Os/MemoryFile.cs @@ -70,6 +70,15 @@ public Java.Io.OutputStream OutputStream get { return IExecuteWithSignature("getOutputStream", "()Ljava/io/OutputStream;"); } } /// + /// + /// + /// + [System.Obsolete()] + public bool IsPurgingAllowed() + { + return IExecuteWithSignature("isPurgingAllowed", "()Z"); + } + /// /// /// /// @@ -91,6 +100,17 @@ public int ReadBytes(byte[] arg0, int arg1, int arg2, int arg3) return IExecute("readBytes", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool AllowPurging(bool arg0) + { + return IExecuteWithSignature("allowPurging", "(Z)Z", arg0); + } + /// /// /// public void Close() diff --git a/src/net/Netdroid/Generated/Android/Os/Parcel.cs b/src/net/Netdroid/Generated/Android/Os/Parcel.cs index b14817be3..7e6169026 100644 --- a/src/net/Netdroid/Generated/Android/Os/Parcel.cs +++ b/src/net/Netdroid/Generated/Android/Os/Parcel.cs @@ -176,6 +176,29 @@ public void ReadMap(Java.Util.Map>("createTypedSparseArray", "(Landroid/os/Parcelable$Creator;)Landroid/util/SparseArray;", arg0); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List ReadParcelableList(Java.Util.List arg0, Java.Lang.ClassLoader arg1) where T: Android.Os.IParcelable, new() + { + return IExecute>("readParcelableList", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public T ReadParcelable(Java.Lang.ClassLoader arg0) where T: Android.Os.IParcelable, new() + { + return IExecuteWithSignature("readParcelable", "(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;", arg0); + } + /// /// /// /// @@ -325,6 +348,17 @@ public Android.Util.SparseArray ReadSparseArray(Java.Lang.ClassLoader arg0 return IExecute>("readSparseArray", arg0, arg1); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Util.SparseArray ReadSparseArray(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignature>("readSparseArray", "(Ljava/lang/ClassLoader;)Landroid/util/SparseArray;", arg0); + } + /// /// /// /// @@ -527,6 +561,26 @@ public Android.Os.IBinder[] CreateBinderArray() return IExecuteWithSignatureArray("createBinderArray", "()[Landroid/os/IBinder;"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Parcelable[] ReadParcelableArray(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignatureArray("readParcelableArray", "(Ljava/lang/ClassLoader;)[Landroid/os/Parcelable;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Parcelable.Creator ReadParcelableCreator(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignature>("readParcelableCreator", "(Ljava/lang/ClassLoader;)Landroid/os/Parcelable$Creator;", arg0); + } + /// /// /// /// @@ -730,6 +784,15 @@ public int[] CreateIntArray() return IExecuteWithSignatureArray("createIntArray", "()[I"); } /// + /// + /// + /// + [System.Obsolete()] + public Java.Io.Serializable ReadSerializable() + { + return IExecuteWithSignature("readSerializable", "()Ljava/io/Serializable;"); + } + /// /// /// /// @@ -739,6 +802,16 @@ public object ReadValue(Java.Lang.ClassLoader arg0) return IExecuteWithSignature("readValue", "(Ljava/lang/ClassLoader;)Ljava/lang/Object;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public object[] ReadArray(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignatureArray("readArray", "(Ljava/lang/ClassLoader;)[Ljava/lang/Object;", arg0); + } + /// /// /// /// @@ -755,6 +828,16 @@ public Java.Lang.String[] CreateStringArray() return IExecuteWithSignatureArray("createStringArray", "()[Ljava/lang/String;"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.ArrayList ReadArrayList(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignature("readArrayList", "(Ljava/lang/ClassLoader;)Ljava/util/ArrayList;", arg0); + } + /// /// /// /// @@ -771,6 +854,16 @@ public Java.Lang.String[] CreateStringArray() return IExecuteWithSignature>("createStringArrayList", "()Ljava/util/ArrayList;"); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.HashMap ReadHashMap(Java.Lang.ClassLoader arg0) + { + return IExecuteWithSignature("readHashMap", "(Ljava/lang/ClassLoader;)Ljava/util/HashMap;", arg0); + } + /// /// /// /// @@ -892,6 +985,16 @@ public void ReadIntArray(int[] arg0) IExecuteWithSignature("readIntArray", "([I)V", new object[] { arg0 }); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void ReadList(Java.Util.List arg0, Java.Lang.ClassLoader arg1) + { + IExecute("readList", arg0, arg1); + } + /// /// /// /// @@ -900,6 +1003,16 @@ public void ReadLongArray(long[] arg0) IExecuteWithSignature("readLongArray", "([J)V", new object[] { arg0 }); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void ReadMap(Java.Util.Map arg0, Java.Lang.ClassLoader arg1) + { + IExecute("readMap", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/ParcelFileDescriptor.cs b/src/net/Netdroid/Generated/Android/Os/ParcelFileDescriptor.cs index 61c7eba86..7dc099adc 100644 --- a/src/net/Netdroid/Generated/Android/Os/ParcelFileDescriptor.cs +++ b/src/net/Netdroid/Generated/Android/Os/ParcelFileDescriptor.cs @@ -90,6 +90,20 @@ public ParcelFileDescriptor(Android.Os.ParcelFileDescriptor arg0) private static int _MODE_TRUNCATEContent = default; private static bool _MODE_TRUNCATEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MODE_WORLD_READABLE { get { if (!_MODE_WORLD_READABLEReady) { _MODE_WORLD_READABLEContent = SGetField(LocalBridgeClazz, "MODE_WORLD_READABLE"); _MODE_WORLD_READABLEReady = true; } return _MODE_WORLD_READABLEContent; } } + private static int _MODE_WORLD_READABLEContent = default; + private static bool _MODE_WORLD_READABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MODE_WORLD_WRITEABLE { get { if (!_MODE_WORLD_WRITEABLEReady) { _MODE_WORLD_WRITEABLEContent = SGetField(LocalBridgeClazz, "MODE_WORLD_WRITEABLE"); _MODE_WORLD_WRITEABLEReady = true; } return _MODE_WORLD_WRITEABLEContent; } } + private static int _MODE_WORLD_WRITEABLEContent = default; + private static bool _MODE_WORLD_WRITEABLEReady = false; // this is used because in case of generics + /// /// /// public static int MODE_WRITE_ONLY { get { if (!_MODE_WRITE_ONLYReady) { _MODE_WRITE_ONLYContent = SGetField(LocalBridgeClazz, "MODE_WRITE_ONLY"); _MODE_WRITE_ONLYReady = true; } return _MODE_WRITE_ONLYContent; } } diff --git a/src/net/Netdroid/Generated/Android/Os/PowerManager.cs b/src/net/Netdroid/Generated/Android/Os/PowerManager.cs index 78f124089..538147406 100644 --- a/src/net/Netdroid/Generated/Android/Os/PowerManager.cs +++ b/src/net/Netdroid/Generated/Android/Os/PowerManager.cs @@ -38,6 +38,20 @@ public partial class PowerManager #region Fields /// + /// + /// + [System.Obsolete()] + public static int ACQUIRE_CAUSES_WAKEUP { get { if (!_ACQUIRE_CAUSES_WAKEUPReady) { _ACQUIRE_CAUSES_WAKEUPContent = SGetField(LocalBridgeClazz, "ACQUIRE_CAUSES_WAKEUP"); _ACQUIRE_CAUSES_WAKEUPReady = true; } return _ACQUIRE_CAUSES_WAKEUPContent; } } + private static int _ACQUIRE_CAUSES_WAKEUPContent = default; + private static bool _ACQUIRE_CAUSES_WAKEUPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FULL_WAKE_LOCK { get { if (!_FULL_WAKE_LOCKReady) { _FULL_WAKE_LOCKContent = SGetField(LocalBridgeClazz, "FULL_WAKE_LOCK"); _FULL_WAKE_LOCKReady = true; } return _FULL_WAKE_LOCKContent; } } + private static int _FULL_WAKE_LOCKContent = default; + private static bool _FULL_WAKE_LOCKReady = false; // this is used because in case of generics + /// /// /// public static int LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF { get { if (!_LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFFReady) { _LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFFContent = SGetField(LocalBridgeClazz, "LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF"); _LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFFReady = true; } return _LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFFContent; } } @@ -110,6 +124,20 @@ public partial class PowerManager private static int _RELEASE_FLAG_WAIT_FOR_NO_PROXIMITYContent = default; private static bool _RELEASE_FLAG_WAIT_FOR_NO_PROXIMITYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int SCREEN_BRIGHT_WAKE_LOCK { get { if (!_SCREEN_BRIGHT_WAKE_LOCKReady) { _SCREEN_BRIGHT_WAKE_LOCKContent = SGetField(LocalBridgeClazz, "SCREEN_BRIGHT_WAKE_LOCK"); _SCREEN_BRIGHT_WAKE_LOCKReady = true; } return _SCREEN_BRIGHT_WAKE_LOCKContent; } } + private static int _SCREEN_BRIGHT_WAKE_LOCKContent = default; + private static bool _SCREEN_BRIGHT_WAKE_LOCKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SCREEN_DIM_WAKE_LOCK { get { if (!_SCREEN_DIM_WAKE_LOCKReady) { _SCREEN_DIM_WAKE_LOCKContent = SGetField(LocalBridgeClazz, "SCREEN_DIM_WAKE_LOCK"); _SCREEN_DIM_WAKE_LOCKReady = true; } return _SCREEN_DIM_WAKE_LOCKContent; } } + private static int _SCREEN_DIM_WAKE_LOCKContent = default; + private static bool _SCREEN_DIM_WAKE_LOCKReady = false; // this is used because in case of generics + /// /// /// public static int THERMAL_STATUS_CRITICAL { get { if (!_THERMAL_STATUS_CRITICALReady) { _THERMAL_STATUS_CRITICALContent = SGetField(LocalBridgeClazz, "THERMAL_STATUS_CRITICAL"); _THERMAL_STATUS_CRITICALReady = true; } return _THERMAL_STATUS_CRITICALContent; } } @@ -318,6 +346,15 @@ public bool IsRebootingUserspaceSupported() return IExecuteWithSignature("isRebootingUserspaceSupported", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsScreenOn() + { + return IExecuteWithSignature("isScreenOn", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Process.cs b/src/net/Netdroid/Generated/Android/Os/Process.cs index 93916b37a..a4d1d97c1 100644 --- a/src/net/Netdroid/Generated/Android/Os/Process.cs +++ b/src/net/Netdroid/Generated/Android/Os/Process.cs @@ -278,6 +278,15 @@ public static bool IsSdkSandbox() return SExecuteWithSignature(LocalBridgeClazz, "isSdkSandbox", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public static bool SupportsProcesses() + { + return SExecuteWithSignature(LocalBridgeClazz, "supportsProcesses", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/StatFs.cs b/src/net/Netdroid/Generated/Android/Os/StatFs.cs index 6af762e11..c8e875e9b 100644 --- a/src/net/Netdroid/Generated/Android/Os/StatFs.cs +++ b/src/net/Netdroid/Generated/Android/Os/StatFs.cs @@ -54,6 +54,14 @@ public StatFs(Java.Lang.String arg0) #region Instance methods /// + /// + /// + [System.Obsolete()] + public int AvailableBlocks + { + get { return IExecuteWithSignature("getAvailableBlocks", "()I"); } + } + /// /// /// public long AvailableBlocksLong @@ -68,6 +76,14 @@ public long AvailableBytes get { return IExecuteWithSignature("getAvailableBytes", "()J"); } } /// + /// + /// + [System.Obsolete()] + public int BlockCount + { + get { return IExecuteWithSignature("getBlockCount", "()I"); } + } + /// /// /// public long BlockCountLong @@ -75,6 +91,14 @@ public long BlockCountLong get { return IExecuteWithSignature("getBlockCountLong", "()J"); } } /// + /// + /// + [System.Obsolete()] + public int BlockSize + { + get { return IExecuteWithSignature("getBlockSize", "()I"); } + } + /// /// /// public long BlockSizeLong @@ -82,6 +106,14 @@ public long BlockSizeLong get { return IExecuteWithSignature("getBlockSizeLong", "()J"); } } /// + /// + /// + [System.Obsolete()] + public int FreeBlocks + { + get { return IExecuteWithSignature("getFreeBlocks", "()I"); } + } + /// /// /// public long FreeBlocksLong diff --git a/src/net/Netdroid/Generated/Android/Os/Storage/StorageVolume.cs b/src/net/Netdroid/Generated/Android/Os/Storage/StorageVolume.cs index 44631a86d..d47f3e786 100644 --- a/src/net/Netdroid/Generated/Android/Os/Storage/StorageVolume.cs +++ b/src/net/Netdroid/Generated/Android/Os/Storage/StorageVolume.cs @@ -100,6 +100,16 @@ public Java.Lang.String Uuid get { return IExecuteWithSignature("getUuid", "()Ljava/lang/String;"); } } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent CreateAccessIntent(Java.Lang.String arg0) + { + return IExecuteWithSignature("createAccessIntent", "(Ljava/lang/String;)Landroid/content/Intent;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/UserManager.cs b/src/net/Netdroid/Generated/Android/Os/UserManager.cs index d58b2bd61..8b87c70e5 100644 --- a/src/net/Netdroid/Generated/Android/Os/UserManager.cs +++ b/src/net/Netdroid/Generated/Android/Os/UserManager.cs @@ -104,6 +104,13 @@ public partial class UserManager private static Java.Lang.String _ALLOW_PARENT_PROFILE_APP_LINKINGContent = default; private static bool _ALLOW_PARENT_PROFILE_APP_LINKINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DISALLOW_ADD_MANAGED_PROFILE { get { if (!_DISALLOW_ADD_MANAGED_PROFILEReady) { _DISALLOW_ADD_MANAGED_PROFILEContent = SGetField(LocalBridgeClazz, "DISALLOW_ADD_MANAGED_PROFILE"); _DISALLOW_ADD_MANAGED_PROFILEReady = true; } return _DISALLOW_ADD_MANAGED_PROFILEContent; } } + private static Java.Lang.String _DISALLOW_ADD_MANAGED_PROFILEContent = default; + private static bool _DISALLOW_ADD_MANAGED_PROFILEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String DISALLOW_ADD_USER { get { if (!_DISALLOW_ADD_USERReady) { _DISALLOW_ADD_USERContent = SGetField(LocalBridgeClazz, "DISALLOW_ADD_USER"); _DISALLOW_ADD_USERReady = true; } return _DISALLOW_ADD_USERContent; } } @@ -374,6 +381,13 @@ public partial class UserManager private static Java.Lang.String _DISALLOW_PRINTINGContent = default; private static bool _DISALLOW_PRINTINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DISALLOW_REMOVE_MANAGED_PROFILE { get { if (!_DISALLOW_REMOVE_MANAGED_PROFILEReady) { _DISALLOW_REMOVE_MANAGED_PROFILEContent = SGetField(LocalBridgeClazz, "DISALLOW_REMOVE_MANAGED_PROFILE"); _DISALLOW_REMOVE_MANAGED_PROFILEReady = true; } return _DISALLOW_REMOVE_MANAGED_PROFILEContent; } } + private static Java.Lang.String _DISALLOW_REMOVE_MANAGED_PROFILEContent = default; + private static bool _DISALLOW_REMOVE_MANAGED_PROFILEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String DISALLOW_REMOVE_USER { get { if (!_DISALLOW_REMOVE_USERReady) { _DISALLOW_REMOVE_USERContent = SGetField(LocalBridgeClazz, "DISALLOW_REMOVE_USER"); _DISALLOW_REMOVE_USERReady = true; } return _DISALLOW_REMOVE_USERContent; } } @@ -545,11 +559,12 @@ public Java.Util.List UserProfiles get { return IExecuteWithSignature>("getUserProfiles", "()Ljava/util/List;"); } } /// - /// + /// /// + [System.Obsolete()] public Android.Os.Bundle UserRestrictions { - get { return IExecuteWithSignature("getUserRestrictions", "()Landroid/os/Bundle;"); } + get { return IExecuteWithSignature("getUserRestrictions", "()Landroid/os/Bundle;"); } set { IExecuteWithSignature("setUserRestrictions", "(Landroid/os/Bundle;)V", value); } } /// /// @@ -709,6 +724,16 @@ public bool RequestQuietModeEnabled(bool arg0, Android.Os.UserHandle arg1) return IExecute("requestQuietModeEnabled", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetRestrictionsChallenge(Java.Lang.String arg0) + { + return IExecuteWithSignature("setRestrictionsChallenge", "(Ljava/lang/String;)Z", arg0); + } + /// /// /// /// @@ -726,6 +751,26 @@ public long GetUserCreationTime(Android.Os.UserHandle arg0) { return IExecuteWithSignature("getUserCreationTime", "(Landroid/os/UserHandle;)J", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetUserRestriction(Java.Lang.String arg0, bool arg1) + { + IExecute("setUserRestriction", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetUserRestrictions(Android.Os.Bundle arg0, Android.Os.UserHandle arg1) + { + IExecute("setUserRestrictions", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Os/Vibrator.cs b/src/net/Netdroid/Generated/Android/Os/Vibrator.cs index 183b26c57..fb6d9330d 100644 --- a/src/net/Netdroid/Generated/Android/Os/Vibrator.cs +++ b/src/net/Netdroid/Generated/Android/Os/Vibrator.cs @@ -153,6 +153,16 @@ public int[] GetPrimitiveDurations(params int[] arg0) if (arg0.Length == 0) return IExecuteWithSignatureArray("getPrimitiveDurations", "([I)[I"); else return IExecuteWithSignatureArray("getPrimitiveDurations", "([I)[I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void Vibrate(Android.Os.VibrationEffect arg0, Android.Media.AudioAttributes arg1) + { + IExecute("vibrate", arg0, arg1); + } + /// /// /// /// @@ -169,6 +179,46 @@ public void Vibrate(Android.Os.VibrationEffect arg0) { IExecuteWithSignature("vibrate", "(Landroid/os/VibrationEffect;)V", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Vibrate(long arg0, Android.Media.AudioAttributes arg1) + { + IExecute("vibrate", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Vibrate(long arg0) + { + IExecuteWithSignature("vibrate", "(J)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Vibrate(long[] arg0, int arg1, Android.Media.AudioAttributes arg2) + { + IExecute("vibrate", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Vibrate(long[] arg0, int arg1) + { + IExecute("vibrate", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Preference/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Preference/AllPackageClasses.cs index 98d9668db..5e07959d8 100644 --- a/src/net/Netdroid/Generated/Android/Preference/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Preference/AllPackageClasses.cs @@ -26,6 +26,1175 @@ namespace Android.Preference { + #region CheckBoxPreference + /// + /// + /// + [System.Obsolete()] + public partial class CheckBoxPreference : Android.Preference.TwoStatePreference + { + const string _bridgeClassName = "android.preference.CheckBoxPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CheckBoxPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CheckBoxPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region DialogPreference + /// + /// + /// + [System.Obsolete()] + public partial class DialogPreference : Android.Preference.Preference + { + const string _bridgeClassName = "android.preference.DialogPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("DialogPreference class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public DialogPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("DialogPreference class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public DialogPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region EditTextPreference + /// + /// + /// + [System.Obsolete()] + public partial class EditTextPreference : Android.Preference.DialogPreference + { + const string _bridgeClassName = "android.preference.EditTextPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public EditTextPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public EditTextPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ListPreference + /// + /// + /// + [System.Obsolete()] + public partial class ListPreference : Android.Preference.DialogPreference + { + const string _bridgeClassName = "android.preference.ListPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ListPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ListPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region MultiSelectListPreference + /// + /// + /// + [System.Obsolete()] + public partial class MultiSelectListPreference : Android.Preference.DialogPreference + { + const string _bridgeClassName = "android.preference.MultiSelectListPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public MultiSelectListPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public MultiSelectListPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Preference + /// + /// + /// + [System.Obsolete()] + public partial class Preference : Java.Lang.Comparable + { + const string _bridgeClassName = "android.preference.Preference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Preference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Preference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region BaseSavedState + /// + /// + /// + [System.Obsolete()] + public partial class BaseSavedState : Android.View.AbsSavedState + { + const string _bridgeClassName = "android.preference.Preference$BaseSavedState"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public BaseSavedState() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public BaseSavedState(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OnPreferenceChangeListener + /// + /// + /// + [System.Obsolete()] + public partial class OnPreferenceChangeListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnPreferenceChangeListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.preference.OnPreferenceChangeListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnPreferenceChangeListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnPreferenceChangeListenerDirect : OnPreferenceChangeListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.preference.Preference$OnPreferenceChangeListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnPreferenceClickListener + /// + /// + /// + [System.Obsolete()] + public partial class OnPreferenceClickListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnPreferenceClickListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.preference.OnPreferenceClickListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnPreferenceClickListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnPreferenceClickListenerDirect : OnPreferenceClickListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.preference.Preference$OnPreferenceClickListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region PreferenceActivity + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceActivity : Android.App.ListActivity + { + const string _bridgeClassName = "android.preference.PreferenceActivity"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PreferenceActivity class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceActivity() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PreferenceActivity class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceActivity(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Header + /// + /// + /// + [System.Obsolete()] + public partial class Header : Android.Os.Parcelable + { + const string _bridgeClassName = "android.preference.PreferenceActivity$Header"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Header() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Header(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region PreferenceCategory + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceCategory : Android.Preference.PreferenceGroup + { + const string _bridgeClassName = "android.preference.PreferenceCategory"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PreferenceCategory() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PreferenceCategory(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region PreferenceDataStore + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceDataStore : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.preference.PreferenceDataStore"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PreferenceDataStore class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceDataStore() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PreferenceDataStore class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceDataStore(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region PreferenceFragment + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceFragment : Android.App.Fragment + { + const string _bridgeClassName = "android.preference.PreferenceFragment"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PreferenceFragment class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceFragment() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PreferenceFragment class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceFragment(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region OnPreferenceStartFragmentCallback + /// + /// + /// + [System.Obsolete()] + public partial class OnPreferenceStartFragmentCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.preference.PreferenceFragment$OnPreferenceStartFragmentCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("OnPreferenceStartFragmentCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnPreferenceStartFragmentCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("OnPreferenceStartFragmentCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OnPreferenceStartFragmentCallback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region PreferenceGroup + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceGroup : Android.Preference.Preference + { + const string _bridgeClassName = "android.preference.PreferenceGroup"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PreferenceGroup class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceGroup() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PreferenceGroup class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PreferenceGroup(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region PreferenceManager + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.preference.PreferenceManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PreferenceManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PreferenceManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region OnActivityDestroyListener + /// + /// + /// + [System.Obsolete()] + public partial class OnActivityDestroyListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnActivityDestroyListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.preference.OnActivityDestroyListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnActivityDestroyListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnActivityDestroyListenerDirect : OnActivityDestroyListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.preference.PreferenceManager$OnActivityDestroyListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnActivityResultListener + /// + /// + /// + [System.Obsolete()] + public partial class OnActivityResultListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnActivityResultListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.preference.OnActivityResultListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnActivityResultListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnActivityResultListenerDirect : OnActivityResultListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.preference.PreferenceManager$OnActivityResultListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + #region OnActivityStopListener + /// + /// + /// + [System.Obsolete()] + public partial class OnActivityStopListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnActivityStopListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.preference.OnActivityStopListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnActivityStopListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnActivityStopListenerDirect : OnActivityStopListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.preference.PreferenceManager$OnActivityStopListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region PreferenceScreen + /// + /// + /// + [System.Obsolete()] + public partial class PreferenceScreen : Android.Preference.PreferenceGroup + { + const string _bridgeClassName = "android.preference.PreferenceScreen"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PreferenceScreen() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PreferenceScreen(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region RingtonePreference + /// + /// + /// + [System.Obsolete()] + public partial class RingtonePreference : Android.Preference.Preference + { + const string _bridgeClassName = "android.preference.RingtonePreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RingtonePreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RingtonePreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region SwitchPreference + /// + /// + /// + [System.Obsolete()] + public partial class SwitchPreference : Android.Preference.TwoStatePreference + { + const string _bridgeClassName = "android.preference.SwitchPreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SwitchPreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SwitchPreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region TwoStatePreference + /// + /// + /// + [System.Obsolete()] + public partial class TwoStatePreference : Android.Preference.Preference + { + const string _bridgeClassName = "android.preference.TwoStatePreference"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("TwoStatePreference class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public TwoStatePreference() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("TwoStatePreference class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public TwoStatePreference(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/CheckBoxPreference.cs b/src/net/Netdroid/Generated/Android/Preference/CheckBoxPreference.cs new file mode 100644 index 000000000..76da153ad --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/CheckBoxPreference.cs @@ -0,0 +1,100 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region CheckBoxPreference + public partial class CheckBoxPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public CheckBoxPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public CheckBoxPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public CheckBoxPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public CheckBoxPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/DialogPreference.cs b/src/net/Netdroid/Generated/Android/Preference/DialogPreference.cs new file mode 100644 index 000000000..c721b6c63 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/DialogPreference.cs @@ -0,0 +1,273 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region DialogPreference + public partial class DialogPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DialogPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DialogPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public DialogPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public DialogPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Dialog Dialog + { + get { return IExecuteWithSignature("getDialog", "()Landroid/app/Dialog;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable DialogIcon + { + get { return IExecuteWithSignature("getDialogIcon", "()Landroid/graphics/drawable/Drawable;"); } + } + /// + /// + /// + [System.Obsolete()] + public int DialogLayoutResource + { + get { return IExecuteWithSignature("getDialogLayoutResource", "()I"); } set { IExecuteWithSignature("setDialogLayoutResource", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence DialogMessage + { + get { return IExecuteWithSignature("getDialogMessage", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence DialogTitle + { + get { return IExecuteWithSignature("getDialogTitle", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence NegativeButtonText + { + get { return IExecuteWithSignature("getNegativeButtonText", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence PositiveButtonText + { + get { return IExecuteWithSignature("getPositiveButtonText", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public void OnActivityDestroy() + { + IExecuteWithSignature("onActivityDestroy", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnClick(Android.Content.DialogInterface arg0, int arg1) + { + IExecute("onClick", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDismiss(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onDismiss", "(Landroid/content/DialogInterface;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogIcon(Android.Graphics.Drawable.Drawable arg0) + { + IExecuteWithSignature("setDialogIcon", "(Landroid/graphics/drawable/Drawable;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogIcon(int arg0) + { + IExecuteWithSignature("setDialogIcon", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogMessage(int arg0) + { + IExecuteWithSignature("setDialogMessage", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogMessage(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setDialogMessage", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogTitle(int arg0) + { + IExecuteWithSignature("setDialogTitle", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDialogTitle(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setDialogTitle", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetNegativeButtonText(int arg0) + { + IExecuteWithSignature("setNegativeButtonText", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetNegativeButtonText(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setNegativeButtonText", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPositiveButtonText(int arg0) + { + IExecuteWithSignature("setPositiveButtonText", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPositiveButtonText(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setPositiveButtonText", "(Ljava/lang/CharSequence;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/EditTextPreference.cs b/src/net/Netdroid/Generated/Android/Preference/EditTextPreference.cs new file mode 100644 index 000000000..64d7d4924 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/EditTextPreference.cs @@ -0,0 +1,116 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region EditTextPreference + public partial class EditTextPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public EditTextPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public EditTextPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public EditTextPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public EditTextPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Widget.EditText EditText + { + get { return IExecuteWithSignature("getEditText", "()Landroid/widget/EditText;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Text + { + get { return IExecuteWithSignature("getText", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setText", "(Ljava/lang/String;)V", value); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/ListPreference.cs b/src/net/Netdroid/Generated/Android/Preference/ListPreference.cs new file mode 100644 index 000000000..b1d30e092 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/ListPreference.cs @@ -0,0 +1,187 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region ListPreference + public partial class ListPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public ListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public ListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public ListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public ListPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence[] Entries + { + get { return IExecuteWithSignatureArray("getEntries", "()[Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Entry + { + get { return IExecuteWithSignature("getEntry", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence[] EntryValues + { + get { return IExecuteWithSignatureArray("getEntryValues", "()[Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Value + { + get { return IExecuteWithSignature("getValue", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setValue", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int FindIndexOfValue(Java.Lang.String arg0) + { + return IExecuteWithSignature("findIndexOfValue", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntries(int arg0) + { + IExecuteWithSignature("setEntries", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntries(Java.Lang.CharSequence[] arg0) + { + IExecuteWithSignature("setEntries", "([Ljava/lang/CharSequence;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntryValues(int arg0) + { + IExecuteWithSignature("setEntryValues", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntryValues(Java.Lang.CharSequence[] arg0) + { + IExecuteWithSignature("setEntryValues", "([Ljava/lang/CharSequence;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetValueIndex(int arg0) + { + IExecuteWithSignature("setValueIndex", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/MultiSelectListPreference.cs b/src/net/Netdroid/Generated/Android/Preference/MultiSelectListPreference.cs new file mode 100644 index 000000000..7914c77a5 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/MultiSelectListPreference.cs @@ -0,0 +1,170 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region MultiSelectListPreference + public partial class MultiSelectListPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public MultiSelectListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public MultiSelectListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public MultiSelectListPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public MultiSelectListPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence[] Entries + { + get { return IExecuteWithSignatureArray("getEntries", "()[Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence[] EntryValues + { + get { return IExecuteWithSignatureArray("getEntryValues", "()[Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Set Values + { + get { return IExecuteWithSignature>("getValues", "()Ljava/util/Set;"); } set { IExecuteWithSignature("setValues", "(Ljava/util/Set;)V", value); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int FindIndexOfValue(Java.Lang.String arg0) + { + return IExecuteWithSignature("findIndexOfValue", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntries(int arg0) + { + IExecuteWithSignature("setEntries", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntries(Java.Lang.CharSequence[] arg0) + { + IExecuteWithSignature("setEntries", "([Ljava/lang/CharSequence;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntryValues(int arg0) + { + IExecuteWithSignature("setEntryValues", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEntryValues(Java.Lang.CharSequence[] arg0) + { + IExecuteWithSignature("setEntryValues", "([Ljava/lang/CharSequence;)V", new object[] { arg0 }); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/Preference.cs b/src/net/Netdroid/Generated/Android/Preference/Preference.cs new file mode 100644 index 000000000..3cd4743c9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/Preference.cs @@ -0,0 +1,864 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region Preference + public partial class Preference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Preference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Preference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Preference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public Preference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int DEFAULT_ORDER { get { if (!_DEFAULT_ORDERReady) { _DEFAULT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_ORDER"); _DEFAULT_ORDERReady = true; } return _DEFAULT_ORDERContent; } } + private static int _DEFAULT_ORDERContent = default; + private static bool _DEFAULT_ORDERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context Context + { + get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Dependency + { + get { return IExecuteWithSignature("getDependency", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setDependency", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.SharedPreferences.Editor Editor + { + get { return IExecuteWithSignature("getEditor", "()Landroid/content/SharedPreferences$Editor;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle Extras + { + get { return IExecuteWithSignature("getExtras", "()Landroid/os/Bundle;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Fragment + { + get { return IExecuteWithSignature("getFragment", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setFragment", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference.OnPreferenceChangeListener GetOnPreferenceChangeListener + { + get { return IExecuteWithSignature("getOnPreferenceChangeListener", "()Landroid/preference/Preference$OnPreferenceChangeListener;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference.OnPreferenceClickListener GetOnPreferenceClickListener + { + get { return IExecuteWithSignature("getOnPreferenceClickListener", "()Landroid/preference/Preference$OnPreferenceClickListener;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Drawable Icon + { + get { return IExecuteWithSignature("getIcon", "()Landroid/graphics/drawable/Drawable;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent Intent + { + get { return IExecuteWithSignature("getIntent", "()Landroid/content/Intent;"); } set { IExecuteWithSignature("setIntent", "(Landroid/content/Intent;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Key + { + get { return IExecuteWithSignature("getKey", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setKey", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int LayoutResource + { + get { return IExecuteWithSignature("getLayoutResource", "()I"); } set { IExecuteWithSignature("setLayoutResource", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int Order + { + get { return IExecuteWithSignature("getOrder", "()I"); } set { IExecuteWithSignature("setOrder", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceGroup Parent + { + get { return IExecuteWithSignature("getParent", "()Landroid/preference/PreferenceGroup;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceDataStore PreferenceDataStore + { + get { return IExecuteWithSignature("getPreferenceDataStore", "()Landroid/preference/PreferenceDataStore;"); } set { IExecuteWithSignature("setPreferenceDataStore", "(Landroid/preference/PreferenceDataStore;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceManager PreferenceManager + { + get { return IExecuteWithSignature("getPreferenceManager", "()Landroid/preference/PreferenceManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.SharedPreferences SharedPreferences + { + get { return IExecuteWithSignature("getSharedPreferences", "()Landroid/content/SharedPreferences;"); } + } + /// + /// + /// + [System.Obsolete()] + public bool ShouldDisableView + { + get { return IExecuteWithSignature("getShouldDisableView", "()Z"); } set { IExecuteWithSignature("setShouldDisableView", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Summary + { + get { return IExecuteWithSignature("getSummary", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Title + { + get { return IExecuteWithSignature("getTitle", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public int TitleRes + { + get { return IExecuteWithSignature("getTitleRes", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int WidgetLayoutResource + { + get { return IExecuteWithSignature("getWidgetLayoutResource", "()I"); } set { IExecuteWithSignature("setWidgetLayoutResource", "(I)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle PeekExtras() + { + return IExecuteWithSignature("peekExtras", "()Landroid/os/Bundle;"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.View.View GetView(Android.View.View arg0, Android.View.ViewGroup arg1) + { + return IExecute("getView", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasKey() + { + return IExecuteWithSignature("hasKey", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsEnabled() + { + return IExecuteWithSignature("isEnabled", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsIconSpaceReserved() + { + return IExecuteWithSignature("isIconSpaceReserved", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsPersistent() + { + return IExecuteWithSignature("isPersistent", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsRecycleEnabled() + { + return IExecuteWithSignature("isRecycleEnabled", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsSelectable() + { + return IExecuteWithSignature("isSelectable", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsSingleLineTitle() + { + return IExecuteWithSignature("isSingleLineTitle", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool PersistStringSet(Java.Util.Set arg0) + { + return IExecuteWithSignature("persistStringSet", "(Ljava/util/Set;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ShouldCommit() + { + return IExecuteWithSignature("shouldCommit", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool ShouldDisableDependents() + { + return IExecuteWithSignature("shouldDisableDependents", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CompareTo(Android.Preference.Preference arg0) + { + return IExecuteWithSignature("compareTo", "(Landroid/preference/Preference;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int CompareTo(object arg0) + { + return IExecuteWithSignature("compareTo", "(Ljava/lang/Object;)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Set GetPersistedStringSet(Java.Util.Set arg0) + { + return IExecuteWithSignature>("getPersistedStringSet", "(Ljava/util/Set;)Ljava/util/Set;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void NotifyDependencyChange(bool arg0) + { + IExecuteWithSignature("notifyDependencyChange", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnDependencyChanged(Android.Preference.Preference arg0, bool arg1) + { + IExecute("onDependencyChanged", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnParentChanged(Android.Preference.Preference arg0, bool arg1) + { + IExecute("onParentChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void RestoreHierarchyState(Android.Os.Bundle arg0) + { + IExecuteWithSignature("restoreHierarchyState", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SaveHierarchyState(Android.Os.Bundle arg0) + { + IExecuteWithSignature("saveHierarchyState", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetDefaultValue(object arg0) + { + IExecuteWithSignature("setDefaultValue", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetEnabled(bool arg0) + { + IExecuteWithSignature("setEnabled", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIcon(Android.Graphics.Drawable.Drawable arg0) + { + IExecuteWithSignature("setIcon", "(Landroid/graphics/drawable/Drawable;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIcon(int arg0) + { + IExecuteWithSignature("setIcon", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetIconSpaceReserved(bool arg0) + { + IExecuteWithSignature("setIconSpaceReserved", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnPreferenceChangeListener(Android.Preference.Preference.OnPreferenceChangeListener arg0) + { + IExecuteWithSignature("setOnPreferenceChangeListener", "(Landroid/preference/Preference$OnPreferenceChangeListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnPreferenceClickListener(Android.Preference.Preference.OnPreferenceClickListener arg0) + { + IExecuteWithSignature("setOnPreferenceClickListener", "(Landroid/preference/Preference$OnPreferenceClickListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPersistent(bool arg0) + { + IExecuteWithSignature("setPersistent", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetRecycleEnabled(bool arg0) + { + IExecuteWithSignature("setRecycleEnabled", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSelectable(bool arg0) + { + IExecuteWithSignature("setSelectable", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSingleLineTitle(bool arg0) + { + IExecuteWithSignature("setSingleLineTitle", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummary(int arg0) + { + IExecuteWithSignature("setSummary", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummary(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setSummary", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetTitle(int arg0) + { + IExecuteWithSignature("setTitle", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetTitle(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setTitle", "(Ljava/lang/CharSequence;)V", arg0); + } + + #endregion + + #region Nested classes + #region BaseSavedState + public partial class BaseSavedState + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public BaseSavedState(Android.Os.Parcel arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public BaseSavedState(Android.Os.Parcelable arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPreferenceChangeListener + public partial class OnPreferenceChangeListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onPreferenceChange", new System.EventHandler>>(OnPreferenceChangeEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnPreferenceChange { get; set; } = null; + + void OnPreferenceChangeEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnPreferenceChange != null) ? OnOnPreferenceChange : OnPreferenceChange; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool OnPreferenceChange(Android.Preference.Preference arg0, object arg1) + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPreferenceChangeListenerDirect + public partial class OnPreferenceChangeListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool OnPreferenceChange(Android.Preference.Preference arg0, object arg1) + { + return IExecute("onPreferenceChange", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPreferenceClickListener + public partial class OnPreferenceClickListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onPreferenceClick", new System.EventHandler>>(OnPreferenceClickEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnPreferenceClick { get; set; } = null; + + void OnPreferenceClickEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnPreferenceClick != null) ? OnOnPreferenceClick : OnPreferenceClick; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool OnPreferenceClick(Android.Preference.Preference arg0) + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnPreferenceClickListenerDirect + public partial class OnPreferenceClickListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool OnPreferenceClick(Android.Preference.Preference arg0) + { + return IExecuteWithSignature("onPreferenceClick", "(Landroid/preference/Preference;)Z", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceActivity.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceActivity.cs new file mode 100644 index 000000000..7da8dac60 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceActivity.cs @@ -0,0 +1,556 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceActivity + public partial class PreferenceActivity + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_NO_HEADERS { get { if (!_EXTRA_NO_HEADERSReady) { _EXTRA_NO_HEADERSContent = SGetField(LocalBridgeClazz, "EXTRA_NO_HEADERS"); _EXTRA_NO_HEADERSReady = true; } return _EXTRA_NO_HEADERSContent; } } + private static Java.Lang.String _EXTRA_NO_HEADERSContent = default; + private static bool _EXTRA_NO_HEADERSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHOW_FRAGMENT { get { if (!_EXTRA_SHOW_FRAGMENTReady) { _EXTRA_SHOW_FRAGMENTContent = SGetField(LocalBridgeClazz, "EXTRA_SHOW_FRAGMENT"); _EXTRA_SHOW_FRAGMENTReady = true; } return _EXTRA_SHOW_FRAGMENTContent; } } + private static Java.Lang.String _EXTRA_SHOW_FRAGMENTContent = default; + private static bool _EXTRA_SHOW_FRAGMENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHOW_FRAGMENT_ARGUMENTS { get { if (!_EXTRA_SHOW_FRAGMENT_ARGUMENTSReady) { _EXTRA_SHOW_FRAGMENT_ARGUMENTSContent = SGetField(LocalBridgeClazz, "EXTRA_SHOW_FRAGMENT_ARGUMENTS"); _EXTRA_SHOW_FRAGMENT_ARGUMENTSReady = true; } return _EXTRA_SHOW_FRAGMENT_ARGUMENTSContent; } } + private static Java.Lang.String _EXTRA_SHOW_FRAGMENT_ARGUMENTSContent = default; + private static bool _EXTRA_SHOW_FRAGMENT_ARGUMENTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHOW_FRAGMENT_SHORT_TITLE { get { if (!_EXTRA_SHOW_FRAGMENT_SHORT_TITLEReady) { _EXTRA_SHOW_FRAGMENT_SHORT_TITLEContent = SGetField(LocalBridgeClazz, "EXTRA_SHOW_FRAGMENT_SHORT_TITLE"); _EXTRA_SHOW_FRAGMENT_SHORT_TITLEReady = true; } return _EXTRA_SHOW_FRAGMENT_SHORT_TITLEContent; } } + private static Java.Lang.String _EXTRA_SHOW_FRAGMENT_SHORT_TITLEContent = default; + private static bool _EXTRA_SHOW_FRAGMENT_SHORT_TITLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_SHOW_FRAGMENT_TITLE { get { if (!_EXTRA_SHOW_FRAGMENT_TITLEReady) { _EXTRA_SHOW_FRAGMENT_TITLEContent = SGetField(LocalBridgeClazz, "EXTRA_SHOW_FRAGMENT_TITLE"); _EXTRA_SHOW_FRAGMENT_TITLEReady = true; } return _EXTRA_SHOW_FRAGMENT_TITLEContent; } } + private static Java.Lang.String _EXTRA_SHOW_FRAGMENT_TITLEContent = default; + private static bool _EXTRA_SHOW_FRAGMENT_TITLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static long HEADER_ID_UNDEFINED { get { if (!_HEADER_ID_UNDEFINEDReady) { _HEADER_ID_UNDEFINEDContent = SGetField(LocalBridgeClazz, "HEADER_ID_UNDEFINED"); _HEADER_ID_UNDEFINEDReady = true; } return _HEADER_ID_UNDEFINEDContent; } } + private static long _HEADER_ID_UNDEFINEDContent = default; + private static bool _HEADER_ID_UNDEFINEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceManager PreferenceManager + { + get { return IExecuteWithSignature("getPreferenceManager", "()Landroid/preference/PreferenceManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceScreen PreferenceScreen + { + get { return IExecuteWithSignature("getPreferenceScreen", "()Landroid/preference/PreferenceScreen;"); } set { IExecuteWithSignature("setPreferenceScreen", "(Landroid/preference/PreferenceScreen;)V", value); } + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent OnBuildStartFragmentIntent(Java.Lang.String arg0, Android.Os.Bundle arg1, int arg2, int arg3) + { + return IExecute("onBuildStartFragmentIntent", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference FindPreference(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceActivity.Header OnGetInitialHeader() + { + return IExecuteWithSignature("onGetInitialHeader", "()Landroid/preference/PreferenceActivity$Header;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceActivity.Header OnGetNewHeader() + { + return IExecuteWithSignature("onGetNewHeader", "()Landroid/preference/PreferenceActivity$Header;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasHeaders() + { + return IExecuteWithSignature("hasHeaders", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsMultiPane() + { + return IExecuteWithSignature("isMultiPane", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnIsHidingHeaders() + { + return IExecuteWithSignature("onIsHidingHeaders", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool OnIsMultiPane() + { + return IExecuteWithSignature("onIsMultiPane", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnPreferenceStartFragment(Android.Preference.PreferenceFragment arg0, Android.Preference.Preference arg1) + { + return IExecute("onPreferenceStartFragment", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnPreferenceTreeClick(Android.Preference.PreferenceScreen arg0, Android.Preference.Preference arg1) + { + return IExecute("onPreferenceTreeClick", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddPreferencesFromIntent(Android.Content.Intent arg0) + { + IExecuteWithSignature("addPreferencesFromIntent", "(Landroid/content/Intent;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddPreferencesFromResource(int arg0) + { + IExecuteWithSignature("addPreferencesFromResource", "(I)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void FinishPreferencePanel(Android.App.Fragment arg0, int arg1, Android.Content.Intent arg2) + { + IExecute("finishPreferencePanel", arg0, arg1, arg2); + } + /// + /// + /// + [System.Obsolete()] + public void InvalidateHeaders() + { + IExecuteWithSignature("invalidateHeaders", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadHeadersFromResource(int arg0, Java.Util.List arg1) + { + IExecute("loadHeadersFromResource", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnBuildHeaders(Java.Util.List arg0) + { + IExecuteWithSignature("onBuildHeaders", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnHeaderClick(Android.Preference.PreferenceActivity.Header arg0, int arg1) + { + IExecute("onHeaderClick", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetListFooter(Android.View.View arg0) + { + IExecuteWithSignature("setListFooter", "(Landroid/view/View;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetParentTitle(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1, Android.View.View.OnClickListener arg2) + { + IExecute("setParentTitle", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ShowBreadCrumbs(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1) + { + IExecute("showBreadCrumbs", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartPreferenceFragment(Android.App.Fragment arg0, bool arg1) + { + IExecute("startPreferenceFragment", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartPreferencePanel(Java.Lang.String arg0, Android.Os.Bundle arg1, int arg2, Java.Lang.CharSequence arg3, Android.App.Fragment arg4, int arg5) + { + IExecute("startPreferencePanel", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartWithFragment(Java.Lang.String arg0, Android.Os.Bundle arg1, Android.App.Fragment arg2, int arg3, int arg4, int arg5) + { + IExecute("startWithFragment", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StartWithFragment(Java.Lang.String arg0, Android.Os.Bundle arg1, Android.App.Fragment arg2, int arg3) + { + IExecute("startWithFragment", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SwitchToHeader(Android.Preference.PreferenceActivity.Header arg0) + { + IExecuteWithSignature("switchToHeader", "(Landroid/preference/PreferenceActivity$Header;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SwitchToHeader(Java.Lang.String arg0, Android.Os.Bundle arg1) + { + IExecute("switchToHeader", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Header + public partial class Header + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public Android.Content.Intent intent { get { return IGetField("intent"); } set { ISetField("intent", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle extras { get { return IGetField("extras"); } set { ISetField("extras", value); } } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle fragmentArguments { get { return IGetField("fragmentArguments"); } set { ISetField("fragmentArguments", value); } } + /// + /// + /// + [System.Obsolete()] + public int breadCrumbShortTitleRes { get { return IGetField("breadCrumbShortTitleRes"); } set { ISetField("breadCrumbShortTitleRes", value); } } + /// + /// + /// + [System.Obsolete()] + public int breadCrumbTitleRes { get { return IGetField("breadCrumbTitleRes"); } set { ISetField("breadCrumbTitleRes", value); } } + /// + /// + /// + [System.Obsolete()] + public int iconRes { get { return IGetField("iconRes"); } set { ISetField("iconRes", value); } } + /// + /// + /// + [System.Obsolete()] + public int summaryRes { get { return IGetField("summaryRes"); } set { ISetField("summaryRes", value); } } + /// + /// + /// + [System.Obsolete()] + public int titleRes { get { return IGetField("titleRes"); } set { ISetField("titleRes", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence breadCrumbShortTitle { get { return IGetField("breadCrumbShortTitle"); } set { ISetField("breadCrumbShortTitle", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence breadCrumbTitle { get { return IGetField("breadCrumbTitle"); } set { ISetField("breadCrumbTitle", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence summary { get { return IGetField("summary"); } set { ISetField("summary", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence title { get { return IGetField("title"); } set { ISetField("title", value); } } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String fragment { get { return IGetField("fragment"); } set { ISetField("fragment", value); } } + /// + /// + /// + [System.Obsolete()] + public long id { get { return IGetField("id"); } set { ISetField("id", value); } } + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence GetBreadCrumbShortTitle(Android.Content.Res.Resources arg0) + { + return IExecuteWithSignature("getBreadCrumbShortTitle", "(Landroid/content/res/Resources;)Ljava/lang/CharSequence;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence GetBreadCrumbTitle(Android.Content.Res.Resources arg0) + { + return IExecuteWithSignature("getBreadCrumbTitle", "(Landroid/content/res/Resources;)Ljava/lang/CharSequence;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence GetSummary(Android.Content.Res.Resources arg0) + { + return IExecuteWithSignature("getSummary", "(Landroid/content/res/Resources;)Ljava/lang/CharSequence;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence GetTitle(Android.Content.Res.Resources arg0) + { + return IExecuteWithSignature("getTitle", "(Landroid/content/res/Resources;)Ljava/lang/CharSequence;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ReadFromParcel(Android.Os.Parcel arg0) + { + IExecuteWithSignature("readFromParcel", "(Landroid/os/Parcel;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceCategory.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceCategory.cs new file mode 100644 index 000000000..e942f33ea --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceCategory.cs @@ -0,0 +1,100 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceCategory + public partial class PreferenceCategory + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceCategory(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceCategory(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceCategory(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceCategory(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceDataStore.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceDataStore.cs new file mode 100644 index 000000000..fffb0b31a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceDataStore.cs @@ -0,0 +1,202 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region IPreferenceDataStore + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface IPreferenceDataStore + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PreferenceDataStore + public partial class PreferenceDataStore : Android.Preference.IPreferenceDataStore + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool GetBoolean(Java.Lang.String arg0, bool arg1) + { + return IExecute("getBoolean", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public float GetFloat(Java.Lang.String arg0, float arg1) + { + return IExecute("getFloat", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetInt(Java.Lang.String arg0, int arg1) + { + return IExecute("getInt", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetString(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("getString", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Set GetStringSet(Java.Lang.String arg0, Java.Util.Set arg1) + { + return IExecute>("getStringSet", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public long GetLong(Java.Lang.String arg0, long arg1) + { + return IExecute("getLong", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutBoolean(Java.Lang.String arg0, bool arg1) + { + IExecute("putBoolean", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutFloat(Java.Lang.String arg0, float arg1) + { + IExecute("putFloat", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutInt(Java.Lang.String arg0, int arg1) + { + IExecute("putInt", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutLong(Java.Lang.String arg0, long arg1) + { + IExecute("putLong", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutString(Java.Lang.String arg0, Java.Lang.String arg1) + { + IExecute("putString", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void PutStringSet(Java.Lang.String arg0, Java.Util.Set arg1) + { + IExecute("putStringSet", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceFragment.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceFragment.cs new file mode 100644 index 000000000..c33e3aa58 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceFragment.cs @@ -0,0 +1,155 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceFragment + public partial class PreferenceFragment + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceManager PreferenceManager + { + get { return IExecuteWithSignature("getPreferenceManager", "()Landroid/preference/PreferenceManager;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceScreen PreferenceScreen + { + get { return IExecuteWithSignature("getPreferenceScreen", "()Landroid/preference/PreferenceScreen;"); } set { IExecuteWithSignature("setPreferenceScreen", "(Landroid/preference/PreferenceScreen;)V", value); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference FindPreference(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnPreferenceTreeClick(Android.Preference.PreferenceScreen arg0, Android.Preference.Preference arg1) + { + return IExecute("onPreferenceTreeClick", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddPreferencesFromIntent(Android.Content.Intent arg0) + { + IExecuteWithSignature("addPreferencesFromIntent", "(Landroid/content/Intent;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddPreferencesFromResource(int arg0) + { + IExecuteWithSignature("addPreferencesFromResource", "(I)V", arg0); + } + + #endregion + + #region Nested classes + #region OnPreferenceStartFragmentCallback + public partial class OnPreferenceStartFragmentCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnPreferenceStartFragment(Android.Preference.PreferenceFragment arg0, Android.Preference.Preference arg1) + { + return IExecute("onPreferenceStartFragment", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceGroup.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceGroup.cs new file mode 100644 index 000000000..5b46434d9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceGroup.cs @@ -0,0 +1,174 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceGroup + public partial class PreferenceGroup + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceGroup(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceGroup(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public PreferenceGroup(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int PreferenceCount + { + get { return IExecuteWithSignature("getPreferenceCount", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference FindPreference(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference GetPreference(int arg0) + { + return IExecuteWithSignature("getPreference", "(I)Landroid/preference/Preference;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool AddPreference(Android.Preference.Preference arg0) + { + return IExecuteWithSignature("addPreference", "(Landroid/preference/Preference;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsOrderingAsAdded() + { + return IExecuteWithSignature("isOrderingAsAdded", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool RemovePreference(Android.Preference.Preference arg0) + { + return IExecuteWithSignature("removePreference", "(Landroid/preference/Preference;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddItemFromInflater(Android.Preference.Preference arg0) + { + IExecuteWithSignature("addItemFromInflater", "(Landroid/preference/Preference;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void RemoveAll() + { + IExecuteWithSignature("removeAll", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOrderingAsAdded(bool arg0) + { + IExecuteWithSignature("setOrderingAsAdded", "(Z)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceManager.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceManager.cs new file mode 100644 index 000000000..6166559cc --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceManager.cs @@ -0,0 +1,508 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceManager + public partial class PreferenceManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_HAS_SET_DEFAULT_VALUES { get { if (!_KEY_HAS_SET_DEFAULT_VALUESReady) { _KEY_HAS_SET_DEFAULT_VALUESContent = SGetField(LocalBridgeClazz, "KEY_HAS_SET_DEFAULT_VALUES"); _KEY_HAS_SET_DEFAULT_VALUESReady = true; } return _KEY_HAS_SET_DEFAULT_VALUESContent; } } + private static Java.Lang.String _KEY_HAS_SET_DEFAULT_VALUESContent = default; + private static bool _KEY_HAS_SET_DEFAULT_VALUESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String METADATA_KEY_PREFERENCES { get { if (!_METADATA_KEY_PREFERENCESReady) { _METADATA_KEY_PREFERENCESContent = SGetField(LocalBridgeClazz, "METADATA_KEY_PREFERENCES"); _METADATA_KEY_PREFERENCESReady = true; } return _METADATA_KEY_PREFERENCESContent; } } + private static Java.Lang.String _METADATA_KEY_PREFERENCESContent = default; + private static bool _METADATA_KEY_PREFERENCESReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Content.SharedPreferences GetDefaultSharedPreferences(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getDefaultSharedPreferences", "(Landroid/content/Context;)Landroid/content/SharedPreferences;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetDefaultSharedPreferencesName(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getDefaultSharedPreferencesName", "(Landroid/content/Context;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetDefaultValues(Android.Content.Context arg0, int arg1, bool arg2) + { + SExecute(LocalBridgeClazz, "setDefaultValues", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetDefaultValues(Android.Content.Context arg0, Java.Lang.String arg1, int arg2, int arg3, bool arg4) + { + SExecute(LocalBridgeClazz, "setDefaultValues", arg0, arg1, arg2, arg3, arg4); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceDataStore PreferenceDataStore + { + get { return IExecuteWithSignature("getPreferenceDataStore", "()Landroid/preference/PreferenceDataStore;"); } set { IExecuteWithSignature("setPreferenceDataStore", "(Landroid/preference/PreferenceDataStore;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.SharedPreferences SharedPreferences + { + get { return IExecuteWithSignature("getSharedPreferences", "()Landroid/content/SharedPreferences;"); } + } + /// + /// + /// + [System.Obsolete()] + public int SharedPreferencesMode + { + get { return IExecuteWithSignature("getSharedPreferencesMode", "()I"); } set { IExecuteWithSignature("setSharedPreferencesMode", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String SharedPreferencesName + { + get { return IExecuteWithSignature("getSharedPreferencesName", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setSharedPreferencesName", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.Preference FindPreference(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignature("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Preference.PreferenceScreen CreatePreferenceScreen(Android.Content.Context arg0) + { + return IExecuteWithSignature("createPreferenceScreen", "(Landroid/content/Context;)Landroid/preference/PreferenceScreen;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStorageDefault() + { + return IExecuteWithSignature("isStorageDefault", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStorageDeviceProtected() + { + return IExecuteWithSignature("isStorageDeviceProtected", "()Z"); + } + /// + /// + /// + [System.Obsolete()] + public void SetStorageDefault() + { + IExecuteWithSignature("setStorageDefault", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void SetStorageDeviceProtected() + { + IExecuteWithSignature("setStorageDeviceProtected", "()V"); + } + + #endregion + + #region Nested classes + #region OnActivityDestroyListener + public partial class OnActivityDestroyListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onActivityDestroy", new System.EventHandler>(OnActivityDestroyEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnActivityDestroy { get; set; } = null; + + void OnActivityDestroyEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnOnActivityDestroy != null) ? OnOnActivityDestroy : OnActivityDestroy; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void OnActivityDestroy() + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnActivityDestroyListenerDirect + public partial class OnActivityDestroyListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public override void OnActivityDestroy() + { + IExecuteWithSignature("onActivityDestroy", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnActivityResultListener + public partial class OnActivityResultListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onActivityResult", new System.EventHandler>>(OnActivityResultEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnOnActivityResult { get; set; } = null; + + void OnActivityResultEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnActivityResult != null) ? OnOnActivityResult : OnActivityResult; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual bool OnActivityResult(int arg0, int arg1, Android.Content.Intent arg2) + { + return default; + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnActivityResultListenerDirect + public partial class OnActivityResultListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override bool OnActivityResult(int arg0, int arg1, Android.Content.Intent arg2) + { + return IExecute("onActivityResult", arg0, arg1, arg2); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnActivityStopListener + public partial class OnActivityStopListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onActivityStop", new System.EventHandler>(OnActivityStopEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnActivityStop { get; set; } = null; + + void OnActivityStopEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnOnActivityStop != null) ? OnOnActivityStop : OnActivityStop; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void OnActivityStop() + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnActivityStopListenerDirect + public partial class OnActivityStopListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public override void OnActivityStop() + { + IExecuteWithSignature("onActivityStop", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/PreferenceScreen.cs b/src/net/Netdroid/Generated/Android/Preference/PreferenceScreen.cs new file mode 100644 index 000000000..0f0fffdb4 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/PreferenceScreen.cs @@ -0,0 +1,104 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region PreferenceScreen + public partial class PreferenceScreen + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.App.Dialog Dialog + { + get { return IExecuteWithSignature("getDialog", "()Landroid/app/Dialog;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Widget.ListAdapter RootAdapter + { + get { return IExecuteWithSignature("getRootAdapter", "()Landroid/widget/ListAdapter;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void Bind(Android.Widget.ListView arg0) + { + IExecuteWithSignature("bind", "(Landroid/widget/ListView;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnDismiss(Android.Content.DialogInterface arg0) + { + IExecuteWithSignature("onDismiss", "(Landroid/content/DialogInterface;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnItemClick(Android.Widget.AdapterView arg0, Android.View.View arg1, int arg2, long arg3) + { + IExecute("onItemClick", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/RingtonePreference.cs b/src/net/Netdroid/Generated/Android/Preference/RingtonePreference.cs new file mode 100644 index 000000000..fbfc7110d --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/RingtonePreference.cs @@ -0,0 +1,136 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region RingtonePreference + public partial class RingtonePreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public RingtonePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public RingtonePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public RingtonePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public RingtonePreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int RingtoneType + { + get { return IExecuteWithSignature("getRingtoneType", "()I"); } set { IExecuteWithSignature("setRingtoneType", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public bool ShowDefault + { + get { return IExecuteWithSignature("getShowDefault", "()Z"); } set { IExecuteWithSignature("setShowDefault", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public bool ShowSilent + { + get { return IExecuteWithSignature("getShowSilent", "()Z"); } set { IExecuteWithSignature("setShowSilent", "(Z)V", value); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool OnActivityResult(int arg0, int arg1, Android.Content.Intent arg2) + { + return IExecute("onActivityResult", arg0, arg1, arg2); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/SwitchPreference.cs b/src/net/Netdroid/Generated/Android/Preference/SwitchPreference.cs new file mode 100644 index 000000000..b9b915719 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/SwitchPreference.cs @@ -0,0 +1,152 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region SwitchPreference + public partial class SwitchPreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SwitchPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public SwitchPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public SwitchPreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public SwitchPreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence SwitchTextOff + { + get { return IExecuteWithSignature("getSwitchTextOff", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence SwitchTextOn + { + get { return IExecuteWithSignature("getSwitchTextOn", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSwitchTextOff(int arg0) + { + IExecuteWithSignature("setSwitchTextOff", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSwitchTextOff(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setSwitchTextOff", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSwitchTextOn(int arg0) + { + IExecuteWithSignature("setSwitchTextOn", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSwitchTextOn(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setSwitchTextOn", "(Ljava/lang/CharSequence;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Preference/TwoStatePreference.cs b/src/net/Netdroid/Generated/Android/Preference/TwoStatePreference.cs new file mode 100644 index 000000000..a10df368b --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Preference/TwoStatePreference.cs @@ -0,0 +1,178 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Preference +{ + #region TwoStatePreference + public partial class TwoStatePreference + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public TwoStatePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public TwoStatePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public TwoStatePreference(Android.Content.Context arg0, Android.Util.AttributeSet arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public TwoStatePreference(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public bool DisableDependentsState + { + get { return IExecuteWithSignature("getDisableDependentsState", "()Z"); } set { IExecuteWithSignature("setDisableDependentsState", "(Z)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence SummaryOff + { + get { return IExecuteWithSignature("getSummaryOff", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence SummaryOn + { + get { return IExecuteWithSignature("getSummaryOn", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsChecked() + { + return IExecuteWithSignature("isChecked", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetChecked(bool arg0) + { + IExecuteWithSignature("setChecked", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummaryOff(int arg0) + { + IExecuteWithSignature("setSummaryOff", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummaryOff(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setSummaryOff", "(Ljava/lang/CharSequence;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummaryOn(int arg0) + { + IExecuteWithSignature("setSummaryOn", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetSummaryOn(Java.Lang.CharSequence arg0) + { + IExecuteWithSignature("setSummaryOn", "(Ljava/lang/CharSequence;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Provider/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Provider/AllPackageClasses.cs index 6bb5f1248..9de147d11 100644 --- a/src/net/Netdroid/Generated/Android/Provider/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Provider/AllPackageClasses.cs @@ -1305,6 +1305,1149 @@ public MediaColumns(params object[] args) : base(args) { } #endregion + } + #endregion + + #region Contacts + /// + /// + /// + [System.Obsolete()] + public partial class Contacts : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Contacts() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Contacts(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region ContactMethods + /// + /// + /// + [System.Obsolete()] + public partial class ContactMethods : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$ContactMethods"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ContactMethods() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ContactMethods(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ContactMethodsColumns + /// + /// + /// + [System.Obsolete()] + public partial class ContactMethodsColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$ContactMethodsColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ContactMethodsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ContactMethodsColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ContactMethodsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ContactMethodsColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Extensions + /// + /// + /// + [System.Obsolete()] + public partial class Extensions : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Extensions"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Extensions() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Extensions(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ExtensionsColumns + /// + /// + /// + [System.Obsolete()] + public partial class ExtensionsColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$ExtensionsColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ExtensionsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ExtensionsColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ExtensionsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ExtensionsColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region GroupMembership + /// + /// + /// + [System.Obsolete()] + public partial class GroupMembership : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$GroupMembership"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GroupMembership() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GroupMembership(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Groups + /// + /// + /// + [System.Obsolete()] + public partial class Groups : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Groups"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Groups() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Groups(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region GroupsColumns + /// + /// + /// + [System.Obsolete()] + public partial class GroupsColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$GroupsColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("GroupsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public GroupsColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("GroupsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public GroupsColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Intents + /// + /// + /// + [System.Obsolete()] + public partial class Intents : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Intents"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Intents() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Intents(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + #region UI + /// + /// + /// + [System.Obsolete()] + public partial class UI : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Intents$UI"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public UI() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public UI(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Insert + /// + /// + /// + [System.Obsolete()] + public partial class Insert : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Intents$Insert"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Insert() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Insert(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region OrganizationColumns + /// + /// + /// + [System.Obsolete()] + public partial class OrganizationColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$OrganizationColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("OrganizationColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OrganizationColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("OrganizationColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OrganizationColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Organizations + /// + /// + /// + [System.Obsolete()] + public partial class Organizations : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Organizations"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Organizations() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Organizations(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region People + /// + /// + /// + [System.Obsolete()] + public partial class People : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$People"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public People() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public People(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + #region Phones + /// + /// + /// + [System.Obsolete()] + public partial class Phones : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$People$Phones"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Phones() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Phones(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Extensions + /// + /// + /// + [System.Obsolete()] + public partial class Extensions : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$People$Extensions"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Extensions() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Extensions(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region ContactMethods + /// + /// + /// + [System.Obsolete()] + public partial class ContactMethods : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$People$ContactMethods"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ContactMethods() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ContactMethods(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region PeopleColumns + /// + /// + /// + [System.Obsolete()] + public partial class PeopleColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$PeopleColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PeopleColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PeopleColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PeopleColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PeopleColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Phones + /// + /// + /// + [System.Obsolete()] + public partial class Phones : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Phones"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Phones() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Phones(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region PhonesColumns + /// + /// + /// + [System.Obsolete()] + public partial class PhonesColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$PhonesColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PhonesColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PhonesColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PhonesColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PhonesColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Photos + /// + /// + /// + [System.Obsolete()] + public partial class Photos : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Photos"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Photos() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Photos(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region PhotosColumns + /// + /// + /// + [System.Obsolete()] + public partial class PhotosColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$PhotosColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PhotosColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PhotosColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PhotosColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PhotosColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region PresenceColumns + /// + /// + /// + [System.Obsolete()] + public partial class PresenceColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$PresenceColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("PresenceColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PresenceColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("PresenceColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public PresenceColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Settings + /// + /// + /// + [System.Obsolete()] + public partial class Settings : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$Settings"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Settings() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Settings(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region SettingsColumns + /// + /// + /// + [System.Obsolete()] + public partial class SettingsColumns : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.Contacts$SettingsColumns"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("SettingsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public SettingsColumns() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("SettingsColumns class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public SettingsColumns(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + } #endregion @@ -2538,6 +3681,51 @@ public Data(params object[] args) : base(args) { } } #endregion + #region DataUsageFeedback + /// + /// + /// + [System.Obsolete()] + public partial class DataUsageFeedback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.ContactsContract$DataUsageFeedback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DataUsageFeedback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DataUsageFeedback(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region DeletedContacts /// /// @@ -3028,6 +4216,51 @@ public PinnedPositions(params object[] args) : base(args) { } } #endregion + #region Presence + /// + /// + /// + [System.Obsolete()] + public partial class Presence : Android.Provider.ContactsContract.StatusUpdates + { + const string _bridgeClassName = "android.provider.ContactsContract$Presence"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Presence() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Presence(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + #region Profile /// /// @@ -3478,11 +4711,143 @@ public partial class Settings : MASES.JCOBridge.C2JBridge.JVMBridgeBase /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public Settings() { } + public Settings() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Settings(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region SimAccount + /// + /// + /// + public partial class SimAccount : Android.Os.Parcelable + { + const string _bridgeClassName = "android.provider.ContactsContract$SimAccount"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SimAccount() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SimAccount(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region SimContacts + /// + /// + /// + public partial class SimContacts : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.ContactsContract$SimContacts"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SimContacts() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SimContacts(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region StatusUpdates + /// + /// + /// + public partial class StatusUpdates : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.ContactsContract$StatusUpdates"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public StatusUpdates() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public Settings(params object[] args) : base(args) { } + public StatusUpdates(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3512,21 +4877,21 @@ public Settings(params object[] args) : base(args) { } } #endregion - #region SimAccount + #region SyncState /// - /// + /// /// - public partial class SimAccount : Android.Os.Parcelable + public partial class SyncState : Android.Provider.SyncStateContract.Columns { - const string _bridgeClassName = "android.provider.ContactsContract$SimAccount"; + const string _bridgeClassName = "android.provider.ContactsContract$SyncState"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public SimAccount() { } + public SyncState() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public SimAccount(params object[] args) : base(args) { } + public SyncState(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3556,21 +4921,65 @@ public SimAccount(params object[] args) : base(args) { } } #endregion - #region SimContacts + + } + #endregion + + #region DocumentsContract + /// + /// + /// + public partial class DocumentsContract : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.DocumentsContract"; /// - /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public partial class SimContacts : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public DocumentsContract() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DocumentsContract(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Document + /// + /// + /// + public partial class Document : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.provider.ContactsContract$SimContacts"; + const string _bridgeClassName = "android.provider.DocumentsContract$Document"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public SimContacts() { } + public Document() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public SimContacts(params object[] args) : base(args) { } + public Document(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3600,21 +5009,21 @@ public SimContacts(params object[] args) : base(args) { } } #endregion - #region StatusUpdates + #region Path /// - /// + /// /// - public partial class StatusUpdates : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public partial class Path : Android.Os.Parcelable { - const string _bridgeClassName = "android.provider.ContactsContract$StatusUpdates"; + const string _bridgeClassName = "android.provider.DocumentsContract$Path"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public StatusUpdates() { } + public Path() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public StatusUpdates(params object[] args) : base(args) { } + public Path(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3644,21 +5053,21 @@ public StatusUpdates(params object[] args) : base(args) { } } #endregion - #region SyncState + #region Root /// - /// + /// /// - public partial class SyncState : Android.Provider.SyncStateContract.Columns + public partial class Root : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.provider.ContactsContract$SyncState"; + const string _bridgeClassName = "android.provider.DocumentsContract$Root"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public SyncState() { } + public Root() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public SyncState(params object[] args) : base(args) { } + public Root(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3692,21 +5101,68 @@ public SyncState(params object[] args) : base(args) { } } #endregion - #region DocumentsContract + #region DocumentsProvider /// - /// + /// /// - public partial class DocumentsContract : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public partial class DocumentsProvider : Android.Content.ContentProvider { - const string _bridgeClassName = "android.provider.DocumentsContract"; + const string _bridgeClassName = "android.provider.DocumentsProvider"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public DocumentsContract() { } + [Obsolete("DocumentsProvider class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public DocumentsProvider() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public DocumentsContract(params object[] args) : base(args) { } + [Obsolete("DocumentsProvider class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public DocumentsProvider(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region FontRequest + /// + /// + /// + [System.Obsolete()] + public partial class FontRequest : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.FontRequest"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FontRequest() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FontRequest(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3732,21 +5188,67 @@ public DocumentsContract(params object[] args) : base(args) { } public override bool IsBridgeStatic => false; // TODO: complete the class - #region Document + + } + #endregion + + #region FontsContract + /// + /// + /// + [System.Obsolete()] + public partial class FontsContract : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.FontsContract"; /// - /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public partial class Document : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public FontsContract() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FontsContract(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Columns + /// + /// + /// + [System.Obsolete()] + public partial class Columns : Android.Provider.BaseColumns { - const string _bridgeClassName = "android.provider.DocumentsContract$Document"; + const string _bridgeClassName = "android.provider.FontsContract$Columns"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public Document() { } + public Columns() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public Document(params object[] args) : base(args) { } + public Columns(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3776,21 +5278,22 @@ public Document(params object[] args) : base(args) { } } #endregion - #region Path + #region FontFamilyResult /// - /// + /// /// - public partial class Path : Android.Os.Parcelable + [System.Obsolete()] + public partial class FontFamilyResult : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.provider.DocumentsContract$Path"; + const string _bridgeClassName = "android.provider.FontsContract$FontFamilyResult"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public Path() { } + public FontFamilyResult() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public Path(params object[] args) : base(args) { } + public FontFamilyResult(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3820,21 +5323,67 @@ public Path(params object[] args) : base(args) { } } #endregion - #region Root + #region FontInfo /// - /// + /// /// - public partial class Root : MASES.JCOBridge.C2JBridge.JVMBridgeBase + [System.Obsolete()] + public partial class FontInfo : MASES.JCOBridge.C2JBridge.JVMBridgeBase { - const string _bridgeClassName = "android.provider.DocumentsContract$Root"; + const string _bridgeClassName = "android.provider.FontsContract$FontInfo"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - public Root() { } + public FontInfo() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - public Root(params object[] args) : base(args) { } + public FontInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region FontRequestCallback + /// + /// + /// + [System.Obsolete()] + public partial class FontRequestCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.provider.FontsContract$FontRequestCallback"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FontRequestCallback() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FontRequestCallback(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3868,23 +5417,22 @@ public Root(params object[] args) : base(args) { } } #endregion - #region DocumentsProvider + #region LiveFolders /// - /// + /// /// - public partial class DocumentsProvider : Android.Content.ContentProvider + [System.Obsolete()] + public partial class LiveFolders : Android.Provider.BaseColumns { - const string _bridgeClassName = "android.provider.DocumentsProvider"; + const string _bridgeClassName = "android.provider.LiveFolders"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - [Obsolete("DocumentsProvider class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public DocumentsProvider() { } + public LiveFolders() { } /// /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class /// - [Obsolete("DocumentsProvider class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public DocumentsProvider(params object[] args) : base(args) { } + public LiveFolders(params object[] args) : base(args) { } private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); @@ -3895,7 +5443,7 @@ public DocumentsProvider(params object[] args) : base(args) { } /// /// /// - public override bool IsBridgeAbstract => true; + public override bool IsBridgeAbstract => false; /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Provider/Contacts.cs b/src/net/Netdroid/Generated/Android/Provider/Contacts.cs new file mode 100644 index 000000000..cb0dacf42 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Provider/Contacts.cs @@ -0,0 +1,2447 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Provider +{ + #region Contacts + public partial class Contacts + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KIND_EMAIL { get { if (!_KIND_EMAILReady) { _KIND_EMAILContent = SGetField(LocalBridgeClazz, "KIND_EMAIL"); _KIND_EMAILReady = true; } return _KIND_EMAILContent; } } + private static int _KIND_EMAILContent = default; + private static bool _KIND_EMAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KIND_IM { get { if (!_KIND_IMReady) { _KIND_IMContent = SGetField(LocalBridgeClazz, "KIND_IM"); _KIND_IMReady = true; } return _KIND_IMContent; } } + private static int _KIND_IMContent = default; + private static bool _KIND_IMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KIND_ORGANIZATION { get { if (!_KIND_ORGANIZATIONReady) { _KIND_ORGANIZATIONContent = SGetField(LocalBridgeClazz, "KIND_ORGANIZATION"); _KIND_ORGANIZATIONReady = true; } return _KIND_ORGANIZATIONContent; } } + private static int _KIND_ORGANIZATIONContent = default; + private static bool _KIND_ORGANIZATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KIND_PHONE { get { if (!_KIND_PHONEReady) { _KIND_PHONEContent = SGetField(LocalBridgeClazz, "KIND_PHONE"); _KIND_PHONEReady = true; } return _KIND_PHONEContent; } } + private static int _KIND_PHONEContent = default; + private static bool _KIND_PHONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int KIND_POSTAL { get { if (!_KIND_POSTALReady) { _KIND_POSTALContent = SGetField(LocalBridgeClazz, "KIND_POSTAL"); _KIND_POSTALReady = true; } return _KIND_POSTALContent; } } + private static int _KIND_POSTALContent = default; + private static bool _KIND_POSTALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AUTHORITY { get { if (!_AUTHORITYReady) { _AUTHORITYContent = SGetField(LocalBridgeClazz, "AUTHORITY"); _AUTHORITYReady = true; } return _AUTHORITYContent; } } + private static Java.Lang.String _AUTHORITYContent = default; + private static bool _AUTHORITYReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region ContactMethods + public partial class ContactMethods : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.ContactMethods t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_EMAIL_URI { get { if (!_CONTENT_EMAIL_URIReady) { _CONTENT_EMAIL_URIContent = SGetField(LocalBridgeClazz, "CONTENT_EMAIL_URI"); _CONTENT_EMAIL_URIReady = true; } return _CONTENT_EMAIL_URIContent; } } + private static Android.Net.Uri _CONTENT_EMAIL_URIContent = default; + private static bool _CONTENT_EMAIL_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_AIM { get { if (!_PROTOCOL_AIMReady) { _PROTOCOL_AIMContent = SGetField(LocalBridgeClazz, "PROTOCOL_AIM"); _PROTOCOL_AIMReady = true; } return _PROTOCOL_AIMContent; } } + private static int _PROTOCOL_AIMContent = default; + private static bool _PROTOCOL_AIMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_GOOGLE_TALK { get { if (!_PROTOCOL_GOOGLE_TALKReady) { _PROTOCOL_GOOGLE_TALKContent = SGetField(LocalBridgeClazz, "PROTOCOL_GOOGLE_TALK"); _PROTOCOL_GOOGLE_TALKReady = true; } return _PROTOCOL_GOOGLE_TALKContent; } } + private static int _PROTOCOL_GOOGLE_TALKContent = default; + private static bool _PROTOCOL_GOOGLE_TALKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_ICQ { get { if (!_PROTOCOL_ICQReady) { _PROTOCOL_ICQContent = SGetField(LocalBridgeClazz, "PROTOCOL_ICQ"); _PROTOCOL_ICQReady = true; } return _PROTOCOL_ICQContent; } } + private static int _PROTOCOL_ICQContent = default; + private static bool _PROTOCOL_ICQReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_JABBER { get { if (!_PROTOCOL_JABBERReady) { _PROTOCOL_JABBERContent = SGetField(LocalBridgeClazz, "PROTOCOL_JABBER"); _PROTOCOL_JABBERReady = true; } return _PROTOCOL_JABBERContent; } } + private static int _PROTOCOL_JABBERContent = default; + private static bool _PROTOCOL_JABBERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_MSN { get { if (!_PROTOCOL_MSNReady) { _PROTOCOL_MSNContent = SGetField(LocalBridgeClazz, "PROTOCOL_MSN"); _PROTOCOL_MSNReady = true; } return _PROTOCOL_MSNContent; } } + private static int _PROTOCOL_MSNContent = default; + private static bool _PROTOCOL_MSNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_QQ { get { if (!_PROTOCOL_QQReady) { _PROTOCOL_QQContent = SGetField(LocalBridgeClazz, "PROTOCOL_QQ"); _PROTOCOL_QQReady = true; } return _PROTOCOL_QQContent; } } + private static int _PROTOCOL_QQContent = default; + private static bool _PROTOCOL_QQReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_SKYPE { get { if (!_PROTOCOL_SKYPEReady) { _PROTOCOL_SKYPEContent = SGetField(LocalBridgeClazz, "PROTOCOL_SKYPE"); _PROTOCOL_SKYPEReady = true; } return _PROTOCOL_SKYPEContent; } } + private static int _PROTOCOL_SKYPEContent = default; + private static bool _PROTOCOL_SKYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_YAHOO { get { if (!_PROTOCOL_YAHOOReady) { _PROTOCOL_YAHOOContent = SGetField(LocalBridgeClazz, "PROTOCOL_YAHOO"); _PROTOCOL_YAHOOReady = true; } return _PROTOCOL_YAHOOContent; } } + private static int _PROTOCOL_YAHOOContent = default; + private static bool _PROTOCOL_YAHOOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_EMAIL_ITEM_TYPE { get { if (!_CONTENT_EMAIL_ITEM_TYPEReady) { _CONTENT_EMAIL_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_EMAIL_ITEM_TYPE"); _CONTENT_EMAIL_ITEM_TYPEReady = true; } return _CONTENT_EMAIL_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_EMAIL_ITEM_TYPEContent = default; + private static bool _CONTENT_EMAIL_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_EMAIL_TYPE { get { if (!_CONTENT_EMAIL_TYPEReady) { _CONTENT_EMAIL_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_EMAIL_TYPE"); _CONTENT_EMAIL_TYPEReady = true; } return _CONTENT_EMAIL_TYPEContent; } } + private static Java.Lang.String _CONTENT_EMAIL_TYPEContent = default; + private static bool _CONTENT_EMAIL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_IM_ITEM_TYPE { get { if (!_CONTENT_IM_ITEM_TYPEReady) { _CONTENT_IM_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_IM_ITEM_TYPE"); _CONTENT_IM_ITEM_TYPEReady = true; } return _CONTENT_IM_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_IM_ITEM_TYPEContent = default; + private static bool _CONTENT_IM_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_POSTAL_ITEM_TYPE { get { if (!_CONTENT_POSTAL_ITEM_TYPEReady) { _CONTENT_POSTAL_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_POSTAL_ITEM_TYPE"); _CONTENT_POSTAL_ITEM_TYPEReady = true; } return _CONTENT_POSTAL_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_POSTAL_ITEM_TYPEContent = default; + private static bool _CONTENT_POSTAL_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_POSTAL_TYPE { get { if (!_CONTENT_POSTAL_TYPEReady) { _CONTENT_POSTAL_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_POSTAL_TYPE"); _CONTENT_POSTAL_TYPEReady = true; } return _CONTENT_POSTAL_TYPEContent; } } + private static Java.Lang.String _CONTENT_POSTAL_TYPEContent = default; + private static bool _CONTENT_POSTAL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String POSTAL_LOCATION_LATITUDE { get { if (!_POSTAL_LOCATION_LATITUDEReady) { _POSTAL_LOCATION_LATITUDEContent = SGetField(LocalBridgeClazz, "POSTAL_LOCATION_LATITUDE"); _POSTAL_LOCATION_LATITUDEReady = true; } return _POSTAL_LOCATION_LATITUDEContent; } } + private static Java.Lang.String _POSTAL_LOCATION_LATITUDEContent = default; + private static bool _POSTAL_LOCATION_LATITUDEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String POSTAL_LOCATION_LONGITUDE { get { if (!_POSTAL_LOCATION_LONGITUDEReady) { _POSTAL_LOCATION_LONGITUDEContent = SGetField(LocalBridgeClazz, "POSTAL_LOCATION_LONGITUDE"); _POSTAL_LOCATION_LONGITUDEReady = true; } return _POSTAL_LOCATION_LONGITUDEContent; } } + private static Java.Lang.String _POSTAL_LOCATION_LONGITUDEContent = default; + private static bool _POSTAL_LOCATION_LONGITUDEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.CharSequence GetDisplayLabel(Android.Content.Context arg0, int arg1, int arg2, Java.Lang.CharSequence arg3) + { + return SExecute(LocalBridgeClazz, "getDisplayLabel", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static object DecodeImProtocol(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "decodeImProtocol", "(Ljava/lang/String;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EncodeCustomImProtocol(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "encodeCustomImProtocol", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EncodePredefinedImProtocol(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "encodePredefinedImProtocol", "(I)Ljava/lang/String;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void AddPostalLocation(Android.Content.Context arg0, long arg1, double arg2, double arg3) + { + IExecute("addPostalLocation", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ContactMethodsColumns + public partial class ContactMethodsColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_CUSTOM { get { if (!_TYPE_CUSTOMReady) { _TYPE_CUSTOMContent = SGetField(LocalBridgeClazz, "TYPE_CUSTOM"); _TYPE_CUSTOMReady = true; } return _TYPE_CUSTOMContent; } } + private static int _TYPE_CUSTOMContent = default; + private static bool _TYPE_CUSTOMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_HOME { get { if (!_TYPE_HOMEReady) { _TYPE_HOMEContent = SGetField(LocalBridgeClazz, "TYPE_HOME"); _TYPE_HOMEReady = true; } return _TYPE_HOMEContent; } } + private static int _TYPE_HOMEContent = default; + private static bool _TYPE_HOMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_OTHER { get { if (!_TYPE_OTHERReady) { _TYPE_OTHERContent = SGetField(LocalBridgeClazz, "TYPE_OTHER"); _TYPE_OTHERReady = true; } return _TYPE_OTHERContent; } } + private static int _TYPE_OTHERContent = default; + private static bool _TYPE_OTHERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WORK { get { if (!_TYPE_WORKReady) { _TYPE_WORKContent = SGetField(LocalBridgeClazz, "TYPE_WORK"); _TYPE_WORKReady = true; } return _TYPE_WORKContent; } } + private static int _TYPE_WORKContent = default; + private static bool _TYPE_WORKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AUX_DATA { get { if (!_AUX_DATAReady) { _AUX_DATAContent = SGetField(LocalBridgeClazz, "AUX_DATA"); _AUX_DATAReady = true; } return _AUX_DATAContent; } } + private static Java.Lang.String _AUX_DATAContent = default; + private static bool _AUX_DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA { get { if (!_DATAReady) { _DATAContent = SGetField(LocalBridgeClazz, "DATA"); _DATAReady = true; } return _DATAContent; } } + private static Java.Lang.String _DATAContent = default; + private static bool _DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ISPRIMARY { get { if (!_ISPRIMARYReady) { _ISPRIMARYContent = SGetField(LocalBridgeClazz, "ISPRIMARY"); _ISPRIMARYReady = true; } return _ISPRIMARYContent; } } + private static Java.Lang.String _ISPRIMARYContent = default; + private static bool _ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KIND { get { if (!_KINDReady) { _KINDContent = SGetField(LocalBridgeClazz, "KIND"); _KINDReady = true; } return _KINDContent; } } + private static Java.Lang.String _KINDContent = default; + private static bool _KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LABEL { get { if (!_LABELReady) { _LABELContent = SGetField(LocalBridgeClazz, "LABEL"); _LABELReady = true; } return _LABELContent; } } + private static Java.Lang.String _LABELContent = default; + private static bool _LABELReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TYPE { get { if (!_TYPEReady) { _TYPEContent = SGetField(LocalBridgeClazz, "TYPE"); _TYPEReady = true; } return _TYPEContent; } } + private static Java.Lang.String _TYPEContent = default; + private static bool _TYPEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Extensions + public partial class Extensions : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Extensions t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_ITEM_TYPE { get { if (!_CONTENT_ITEM_TYPEReady) { _CONTENT_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_ITEM_TYPE"); _CONTENT_ITEM_TYPEReady = true; } return _CONTENT_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_ITEM_TYPEContent = default; + private static bool _CONTENT_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ExtensionsColumns + public partial class ExtensionsColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VALUE { get { if (!_VALUEReady) { _VALUEContent = SGetField(LocalBridgeClazz, "VALUE"); _VALUEReady = true; } return _VALUEContent; } } + private static Java.Lang.String _VALUEContent = default; + private static bool _VALUEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region GroupMembership + public partial class GroupMembership : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.GroupMembership t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri RAW_CONTENT_URI { get { if (!_RAW_CONTENT_URIReady) { _RAW_CONTENT_URIContent = SGetField(LocalBridgeClazz, "RAW_CONTENT_URI"); _RAW_CONTENT_URIReady = true; } return _RAW_CONTENT_URIContent; } } + private static Android.Net.Uri _RAW_CONTENT_URIContent = default; + private static bool _RAW_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_ITEM_TYPE { get { if (!_CONTENT_ITEM_TYPEReady) { _CONTENT_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_ITEM_TYPE"); _CONTENT_ITEM_TYPEReady = true; } return _CONTENT_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_ITEM_TYPEContent = default; + private static bool _CONTENT_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_ID { get { if (!_GROUP_IDReady) { _GROUP_IDContent = SGetField(LocalBridgeClazz, "GROUP_ID"); _GROUP_IDReady = true; } return _GROUP_IDContent; } } + private static Java.Lang.String _GROUP_IDContent = default; + private static bool _GROUP_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_SYNC_ACCOUNT { get { if (!_GROUP_SYNC_ACCOUNTReady) { _GROUP_SYNC_ACCOUNTContent = SGetField(LocalBridgeClazz, "GROUP_SYNC_ACCOUNT"); _GROUP_SYNC_ACCOUNTReady = true; } return _GROUP_SYNC_ACCOUNTContent; } } + private static Java.Lang.String _GROUP_SYNC_ACCOUNTContent = default; + private static bool _GROUP_SYNC_ACCOUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_SYNC_ACCOUNT_TYPE { get { if (!_GROUP_SYNC_ACCOUNT_TYPEReady) { _GROUP_SYNC_ACCOUNT_TYPEContent = SGetField(LocalBridgeClazz, "GROUP_SYNC_ACCOUNT_TYPE"); _GROUP_SYNC_ACCOUNT_TYPEReady = true; } return _GROUP_SYNC_ACCOUNT_TYPEContent; } } + private static Java.Lang.String _GROUP_SYNC_ACCOUNT_TYPEContent = default; + private static bool _GROUP_SYNC_ACCOUNT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_SYNC_ID { get { if (!_GROUP_SYNC_IDReady) { _GROUP_SYNC_IDContent = SGetField(LocalBridgeClazz, "GROUP_SYNC_ID"); _GROUP_SYNC_IDReady = true; } return _GROUP_SYNC_IDContent; } } + private static Java.Lang.String _GROUP_SYNC_IDContent = default; + private static bool _GROUP_SYNC_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Groups + public partial class Groups : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Groups t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri DELETED_CONTENT_URI { get { if (!_DELETED_CONTENT_URIReady) { _DELETED_CONTENT_URIContent = SGetField(LocalBridgeClazz, "DELETED_CONTENT_URI"); _DELETED_CONTENT_URIReady = true; } return _DELETED_CONTENT_URIContent; } } + private static Android.Net.Uri _DELETED_CONTENT_URIContent = default; + private static bool _DELETED_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_ITEM_TYPE { get { if (!_CONTENT_ITEM_TYPEReady) { _CONTENT_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_ITEM_TYPE"); _CONTENT_ITEM_TYPEReady = true; } return _CONTENT_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_ITEM_TYPEContent = default; + private static bool _CONTENT_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_ANDROID_STARRED { get { if (!_GROUP_ANDROID_STARREDReady) { _GROUP_ANDROID_STARREDContent = SGetField(LocalBridgeClazz, "GROUP_ANDROID_STARRED"); _GROUP_ANDROID_STARREDReady = true; } return _GROUP_ANDROID_STARREDContent; } } + private static Java.Lang.String _GROUP_ANDROID_STARREDContent = default; + private static bool _GROUP_ANDROID_STARREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_MY_CONTACTS { get { if (!_GROUP_MY_CONTACTSReady) { _GROUP_MY_CONTACTSContent = SGetField(LocalBridgeClazz, "GROUP_MY_CONTACTS"); _GROUP_MY_CONTACTSReady = true; } return _GROUP_MY_CONTACTSContent; } } + private static Java.Lang.String _GROUP_MY_CONTACTSContent = default; + private static bool _GROUP_MY_CONTACTSReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region GroupsColumns + public partial class GroupsColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NOTES { get { if (!_NOTESReady) { _NOTESContent = SGetField(LocalBridgeClazz, "NOTES"); _NOTESReady = true; } return _NOTESContent; } } + private static Java.Lang.String _NOTESContent = default; + private static bool _NOTESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SHOULD_SYNC { get { if (!_SHOULD_SYNCReady) { _SHOULD_SYNCContent = SGetField(LocalBridgeClazz, "SHOULD_SYNC"); _SHOULD_SYNCReady = true; } return _SHOULD_SYNCContent; } } + private static Java.Lang.String _SHOULD_SYNCContent = default; + private static bool _SHOULD_SYNCReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SYSTEM_ID { get { if (!_SYSTEM_IDReady) { _SYSTEM_IDContent = SGetField(LocalBridgeClazz, "SYSTEM_ID"); _SYSTEM_IDReady = true; } return _SYSTEM_IDContent; } } + private static Java.Lang.String _SYSTEM_IDContent = default; + private static bool _SYSTEM_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Intents + public partial class Intents + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ATTACH_IMAGE { get { if (!_ATTACH_IMAGEReady) { _ATTACH_IMAGEContent = SGetField(LocalBridgeClazz, "ATTACH_IMAGE"); _ATTACH_IMAGEReady = true; } return _ATTACH_IMAGEContent; } } + private static Java.Lang.String _ATTACH_IMAGEContent = default; + private static bool _ATTACH_IMAGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_CREATE_DESCRIPTION { get { if (!_EXTRA_CREATE_DESCRIPTIONReady) { _EXTRA_CREATE_DESCRIPTIONContent = SGetField(LocalBridgeClazz, "EXTRA_CREATE_DESCRIPTION"); _EXTRA_CREATE_DESCRIPTIONReady = true; } return _EXTRA_CREATE_DESCRIPTIONContent; } } + private static Java.Lang.String _EXTRA_CREATE_DESCRIPTIONContent = default; + private static bool _EXTRA_CREATE_DESCRIPTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_FORCE_CREATE { get { if (!_EXTRA_FORCE_CREATEReady) { _EXTRA_FORCE_CREATEContent = SGetField(LocalBridgeClazz, "EXTRA_FORCE_CREATE"); _EXTRA_FORCE_CREATEReady = true; } return _EXTRA_FORCE_CREATEContent; } } + private static Java.Lang.String _EXTRA_FORCE_CREATEContent = default; + private static bool _EXTRA_FORCE_CREATEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SEARCH_SUGGESTION_CLICKED { get { if (!_SEARCH_SUGGESTION_CLICKEDReady) { _SEARCH_SUGGESTION_CLICKEDContent = SGetField(LocalBridgeClazz, "SEARCH_SUGGESTION_CLICKED"); _SEARCH_SUGGESTION_CLICKEDReady = true; } return _SEARCH_SUGGESTION_CLICKEDContent; } } + private static Java.Lang.String _SEARCH_SUGGESTION_CLICKEDContent = default; + private static bool _SEARCH_SUGGESTION_CLICKEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED { get { if (!_SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDReady) { _SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDContent = SGetField(LocalBridgeClazz, "SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED"); _SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDReady = true; } return _SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDContent; } } + private static Java.Lang.String _SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDContent = default; + private static bool _SEARCH_SUGGESTION_CREATE_CONTACT_CLICKEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED { get { if (!_SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDReady) { _SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDContent = SGetField(LocalBridgeClazz, "SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED"); _SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDReady = true; } return _SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDContent; } } + private static Java.Lang.String _SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDContent = default; + private static bool _SEARCH_SUGGESTION_DIAL_NUMBER_CLICKEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SHOW_OR_CREATE_CONTACT { get { if (!_SHOW_OR_CREATE_CONTACTReady) { _SHOW_OR_CREATE_CONTACTContent = SGetField(LocalBridgeClazz, "SHOW_OR_CREATE_CONTACT"); _SHOW_OR_CREATE_CONTACTReady = true; } return _SHOW_OR_CREATE_CONTACTContent; } } + private static Java.Lang.String _SHOW_OR_CREATE_CONTACTContent = default; + private static bool _SHOW_OR_CREATE_CONTACTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region UI + public partial class UI + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FILTER_CONTACTS_ACTION { get { if (!_FILTER_CONTACTS_ACTIONReady) { _FILTER_CONTACTS_ACTIONContent = SGetField(LocalBridgeClazz, "FILTER_CONTACTS_ACTION"); _FILTER_CONTACTS_ACTIONReady = true; } return _FILTER_CONTACTS_ACTIONContent; } } + private static Java.Lang.String _FILTER_CONTACTS_ACTIONContent = default; + private static bool _FILTER_CONTACTS_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FILTER_TEXT_EXTRA_KEY { get { if (!_FILTER_TEXT_EXTRA_KEYReady) { _FILTER_TEXT_EXTRA_KEYContent = SGetField(LocalBridgeClazz, "FILTER_TEXT_EXTRA_KEY"); _FILTER_TEXT_EXTRA_KEYReady = true; } return _FILTER_TEXT_EXTRA_KEYContent; } } + private static Java.Lang.String _FILTER_TEXT_EXTRA_KEYContent = default; + private static bool _FILTER_TEXT_EXTRA_KEYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GROUP_NAME_EXTRA_KEY { get { if (!_GROUP_NAME_EXTRA_KEYReady) { _GROUP_NAME_EXTRA_KEYContent = SGetField(LocalBridgeClazz, "GROUP_NAME_EXTRA_KEY"); _GROUP_NAME_EXTRA_KEYReady = true; } return _GROUP_NAME_EXTRA_KEYContent; } } + private static Java.Lang.String _GROUP_NAME_EXTRA_KEYContent = default; + private static bool _GROUP_NAME_EXTRA_KEYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_ALL_CONTACTS_ACTION { get { if (!_LIST_ALL_CONTACTS_ACTIONReady) { _LIST_ALL_CONTACTS_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_ALL_CONTACTS_ACTION"); _LIST_ALL_CONTACTS_ACTIONReady = true; } return _LIST_ALL_CONTACTS_ACTIONContent; } } + private static Java.Lang.String _LIST_ALL_CONTACTS_ACTIONContent = default; + private static bool _LIST_ALL_CONTACTS_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_CONTACTS_WITH_PHONES_ACTION { get { if (!_LIST_CONTACTS_WITH_PHONES_ACTIONReady) { _LIST_CONTACTS_WITH_PHONES_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_CONTACTS_WITH_PHONES_ACTION"); _LIST_CONTACTS_WITH_PHONES_ACTIONReady = true; } return _LIST_CONTACTS_WITH_PHONES_ACTIONContent; } } + private static Java.Lang.String _LIST_CONTACTS_WITH_PHONES_ACTIONContent = default; + private static bool _LIST_CONTACTS_WITH_PHONES_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_DEFAULT { get { if (!_LIST_DEFAULTReady) { _LIST_DEFAULTContent = SGetField(LocalBridgeClazz, "LIST_DEFAULT"); _LIST_DEFAULTReady = true; } return _LIST_DEFAULTContent; } } + private static Java.Lang.String _LIST_DEFAULTContent = default; + private static bool _LIST_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_FREQUENT_ACTION { get { if (!_LIST_FREQUENT_ACTIONReady) { _LIST_FREQUENT_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_FREQUENT_ACTION"); _LIST_FREQUENT_ACTIONReady = true; } return _LIST_FREQUENT_ACTIONContent; } } + private static Java.Lang.String _LIST_FREQUENT_ACTIONContent = default; + private static bool _LIST_FREQUENT_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_GROUP_ACTION { get { if (!_LIST_GROUP_ACTIONReady) { _LIST_GROUP_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_GROUP_ACTION"); _LIST_GROUP_ACTIONReady = true; } return _LIST_GROUP_ACTIONContent; } } + private static Java.Lang.String _LIST_GROUP_ACTIONContent = default; + private static bool _LIST_GROUP_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_STARRED_ACTION { get { if (!_LIST_STARRED_ACTIONReady) { _LIST_STARRED_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_STARRED_ACTION"); _LIST_STARRED_ACTIONReady = true; } return _LIST_STARRED_ACTIONContent; } } + private static Java.Lang.String _LIST_STARRED_ACTIONContent = default; + private static bool _LIST_STARRED_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LIST_STREQUENT_ACTION { get { if (!_LIST_STREQUENT_ACTIONReady) { _LIST_STREQUENT_ACTIONContent = SGetField(LocalBridgeClazz, "LIST_STREQUENT_ACTION"); _LIST_STREQUENT_ACTIONReady = true; } return _LIST_STREQUENT_ACTIONContent; } } + private static Java.Lang.String _LIST_STREQUENT_ACTIONContent = default; + private static bool _LIST_STREQUENT_ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TITLE_EXTRA_KEY { get { if (!_TITLE_EXTRA_KEYReady) { _TITLE_EXTRA_KEYContent = SGetField(LocalBridgeClazz, "TITLE_EXTRA_KEY"); _TITLE_EXTRA_KEYReady = true; } return _TITLE_EXTRA_KEYContent; } } + private static Java.Lang.String _TITLE_EXTRA_KEYContent = default; + private static bool _TITLE_EXTRA_KEYReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Insert + public partial class Insert + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION { get { if (!_ACTIONReady) { _ACTIONContent = SGetField(LocalBridgeClazz, "ACTION"); _ACTIONReady = true; } return _ACTIONContent; } } + private static Java.Lang.String _ACTIONContent = default; + private static bool _ACTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String COMPANY { get { if (!_COMPANYReady) { _COMPANYContent = SGetField(LocalBridgeClazz, "COMPANY"); _COMPANYReady = true; } return _COMPANYContent; } } + private static Java.Lang.String _COMPANYContent = default; + private static bool _COMPANYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EMAIL { get { if (!_EMAILReady) { _EMAILContent = SGetField(LocalBridgeClazz, "EMAIL"); _EMAILReady = true; } return _EMAILContent; } } + private static Java.Lang.String _EMAILContent = default; + private static bool _EMAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EMAIL_ISPRIMARY { get { if (!_EMAIL_ISPRIMARYReady) { _EMAIL_ISPRIMARYContent = SGetField(LocalBridgeClazz, "EMAIL_ISPRIMARY"); _EMAIL_ISPRIMARYReady = true; } return _EMAIL_ISPRIMARYContent; } } + private static Java.Lang.String _EMAIL_ISPRIMARYContent = default; + private static bool _EMAIL_ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EMAIL_TYPE { get { if (!_EMAIL_TYPEReady) { _EMAIL_TYPEContent = SGetField(LocalBridgeClazz, "EMAIL_TYPE"); _EMAIL_TYPEReady = true; } return _EMAIL_TYPEContent; } } + private static Java.Lang.String _EMAIL_TYPEContent = default; + private static bool _EMAIL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FULL_MODE { get { if (!_FULL_MODEReady) { _FULL_MODEContent = SGetField(LocalBridgeClazz, "FULL_MODE"); _FULL_MODEReady = true; } return _FULL_MODEContent; } } + private static Java.Lang.String _FULL_MODEContent = default; + private static bool _FULL_MODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_HANDLE { get { if (!_IM_HANDLEReady) { _IM_HANDLEContent = SGetField(LocalBridgeClazz, "IM_HANDLE"); _IM_HANDLEReady = true; } return _IM_HANDLEContent; } } + private static Java.Lang.String _IM_HANDLEContent = default; + private static bool _IM_HANDLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_ISPRIMARY { get { if (!_IM_ISPRIMARYReady) { _IM_ISPRIMARYContent = SGetField(LocalBridgeClazz, "IM_ISPRIMARY"); _IM_ISPRIMARYReady = true; } return _IM_ISPRIMARYContent; } } + private static Java.Lang.String _IM_ISPRIMARYContent = default; + private static bool _IM_ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_PROTOCOL { get { if (!_IM_PROTOCOLReady) { _IM_PROTOCOLContent = SGetField(LocalBridgeClazz, "IM_PROTOCOL"); _IM_PROTOCOLReady = true; } return _IM_PROTOCOLContent; } } + private static Java.Lang.String _IM_PROTOCOLContent = default; + private static bool _IM_PROTOCOLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String JOB_TITLE { get { if (!_JOB_TITLEReady) { _JOB_TITLEContent = SGetField(LocalBridgeClazz, "JOB_TITLE"); _JOB_TITLEReady = true; } return _JOB_TITLEContent; } } + private static Java.Lang.String _JOB_TITLEContent = default; + private static bool _JOB_TITLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NOTES { get { if (!_NOTESReady) { _NOTESContent = SGetField(LocalBridgeClazz, "NOTES"); _NOTESReady = true; } return _NOTESContent; } } + private static Java.Lang.String _NOTESContent = default; + private static bool _NOTESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHONE { get { if (!_PHONEReady) { _PHONEContent = SGetField(LocalBridgeClazz, "PHONE"); _PHONEReady = true; } return _PHONEContent; } } + private static Java.Lang.String _PHONEContent = default; + private static bool _PHONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHONE_ISPRIMARY { get { if (!_PHONE_ISPRIMARYReady) { _PHONE_ISPRIMARYContent = SGetField(LocalBridgeClazz, "PHONE_ISPRIMARY"); _PHONE_ISPRIMARYReady = true; } return _PHONE_ISPRIMARYContent; } } + private static Java.Lang.String _PHONE_ISPRIMARYContent = default; + private static bool _PHONE_ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHONE_TYPE { get { if (!_PHONE_TYPEReady) { _PHONE_TYPEContent = SGetField(LocalBridgeClazz, "PHONE_TYPE"); _PHONE_TYPEReady = true; } return _PHONE_TYPEContent; } } + private static Java.Lang.String _PHONE_TYPEContent = default; + private static bool _PHONE_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHONETIC_NAME { get { if (!_PHONETIC_NAMEReady) { _PHONETIC_NAMEContent = SGetField(LocalBridgeClazz, "PHONETIC_NAME"); _PHONETIC_NAMEReady = true; } return _PHONETIC_NAMEContent; } } + private static Java.Lang.String _PHONETIC_NAMEContent = default; + private static bool _PHONETIC_NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String POSTAL { get { if (!_POSTALReady) { _POSTALContent = SGetField(LocalBridgeClazz, "POSTAL"); _POSTALReady = true; } return _POSTALContent; } } + private static Java.Lang.String _POSTALContent = default; + private static bool _POSTALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String POSTAL_ISPRIMARY { get { if (!_POSTAL_ISPRIMARYReady) { _POSTAL_ISPRIMARYContent = SGetField(LocalBridgeClazz, "POSTAL_ISPRIMARY"); _POSTAL_ISPRIMARYReady = true; } return _POSTAL_ISPRIMARYContent; } } + private static Java.Lang.String _POSTAL_ISPRIMARYContent = default; + private static bool _POSTAL_ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String POSTAL_TYPE { get { if (!_POSTAL_TYPEReady) { _POSTAL_TYPEContent = SGetField(LocalBridgeClazz, "POSTAL_TYPE"); _POSTAL_TYPEReady = true; } return _POSTAL_TYPEContent; } } + private static Java.Lang.String _POSTAL_TYPEContent = default; + private static bool _POSTAL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECONDARY_EMAIL { get { if (!_SECONDARY_EMAILReady) { _SECONDARY_EMAILContent = SGetField(LocalBridgeClazz, "SECONDARY_EMAIL"); _SECONDARY_EMAILReady = true; } return _SECONDARY_EMAILContent; } } + private static Java.Lang.String _SECONDARY_EMAILContent = default; + private static bool _SECONDARY_EMAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECONDARY_EMAIL_TYPE { get { if (!_SECONDARY_EMAIL_TYPEReady) { _SECONDARY_EMAIL_TYPEContent = SGetField(LocalBridgeClazz, "SECONDARY_EMAIL_TYPE"); _SECONDARY_EMAIL_TYPEReady = true; } return _SECONDARY_EMAIL_TYPEContent; } } + private static Java.Lang.String _SECONDARY_EMAIL_TYPEContent = default; + private static bool _SECONDARY_EMAIL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECONDARY_PHONE { get { if (!_SECONDARY_PHONEReady) { _SECONDARY_PHONEContent = SGetField(LocalBridgeClazz, "SECONDARY_PHONE"); _SECONDARY_PHONEReady = true; } return _SECONDARY_PHONEContent; } } + private static Java.Lang.String _SECONDARY_PHONEContent = default; + private static bool _SECONDARY_PHONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECONDARY_PHONE_TYPE { get { if (!_SECONDARY_PHONE_TYPEReady) { _SECONDARY_PHONE_TYPEContent = SGetField(LocalBridgeClazz, "SECONDARY_PHONE_TYPE"); _SECONDARY_PHONE_TYPEReady = true; } return _SECONDARY_PHONE_TYPEContent; } } + private static Java.Lang.String _SECONDARY_PHONE_TYPEContent = default; + private static bool _SECONDARY_PHONE_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TERTIARY_EMAIL { get { if (!_TERTIARY_EMAILReady) { _TERTIARY_EMAILContent = SGetField(LocalBridgeClazz, "TERTIARY_EMAIL"); _TERTIARY_EMAILReady = true; } return _TERTIARY_EMAILContent; } } + private static Java.Lang.String _TERTIARY_EMAILContent = default; + private static bool _TERTIARY_EMAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TERTIARY_EMAIL_TYPE { get { if (!_TERTIARY_EMAIL_TYPEReady) { _TERTIARY_EMAIL_TYPEContent = SGetField(LocalBridgeClazz, "TERTIARY_EMAIL_TYPE"); _TERTIARY_EMAIL_TYPEReady = true; } return _TERTIARY_EMAIL_TYPEContent; } } + private static Java.Lang.String _TERTIARY_EMAIL_TYPEContent = default; + private static bool _TERTIARY_EMAIL_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TERTIARY_PHONE { get { if (!_TERTIARY_PHONEReady) { _TERTIARY_PHONEContent = SGetField(LocalBridgeClazz, "TERTIARY_PHONE"); _TERTIARY_PHONEReady = true; } return _TERTIARY_PHONEContent; } } + private static Java.Lang.String _TERTIARY_PHONEContent = default; + private static bool _TERTIARY_PHONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TERTIARY_PHONE_TYPE { get { if (!_TERTIARY_PHONE_TYPEReady) { _TERTIARY_PHONE_TYPEContent = SGetField(LocalBridgeClazz, "TERTIARY_PHONE_TYPE"); _TERTIARY_PHONE_TYPEReady = true; } return _TERTIARY_PHONE_TYPEContent; } } + private static Java.Lang.String _TERTIARY_PHONE_TYPEContent = default; + private static bool _TERTIARY_PHONE_TYPEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion + + #region OrganizationColumns + public partial class OrganizationColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_CUSTOM { get { if (!_TYPE_CUSTOMReady) { _TYPE_CUSTOMContent = SGetField(LocalBridgeClazz, "TYPE_CUSTOM"); _TYPE_CUSTOMReady = true; } return _TYPE_CUSTOMContent; } } + private static int _TYPE_CUSTOMContent = default; + private static bool _TYPE_CUSTOMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_OTHER { get { if (!_TYPE_OTHERReady) { _TYPE_OTHERContent = SGetField(LocalBridgeClazz, "TYPE_OTHER"); _TYPE_OTHERReady = true; } return _TYPE_OTHERContent; } } + private static int _TYPE_OTHERContent = default; + private static bool _TYPE_OTHERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WORK { get { if (!_TYPE_WORKReady) { _TYPE_WORKContent = SGetField(LocalBridgeClazz, "TYPE_WORK"); _TYPE_WORKReady = true; } return _TYPE_WORKContent; } } + private static int _TYPE_WORKContent = default; + private static bool _TYPE_WORKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String COMPANY { get { if (!_COMPANYReady) { _COMPANYContent = SGetField(LocalBridgeClazz, "COMPANY"); _COMPANYReady = true; } return _COMPANYContent; } } + private static Java.Lang.String _COMPANYContent = default; + private static bool _COMPANYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ISPRIMARY { get { if (!_ISPRIMARYReady) { _ISPRIMARYContent = SGetField(LocalBridgeClazz, "ISPRIMARY"); _ISPRIMARYReady = true; } return _ISPRIMARYContent; } } + private static Java.Lang.String _ISPRIMARYContent = default; + private static bool _ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LABEL { get { if (!_LABELReady) { _LABELContent = SGetField(LocalBridgeClazz, "LABEL"); _LABELReady = true; } return _LABELContent; } } + private static Java.Lang.String _LABELContent = default; + private static bool _LABELReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TITLE { get { if (!_TITLEReady) { _TITLEContent = SGetField(LocalBridgeClazz, "TITLE"); _TITLEReady = true; } return _TITLEContent; } } + private static Java.Lang.String _TITLEContent = default; + private static bool _TITLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TYPE { get { if (!_TYPEReady) { _TYPEContent = SGetField(LocalBridgeClazz, "TYPE"); _TYPEReady = true; } return _TYPEContent; } } + private static Java.Lang.String _TYPEContent = default; + private static bool _TYPEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Organizations + public partial class Organizations : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Organizations t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.CharSequence GetDisplayLabel(Android.Content.Context arg0, int arg1, Java.Lang.CharSequence arg2) + { + return SExecute(LocalBridgeClazz, "getDisplayLabel", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region People + public partial class People : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.People t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_FILTER_URI { get { if (!_CONTENT_FILTER_URIReady) { _CONTENT_FILTER_URIContent = SGetField(LocalBridgeClazz, "CONTENT_FILTER_URI"); _CONTENT_FILTER_URIReady = true; } return _CONTENT_FILTER_URIContent; } } + private static Android.Net.Uri _CONTENT_FILTER_URIContent = default; + private static bool _CONTENT_FILTER_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri DELETED_CONTENT_URI { get { if (!_DELETED_CONTENT_URIReady) { _DELETED_CONTENT_URIContent = SGetField(LocalBridgeClazz, "DELETED_CONTENT_URI"); _DELETED_CONTENT_URIReady = true; } return _DELETED_CONTENT_URIContent; } } + private static Android.Net.Uri _DELETED_CONTENT_URIContent = default; + private static bool _DELETED_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_ITEM_TYPE { get { if (!_CONTENT_ITEM_TYPEReady) { _CONTENT_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_ITEM_TYPE"); _CONTENT_ITEM_TYPEReady = true; } return _CONTENT_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_ITEM_TYPEContent = default; + private static bool _CONTENT_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRIMARY_EMAIL_ID { get { if (!_PRIMARY_EMAIL_IDReady) { _PRIMARY_EMAIL_IDContent = SGetField(LocalBridgeClazz, "PRIMARY_EMAIL_ID"); _PRIMARY_EMAIL_IDReady = true; } return _PRIMARY_EMAIL_IDContent; } } + private static Java.Lang.String _PRIMARY_EMAIL_IDContent = default; + private static bool _PRIMARY_EMAIL_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRIMARY_ORGANIZATION_ID { get { if (!_PRIMARY_ORGANIZATION_IDReady) { _PRIMARY_ORGANIZATION_IDContent = SGetField(LocalBridgeClazz, "PRIMARY_ORGANIZATION_ID"); _PRIMARY_ORGANIZATION_IDReady = true; } return _PRIMARY_ORGANIZATION_IDContent; } } + private static Java.Lang.String _PRIMARY_ORGANIZATION_IDContent = default; + private static bool _PRIMARY_ORGANIZATION_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRIMARY_PHONE_ID { get { if (!_PRIMARY_PHONE_IDReady) { _PRIMARY_PHONE_IDContent = SGetField(LocalBridgeClazz, "PRIMARY_PHONE_ID"); _PRIMARY_PHONE_IDReady = true; } return _PRIMARY_PHONE_IDContent; } } + private static Java.Lang.String _PRIMARY_PHONE_IDContent = default; + private static bool _PRIMARY_PHONE_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor QueryGroups(Android.Content.ContentResolver arg0, long arg1) + { + return SExecute(LocalBridgeClazz, "queryGroups", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap LoadContactPhoto(Android.Content.Context arg0, Android.Net.Uri arg1, int arg2, Android.Graphics.BitmapFactory.Options arg3) + { + return SExecute(LocalBridgeClazz, "loadContactPhoto", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri AddToGroup(Android.Content.ContentResolver arg0, long arg1, Java.Lang.String arg2) + { + return SExecute(LocalBridgeClazz, "addToGroup", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri AddToGroup(Android.Content.ContentResolver arg0, long arg1, long arg2) + { + return SExecute(LocalBridgeClazz, "addToGroup", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri AddToMyContactsGroup(Android.Content.ContentResolver arg0, long arg1) + { + return SExecute(LocalBridgeClazz, "addToMyContactsGroup", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CreatePersonInMyContactsGroup(Android.Content.ContentResolver arg0, Android.Content.ContentValues arg1) + { + return SExecute(LocalBridgeClazz, "createPersonInMyContactsGroup", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Io.InputStream OpenContactPhotoInputStream(Android.Content.ContentResolver arg0, Android.Net.Uri arg1) + { + return SExecute(LocalBridgeClazz, "openContactPhotoInputStream", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void MarkAsContacted(Android.Content.ContentResolver arg0, long arg1) + { + SExecute(LocalBridgeClazz, "markAsContacted", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetPhotoData(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, byte[] arg2) + { + SExecute(LocalBridgeClazz, "setPhotoData", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region Phones + public partial class Phones : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.People.Phones t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Extensions + public partial class Extensions : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.People.Extensions t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region ContactMethods + public partial class ContactMethods : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.People.ContactMethods t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion + + #region PeopleColumns + public partial class PeopleColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CUSTOM_RINGTONE { get { if (!_CUSTOM_RINGTONEReady) { _CUSTOM_RINGTONEContent = SGetField(LocalBridgeClazz, "CUSTOM_RINGTONE"); _CUSTOM_RINGTONEReady = true; } return _CUSTOM_RINGTONEContent; } } + private static Java.Lang.String _CUSTOM_RINGTONEContent = default; + private static bool _CUSTOM_RINGTONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DISPLAY_NAME { get { if (!_DISPLAY_NAMEReady) { _DISPLAY_NAMEContent = SGetField(LocalBridgeClazz, "DISPLAY_NAME"); _DISPLAY_NAMEReady = true; } return _DISPLAY_NAMEContent; } } + private static Java.Lang.String _DISPLAY_NAMEContent = default; + private static bool _DISPLAY_NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LAST_TIME_CONTACTED { get { if (!_LAST_TIME_CONTACTEDReady) { _LAST_TIME_CONTACTEDContent = SGetField(LocalBridgeClazz, "LAST_TIME_CONTACTED"); _LAST_TIME_CONTACTEDReady = true; } return _LAST_TIME_CONTACTEDContent; } } + private static Java.Lang.String _LAST_TIME_CONTACTEDContent = default; + private static bool _LAST_TIME_CONTACTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NOTES { get { if (!_NOTESReady) { _NOTESContent = SGetField(LocalBridgeClazz, "NOTES"); _NOTESReady = true; } return _NOTESContent; } } + private static Java.Lang.String _NOTESContent = default; + private static bool _NOTESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHONETIC_NAME { get { if (!_PHONETIC_NAMEReady) { _PHONETIC_NAMEContent = SGetField(LocalBridgeClazz, "PHONETIC_NAME"); _PHONETIC_NAMEReady = true; } return _PHONETIC_NAMEContent; } } + private static Java.Lang.String _PHONETIC_NAMEContent = default; + private static bool _PHONETIC_NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PHOTO_VERSION { get { if (!_PHOTO_VERSIONReady) { _PHOTO_VERSIONContent = SGetField(LocalBridgeClazz, "PHOTO_VERSION"); _PHOTO_VERSIONReady = true; } return _PHOTO_VERSIONContent; } } + private static Java.Lang.String _PHOTO_VERSIONContent = default; + private static bool _PHOTO_VERSIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SEND_TO_VOICEMAIL { get { if (!_SEND_TO_VOICEMAILReady) { _SEND_TO_VOICEMAILContent = SGetField(LocalBridgeClazz, "SEND_TO_VOICEMAIL"); _SEND_TO_VOICEMAILReady = true; } return _SEND_TO_VOICEMAILContent; } } + private static Java.Lang.String _SEND_TO_VOICEMAILContent = default; + private static bool _SEND_TO_VOICEMAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String STARRED { get { if (!_STARREDReady) { _STARREDContent = SGetField(LocalBridgeClazz, "STARRED"); _STARREDReady = true; } return _STARREDContent; } } + private static Java.Lang.String _STARREDContent = default; + private static bool _STARREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TIMES_CONTACTED { get { if (!_TIMES_CONTACTEDReady) { _TIMES_CONTACTEDContent = SGetField(LocalBridgeClazz, "TIMES_CONTACTED"); _TIMES_CONTACTEDReady = true; } return _TIMES_CONTACTEDContent; } } + private static Java.Lang.String _TIMES_CONTACTEDContent = default; + private static bool _TIMES_CONTACTEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Phones + public partial class Phones : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Phones t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_FILTER_URL { get { if (!_CONTENT_FILTER_URLReady) { _CONTENT_FILTER_URLContent = SGetField(LocalBridgeClazz, "CONTENT_FILTER_URL"); _CONTENT_FILTER_URLReady = true; } return _CONTENT_FILTER_URLContent; } } + private static Android.Net.Uri _CONTENT_FILTER_URLContent = default; + private static bool _CONTENT_FILTER_URLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_ITEM_TYPE { get { if (!_CONTENT_ITEM_TYPEReady) { _CONTENT_ITEM_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_ITEM_TYPE"); _CONTENT_ITEM_TYPEReady = true; } return _CONTENT_ITEM_TYPEContent; } } + private static Java.Lang.String _CONTENT_ITEM_TYPEContent = default; + private static bool _CONTENT_ITEM_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.CharSequence GetDisplayLabel(Android.Content.Context arg0, int arg1, Java.Lang.CharSequence arg2, Java.Lang.CharSequence[] arg3) + { + return SExecute(LocalBridgeClazz, "getDisplayLabel", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.CharSequence GetDisplayLabel(Android.Content.Context arg0, int arg1, Java.Lang.CharSequence arg2) + { + return SExecute(LocalBridgeClazz, "getDisplayLabel", arg0, arg1, arg2); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PhonesColumns + public partial class PhonesColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int TYPE_CUSTOM { get { if (!_TYPE_CUSTOMReady) { _TYPE_CUSTOMContent = SGetField(LocalBridgeClazz, "TYPE_CUSTOM"); _TYPE_CUSTOMReady = true; } return _TYPE_CUSTOMContent; } } + private static int _TYPE_CUSTOMContent = default; + private static bool _TYPE_CUSTOMReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_FAX_HOME { get { if (!_TYPE_FAX_HOMEReady) { _TYPE_FAX_HOMEContent = SGetField(LocalBridgeClazz, "TYPE_FAX_HOME"); _TYPE_FAX_HOMEReady = true; } return _TYPE_FAX_HOMEContent; } } + private static int _TYPE_FAX_HOMEContent = default; + private static bool _TYPE_FAX_HOMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_FAX_WORK { get { if (!_TYPE_FAX_WORKReady) { _TYPE_FAX_WORKContent = SGetField(LocalBridgeClazz, "TYPE_FAX_WORK"); _TYPE_FAX_WORKReady = true; } return _TYPE_FAX_WORKContent; } } + private static int _TYPE_FAX_WORKContent = default; + private static bool _TYPE_FAX_WORKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_HOME { get { if (!_TYPE_HOMEReady) { _TYPE_HOMEContent = SGetField(LocalBridgeClazz, "TYPE_HOME"); _TYPE_HOMEReady = true; } return _TYPE_HOMEContent; } } + private static int _TYPE_HOMEContent = default; + private static bool _TYPE_HOMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_MOBILE { get { if (!_TYPE_MOBILEReady) { _TYPE_MOBILEContent = SGetField(LocalBridgeClazz, "TYPE_MOBILE"); _TYPE_MOBILEReady = true; } return _TYPE_MOBILEContent; } } + private static int _TYPE_MOBILEContent = default; + private static bool _TYPE_MOBILEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_OTHER { get { if (!_TYPE_OTHERReady) { _TYPE_OTHERContent = SGetField(LocalBridgeClazz, "TYPE_OTHER"); _TYPE_OTHERReady = true; } return _TYPE_OTHERContent; } } + private static int _TYPE_OTHERContent = default; + private static bool _TYPE_OTHERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_PAGER { get { if (!_TYPE_PAGERReady) { _TYPE_PAGERContent = SGetField(LocalBridgeClazz, "TYPE_PAGER"); _TYPE_PAGERReady = true; } return _TYPE_PAGERContent; } } + private static int _TYPE_PAGERContent = default; + private static bool _TYPE_PAGERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TYPE_WORK { get { if (!_TYPE_WORKReady) { _TYPE_WORKContent = SGetField(LocalBridgeClazz, "TYPE_WORK"); _TYPE_WORKReady = true; } return _TYPE_WORKContent; } } + private static int _TYPE_WORKContent = default; + private static bool _TYPE_WORKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ISPRIMARY { get { if (!_ISPRIMARYReady) { _ISPRIMARYContent = SGetField(LocalBridgeClazz, "ISPRIMARY"); _ISPRIMARYReady = true; } return _ISPRIMARYContent; } } + private static Java.Lang.String _ISPRIMARYContent = default; + private static bool _ISPRIMARYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LABEL { get { if (!_LABELReady) { _LABELContent = SGetField(LocalBridgeClazz, "LABEL"); _LABELReady = true; } return _LABELContent; } } + private static Java.Lang.String _LABELContent = default; + private static bool _LABELReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NUMBER { get { if (!_NUMBERReady) { _NUMBERContent = SGetField(LocalBridgeClazz, "NUMBER"); _NUMBERReady = true; } return _NUMBERContent; } } + private static Java.Lang.String _NUMBERContent = default; + private static bool _NUMBERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NUMBER_KEY { get { if (!_NUMBER_KEYReady) { _NUMBER_KEYContent = SGetField(LocalBridgeClazz, "NUMBER_KEY"); _NUMBER_KEYReady = true; } return _NUMBER_KEYContent; } } + private static Java.Lang.String _NUMBER_KEYContent = default; + private static bool _NUMBER_KEYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TYPE { get { if (!_TYPEReady) { _TYPEContent = SGetField(LocalBridgeClazz, "TYPE"); _TYPEReady = true; } return _TYPEContent; } } + private static Java.Lang.String _TYPEContent = default; + private static bool _TYPEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Photos + public partial class Photos : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Photos t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PhotosColumns + public partial class PhotosColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA { get { if (!_DATAReady) { _DATAContent = SGetField(LocalBridgeClazz, "DATA"); _DATAReady = true; } return _DATAContent; } } + private static Java.Lang.String _DATAContent = default; + private static bool _DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DOWNLOAD_REQUIRED { get { if (!_DOWNLOAD_REQUIREDReady) { _DOWNLOAD_REQUIREDContent = SGetField(LocalBridgeClazz, "DOWNLOAD_REQUIRED"); _DOWNLOAD_REQUIREDReady = true; } return _DOWNLOAD_REQUIREDContent; } } + private static Java.Lang.String _DOWNLOAD_REQUIREDContent = default; + private static bool _DOWNLOAD_REQUIREDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXISTS_ON_SERVER { get { if (!_EXISTS_ON_SERVERReady) { _EXISTS_ON_SERVERContent = SGetField(LocalBridgeClazz, "EXISTS_ON_SERVER"); _EXISTS_ON_SERVERReady = true; } return _EXISTS_ON_SERVERContent; } } + private static Java.Lang.String _EXISTS_ON_SERVERContent = default; + private static bool _EXISTS_ON_SERVERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCAL_VERSION { get { if (!_LOCAL_VERSIONReady) { _LOCAL_VERSIONContent = SGetField(LocalBridgeClazz, "LOCAL_VERSION"); _LOCAL_VERSIONReady = true; } return _LOCAL_VERSIONContent; } } + private static Java.Lang.String _LOCAL_VERSIONContent = default; + private static bool _LOCAL_VERSIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PERSON_ID { get { if (!_PERSON_IDReady) { _PERSON_IDContent = SGetField(LocalBridgeClazz, "PERSON_ID"); _PERSON_IDReady = true; } return _PERSON_IDContent; } } + private static Java.Lang.String _PERSON_IDContent = default; + private static bool _PERSON_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SYNC_ERROR { get { if (!_SYNC_ERRORReady) { _SYNC_ERRORContent = SGetField(LocalBridgeClazz, "SYNC_ERROR"); _SYNC_ERRORReady = true; } return _SYNC_ERRORContent; } } + private static Java.Lang.String _SYNC_ERRORContent = default; + private static bool _SYNC_ERRORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PresenceColumns + public partial class PresenceColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int AVAILABLE { get { if (!_AVAILABLEReady) { _AVAILABLEContent = SGetField(LocalBridgeClazz, "AVAILABLE"); _AVAILABLEReady = true; } return _AVAILABLEContent; } } + private static int _AVAILABLEContent = default; + private static bool _AVAILABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int AWAY { get { if (!_AWAYReady) { _AWAYContent = SGetField(LocalBridgeClazz, "AWAY"); _AWAYReady = true; } return _AWAYContent; } } + private static int _AWAYContent = default; + private static bool _AWAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DO_NOT_DISTURB { get { if (!_DO_NOT_DISTURBReady) { _DO_NOT_DISTURBContent = SGetField(LocalBridgeClazz, "DO_NOT_DISTURB"); _DO_NOT_DISTURBReady = true; } return _DO_NOT_DISTURBContent; } } + private static int _DO_NOT_DISTURBContent = default; + private static bool _DO_NOT_DISTURBReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int IDLE { get { if (!_IDLEReady) { _IDLEContent = SGetField(LocalBridgeClazz, "IDLE"); _IDLEReady = true; } return _IDLEContent; } } + private static int _IDLEContent = default; + private static bool _IDLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int INVISIBLE { get { if (!_INVISIBLEReady) { _INVISIBLEContent = SGetField(LocalBridgeClazz, "INVISIBLE"); _INVISIBLEReady = true; } return _INVISIBLEContent; } } + private static int _INVISIBLEContent = default; + private static bool _INVISIBLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OFFLINE { get { if (!_OFFLINEReady) { _OFFLINEContent = SGetField(LocalBridgeClazz, "OFFLINE"); _OFFLINEReady = true; } return _OFFLINEContent; } } + private static int _OFFLINEContent = default; + private static bool _OFFLINEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_ACCOUNT { get { if (!_IM_ACCOUNTReady) { _IM_ACCOUNTContent = SGetField(LocalBridgeClazz, "IM_ACCOUNT"); _IM_ACCOUNTReady = true; } return _IM_ACCOUNTContent; } } + private static Java.Lang.String _IM_ACCOUNTContent = default; + private static bool _IM_ACCOUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_HANDLE { get { if (!_IM_HANDLEReady) { _IM_HANDLEContent = SGetField(LocalBridgeClazz, "IM_HANDLE"); _IM_HANDLEReady = true; } return _IM_HANDLEContent; } } + private static Java.Lang.String _IM_HANDLEContent = default; + private static bool _IM_HANDLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IM_PROTOCOL { get { if (!_IM_PROTOCOLReady) { _IM_PROTOCOLContent = SGetField(LocalBridgeClazz, "IM_PROTOCOL"); _IM_PROTOCOLReady = true; } return _IM_PROTOCOLContent; } } + private static Java.Lang.String _IM_PROTOCOLContent = default; + private static bool _IM_PROTOCOLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRESENCE_CUSTOM_STATUS { get { if (!_PRESENCE_CUSTOM_STATUSReady) { _PRESENCE_CUSTOM_STATUSContent = SGetField(LocalBridgeClazz, "PRESENCE_CUSTOM_STATUS"); _PRESENCE_CUSTOM_STATUSReady = true; } return _PRESENCE_CUSTOM_STATUSContent; } } + private static Java.Lang.String _PRESENCE_CUSTOM_STATUSContent = default; + private static bool _PRESENCE_CUSTOM_STATUSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRESENCE_STATUS { get { if (!_PRESENCE_STATUSReady) { _PRESENCE_STATUSContent = SGetField(LocalBridgeClazz, "PRESENCE_STATUS"); _PRESENCE_STATUSReady = true; } return _PRESENCE_STATUSContent; } } + private static Java.Lang.String _PRESENCE_STATUSContent = default; + private static bool _PRESENCE_STATUSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PRIORITY { get { if (!_PRIORITYReady) { _PRIORITYContent = SGetField(LocalBridgeClazz, "PRIORITY"); _PRIORITYReady = true; } return _PRIORITYContent; } } + private static Java.Lang.String _PRIORITYContent = default; + private static bool _PRIORITYReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Settings + public partial class Settings : Android.Provider.IBaseColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Provider.BaseColumns(Android.Provider.Contacts.Settings t) => t.Cast(); + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_URI { get { if (!_CONTENT_URIReady) { _CONTENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_URI"); _CONTENT_URIReady = true; } return _CONTENT_URIContent; } } + private static Android.Net.Uri _CONTENT_URIContent = default; + private static bool _CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SYNC_EVERYTHING { get { if (!_SYNC_EVERYTHINGReady) { _SYNC_EVERYTHINGContent = SGetField(LocalBridgeClazz, "SYNC_EVERYTHING"); _SYNC_EVERYTHINGReady = true; } return _SYNC_EVERYTHINGContent; } } + private static Java.Lang.String _SYNC_EVERYTHINGContent = default; + private static bool _SYNC_EVERYTHINGReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GetSetting(Android.Content.ContentResolver arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + return SExecute(LocalBridgeClazz, "getSetting", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetSetting(Android.Content.ContentResolver arg0, Java.Lang.String arg1, Java.Lang.String arg2, Java.Lang.String arg3) + { + SExecute(LocalBridgeClazz, "setSetting", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SettingsColumns + public partial class SettingsColumns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String _SYNC_ACCOUNT { get { if (!__SYNC_ACCOUNTReady) { __SYNC_ACCOUNTContent = SGetField(LocalBridgeClazz, "_SYNC_ACCOUNT"); __SYNC_ACCOUNTReady = true; } return __SYNC_ACCOUNTContent; } } + private static Java.Lang.String __SYNC_ACCOUNTContent = default; + private static bool __SYNC_ACCOUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String _SYNC_ACCOUNT_TYPE { get { if (!__SYNC_ACCOUNT_TYPEReady) { __SYNC_ACCOUNT_TYPEContent = SGetField(LocalBridgeClazz, "_SYNC_ACCOUNT_TYPE"); __SYNC_ACCOUNT_TYPEReady = true; } return __SYNC_ACCOUNT_TYPEContent; } } + private static Java.Lang.String __SYNC_ACCOUNT_TYPEContent = default; + private static bool __SYNC_ACCOUNT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY { get { if (!_KEYReady) { _KEYContent = SGetField(LocalBridgeClazz, "KEY"); _KEYReady = true; } return _KEYContent; } } + private static Java.Lang.String _KEYContent = default; + private static bool _KEYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VALUE { get { if (!_VALUEReady) { _VALUEContent = SGetField(LocalBridgeClazz, "VALUE"); _VALUEReady = true; } return _VALUEContent; } } + private static Java.Lang.String _VALUEContent = default; + private static bool _VALUEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Provider/ContactsContract.cs b/src/net/Netdroid/Generated/Android/Provider/ContactsContract.cs index e34974b63..887cc69f1 100644 --- a/src/net/Netdroid/Generated/Android/Provider/ContactsContract.cs +++ b/src/net/Netdroid/Generated/Android/Provider/ContactsContract.cs @@ -1417,6 +1417,13 @@ public partial class Nickname private static int _TYPE_MAIDEN_NAMEContent = default; private static bool _TYPE_MAIDEN_NAMEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int TYPE_MAINDEN_NAME { get { if (!_TYPE_MAINDEN_NAMEReady) { _TYPE_MAINDEN_NAMEContent = SGetField(LocalBridgeClazz, "TYPE_MAINDEN_NAME"); _TYPE_MAINDEN_NAMEReady = true; } return _TYPE_MAINDEN_NAMEContent; } } + private static int _TYPE_MAINDEN_NAMEContent = default; + private static bool _TYPE_MAINDEN_NAMEReady = false; // this is used because in case of generics + /// /// /// public static int TYPE_OTHER_NAME { get { if (!_TYPE_OTHER_NAMEReady) { _TYPE_OTHER_NAMEContent = SGetField(LocalBridgeClazz, "TYPE_OTHER_NAME"); _TYPE_OTHER_NAMEReady = true; } return _TYPE_OTHER_NAMEContent; } } @@ -1490,12 +1497,75 @@ public partial class Im #region Fields /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_AIM { get { if (!_PROTOCOL_AIMReady) { _PROTOCOL_AIMContent = SGetField(LocalBridgeClazz, "PROTOCOL_AIM"); _PROTOCOL_AIMReady = true; } return _PROTOCOL_AIMContent; } } + private static int _PROTOCOL_AIMContent = default; + private static bool _PROTOCOL_AIMReady = false; // this is used because in case of generics + /// /// /// public static int PROTOCOL_CUSTOM { get { if (!_PROTOCOL_CUSTOMReady) { _PROTOCOL_CUSTOMContent = SGetField(LocalBridgeClazz, "PROTOCOL_CUSTOM"); _PROTOCOL_CUSTOMReady = true; } return _PROTOCOL_CUSTOMContent; } } private static int _PROTOCOL_CUSTOMContent = default; private static bool _PROTOCOL_CUSTOMReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_GOOGLE_TALK { get { if (!_PROTOCOL_GOOGLE_TALKReady) { _PROTOCOL_GOOGLE_TALKContent = SGetField(LocalBridgeClazz, "PROTOCOL_GOOGLE_TALK"); _PROTOCOL_GOOGLE_TALKReady = true; } return _PROTOCOL_GOOGLE_TALKContent; } } + private static int _PROTOCOL_GOOGLE_TALKContent = default; + private static bool _PROTOCOL_GOOGLE_TALKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_ICQ { get { if (!_PROTOCOL_ICQReady) { _PROTOCOL_ICQContent = SGetField(LocalBridgeClazz, "PROTOCOL_ICQ"); _PROTOCOL_ICQReady = true; } return _PROTOCOL_ICQContent; } } + private static int _PROTOCOL_ICQContent = default; + private static bool _PROTOCOL_ICQReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_JABBER { get { if (!_PROTOCOL_JABBERReady) { _PROTOCOL_JABBERContent = SGetField(LocalBridgeClazz, "PROTOCOL_JABBER"); _PROTOCOL_JABBERReady = true; } return _PROTOCOL_JABBERContent; } } + private static int _PROTOCOL_JABBERContent = default; + private static bool _PROTOCOL_JABBERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_MSN { get { if (!_PROTOCOL_MSNReady) { _PROTOCOL_MSNContent = SGetField(LocalBridgeClazz, "PROTOCOL_MSN"); _PROTOCOL_MSNReady = true; } return _PROTOCOL_MSNContent; } } + private static int _PROTOCOL_MSNContent = default; + private static bool _PROTOCOL_MSNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_NETMEETING { get { if (!_PROTOCOL_NETMEETINGReady) { _PROTOCOL_NETMEETINGContent = SGetField(LocalBridgeClazz, "PROTOCOL_NETMEETING"); _PROTOCOL_NETMEETINGReady = true; } return _PROTOCOL_NETMEETINGContent; } } + private static int _PROTOCOL_NETMEETINGContent = default; + private static bool _PROTOCOL_NETMEETINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_QQ { get { if (!_PROTOCOL_QQReady) { _PROTOCOL_QQContent = SGetField(LocalBridgeClazz, "PROTOCOL_QQ"); _PROTOCOL_QQReady = true; } return _PROTOCOL_QQContent; } } + private static int _PROTOCOL_QQContent = default; + private static bool _PROTOCOL_QQReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_SKYPE { get { if (!_PROTOCOL_SKYPEReady) { _PROTOCOL_SKYPEContent = SGetField(LocalBridgeClazz, "PROTOCOL_SKYPE"); _PROTOCOL_SKYPEReady = true; } return _PROTOCOL_SKYPEContent; } } + private static int _PROTOCOL_SKYPEContent = default; + private static bool _PROTOCOL_SKYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int PROTOCOL_YAHOO { get { if (!_PROTOCOL_YAHOOReady) { _PROTOCOL_YAHOOContent = SGetField(LocalBridgeClazz, "PROTOCOL_YAHOO"); _PROTOCOL_YAHOOReady = true; } return _PROTOCOL_YAHOOContent; } } + private static int _PROTOCOL_YAHOOContent = default; + private static bool _PROTOCOL_YAHOOReady = false; // this is used because in case of generics + /// /// /// public static int TYPE_HOME { get { if (!_TYPE_HOMEReady) { _TYPE_HOMEContent = SGetField(LocalBridgeClazz, "TYPE_HOME"); _TYPE_HOMEReady = true; } return _TYPE_HOMEContent; } } @@ -2189,6 +2259,13 @@ public partial class Contacts : Android.Provider.IBaseColumns private static Android.Net.Uri _CONTENT_FILTER_URIContent = default; private static bool _CONTENT_FILTER_URIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri CONTENT_FREQUENT_URI { get { if (!_CONTENT_FREQUENT_URIReady) { _CONTENT_FREQUENT_URIContent = SGetField(LocalBridgeClazz, "CONTENT_FREQUENT_URI"); _CONTENT_FREQUENT_URIReady = true; } return _CONTENT_FREQUENT_URIContent; } } + private static Android.Net.Uri _CONTENT_FREQUENT_URIContent = default; + private static bool _CONTENT_FREQUENT_URIReady = false; // this is used because in case of generics + /// /// /// public static Android.Net.Uri CONTENT_GROUP_URI { get { if (!_CONTENT_GROUP_URIReady) { _CONTENT_GROUP_URIContent = SGetField(LocalBridgeClazz, "CONTENT_GROUP_URI"); _CONTENT_GROUP_URIReady = true; } return _CONTENT_GROUP_URIContent; } } @@ -2348,6 +2425,16 @@ public static Java.Io.InputStream OpenContactPhotoInputStream(Android.Content.Co { return SExecute(LocalBridgeClazz, "openContactPhotoInputStream", arg0, arg1); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void MarkAsContacted(Android.Content.ContentResolver arg0, long arg1) + { + SExecute(LocalBridgeClazz, "markAsContacted", arg0, arg1); + } #endregion @@ -2700,6 +2787,79 @@ public static Android.Net.Uri GetContactLookupUri(Android.Content.ContentResolve } #endregion + #region DataUsageFeedback + public partial class DataUsageFeedback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri DELETE_USAGE_URI { get { if (!_DELETE_USAGE_URIReady) { _DELETE_USAGE_URIContent = SGetField(LocalBridgeClazz, "DELETE_USAGE_URI"); _DELETE_USAGE_URIReady = true; } return _DELETE_USAGE_URIContent; } } + private static Android.Net.Uri _DELETE_USAGE_URIContent = default; + private static bool _DELETE_USAGE_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri FEEDBACK_URI { get { if (!_FEEDBACK_URIReady) { _FEEDBACK_URIContent = SGetField(LocalBridgeClazz, "FEEDBACK_URI"); _FEEDBACK_URIReady = true; } return _FEEDBACK_URIContent; } } + private static Android.Net.Uri _FEEDBACK_URIContent = default; + private static bool _FEEDBACK_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USAGE_TYPE { get { if (!_USAGE_TYPEReady) { _USAGE_TYPEContent = SGetField(LocalBridgeClazz, "USAGE_TYPE"); _USAGE_TYPEReady = true; } return _USAGE_TYPEContent; } } + private static Java.Lang.String _USAGE_TYPEContent = default; + private static bool _USAGE_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USAGE_TYPE_CALL { get { if (!_USAGE_TYPE_CALLReady) { _USAGE_TYPE_CALLContent = SGetField(LocalBridgeClazz, "USAGE_TYPE_CALL"); _USAGE_TYPE_CALLReady = true; } return _USAGE_TYPE_CALLContent; } } + private static Java.Lang.String _USAGE_TYPE_CALLContent = default; + private static bool _USAGE_TYPE_CALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USAGE_TYPE_LONG_TEXT { get { if (!_USAGE_TYPE_LONG_TEXTReady) { _USAGE_TYPE_LONG_TEXTContent = SGetField(LocalBridgeClazz, "USAGE_TYPE_LONG_TEXT"); _USAGE_TYPE_LONG_TEXTReady = true; } return _USAGE_TYPE_LONG_TEXTContent; } } + private static Java.Lang.String _USAGE_TYPE_LONG_TEXTContent = default; + private static bool _USAGE_TYPE_LONG_TEXTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USAGE_TYPE_SHORT_TEXT { get { if (!_USAGE_TYPE_SHORT_TEXTReady) { _USAGE_TYPE_SHORT_TEXTContent = SGetField(LocalBridgeClazz, "USAGE_TYPE_SHORT_TEXT"); _USAGE_TYPE_SHORT_TEXTReady = true; } return _USAGE_TYPE_SHORT_TEXTContent; } } + private static Java.Lang.String _USAGE_TYPE_SHORT_TEXTContent = default; + private static bool _USAGE_TYPE_SHORT_TEXTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region DeletedContacts public partial class DeletedContacts { @@ -3733,6 +3893,37 @@ public static void Undemote(Android.Content.ContentResolver arg0, long arg1) } #endregion + #region Presence + public partial class Presence + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #region Profile public partial class Profile : Android.Provider.IBaseColumns { @@ -4107,6 +4298,13 @@ public partial class RawContacts : Android.Provider.IBaseColumns private static int _AGGREGATION_MODE_DISABLEDContent = default; private static bool _AGGREGATION_MODE_DISABLEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int AGGREGATION_MODE_IMMEDIATE { get { if (!_AGGREGATION_MODE_IMMEDIATEReady) { _AGGREGATION_MODE_IMMEDIATEContent = SGetField(LocalBridgeClazz, "AGGREGATION_MODE_IMMEDIATE"); _AGGREGATION_MODE_IMMEDIATEReady = true; } return _AGGREGATION_MODE_IMMEDIATEContent; } } + private static int _AGGREGATION_MODE_IMMEDIATEContent = default; + private static bool _AGGREGATION_MODE_IMMEDIATEReady = false; // this is used because in case of generics + /// /// /// public static int AGGREGATION_MODE_SUSPENDED { get { if (!_AGGREGATION_MODE_SUSPENDEDReady) { _AGGREGATION_MODE_SUSPENDEDContent = SGetField(LocalBridgeClazz, "AGGREGATION_MODE_SUSPENDED"); _AGGREGATION_MODE_SUSPENDEDReady = true; } return _AGGREGATION_MODE_SUSPENDEDContent; } } diff --git a/src/net/Netdroid/Generated/Android/Provider/FontRequest.cs b/src/net/Netdroid/Generated/Android/Provider/FontRequest.cs new file mode 100644 index 000000000..d0cb9d20c --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Provider/FontRequest.cs @@ -0,0 +1,113 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Provider +{ + #region FontRequest + public partial class FontRequest + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public FontRequest(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2, Java.Util.List> arg3) + : base(arg0, arg1, arg2, arg3) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public FontRequest(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Util.List> Certificates + { + get { return IExecuteWithSignature>>("getCertificates", "()Ljava/util/List;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ProviderAuthority + { + get { return IExecuteWithSignature("getProviderAuthority", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ProviderPackage + { + get { return IExecuteWithSignature("getProviderPackage", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Query + { + get { return IExecuteWithSignature("getQuery", "()Ljava/lang/String;"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Provider/FontsContract.cs b/src/net/Netdroid/Generated/Android/Provider/FontsContract.cs new file mode 100644 index 000000000..cde8f5569 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Provider/FontsContract.cs @@ -0,0 +1,443 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Provider +{ + #region FontsContract + public partial class FontsContract + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Typeface BuildTypeface(Android.Content.Context arg0, Android.Os.CancellationSignal arg1, Android.Provider.FontsContract.FontInfo[] arg2) + { + return SExecute(LocalBridgeClazz, "buildTypeface", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Provider.FontsContract.FontFamilyResult FetchFonts(Android.Content.Context arg0, Android.Os.CancellationSignal arg1, Android.Provider.FontRequest arg2) + { + return SExecute(LocalBridgeClazz, "fetchFonts", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void RequestFonts(Android.Content.Context arg0, Android.Provider.FontRequest arg1, Android.Os.Handler arg2, Android.Os.CancellationSignal arg3, Android.Provider.FontsContract.FontRequestCallback arg4) + { + SExecute(LocalBridgeClazz, "requestFonts", arg0, arg1, arg2, arg3, arg4); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + #region Columns + public partial class Columns + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int RESULT_CODE_FONT_NOT_FOUND { get { if (!_RESULT_CODE_FONT_NOT_FOUNDReady) { _RESULT_CODE_FONT_NOT_FOUNDContent = SGetField(LocalBridgeClazz, "RESULT_CODE_FONT_NOT_FOUND"); _RESULT_CODE_FONT_NOT_FOUNDReady = true; } return _RESULT_CODE_FONT_NOT_FOUNDContent; } } + private static int _RESULT_CODE_FONT_NOT_FOUNDContent = default; + private static bool _RESULT_CODE_FONT_NOT_FOUNDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_CODE_FONT_UNAVAILABLE { get { if (!_RESULT_CODE_FONT_UNAVAILABLEReady) { _RESULT_CODE_FONT_UNAVAILABLEContent = SGetField(LocalBridgeClazz, "RESULT_CODE_FONT_UNAVAILABLE"); _RESULT_CODE_FONT_UNAVAILABLEReady = true; } return _RESULT_CODE_FONT_UNAVAILABLEContent; } } + private static int _RESULT_CODE_FONT_UNAVAILABLEContent = default; + private static bool _RESULT_CODE_FONT_UNAVAILABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_CODE_MALFORMED_QUERY { get { if (!_RESULT_CODE_MALFORMED_QUERYReady) { _RESULT_CODE_MALFORMED_QUERYContent = SGetField(LocalBridgeClazz, "RESULT_CODE_MALFORMED_QUERY"); _RESULT_CODE_MALFORMED_QUERYReady = true; } return _RESULT_CODE_MALFORMED_QUERYContent; } } + private static int _RESULT_CODE_MALFORMED_QUERYContent = default; + private static bool _RESULT_CODE_MALFORMED_QUERYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_CODE_OK { get { if (!_RESULT_CODE_OKReady) { _RESULT_CODE_OKContent = SGetField(LocalBridgeClazz, "RESULT_CODE_OK"); _RESULT_CODE_OKReady = true; } return _RESULT_CODE_OKContent; } } + private static int _RESULT_CODE_OKContent = default; + private static bool _RESULT_CODE_OKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FILE_ID { get { if (!_FILE_IDReady) { _FILE_IDContent = SGetField(LocalBridgeClazz, "FILE_ID"); _FILE_IDReady = true; } return _FILE_IDContent; } } + private static Java.Lang.String _FILE_IDContent = default; + private static bool _FILE_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ITALIC { get { if (!_ITALICReady) { _ITALICContent = SGetField(LocalBridgeClazz, "ITALIC"); _ITALICReady = true; } return _ITALICContent; } } + private static Java.Lang.String _ITALICContent = default; + private static bool _ITALICReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RESULT_CODE { get { if (!_RESULT_CODEReady) { _RESULT_CODEContent = SGetField(LocalBridgeClazz, "RESULT_CODE"); _RESULT_CODEReady = true; } return _RESULT_CODEContent; } } + private static Java.Lang.String _RESULT_CODEContent = default; + private static bool _RESULT_CODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TTC_INDEX { get { if (!_TTC_INDEXReady) { _TTC_INDEXContent = SGetField(LocalBridgeClazz, "TTC_INDEX"); _TTC_INDEXReady = true; } return _TTC_INDEXContent; } } + private static Java.Lang.String _TTC_INDEXContent = default; + private static bool _TTC_INDEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VARIATION_SETTINGS { get { if (!_VARIATION_SETTINGSReady) { _VARIATION_SETTINGSContent = SGetField(LocalBridgeClazz, "VARIATION_SETTINGS"); _VARIATION_SETTINGSReady = true; } return _VARIATION_SETTINGSContent; } } + private static Java.Lang.String _VARIATION_SETTINGSContent = default; + private static bool _VARIATION_SETTINGSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WEIGHT { get { if (!_WEIGHTReady) { _WEIGHTContent = SGetField(LocalBridgeClazz, "WEIGHT"); _WEIGHTReady = true; } return _WEIGHTContent; } } + private static Java.Lang.String _WEIGHTContent = default; + private static bool _WEIGHTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FontFamilyResult + public partial class FontFamilyResult + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STATUS_OK { get { if (!_STATUS_OKReady) { _STATUS_OKContent = SGetField(LocalBridgeClazz, "STATUS_OK"); _STATUS_OKReady = true; } return _STATUS_OKContent; } } + private static int _STATUS_OKContent = default; + private static bool _STATUS_OKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_REJECTED { get { if (!_STATUS_REJECTEDReady) { _STATUS_REJECTEDContent = SGetField(LocalBridgeClazz, "STATUS_REJECTED"); _STATUS_REJECTEDReady = true; } return _STATUS_REJECTEDContent; } } + private static int _STATUS_REJECTEDContent = default; + private static bool _STATUS_REJECTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_UNEXPECTED_DATA_PROVIDED { get { if (!_STATUS_UNEXPECTED_DATA_PROVIDEDReady) { _STATUS_UNEXPECTED_DATA_PROVIDEDContent = SGetField(LocalBridgeClazz, "STATUS_UNEXPECTED_DATA_PROVIDED"); _STATUS_UNEXPECTED_DATA_PROVIDEDReady = true; } return _STATUS_UNEXPECTED_DATA_PROVIDEDContent; } } + private static int _STATUS_UNEXPECTED_DATA_PROVIDEDContent = default; + private static bool _STATUS_UNEXPECTED_DATA_PROVIDEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_WRONG_CERTIFICATES { get { if (!_STATUS_WRONG_CERTIFICATESReady) { _STATUS_WRONG_CERTIFICATESContent = SGetField(LocalBridgeClazz, "STATUS_WRONG_CERTIFICATES"); _STATUS_WRONG_CERTIFICATESReady = true; } return _STATUS_WRONG_CERTIFICATESContent; } } + private static int _STATUS_WRONG_CERTIFICATESContent = default; + private static bool _STATUS_WRONG_CERTIFICATESReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Provider.FontsContract.FontInfo[] Fonts + { + get { return IExecuteWithSignatureArray("getFonts", "()[Landroid/provider/FontsContract$FontInfo;"); } + } + /// + /// + /// + [System.Obsolete()] + public int StatusCode + { + get { return IExecuteWithSignature("getStatusCode", "()I"); } + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FontInfo + public partial class FontInfo + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Fonts.FontVariationAxis[] Axes + { + get { return IExecuteWithSignatureArray("getAxes", "()[Landroid/graphics/fonts/FontVariationAxis;"); } + } + /// + /// + /// + [System.Obsolete()] + public int ResultCode + { + get { return IExecuteWithSignature("getResultCode", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int TtcIndex + { + get { return IExecuteWithSignature("getTtcIndex", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Net.Uri Uri + { + get { return IExecuteWithSignature("getUri", "()Landroid/net/Uri;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Weight + { + get { return IExecuteWithSignature("getWeight", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsItalic() + { + return IExecuteWithSignature("isItalic", "()Z"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FontRequestCallback + public partial class FontRequestCallback + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_FONT_LOAD_ERROR { get { if (!_FAIL_REASON_FONT_LOAD_ERRORReady) { _FAIL_REASON_FONT_LOAD_ERRORContent = SGetField(LocalBridgeClazz, "FAIL_REASON_FONT_LOAD_ERROR"); _FAIL_REASON_FONT_LOAD_ERRORReady = true; } return _FAIL_REASON_FONT_LOAD_ERRORContent; } } + private static int _FAIL_REASON_FONT_LOAD_ERRORContent = default; + private static bool _FAIL_REASON_FONT_LOAD_ERRORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_FONT_NOT_FOUND { get { if (!_FAIL_REASON_FONT_NOT_FOUNDReady) { _FAIL_REASON_FONT_NOT_FOUNDContent = SGetField(LocalBridgeClazz, "FAIL_REASON_FONT_NOT_FOUND"); _FAIL_REASON_FONT_NOT_FOUNDReady = true; } return _FAIL_REASON_FONT_NOT_FOUNDContent; } } + private static int _FAIL_REASON_FONT_NOT_FOUNDContent = default; + private static bool _FAIL_REASON_FONT_NOT_FOUNDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_FONT_UNAVAILABLE { get { if (!_FAIL_REASON_FONT_UNAVAILABLEReady) { _FAIL_REASON_FONT_UNAVAILABLEContent = SGetField(LocalBridgeClazz, "FAIL_REASON_FONT_UNAVAILABLE"); _FAIL_REASON_FONT_UNAVAILABLEReady = true; } return _FAIL_REASON_FONT_UNAVAILABLEContent; } } + private static int _FAIL_REASON_FONT_UNAVAILABLEContent = default; + private static bool _FAIL_REASON_FONT_UNAVAILABLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_MALFORMED_QUERY { get { if (!_FAIL_REASON_MALFORMED_QUERYReady) { _FAIL_REASON_MALFORMED_QUERYContent = SGetField(LocalBridgeClazz, "FAIL_REASON_MALFORMED_QUERY"); _FAIL_REASON_MALFORMED_QUERYReady = true; } return _FAIL_REASON_MALFORMED_QUERYContent; } } + private static int _FAIL_REASON_MALFORMED_QUERYContent = default; + private static bool _FAIL_REASON_MALFORMED_QUERYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_PROVIDER_NOT_FOUND { get { if (!_FAIL_REASON_PROVIDER_NOT_FOUNDReady) { _FAIL_REASON_PROVIDER_NOT_FOUNDContent = SGetField(LocalBridgeClazz, "FAIL_REASON_PROVIDER_NOT_FOUND"); _FAIL_REASON_PROVIDER_NOT_FOUNDReady = true; } return _FAIL_REASON_PROVIDER_NOT_FOUNDContent; } } + private static int _FAIL_REASON_PROVIDER_NOT_FOUNDContent = default; + private static bool _FAIL_REASON_PROVIDER_NOT_FOUNDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FAIL_REASON_WRONG_CERTIFICATES { get { if (!_FAIL_REASON_WRONG_CERTIFICATESReady) { _FAIL_REASON_WRONG_CERTIFICATESContent = SGetField(LocalBridgeClazz, "FAIL_REASON_WRONG_CERTIFICATES"); _FAIL_REASON_WRONG_CERTIFICATESReady = true; } return _FAIL_REASON_WRONG_CERTIFICATESContent; } } + private static int _FAIL_REASON_WRONG_CERTIFICATESContent = default; + private static bool _FAIL_REASON_WRONG_CERTIFICATESReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public void OnTypefaceRequestFailed(int arg0) + { + IExecuteWithSignature("onTypefaceRequestFailed", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnTypefaceRetrieved(Android.Graphics.Typeface arg0) + { + IExecuteWithSignature("onTypefaceRetrieved", "(Landroid/graphics/Typeface;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Provider/LiveFolders.cs b/src/net/Netdroid/Generated/Android/Provider/LiveFolders.cs new file mode 100644 index 000000000..3d39832c6 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Provider/LiveFolders.cs @@ -0,0 +1,149 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Provider +{ + #region LiveFolders + public partial class LiveFolders + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int DISPLAY_MODE_GRID { get { if (!_DISPLAY_MODE_GRIDReady) { _DISPLAY_MODE_GRIDContent = SGetField(LocalBridgeClazz, "DISPLAY_MODE_GRID"); _DISPLAY_MODE_GRIDReady = true; } return _DISPLAY_MODE_GRIDContent; } } + private static int _DISPLAY_MODE_GRIDContent = default; + private static bool _DISPLAY_MODE_GRIDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int DISPLAY_MODE_LIST { get { if (!_DISPLAY_MODE_LISTReady) { _DISPLAY_MODE_LISTContent = SGetField(LocalBridgeClazz, "DISPLAY_MODE_LIST"); _DISPLAY_MODE_LISTReady = true; } return _DISPLAY_MODE_LISTContent; } } + private static int _DISPLAY_MODE_LISTContent = default; + private static bool _DISPLAY_MODE_LISTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_CREATE_LIVE_FOLDER { get { if (!_ACTION_CREATE_LIVE_FOLDERReady) { _ACTION_CREATE_LIVE_FOLDERContent = SGetField(LocalBridgeClazz, "ACTION_CREATE_LIVE_FOLDER"); _ACTION_CREATE_LIVE_FOLDERReady = true; } return _ACTION_CREATE_LIVE_FOLDERContent; } } + private static Java.Lang.String _ACTION_CREATE_LIVE_FOLDERContent = default; + private static bool _ACTION_CREATE_LIVE_FOLDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DESCRIPTION { get { if (!_DESCRIPTIONReady) { _DESCRIPTIONContent = SGetField(LocalBridgeClazz, "DESCRIPTION"); _DESCRIPTIONReady = true; } return _DESCRIPTIONContent; } } + private static Java.Lang.String _DESCRIPTIONContent = default; + private static bool _DESCRIPTIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_LIVE_FOLDER_BASE_INTENT { get { if (!_EXTRA_LIVE_FOLDER_BASE_INTENTReady) { _EXTRA_LIVE_FOLDER_BASE_INTENTContent = SGetField(LocalBridgeClazz, "EXTRA_LIVE_FOLDER_BASE_INTENT"); _EXTRA_LIVE_FOLDER_BASE_INTENTReady = true; } return _EXTRA_LIVE_FOLDER_BASE_INTENTContent; } } + private static Java.Lang.String _EXTRA_LIVE_FOLDER_BASE_INTENTContent = default; + private static bool _EXTRA_LIVE_FOLDER_BASE_INTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_LIVE_FOLDER_DISPLAY_MODE { get { if (!_EXTRA_LIVE_FOLDER_DISPLAY_MODEReady) { _EXTRA_LIVE_FOLDER_DISPLAY_MODEContent = SGetField(LocalBridgeClazz, "EXTRA_LIVE_FOLDER_DISPLAY_MODE"); _EXTRA_LIVE_FOLDER_DISPLAY_MODEReady = true; } return _EXTRA_LIVE_FOLDER_DISPLAY_MODEContent; } } + private static Java.Lang.String _EXTRA_LIVE_FOLDER_DISPLAY_MODEContent = default; + private static bool _EXTRA_LIVE_FOLDER_DISPLAY_MODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_LIVE_FOLDER_ICON { get { if (!_EXTRA_LIVE_FOLDER_ICONReady) { _EXTRA_LIVE_FOLDER_ICONContent = SGetField(LocalBridgeClazz, "EXTRA_LIVE_FOLDER_ICON"); _EXTRA_LIVE_FOLDER_ICONReady = true; } return _EXTRA_LIVE_FOLDER_ICONContent; } } + private static Java.Lang.String _EXTRA_LIVE_FOLDER_ICONContent = default; + private static bool _EXTRA_LIVE_FOLDER_ICONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_LIVE_FOLDER_NAME { get { if (!_EXTRA_LIVE_FOLDER_NAMEReady) { _EXTRA_LIVE_FOLDER_NAMEContent = SGetField(LocalBridgeClazz, "EXTRA_LIVE_FOLDER_NAME"); _EXTRA_LIVE_FOLDER_NAMEReady = true; } return _EXTRA_LIVE_FOLDER_NAMEContent; } } + private static Java.Lang.String _EXTRA_LIVE_FOLDER_NAMEContent = default; + private static bool _EXTRA_LIVE_FOLDER_NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ICON_BITMAP { get { if (!_ICON_BITMAPReady) { _ICON_BITMAPContent = SGetField(LocalBridgeClazz, "ICON_BITMAP"); _ICON_BITMAPReady = true; } return _ICON_BITMAPContent; } } + private static Java.Lang.String _ICON_BITMAPContent = default; + private static bool _ICON_BITMAPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ICON_PACKAGE { get { if (!_ICON_PACKAGEReady) { _ICON_PACKAGEContent = SGetField(LocalBridgeClazz, "ICON_PACKAGE"); _ICON_PACKAGEReady = true; } return _ICON_PACKAGEContent; } } + private static Java.Lang.String _ICON_PACKAGEContent = default; + private static bool _ICON_PACKAGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ICON_RESOURCE { get { if (!_ICON_RESOURCEReady) { _ICON_RESOURCEContent = SGetField(LocalBridgeClazz, "ICON_RESOURCE"); _ICON_RESOURCEReady = true; } return _ICON_RESOURCEContent; } } + private static Java.Lang.String _ICON_RESOURCEContent = default; + private static bool _ICON_RESOURCEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String INTENT { get { if (!_INTENTReady) { _INTENTContent = SGetField(LocalBridgeClazz, "INTENT"); _INTENTReady = true; } return _INTENTContent; } } + private static Java.Lang.String _INTENTContent = default; + private static bool _INTENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Provider/MediaStore.cs b/src/net/Netdroid/Generated/Android/Provider/MediaStore.cs index a0a43bc0e..2fb00561c 100644 --- a/src/net/Netdroid/Generated/Android/Provider/MediaStore.cs +++ b/src/net/Netdroid/Generated/Android/Provider/MediaStore.cs @@ -182,6 +182,13 @@ public partial class MediaStore private static Java.Lang.String _EXTRA_MEDIA_GENREContent = default; private static bool _EXTRA_MEDIA_GENREReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_MEDIA_PLAYLIST { get { if (!_EXTRA_MEDIA_PLAYLISTReady) { _EXTRA_MEDIA_PLAYLISTContent = SGetField(LocalBridgeClazz, "EXTRA_MEDIA_PLAYLIST"); _EXTRA_MEDIA_PLAYLISTReady = true; } return _EXTRA_MEDIA_PLAYLISTContent; } } + private static Java.Lang.String _EXTRA_MEDIA_PLAYLISTContent = default; + private static bool _EXTRA_MEDIA_PLAYLISTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_MEDIA_RADIO_CHANNEL { get { if (!_EXTRA_MEDIA_RADIO_CHANNELReady) { _EXTRA_MEDIA_RADIO_CHANNELContent = SGetField(LocalBridgeClazz, "EXTRA_MEDIA_RADIO_CHANNEL"); _EXTRA_MEDIA_RADIO_CHANNELReady = true; } return _EXTRA_MEDIA_RADIO_CHANNELContent; } } @@ -242,6 +249,13 @@ public partial class MediaStore private static Java.Lang.String _INTENT_ACTION_MEDIA_SEARCHContent = default; private static bool _INTENT_ACTION_MEDIA_SEARCHReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String INTENT_ACTION_MUSIC_PLAYER { get { if (!_INTENT_ACTION_MUSIC_PLAYERReady) { _INTENT_ACTION_MUSIC_PLAYERContent = SGetField(LocalBridgeClazz, "INTENT_ACTION_MUSIC_PLAYER"); _INTENT_ACTION_MUSIC_PLAYERReady = true; } return _INTENT_ACTION_MUSIC_PLAYERContent; } } + private static Java.Lang.String _INTENT_ACTION_MUSIC_PLAYERContent = default; + private static bool _INTENT_ACTION_MUSIC_PLAYERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String INTENT_ACTION_STILL_IMAGE_CAMERA { get { if (!_INTENT_ACTION_STILL_IMAGE_CAMERAReady) { _INTENT_ACTION_STILL_IMAGE_CAMERAContent = SGetField(LocalBridgeClazz, "INTENT_ACTION_STILL_IMAGE_CAMERA"); _INTENT_ACTION_STILL_IMAGE_CAMERAReady = true; } return _INTENT_ACTION_STILL_IMAGE_CAMERAContent; } } @@ -440,6 +454,16 @@ public static Android.Net.Uri GetRedactedUri(Android.Content.ContentResolver arg return SExecute(LocalBridgeClazz, "getRedactedUri", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri SetIncludePending(Android.Net.Uri arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "setIncludePending", "(Landroid/net/Uri;)Landroid/net/Uri;", arg0); + } + /// /// /// /// @@ -609,6 +633,16 @@ public partial class Audio #endregion #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KeyFor(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "keyFor", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } #endregion @@ -666,6 +700,34 @@ public partial class PlaylistsColumns #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA { get { if (!_DATAReady) { _DATAContent = SGetField(LocalBridgeClazz, "DATA"); _DATAReady = true; } return _DATAContent; } } + private static Java.Lang.String _DATAContent = default; + private static bool _DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATE_ADDED { get { if (!_DATE_ADDEDReady) { _DATE_ADDEDContent = SGetField(LocalBridgeClazz, "DATE_ADDED"); _DATE_ADDEDReady = true; } return _DATE_ADDEDContent; } } + private static Java.Lang.String _DATE_ADDEDContent = default; + private static bool _DATE_ADDEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATE_MODIFIED { get { if (!_DATE_MODIFIEDReady) { _DATE_MODIFIEDContent = SGetField(LocalBridgeClazz, "DATE_MODIFIED"); _DATE_MODIFIEDReady = true; } return _DATE_MODIFIEDContent; } } + private static Java.Lang.String _DATE_MODIFIEDContent = default; + private static bool _DATE_MODIFIEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } + private static Java.Lang.String _NAMEContent = default; + private static bool _NAMEReady = false; // this is used because in case of generics #endregion @@ -701,10 +763,55 @@ public partial class Playlists : Android.Provider.IBaseColumns #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri EXTERNAL_CONTENT_URI { get { if (!_EXTERNAL_CONTENT_URIReady) { _EXTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "EXTERNAL_CONTENT_URI"); _EXTERNAL_CONTENT_URIReady = true; } return _EXTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _EXTERNAL_CONTENT_URIContent = default; + private static bool _EXTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri INTERNAL_CONTENT_URI { get { if (!_INTERNAL_CONTENT_URIReady) { _INTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "INTERNAL_CONTENT_URI"); _INTERNAL_CONTENT_URIReady = true; } return _INTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _INTERNAL_CONTENT_URIContent = default; + private static bool _INTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_TYPE { get { if (!_CONTENT_TYPEReady) { _CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "CONTENT_TYPE"); _CONTENT_TYPEReady = true; } return _CONTENT_TYPEContent; } } + private static Java.Lang.String _CONTENT_TYPEContent = default; + private static bool _CONTENT_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ENTRY_CONTENT_TYPE { get { if (!_ENTRY_CONTENT_TYPEReady) { _ENTRY_CONTENT_TYPEContent = SGetField(LocalBridgeClazz, "ENTRY_CONTENT_TYPE"); _ENTRY_CONTENT_TYPEReady = true; } return _ENTRY_CONTENT_TYPEContent; } } + private static Java.Lang.String _ENTRY_CONTENT_TYPEContent = default; + private static bool _ENTRY_CONTENT_TYPEReady = false; // this is used because in case of generics #endregion #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri GetContentUri(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); + } #endregion @@ -725,10 +832,76 @@ public partial class Members #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String _ID { get { if (!__IDReady) { __IDContent = SGetField(LocalBridgeClazz, "_ID"); __IDReady = true; } return __IDContent; } } + private static Java.Lang.String __IDContent = default; + private static bool __IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AUDIO_ID { get { if (!_AUDIO_IDReady) { _AUDIO_IDContent = SGetField(LocalBridgeClazz, "AUDIO_ID"); _AUDIO_IDReady = true; } return _AUDIO_IDContent; } } + private static Java.Lang.String _AUDIO_IDContent = default; + private static bool _AUDIO_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CONTENT_DIRECTORY { get { if (!_CONTENT_DIRECTORYReady) { _CONTENT_DIRECTORYContent = SGetField(LocalBridgeClazz, "CONTENT_DIRECTORY"); _CONTENT_DIRECTORYReady = true; } return _CONTENT_DIRECTORYContent; } } + private static Java.Lang.String _CONTENT_DIRECTORYContent = default; + private static bool _CONTENT_DIRECTORYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PLAY_ORDER { get { if (!_PLAY_ORDERReady) { _PLAY_ORDERContent = SGetField(LocalBridgeClazz, "PLAY_ORDER"); _PLAY_ORDERReady = true; } return _PLAY_ORDERContent; } } + private static Java.Lang.String _PLAY_ORDERContent = default; + private static bool _PLAY_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PLAYLIST_ID { get { if (!_PLAYLIST_IDReady) { _PLAYLIST_IDContent = SGetField(LocalBridgeClazz, "PLAYLIST_ID"); _PLAYLIST_IDReady = true; } return _PLAYLIST_IDContent; } } + private static Java.Lang.String _PLAYLIST_IDContent = default; + private static bool _PLAYLIST_IDReady = false; // this is used because in case of generics #endregion #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri GetContentUri(Java.Lang.String arg0, long arg1) + { + return SExecute(LocalBridgeClazz, "getContentUri", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool MoveItem(Android.Content.ContentResolver arg0, long arg1, int arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "moveItem", arg0, arg1, arg2, arg3); + } #endregion @@ -828,6 +1001,16 @@ public static Android.Net.Uri GetContentUri(Java.Lang.String arg0) { return SExecuteWithSignature(LocalBridgeClazz, "getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri GetContentUriForPath(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getContentUriForPath", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); + } #endregion @@ -1048,12 +1231,26 @@ public partial class AudioColumns private static Java.Lang.String _ALBUM_IDContent = default; private static bool _ALBUM_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ALBUM_KEY { get { if (!_ALBUM_KEYReady) { _ALBUM_KEYContent = SGetField(LocalBridgeClazz, "ALBUM_KEY"); _ALBUM_KEYReady = true; } return _ALBUM_KEYContent; } } + private static Java.Lang.String _ALBUM_KEYContent = default; + private static bool _ALBUM_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ARTIST_ID { get { if (!_ARTIST_IDReady) { _ARTIST_IDContent = SGetField(LocalBridgeClazz, "ARTIST_ID"); _ARTIST_IDReady = true; } return _ARTIST_IDContent; } } private static Java.Lang.String _ARTIST_IDContent = default; private static bool _ARTIST_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ARTIST_KEY { get { if (!_ARTIST_KEYReady) { _ARTIST_KEYContent = SGetField(LocalBridgeClazz, "ARTIST_KEY"); _ARTIST_KEYReady = true; } return _ARTIST_KEYContent; } } + private static Java.Lang.String _ARTIST_KEYContent = default; + private static bool _ARTIST_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String BOOKMARK { get { if (!_BOOKMARKReady) { _BOOKMARKContent = SGetField(LocalBridgeClazz, "BOOKMARK"); _BOOKMARKReady = true; } return _BOOKMARKContent; } } @@ -1072,6 +1269,13 @@ public partial class AudioColumns private static Java.Lang.String _GENRE_IDContent = default; private static bool _GENRE_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String GENRE_KEY { get { if (!_GENRE_KEYReady) { _GENRE_KEYContent = SGetField(LocalBridgeClazz, "GENRE_KEY"); _GENRE_KEYReady = true; } return _GENRE_KEYContent; } } + private static Java.Lang.String _GENRE_KEYContent = default; + private static bool _GENRE_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String IS_ALARM { get { if (!_IS_ALARMReady) { _IS_ALARMContent = SGetField(LocalBridgeClazz, "IS_ALARM"); _IS_ALARMReady = true; } return _IS_ALARMContent; } } @@ -1114,6 +1318,13 @@ public partial class AudioColumns private static Java.Lang.String _IS_RINGTONEContent = default; private static bool _IS_RINGTONEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TITLE_KEY { get { if (!_TITLE_KEYReady) { _TITLE_KEYContent = SGetField(LocalBridgeClazz, "TITLE_KEY"); _TITLE_KEYReady = true; } return _TITLE_KEYContent; } } + private static Java.Lang.String _TITLE_KEYContent = default; + private static bool _TITLE_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TITLE_RESOURCE_URI { get { if (!_TITLE_RESOURCE_URIReady) { _TITLE_RESOURCE_URIContent = SGetField(LocalBridgeClazz, "TITLE_RESOURCE_URI"); _TITLE_RESOURCE_URIReady = true; } return _TITLE_RESOURCE_URIContent; } } @@ -1288,6 +1499,13 @@ public partial class ArtistColumns private static Java.Lang.String _ARTISTContent = default; private static bool _ARTISTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ARTIST_KEY { get { if (!_ARTIST_KEYReady) { _ARTIST_KEYContent = SGetField(LocalBridgeClazz, "ARTIST_KEY"); _ARTIST_KEYReady = true; } return _ARTIST_KEYContent; } } + private static Java.Lang.String _ARTIST_KEYContent = default; + private static bool _ARTIST_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String NUMBER_OF_ALBUMS { get { if (!_NUMBER_OF_ALBUMSReady) { _NUMBER_OF_ALBUMSContent = SGetField(LocalBridgeClazz, "NUMBER_OF_ALBUMS"); _NUMBER_OF_ALBUMSReady = true; } return _NUMBER_OF_ALBUMSContent; } } @@ -1411,12 +1629,26 @@ public partial class AlbumColumns private static Java.Lang.String _ALBUMContent = default; private static bool _ALBUMReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ALBUM_ART { get { if (!_ALBUM_ARTReady) { _ALBUM_ARTContent = SGetField(LocalBridgeClazz, "ALBUM_ART"); _ALBUM_ARTReady = true; } return _ALBUM_ARTContent; } } + private static Java.Lang.String _ALBUM_ARTContent = default; + private static bool _ALBUM_ARTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ALBUM_ID { get { if (!_ALBUM_IDReady) { _ALBUM_IDContent = SGetField(LocalBridgeClazz, "ALBUM_ID"); _ALBUM_IDReady = true; } return _ALBUM_IDContent; } } private static Java.Lang.String _ALBUM_IDContent = default; private static bool _ALBUM_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ALBUM_KEY { get { if (!_ALBUM_KEYReady) { _ALBUM_KEYContent = SGetField(LocalBridgeClazz, "ALBUM_KEY"); _ALBUM_KEYReady = true; } return _ALBUM_KEYContent; } } + private static Java.Lang.String _ALBUM_KEYContent = default; + private static bool _ALBUM_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ARTIST { get { if (!_ARTISTReady) { _ARTISTContent = SGetField(LocalBridgeClazz, "ARTIST"); _ARTISTReady = true; } return _ARTISTContent; } } @@ -1429,6 +1661,13 @@ public partial class AlbumColumns private static Java.Lang.String _ARTIST_IDContent = default; private static bool _ARTIST_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ARTIST_KEY { get { if (!_ARTIST_KEYReady) { _ARTIST_KEYContent = SGetField(LocalBridgeClazz, "ARTIST_KEY"); _ARTIST_KEYReady = true; } return _ARTIST_KEYContent; } } + private static Java.Lang.String _ARTIST_KEYContent = default; + private static bool _ARTIST_KEYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String FIRST_YEAR { get { if (!_FIRST_YEARReady) { _FIRST_YEARContent = SGetField(LocalBridgeClazz, "FIRST_YEAR"); _FIRST_YEARReady = true; } return _FIRST_YEARContent; } } @@ -1669,6 +1908,13 @@ public partial class FileColumns private static int _MEDIA_TYPE_NONEContent = default; private static bool _MEDIA_TYPE_NONEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int MEDIA_TYPE_PLAYLIST { get { if (!_MEDIA_TYPE_PLAYLISTReady) { _MEDIA_TYPE_PLAYLISTContent = SGetField(LocalBridgeClazz, "MEDIA_TYPE_PLAYLIST"); _MEDIA_TYPE_PLAYLISTReady = true; } return _MEDIA_TYPE_PLAYLISTContent; } } + private static int _MEDIA_TYPE_PLAYLISTContent = default; + private static bool _MEDIA_TYPE_PLAYLISTReady = false; // this is used because in case of generics + /// /// /// public static int MEDIA_TYPE_SUBTITLE { get { if (!_MEDIA_TYPE_SUBTITLEReady) { _MEDIA_TYPE_SUBTITLEContent = SGetField(LocalBridgeClazz, "MEDIA_TYPE_SUBTITLE"); _MEDIA_TYPE_SUBTITLEReady = true; } return _MEDIA_TYPE_SUBTITLEContent; } } @@ -1760,10 +2006,200 @@ public partial class Thumbnails #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri EXTERNAL_CONTENT_URI { get { if (!_EXTERNAL_CONTENT_URIReady) { _EXTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "EXTERNAL_CONTENT_URI"); _EXTERNAL_CONTENT_URIReady = true; } return _EXTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _EXTERNAL_CONTENT_URIContent = default; + private static bool _EXTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri INTERNAL_CONTENT_URI { get { if (!_INTERNAL_CONTENT_URIReady) { _INTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "INTERNAL_CONTENT_URI"); _INTERNAL_CONTENT_URIReady = true; } return _INTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _INTERNAL_CONTENT_URIContent = default; + private static bool _INTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FULL_SCREEN_KIND { get { if (!_FULL_SCREEN_KINDReady) { _FULL_SCREEN_KINDContent = SGetField(LocalBridgeClazz, "FULL_SCREEN_KIND"); _FULL_SCREEN_KINDReady = true; } return _FULL_SCREEN_KINDContent; } } + private static int _FULL_SCREEN_KINDContent = default; + private static bool _FULL_SCREEN_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MICRO_KIND { get { if (!_MICRO_KINDReady) { _MICRO_KINDContent = SGetField(LocalBridgeClazz, "MICRO_KIND"); _MICRO_KINDReady = true; } return _MICRO_KINDContent; } } + private static int _MICRO_KINDContent = default; + private static bool _MICRO_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MINI_KIND { get { if (!_MINI_KINDReady) { _MINI_KINDContent = SGetField(LocalBridgeClazz, "MINI_KIND"); _MINI_KINDReady = true; } return _MINI_KINDContent; } } + private static int _MINI_KINDContent = default; + private static bool _MINI_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA { get { if (!_DATAReady) { _DATAContent = SGetField(LocalBridgeClazz, "DATA"); _DATAReady = true; } return _DATAContent; } } + private static Java.Lang.String _DATAContent = default; + private static bool _DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String HEIGHT { get { if (!_HEIGHTReady) { _HEIGHTContent = SGetField(LocalBridgeClazz, "HEIGHT"); _HEIGHTReady = true; } return _HEIGHTContent; } } + private static Java.Lang.String _HEIGHTContent = default; + private static bool _HEIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String IMAGE_ID { get { if (!_IMAGE_IDReady) { _IMAGE_IDContent = SGetField(LocalBridgeClazz, "IMAGE_ID"); _IMAGE_IDReady = true; } return _IMAGE_IDContent; } } + private static Java.Lang.String _IMAGE_IDContent = default; + private static bool _IMAGE_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KIND { get { if (!_KINDReady) { _KINDContent = SGetField(LocalBridgeClazz, "KIND"); _KINDReady = true; } return _KINDContent; } } + private static Java.Lang.String _KINDContent = default; + private static bool _KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String THUMB_DATA { get { if (!_THUMB_DATAReady) { _THUMB_DATAContent = SGetField(LocalBridgeClazz, "THUMB_DATA"); _THUMB_DATAReady = true; } return _THUMB_DATAContent; } } + private static Java.Lang.String _THUMB_DATAContent = default; + private static bool _THUMB_DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIDTH { get { if (!_WIDTHReady) { _WIDTHContent = SGetField(LocalBridgeClazz, "WIDTH"); _WIDTHReady = true; } return _WIDTHContent; } } + private static Java.Lang.String _WIDTHContent = default; + private static bool _WIDTHReady = false; // this is used because in case of generics #endregion #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap GetThumbnail(Android.Content.ContentResolver arg0, long arg1, int arg2, Android.Graphics.BitmapFactory.Options arg3) + { + return SExecute(LocalBridgeClazz, "getThumbnail", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap GetThumbnail(Android.Content.ContentResolver arg0, long arg1, long arg2, int arg3, Android.Graphics.BitmapFactory.Options arg4) + { + return SExecute(LocalBridgeClazz, "getThumbnail", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri GetContentUri(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Util.Size GetKindSize(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getKindSize", "(I)Landroid/util/Size;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor Query(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2) + { + return SExecute(LocalBridgeClazz, "query", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor QueryMiniThumbnail(Android.Content.ContentResolver arg0, long arg1, int arg2, Java.Lang.String[] arg3) + { + return SExecute(LocalBridgeClazz, "queryMiniThumbnail", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor QueryMiniThumbnails(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, int arg2, Java.Lang.String[] arg3) + { + return SExecute(LocalBridgeClazz, "queryMiniThumbnails", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void CancelThumbnailRequest(Android.Content.ContentResolver arg0, long arg1, long arg2) + { + SExecute(LocalBridgeClazz, "cancelThumbnailRequest", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void CancelThumbnailRequest(Android.Content.ContentResolver arg0, long arg1) + { + SExecute(LocalBridgeClazz, "cancelThumbnailRequest", arg0, arg1); + } #endregion @@ -1820,6 +2256,60 @@ public partial class Media #region Static methods /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor Query(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2, Java.Lang.String arg3, Java.Lang.String arg4) + { + return SExecute(LocalBridgeClazz, "query", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor Query(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2, Java.Lang.String arg3, Java.Lang.String[] arg4, Java.Lang.String arg5) + { + return SExecute(LocalBridgeClazz, "query", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor Query(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2) + { + return SExecute(LocalBridgeClazz, "query", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap GetBitmap(Android.Content.ContentResolver arg0, Android.Net.Uri arg1) + { + return SExecute(LocalBridgeClazz, "getBitmap", arg0, arg1); + } + /// /// /// /// @@ -1838,6 +2328,33 @@ public static Android.Net.Uri GetContentUri(Java.Lang.String arg0) { return SExecuteWithSignature(LocalBridgeClazz, "getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String InsertImage(Android.Content.ContentResolver arg0, Android.Graphics.Bitmap arg1, Java.Lang.String arg2, Java.Lang.String arg3) + { + return SExecute(LocalBridgeClazz, "insertImage", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String InsertImage(Android.Content.ContentResolver arg0, Java.Lang.String arg1, Java.Lang.String arg2, Java.Lang.String arg3) + { + return SExecute(LocalBridgeClazz, "insertImage", arg0, arg1, arg2, arg3); + } #endregion @@ -1896,6 +2413,34 @@ public partial class ImageColumns private static Java.Lang.String _ISOContent = default; private static bool _ISOReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LATITUDE { get { if (!_LATITUDEReady) { _LATITUDEContent = SGetField(LocalBridgeClazz, "LATITUDE"); _LATITUDEReady = true; } return _LATITUDEContent; } } + private static Java.Lang.String _LATITUDEContent = default; + private static bool _LATITUDEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LONGITUDE { get { if (!_LONGITUDEReady) { _LONGITUDEContent = SGetField(LocalBridgeClazz, "LONGITUDE"); _LONGITUDEReady = true; } return _LONGITUDEContent; } } + private static Java.Lang.String _LONGITUDEContent = default; + private static bool _LONGITUDEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MINI_THUMB_MAGIC { get { if (!_MINI_THUMB_MAGICReady) { _MINI_THUMB_MAGICContent = SGetField(LocalBridgeClazz, "MINI_THUMB_MAGIC"); _MINI_THUMB_MAGICReady = true; } return _MINI_THUMB_MAGICContent; } } + private static Java.Lang.String _MINI_THUMB_MAGICContent = default; + private static bool _MINI_THUMB_MAGICReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PICASA_ID { get { if (!_PICASA_IDReady) { _PICASA_IDContent = SGetField(LocalBridgeClazz, "PICASA_ID"); _PICASA_IDReady = true; } return _PICASA_IDContent; } } + private static Java.Lang.String _PICASA_IDContent = default; + private static bool _PICASA_IDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SCENE_CAPTURE_TYPE { get { if (!_SCENE_CAPTURE_TYPEReady) { _SCENE_CAPTURE_TYPEContent = SGetField(LocalBridgeClazz, "SCENE_CAPTURE_TYPE"); _SCENE_CAPTURE_TYPEReady = true; } return _SCENE_CAPTURE_TYPEContent; } } @@ -2329,6 +2874,18 @@ public partial class Video #endregion #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Database.Cursor Query(Android.Content.ContentResolver arg0, Android.Net.Uri arg1, Java.Lang.String[] arg2) + { + return SExecute(LocalBridgeClazz, "query", arg0, arg1, arg2); + } #endregion @@ -2398,6 +2955,27 @@ public partial class VideoColumns private static Java.Lang.String _LANGUAGEContent = default; private static bool _LANGUAGEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LATITUDE { get { if (!_LATITUDEReady) { _LATITUDEContent = SGetField(LocalBridgeClazz, "LATITUDE"); _LATITUDEReady = true; } return _LATITUDEContent; } } + private static Java.Lang.String _LATITUDEContent = default; + private static bool _LATITUDEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LONGITUDE { get { if (!_LONGITUDEReady) { _LONGITUDEContent = SGetField(LocalBridgeClazz, "LONGITUDE"); _LONGITUDEReady = true; } return _LONGITUDEContent; } } + private static Java.Lang.String _LONGITUDEContent = default; + private static bool _LONGITUDEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MINI_THUMB_MAGIC { get { if (!_MINI_THUMB_MAGICReady) { _MINI_THUMB_MAGICContent = SGetField(LocalBridgeClazz, "MINI_THUMB_MAGIC"); _MINI_THUMB_MAGICReady = true; } return _MINI_THUMB_MAGICContent; } } + private static Java.Lang.String _MINI_THUMB_MAGICContent = default; + private static bool _MINI_THUMB_MAGICReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TAGS { get { if (!_TAGSReady) { _TAGSContent = SGetField(LocalBridgeClazz, "TAGS"); _TAGSReady = true; } return _TAGSContent; } } @@ -2434,10 +3012,155 @@ public partial class Thumbnails #endregion #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri EXTERNAL_CONTENT_URI { get { if (!_EXTERNAL_CONTENT_URIReady) { _EXTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "EXTERNAL_CONTENT_URI"); _EXTERNAL_CONTENT_URIReady = true; } return _EXTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _EXTERNAL_CONTENT_URIContent = default; + private static bool _EXTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri INTERNAL_CONTENT_URI { get { if (!_INTERNAL_CONTENT_URIReady) { _INTERNAL_CONTENT_URIContent = SGetField(LocalBridgeClazz, "INTERNAL_CONTENT_URI"); _INTERNAL_CONTENT_URIReady = true; } return _INTERNAL_CONTENT_URIContent; } } + private static Android.Net.Uri _INTERNAL_CONTENT_URIContent = default; + private static bool _INTERNAL_CONTENT_URIReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int FULL_SCREEN_KIND { get { if (!_FULL_SCREEN_KINDReady) { _FULL_SCREEN_KINDContent = SGetField(LocalBridgeClazz, "FULL_SCREEN_KIND"); _FULL_SCREEN_KINDReady = true; } return _FULL_SCREEN_KINDContent; } } + private static int _FULL_SCREEN_KINDContent = default; + private static bool _FULL_SCREEN_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MICRO_KIND { get { if (!_MICRO_KINDReady) { _MICRO_KINDContent = SGetField(LocalBridgeClazz, "MICRO_KIND"); _MICRO_KINDReady = true; } return _MICRO_KINDContent; } } + private static int _MICRO_KINDContent = default; + private static bool _MICRO_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MINI_KIND { get { if (!_MINI_KINDReady) { _MINI_KINDContent = SGetField(LocalBridgeClazz, "MINI_KIND"); _MINI_KINDReady = true; } return _MINI_KINDContent; } } + private static int _MINI_KINDContent = default; + private static bool _MINI_KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA { get { if (!_DATAReady) { _DATAContent = SGetField(LocalBridgeClazz, "DATA"); _DATAReady = true; } return _DATAContent; } } + private static Java.Lang.String _DATAContent = default; + private static bool _DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEFAULT_SORT_ORDER { get { if (!_DEFAULT_SORT_ORDERReady) { _DEFAULT_SORT_ORDERContent = SGetField(LocalBridgeClazz, "DEFAULT_SORT_ORDER"); _DEFAULT_SORT_ORDERReady = true; } return _DEFAULT_SORT_ORDERContent; } } + private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; + private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String HEIGHT { get { if (!_HEIGHTReady) { _HEIGHTContent = SGetField(LocalBridgeClazz, "HEIGHT"); _HEIGHTReady = true; } return _HEIGHTContent; } } + private static Java.Lang.String _HEIGHTContent = default; + private static bool _HEIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KIND { get { if (!_KINDReady) { _KINDContent = SGetField(LocalBridgeClazz, "KIND"); _KINDReady = true; } return _KINDContent; } } + private static Java.Lang.String _KINDContent = default; + private static bool _KINDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VIDEO_ID { get { if (!_VIDEO_IDReady) { _VIDEO_IDContent = SGetField(LocalBridgeClazz, "VIDEO_ID"); _VIDEO_IDReady = true; } return _VIDEO_IDContent; } } + private static Java.Lang.String _VIDEO_IDContent = default; + private static bool _VIDEO_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIDTH { get { if (!_WIDTHReady) { _WIDTHContent = SGetField(LocalBridgeClazz, "WIDTH"); _WIDTHReady = true; } return _WIDTHContent; } } + private static Java.Lang.String _WIDTHContent = default; + private static bool _WIDTHReady = false; // this is used because in case of generics #endregion #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap GetThumbnail(Android.Content.ContentResolver arg0, long arg1, int arg2, Android.Graphics.BitmapFactory.Options arg3) + { + return SExecute(LocalBridgeClazz, "getThumbnail", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Graphics.Bitmap GetThumbnail(Android.Content.ContentResolver arg0, long arg1, long arg2, int arg3, Android.Graphics.BitmapFactory.Options arg4) + { + return SExecute(LocalBridgeClazz, "getThumbnail", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Net.Uri GetContentUri(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Util.Size GetKindSize(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getKindSize", "(I)Landroid/util/Size;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void CancelThumbnailRequest(Android.Content.ContentResolver arg0, long arg1, long arg2) + { + SExecute(LocalBridgeClazz, "cancelThumbnailRequest", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void CancelThumbnailRequest(Android.Content.ContentResolver arg0, long arg1) + { + SExecute(LocalBridgeClazz, "cancelThumbnailRequest", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Provider/Settings.cs b/src/net/Netdroid/Generated/Android/Provider/Settings.cs index 92b42321d..c35d46a20 100644 --- a/src/net/Netdroid/Generated/Android/Provider/Settings.cs +++ b/src/net/Netdroid/Generated/Android/Provider/Settings.cs @@ -242,6 +242,13 @@ public partial class Settings private static Java.Lang.String _ACTION_DREAM_SETTINGSContent = default; private static bool _ACTION_DREAM_SETTINGSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_FINGERPRINT_ENROLL { get { if (!_ACTION_FINGERPRINT_ENROLLReady) { _ACTION_FINGERPRINT_ENROLLContent = SGetField(LocalBridgeClazz, "ACTION_FINGERPRINT_ENROLL"); _ACTION_FINGERPRINT_ENROLLReady = true; } return _ACTION_FINGERPRINT_ENROLLContent; } } + private static Java.Lang.String _ACTION_FINGERPRINT_ENROLLContent = default; + private static bool _ACTION_FINGERPRINT_ENROLLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_HARD_KEYBOARD_SETTINGS { get { if (!_ACTION_HARD_KEYBOARD_SETTINGSReady) { _ACTION_HARD_KEYBOARD_SETTINGSContent = SGetField(LocalBridgeClazz, "ACTION_HARD_KEYBOARD_SETTINGS"); _ACTION_HARD_KEYBOARD_SETTINGSReady = true; } return _ACTION_HARD_KEYBOARD_SETTINGSContent; } } @@ -524,6 +531,13 @@ public partial class Settings private static Java.Lang.String _ACTION_SOUND_SETTINGSContent = default; private static bool _ACTION_SOUND_SETTINGSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_STORAGE_VOLUME_ACCESS_SETTINGS { get { if (!_ACTION_STORAGE_VOLUME_ACCESS_SETTINGSReady) { _ACTION_STORAGE_VOLUME_ACCESS_SETTINGSContent = SGetField(LocalBridgeClazz, "ACTION_STORAGE_VOLUME_ACCESS_SETTINGS"); _ACTION_STORAGE_VOLUME_ACCESS_SETTINGSReady = true; } return _ACTION_STORAGE_VOLUME_ACCESS_SETTINGSContent; } } + private static Java.Lang.String _ACTION_STORAGE_VOLUME_ACCESS_SETTINGSContent = default; + private static bool _ACTION_STORAGE_VOLUME_ACCESS_SETTINGSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_SYNC_SETTINGS { get { if (!_ACTION_SYNC_SETTINGSReady) { _ACTION_SYNC_SETTINGSContent = SGetField(LocalBridgeClazz, "ACTION_SYNC_SETTINGS"); _ACTION_SYNC_SETTINGSReady = true; } return _ACTION_SYNC_SETTINGSContent; } } @@ -809,6 +823,27 @@ public partial class Global private static Android.Net.Uri _CONTENT_URIContent = default; private static bool _CONTENT_URIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_DEFAULT { get { if (!_WIFI_SLEEP_POLICY_DEFAULTReady) { _WIFI_SLEEP_POLICY_DEFAULTContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_DEFAULT"); _WIFI_SLEEP_POLICY_DEFAULTReady = true; } return _WIFI_SLEEP_POLICY_DEFAULTContent; } } + private static int _WIFI_SLEEP_POLICY_DEFAULTContent = default; + private static bool _WIFI_SLEEP_POLICY_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_NEVER { get { if (!_WIFI_SLEEP_POLICY_NEVERReady) { _WIFI_SLEEP_POLICY_NEVERContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_NEVER"); _WIFI_SLEEP_POLICY_NEVERReady = true; } return _WIFI_SLEEP_POLICY_NEVERContent; } } + private static int _WIFI_SLEEP_POLICY_NEVERContent = default; + private static bool _WIFI_SLEEP_POLICY_NEVERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED { get { if (!_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady) { _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED"); _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady = true; } return _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent; } } + private static int _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent = default; + private static bool _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ADB_ENABLED { get { if (!_ADB_ENABLEDReady) { _ADB_ENABLEDContent = SGetField(LocalBridgeClazz, "ADB_ENABLED"); _ADB_ENABLEDReady = true; } return _ADB_ENABLEDContent; } } @@ -839,6 +874,13 @@ public partial class Global private static Java.Lang.String _ANIMATOR_DURATION_SCALEContent = default; private static bool _ANIMATOR_DURATION_SCALEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String APPLY_RAMPING_RINGER { get { if (!_APPLY_RAMPING_RINGERReady) { _APPLY_RAMPING_RINGERContent = SGetField(LocalBridgeClazz, "APPLY_RAMPING_RINGER"); _APPLY_RAMPING_RINGERReady = true; } return _APPLY_RAMPING_RINGERContent; } } + private static Java.Lang.String _APPLY_RAMPING_RINGERContent = default; + private static bool _APPLY_RAMPING_RINGERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String AUTO_TIME { get { if (!_AUTO_TIMEReady) { _AUTO_TIMEContent = SGetField(LocalBridgeClazz, "AUTO_TIME"); _AUTO_TIMEReady = true; } return _AUTO_TIMEContent; } } @@ -905,6 +947,13 @@ public partial class Global private static Java.Lang.String _HTTP_PROXYContent = default; private static bool _HTTP_PROXYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String INSTALL_NON_MARKET_APPS { get { if (!_INSTALL_NON_MARKET_APPSReady) { _INSTALL_NON_MARKET_APPSContent = SGetField(LocalBridgeClazz, "INSTALL_NON_MARKET_APPS"); _INSTALL_NON_MARKET_APPSReady = true; } return _INSTALL_NON_MARKET_APPSContent; } } + private static Java.Lang.String _INSTALL_NON_MARKET_APPSContent = default; + private static bool _INSTALL_NON_MARKET_APPSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String MODE_RINGER { get { if (!_MODE_RINGERReady) { _MODE_RINGERContent = SGetField(LocalBridgeClazz, "MODE_RINGER"); _MODE_RINGERReady = true; } return _MODE_RINGERContent; } } @@ -947,6 +996,13 @@ public partial class Global private static Java.Lang.String _SECURE_FRP_MODEContent = default; private static bool _SECURE_FRP_MODEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SHOW_PROCESSES { get { if (!_SHOW_PROCESSESReady) { _SHOW_PROCESSESContent = SGetField(LocalBridgeClazz, "SHOW_PROCESSES"); _SHOW_PROCESSESReady = true; } return _SHOW_PROCESSESContent; } } + private static Java.Lang.String _SHOW_PROCESSESContent = default; + private static bool _SHOW_PROCESSESReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String STAY_ON_WHILE_PLUGGED_IN { get { if (!_STAY_ON_WHILE_PLUGGED_INReady) { _STAY_ON_WHILE_PLUGGED_INContent = SGetField(LocalBridgeClazz, "STAY_ON_WHILE_PLUGGED_IN"); _STAY_ON_WHILE_PLUGGED_INReady = true; } return _STAY_ON_WHILE_PLUGGED_INContent; } } @@ -995,12 +1051,40 @@ public partial class Global private static Java.Lang.String _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent = default; private static bool _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON { get { if (!_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady) { _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON"); _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = true; } return _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY { get { if (!_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady) { _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY"); _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = true; } return _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NUM_OPEN_NETWORKS_KEPT { get { if (!_WIFI_NUM_OPEN_NETWORKS_KEPTReady) { _WIFI_NUM_OPEN_NETWORKS_KEPTContent = SGetField(LocalBridgeClazz, "WIFI_NUM_OPEN_NETWORKS_KEPT"); _WIFI_NUM_OPEN_NETWORKS_KEPTReady = true; } return _WIFI_NUM_OPEN_NETWORKS_KEPTContent; } } + private static Java.Lang.String _WIFI_NUM_OPEN_NETWORKS_KEPTContent = default; + private static bool _WIFI_NUM_OPEN_NETWORKS_KEPTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String WIFI_ON { get { if (!_WIFI_ONReady) { _WIFI_ONContent = SGetField(LocalBridgeClazz, "WIFI_ON"); _WIFI_ONReady = true; } return _WIFI_ONContent; } } private static Java.Lang.String _WIFI_ONContent = default; private static bool _WIFI_ONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_SLEEP_POLICY { get { if (!_WIFI_SLEEP_POLICYReady) { _WIFI_SLEEP_POLICYContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY"); _WIFI_SLEEP_POLICYReady = true; } return _WIFI_SLEEP_POLICYContent; } } + private static Java.Lang.String _WIFI_SLEEP_POLICYContent = default; + private static bool _WIFI_SLEEP_POLICYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String WIFI_WATCHDOG_ON { get { if (!_WIFI_WATCHDOG_ONReady) { _WIFI_WATCHDOG_ONContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_ON"); _WIFI_WATCHDOG_ONReady = true; } return _WIFI_WATCHDOG_ONContent; } } @@ -1287,12 +1371,33 @@ public partial class Secure private static Android.Net.Uri _CONTENT_URIContent = default; private static bool _CONTENT_URIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int LOCATION_MODE_BATTERY_SAVING { get { if (!_LOCATION_MODE_BATTERY_SAVINGReady) { _LOCATION_MODE_BATTERY_SAVINGContent = SGetField(LocalBridgeClazz, "LOCATION_MODE_BATTERY_SAVING"); _LOCATION_MODE_BATTERY_SAVINGReady = true; } return _LOCATION_MODE_BATTERY_SAVINGContent; } } + private static int _LOCATION_MODE_BATTERY_SAVINGContent = default; + private static bool _LOCATION_MODE_BATTERY_SAVINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int LOCATION_MODE_HIGH_ACCURACY { get { if (!_LOCATION_MODE_HIGH_ACCURACYReady) { _LOCATION_MODE_HIGH_ACCURACYContent = SGetField(LocalBridgeClazz, "LOCATION_MODE_HIGH_ACCURACY"); _LOCATION_MODE_HIGH_ACCURACYReady = true; } return _LOCATION_MODE_HIGH_ACCURACYContent; } } + private static int _LOCATION_MODE_HIGH_ACCURACYContent = default; + private static bool _LOCATION_MODE_HIGH_ACCURACYReady = false; // this is used because in case of generics + /// /// /// public static int LOCATION_MODE_OFF { get { if (!_LOCATION_MODE_OFFReady) { _LOCATION_MODE_OFFContent = SGetField(LocalBridgeClazz, "LOCATION_MODE_OFF"); _LOCATION_MODE_OFFReady = true; } return _LOCATION_MODE_OFFContent; } } private static int _LOCATION_MODE_OFFContent = default; private static bool _LOCATION_MODE_OFFReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int LOCATION_MODE_SENSORS_ONLY { get { if (!_LOCATION_MODE_SENSORS_ONLYReady) { _LOCATION_MODE_SENSORS_ONLYContent = SGetField(LocalBridgeClazz, "LOCATION_MODE_SENSORS_ONLY"); _LOCATION_MODE_SENSORS_ONLYReady = true; } return _LOCATION_MODE_SENSORS_ONLYContent; } } + private static int _LOCATION_MODE_SENSORS_ONLYContent = default; + private static bool _LOCATION_MODE_SENSORS_ONLYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACCESSIBILITY_DISPLAY_INVERSION_ENABLED { get { if (!_ACCESSIBILITY_DISPLAY_INVERSION_ENABLEDReady) { _ACCESSIBILITY_DISPLAY_INVERSION_ENABLEDContent = SGetField(LocalBridgeClazz, "ACCESSIBILITY_DISPLAY_INVERSION_ENABLED"); _ACCESSIBILITY_DISPLAY_INVERSION_ENABLEDReady = true; } return _ACCESSIBILITY_DISPLAY_INVERSION_ENABLEDContent; } } @@ -1305,6 +1410,27 @@ public partial class Secure private static Java.Lang.String _ACCESSIBILITY_ENABLEDContent = default; private static bool _ACCESSIBILITY_ENABLEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACCESSIBILITY_SPEAK_PASSWORD { get { if (!_ACCESSIBILITY_SPEAK_PASSWORDReady) { _ACCESSIBILITY_SPEAK_PASSWORDContent = SGetField(LocalBridgeClazz, "ACCESSIBILITY_SPEAK_PASSWORD"); _ACCESSIBILITY_SPEAK_PASSWORDReady = true; } return _ACCESSIBILITY_SPEAK_PASSWORDContent; } } + private static Java.Lang.String _ACCESSIBILITY_SPEAK_PASSWORDContent = default; + private static bool _ACCESSIBILITY_SPEAK_PASSWORDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ADB_ENABLED { get { if (!_ADB_ENABLEDReady) { _ADB_ENABLEDContent = SGetField(LocalBridgeClazz, "ADB_ENABLED"); _ADB_ENABLEDReady = true; } return _ADB_ENABLEDContent; } } + private static Java.Lang.String _ADB_ENABLEDContent = default; + private static bool _ADB_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ALLOW_MOCK_LOCATION { get { if (!_ALLOW_MOCK_LOCATIONReady) { _ALLOW_MOCK_LOCATIONContent = SGetField(LocalBridgeClazz, "ALLOW_MOCK_LOCATION"); _ALLOW_MOCK_LOCATIONReady = true; } return _ALLOW_MOCK_LOCATIONContent; } } + private static Java.Lang.String _ALLOW_MOCK_LOCATIONContent = default; + private static bool _ALLOW_MOCK_LOCATIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ALLOWED_GEOLOCATION_ORIGINS { get { if (!_ALLOWED_GEOLOCATION_ORIGINSReady) { _ALLOWED_GEOLOCATION_ORIGINSContent = SGetField(LocalBridgeClazz, "ALLOWED_GEOLOCATION_ORIGINS"); _ALLOWED_GEOLOCATION_ORIGINSReady = true; } return _ALLOWED_GEOLOCATION_ORIGINSContent; } } @@ -1317,12 +1443,47 @@ public partial class Secure private static Java.Lang.String _ANDROID_IDContent = default; private static bool _ANDROID_IDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BACKGROUND_DATA { get { if (!_BACKGROUND_DATAReady) { _BACKGROUND_DATAContent = SGetField(LocalBridgeClazz, "BACKGROUND_DATA"); _BACKGROUND_DATAReady = true; } return _BACKGROUND_DATAContent; } } + private static Java.Lang.String _BACKGROUND_DATAContent = default; + private static bool _BACKGROUND_DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BLUETOOTH_ON { get { if (!_BLUETOOTH_ONReady) { _BLUETOOTH_ONContent = SGetField(LocalBridgeClazz, "BLUETOOTH_ON"); _BLUETOOTH_ONReady = true; } return _BLUETOOTH_ONContent; } } + private static Java.Lang.String _BLUETOOTH_ONContent = default; + private static bool _BLUETOOTH_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA_ROAMING { get { if (!_DATA_ROAMINGReady) { _DATA_ROAMINGContent = SGetField(LocalBridgeClazz, "DATA_ROAMING"); _DATA_ROAMINGReady = true; } return _DATA_ROAMINGContent; } } + private static Java.Lang.String _DATA_ROAMINGContent = default; + private static bool _DATA_ROAMINGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String DEFAULT_INPUT_METHOD { get { if (!_DEFAULT_INPUT_METHODReady) { _DEFAULT_INPUT_METHODContent = SGetField(LocalBridgeClazz, "DEFAULT_INPUT_METHOD"); _DEFAULT_INPUT_METHODReady = true; } return _DEFAULT_INPUT_METHODContent; } } private static Java.Lang.String _DEFAULT_INPUT_METHODContent = default; private static bool _DEFAULT_INPUT_METHODReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEVELOPMENT_SETTINGS_ENABLED { get { if (!_DEVELOPMENT_SETTINGS_ENABLEDReady) { _DEVELOPMENT_SETTINGS_ENABLEDContent = SGetField(LocalBridgeClazz, "DEVELOPMENT_SETTINGS_ENABLED"); _DEVELOPMENT_SETTINGS_ENABLEDReady = true; } return _DEVELOPMENT_SETTINGS_ENABLEDContent; } } + private static Java.Lang.String _DEVELOPMENT_SETTINGS_ENABLEDContent = default; + private static bool _DEVELOPMENT_SETTINGS_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEVICE_PROVISIONED { get { if (!_DEVICE_PROVISIONEDReady) { _DEVICE_PROVISIONEDContent = SGetField(LocalBridgeClazz, "DEVICE_PROVISIONED"); _DEVICE_PROVISIONEDReady = true; } return _DEVICE_PROVISIONEDContent; } } + private static Java.Lang.String _DEVICE_PROVISIONEDContent = default; + private static bool _DEVICE_PROVISIONEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ENABLED_ACCESSIBILITY_SERVICES { get { if (!_ENABLED_ACCESSIBILITY_SERVICESReady) { _ENABLED_ACCESSIBILITY_SERVICESContent = SGetField(LocalBridgeClazz, "ENABLED_ACCESSIBILITY_SERVICES"); _ENABLED_ACCESSIBILITY_SERVICESReady = true; } return _ENABLED_ACCESSIBILITY_SERVICESContent; } } @@ -1335,12 +1496,75 @@ public partial class Secure private static Java.Lang.String _ENABLED_INPUT_METHODSContent = default; private static bool _ENABLED_INPUT_METHODSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String HTTP_PROXY { get { if (!_HTTP_PROXYReady) { _HTTP_PROXYContent = SGetField(LocalBridgeClazz, "HTTP_PROXY"); _HTTP_PROXYReady = true; } return _HTTP_PROXYContent; } } + private static Java.Lang.String _HTTP_PROXYContent = default; + private static bool _HTTP_PROXYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String INPUT_METHOD_SELECTOR_VISIBILITY { get { if (!_INPUT_METHOD_SELECTOR_VISIBILITYReady) { _INPUT_METHOD_SELECTOR_VISIBILITYContent = SGetField(LocalBridgeClazz, "INPUT_METHOD_SELECTOR_VISIBILITY"); _INPUT_METHOD_SELECTOR_VISIBILITYReady = true; } return _INPUT_METHOD_SELECTOR_VISIBILITYContent; } } private static Java.Lang.String _INPUT_METHOD_SELECTOR_VISIBILITYContent = default; private static bool _INPUT_METHOD_SELECTOR_VISIBILITYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String INSTALL_NON_MARKET_APPS { get { if (!_INSTALL_NON_MARKET_APPSReady) { _INSTALL_NON_MARKET_APPSContent = SGetField(LocalBridgeClazz, "INSTALL_NON_MARKET_APPS"); _INSTALL_NON_MARKET_APPSReady = true; } return _INSTALL_NON_MARKET_APPSContent; } } + private static Java.Lang.String _INSTALL_NON_MARKET_APPSContent = default; + private static bool _INSTALL_NON_MARKET_APPSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCATION_MODE { get { if (!_LOCATION_MODEReady) { _LOCATION_MODEContent = SGetField(LocalBridgeClazz, "LOCATION_MODE"); _LOCATION_MODEReady = true; } return _LOCATION_MODEContent; } } + private static Java.Lang.String _LOCATION_MODEContent = default; + private static bool _LOCATION_MODEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCATION_PROVIDERS_ALLOWED { get { if (!_LOCATION_PROVIDERS_ALLOWEDReady) { _LOCATION_PROVIDERS_ALLOWEDContent = SGetField(LocalBridgeClazz, "LOCATION_PROVIDERS_ALLOWED"); _LOCATION_PROVIDERS_ALLOWEDReady = true; } return _LOCATION_PROVIDERS_ALLOWEDContent; } } + private static Java.Lang.String _LOCATION_PROVIDERS_ALLOWEDContent = default; + private static bool _LOCATION_PROVIDERS_ALLOWEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_ENABLED { get { if (!_LOCK_PATTERN_ENABLEDReady) { _LOCK_PATTERN_ENABLEDContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_ENABLED"); _LOCK_PATTERN_ENABLEDReady = true; } return _LOCK_PATTERN_ENABLEDContent; } } + private static Java.Lang.String _LOCK_PATTERN_ENABLEDContent = default; + private static bool _LOCK_PATTERN_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED { get { if (!_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady) { _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED"); _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady = true; } return _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent; } } + private static Java.Lang.String _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent = default; + private static bool _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_VISIBLE { get { if (!_LOCK_PATTERN_VISIBLEReady) { _LOCK_PATTERN_VISIBLEContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_VISIBLE"); _LOCK_PATTERN_VISIBLEReady = true; } return _LOCK_PATTERN_VISIBLEContent; } } + private static Java.Lang.String _LOCK_PATTERN_VISIBLEContent = default; + private static bool _LOCK_PATTERN_VISIBLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOGGING_ID { get { if (!_LOGGING_IDReady) { _LOGGING_IDContent = SGetField(LocalBridgeClazz, "LOGGING_ID"); _LOGGING_IDReady = true; } return _LOGGING_IDContent; } } + private static Java.Lang.String _LOGGING_IDContent = default; + private static bool _LOGGING_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NETWORK_PREFERENCE { get { if (!_NETWORK_PREFERENCEReady) { _NETWORK_PREFERENCEContent = SGetField(LocalBridgeClazz, "NETWORK_PREFERENCE"); _NETWORK_PREFERENCEReady = true; } return _NETWORK_PREFERENCEContent; } } + private static Java.Lang.String _NETWORK_PREFERENCEContent = default; + private static bool _NETWORK_PREFERENCEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String PARENTAL_CONTROL_ENABLED { get { if (!_PARENTAL_CONTROL_ENABLEDReady) { _PARENTAL_CONTROL_ENABLEDContent = SGetField(LocalBridgeClazz, "PARENTAL_CONTROL_ENABLED"); _PARENTAL_CONTROL_ENABLEDReady = true; } return _PARENTAL_CONTROL_ENABLEDContent; } } @@ -1365,6 +1589,13 @@ public partial class Secure private static Java.Lang.String _RTT_CALLING_MODEContent = default; private static bool _RTT_CALLING_MODEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECURE_FRP_MODE { get { if (!_SECURE_FRP_MODEReady) { _SECURE_FRP_MODEContent = SGetField(LocalBridgeClazz, "SECURE_FRP_MODE"); _SECURE_FRP_MODEReady = true; } return _SECURE_FRP_MODEContent; } } + private static Java.Lang.String _SECURE_FRP_MODEContent = default; + private static bool _SECURE_FRP_MODEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SELECTED_INPUT_METHOD_SUBTYPE { get { if (!_SELECTED_INPUT_METHOD_SUBTYPEReady) { _SELECTED_INPUT_METHOD_SUBTYPEContent = SGetField(LocalBridgeClazz, "SELECTED_INPUT_METHOD_SUBTYPE"); _SELECTED_INPUT_METHOD_SUBTYPEReady = true; } return _SELECTED_INPUT_METHOD_SUBTYPEContent; } } @@ -1389,6 +1620,20 @@ public partial class Secure private static Java.Lang.String _TOUCH_EXPLORATION_ENABLEDContent = default; private static bool _TOUCH_EXPLORATION_ENABLEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TTS_DEFAULT_COUNTRY { get { if (!_TTS_DEFAULT_COUNTRYReady) { _TTS_DEFAULT_COUNTRYContent = SGetField(LocalBridgeClazz, "TTS_DEFAULT_COUNTRY"); _TTS_DEFAULT_COUNTRYReady = true; } return _TTS_DEFAULT_COUNTRYContent; } } + private static Java.Lang.String _TTS_DEFAULT_COUNTRYContent = default; + private static bool _TTS_DEFAULT_COUNTRYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TTS_DEFAULT_LANG { get { if (!_TTS_DEFAULT_LANGReady) { _TTS_DEFAULT_LANGContent = SGetField(LocalBridgeClazz, "TTS_DEFAULT_LANG"); _TTS_DEFAULT_LANGReady = true; } return _TTS_DEFAULT_LANGContent; } } + private static Java.Lang.String _TTS_DEFAULT_LANGContent = default; + private static bool _TTS_DEFAULT_LANGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TTS_DEFAULT_PITCH { get { if (!_TTS_DEFAULT_PITCHReady) { _TTS_DEFAULT_PITCHContent = SGetField(LocalBridgeClazz, "TTS_DEFAULT_PITCH"); _TTS_DEFAULT_PITCHReady = true; } return _TTS_DEFAULT_PITCHContent; } } @@ -1407,11 +1652,165 @@ public partial class Secure private static Java.Lang.String _TTS_DEFAULT_SYNTHContent = default; private static bool _TTS_DEFAULT_SYNTHReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TTS_DEFAULT_VARIANT { get { if (!_TTS_DEFAULT_VARIANTReady) { _TTS_DEFAULT_VARIANTContent = SGetField(LocalBridgeClazz, "TTS_DEFAULT_VARIANT"); _TTS_DEFAULT_VARIANTReady = true; } return _TTS_DEFAULT_VARIANTContent; } } + private static Java.Lang.String _TTS_DEFAULT_VARIANTContent = default; + private static bool _TTS_DEFAULT_VARIANTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TTS_ENABLED_PLUGINS { get { if (!_TTS_ENABLED_PLUGINSReady) { _TTS_ENABLED_PLUGINSContent = SGetField(LocalBridgeClazz, "TTS_ENABLED_PLUGINS"); _TTS_ENABLED_PLUGINSReady = true; } return _TTS_ENABLED_PLUGINSContent; } } private static Java.Lang.String _TTS_ENABLED_PLUGINSContent = default; private static bool _TTS_ENABLED_PLUGINSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TTS_USE_DEFAULTS { get { if (!_TTS_USE_DEFAULTSReady) { _TTS_USE_DEFAULTSContent = SGetField(LocalBridgeClazz, "TTS_USE_DEFAULTS"); _TTS_USE_DEFAULTSReady = true; } return _TTS_USE_DEFAULTSContent; } } + private static Java.Lang.String _TTS_USE_DEFAULTSContent = default; + private static bool _TTS_USE_DEFAULTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USB_MASS_STORAGE_ENABLED { get { if (!_USB_MASS_STORAGE_ENABLEDReady) { _USB_MASS_STORAGE_ENABLEDContent = SGetField(LocalBridgeClazz, "USB_MASS_STORAGE_ENABLED"); _USB_MASS_STORAGE_ENABLEDReady = true; } return _USB_MASS_STORAGE_ENABLEDContent; } } + private static Java.Lang.String _USB_MASS_STORAGE_ENABLEDContent = default; + private static bool _USB_MASS_STORAGE_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USE_GOOGLE_MAIL { get { if (!_USE_GOOGLE_MAILReady) { _USE_GOOGLE_MAILContent = SGetField(LocalBridgeClazz, "USE_GOOGLE_MAIL"); _USE_GOOGLE_MAILReady = true; } return _USE_GOOGLE_MAILContent; } } + private static Java.Lang.String _USE_GOOGLE_MAILContent = default; + private static bool _USE_GOOGLE_MAILReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_MAX_DHCP_RETRY_COUNT { get { if (!_WIFI_MAX_DHCP_RETRY_COUNTReady) { _WIFI_MAX_DHCP_RETRY_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_MAX_DHCP_RETRY_COUNT"); _WIFI_MAX_DHCP_RETRY_COUNTReady = true; } return _WIFI_MAX_DHCP_RETRY_COUNTContent; } } + private static Java.Lang.String _WIFI_MAX_DHCP_RETRY_COUNTContent = default; + private static bool _WIFI_MAX_DHCP_RETRY_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS { get { if (!_WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady) { _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS"); _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady = true; } return _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent = default; + private static bool _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON { get { if (!_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady) { _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON"); _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = true; } return _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY { get { if (!_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady) { _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY"); _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = true; } return _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NUM_OPEN_NETWORKS_KEPT { get { if (!_WIFI_NUM_OPEN_NETWORKS_KEPTReady) { _WIFI_NUM_OPEN_NETWORKS_KEPTContent = SGetField(LocalBridgeClazz, "WIFI_NUM_OPEN_NETWORKS_KEPT"); _WIFI_NUM_OPEN_NETWORKS_KEPTReady = true; } return _WIFI_NUM_OPEN_NETWORKS_KEPTContent; } } + private static Java.Lang.String _WIFI_NUM_OPEN_NETWORKS_KEPTContent = default; + private static bool _WIFI_NUM_OPEN_NETWORKS_KEPTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_ON { get { if (!_WIFI_ONReady) { _WIFI_ONContent = SGetField(LocalBridgeClazz, "WIFI_ON"); _WIFI_ONReady = true; } return _WIFI_ONContent; } } + private static Java.Lang.String _WIFI_ONContent = default; + private static bool _WIFI_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE { get { if (!_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady) { _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE"); _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady = true; } return _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent = default; + private static bool _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_AP_COUNT { get { if (!_WIFI_WATCHDOG_AP_COUNTReady) { _WIFI_WATCHDOG_AP_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_AP_COUNT"); _WIFI_WATCHDOG_AP_COUNTReady = true; } return _WIFI_WATCHDOG_AP_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_AP_COUNTContent = default; + private static bool _WIFI_WATCHDOG_AP_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS"); _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED"); _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS"); _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT { get { if (!_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady) { _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT"); _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady = true; } return _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent = default; + private static bool _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_MAX_AP_CHECKS { get { if (!_WIFI_WATCHDOG_MAX_AP_CHECKSReady) { _WIFI_WATCHDOG_MAX_AP_CHECKSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_MAX_AP_CHECKS"); _WIFI_WATCHDOG_MAX_AP_CHECKSReady = true; } return _WIFI_WATCHDOG_MAX_AP_CHECKSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_MAX_AP_CHECKSContent = default; + private static bool _WIFI_WATCHDOG_MAX_AP_CHECKSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_ON { get { if (!_WIFI_WATCHDOG_ONReady) { _WIFI_WATCHDOG_ONContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_ON"); _WIFI_WATCHDOG_ONReady = true; } return _WIFI_WATCHDOG_ONContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_ONContent = default; + private static bool _WIFI_WATCHDOG_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_COUNT { get { if (!_WIFI_WATCHDOG_PING_COUNTReady) { _WIFI_WATCHDOG_PING_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_COUNT"); _WIFI_WATCHDOG_PING_COUNTReady = true; } return _WIFI_WATCHDOG_PING_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_COUNTContent = default; + private static bool _WIFI_WATCHDOG_PING_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_DELAY_MS { get { if (!_WIFI_WATCHDOG_PING_DELAY_MSReady) { _WIFI_WATCHDOG_PING_DELAY_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_DELAY_MS"); _WIFI_WATCHDOG_PING_DELAY_MSReady = true; } return _WIFI_WATCHDOG_PING_DELAY_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_DELAY_MSContent = default; + private static bool _WIFI_WATCHDOG_PING_DELAY_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_TIMEOUT_MS { get { if (!_WIFI_WATCHDOG_PING_TIMEOUT_MSReady) { _WIFI_WATCHDOG_PING_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_TIMEOUT_MS"); _WIFI_WATCHDOG_PING_TIMEOUT_MSReady = true; } return _WIFI_WATCHDOG_PING_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_TIMEOUT_MSContent = default; + private static bool _WIFI_WATCHDOG_PING_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_WATCH_LIST { get { if (!_WIFI_WATCHDOG_WATCH_LISTReady) { _WIFI_WATCHDOG_WATCH_LISTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_WATCH_LIST"); _WIFI_WATCHDOG_WATCH_LISTReady = true; } return _WIFI_WATCHDOG_WATCH_LISTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_WATCH_LISTContent = default; + private static bool _WIFI_WATCHDOG_WATCH_LISTReady = false; // this is used because in case of generics #endregion @@ -1426,6 +1825,17 @@ public static Android.Net.Uri GetUriFor(Java.Lang.String arg0) return SExecuteWithSignature(LocalBridgeClazz, "getUriFor", "(Ljava/lang/String;)Landroid/net/Uri;", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsLocationProviderEnabled(Android.Content.ContentResolver arg0, Java.Lang.String arg1) + { + return SExecute(LocalBridgeClazz, "isLocationProviderEnabled", arg0, arg1); + } + /// /// /// /// @@ -1545,6 +1955,17 @@ public static long GetLong(Android.Content.ContentResolver arg0, Java.Lang.Strin { return SExecute(LocalBridgeClazz, "getLong", arg0, arg1); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetLocationProviderEnabled(Android.Content.ContentResolver arg0, Java.Lang.String arg1, bool arg2) + { + SExecute(LocalBridgeClazz, "setLocationProviderEnabled", arg0, arg1, arg2); + } #endregion @@ -1640,18 +2061,95 @@ public partial class System private static int _SCREEN_BRIGHTNESS_MODE_MANUALContent = default; private static bool _SCREEN_BRIGHTNESS_MODE_MANUALReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_DEFAULT { get { if (!_WIFI_SLEEP_POLICY_DEFAULTReady) { _WIFI_SLEEP_POLICY_DEFAULTContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_DEFAULT"); _WIFI_SLEEP_POLICY_DEFAULTReady = true; } return _WIFI_SLEEP_POLICY_DEFAULTContent; } } + private static int _WIFI_SLEEP_POLICY_DEFAULTContent = default; + private static bool _WIFI_SLEEP_POLICY_DEFAULTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_NEVER { get { if (!_WIFI_SLEEP_POLICY_NEVERReady) { _WIFI_SLEEP_POLICY_NEVERContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_NEVER"); _WIFI_SLEEP_POLICY_NEVERReady = true; } return _WIFI_SLEEP_POLICY_NEVERContent; } } + private static int _WIFI_SLEEP_POLICY_NEVERContent = default; + private static bool _WIFI_SLEEP_POLICY_NEVERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED { get { if (!_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady) { _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED"); _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady = true; } return _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent; } } + private static int _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDContent = default; + private static bool _WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACCELEROMETER_ROTATION { get { if (!_ACCELEROMETER_ROTATIONReady) { _ACCELEROMETER_ROTATIONContent = SGetField(LocalBridgeClazz, "ACCELEROMETER_ROTATION"); _ACCELEROMETER_ROTATIONReady = true; } return _ACCELEROMETER_ROTATIONContent; } } private static Java.Lang.String _ACCELEROMETER_ROTATIONContent = default; private static bool _ACCELEROMETER_ROTATIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ADB_ENABLED { get { if (!_ADB_ENABLEDReady) { _ADB_ENABLEDContent = SGetField(LocalBridgeClazz, "ADB_ENABLED"); _ADB_ENABLEDReady = true; } return _ADB_ENABLEDContent; } } + private static Java.Lang.String _ADB_ENABLEDContent = default; + private static bool _ADB_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AIRPLANE_MODE_ON { get { if (!_AIRPLANE_MODE_ONReady) { _AIRPLANE_MODE_ONContent = SGetField(LocalBridgeClazz, "AIRPLANE_MODE_ON"); _AIRPLANE_MODE_ONReady = true; } return _AIRPLANE_MODE_ONContent; } } + private static Java.Lang.String _AIRPLANE_MODE_ONContent = default; + private static bool _AIRPLANE_MODE_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AIRPLANE_MODE_RADIOS { get { if (!_AIRPLANE_MODE_RADIOSReady) { _AIRPLANE_MODE_RADIOSContent = SGetField(LocalBridgeClazz, "AIRPLANE_MODE_RADIOS"); _AIRPLANE_MODE_RADIOSReady = true; } return _AIRPLANE_MODE_RADIOSContent; } } + private static Java.Lang.String _AIRPLANE_MODE_RADIOSContent = default; + private static bool _AIRPLANE_MODE_RADIOSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ALARM_ALERT { get { if (!_ALARM_ALERTReady) { _ALARM_ALERTContent = SGetField(LocalBridgeClazz, "ALARM_ALERT"); _ALARM_ALERTReady = true; } return _ALARM_ALERTContent; } } private static Java.Lang.String _ALARM_ALERTContent = default; private static bool _ALARM_ALERTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ALWAYS_FINISH_ACTIVITIES { get { if (!_ALWAYS_FINISH_ACTIVITIESReady) { _ALWAYS_FINISH_ACTIVITIESContent = SGetField(LocalBridgeClazz, "ALWAYS_FINISH_ACTIVITIES"); _ALWAYS_FINISH_ACTIVITIESReady = true; } return _ALWAYS_FINISH_ACTIVITIESContent; } } + private static Java.Lang.String _ALWAYS_FINISH_ACTIVITIESContent = default; + private static bool _ALWAYS_FINISH_ACTIVITIESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANDROID_ID { get { if (!_ANDROID_IDReady) { _ANDROID_IDContent = SGetField(LocalBridgeClazz, "ANDROID_ID"); _ANDROID_IDReady = true; } return _ANDROID_IDContent; } } + private static Java.Lang.String _ANDROID_IDContent = default; + private static bool _ANDROID_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ANIMATOR_DURATION_SCALE { get { if (!_ANIMATOR_DURATION_SCALEReady) { _ANIMATOR_DURATION_SCALEContent = SGetField(LocalBridgeClazz, "ANIMATOR_DURATION_SCALE"); _ANIMATOR_DURATION_SCALEReady = true; } return _ANIMATOR_DURATION_SCALEContent; } } + private static Java.Lang.String _ANIMATOR_DURATION_SCALEContent = default; + private static bool _ANIMATOR_DURATION_SCALEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AUTO_TIME { get { if (!_AUTO_TIMEReady) { _AUTO_TIMEContent = SGetField(LocalBridgeClazz, "AUTO_TIME"); _AUTO_TIMEReady = true; } return _AUTO_TIMEContent; } } + private static Java.Lang.String _AUTO_TIMEContent = default; + private static bool _AUTO_TIMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AUTO_TIME_ZONE { get { if (!_AUTO_TIME_ZONEReady) { _AUTO_TIME_ZONEContent = SGetField(LocalBridgeClazz, "AUTO_TIME_ZONE"); _AUTO_TIME_ZONEReady = true; } return _AUTO_TIME_ZONEContent; } } + private static Java.Lang.String _AUTO_TIME_ZONEContent = default; + private static bool _AUTO_TIME_ZONEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String BLUETOOTH_DISCOVERABILITY { get { if (!_BLUETOOTH_DISCOVERABILITYReady) { _BLUETOOTH_DISCOVERABILITYContent = SGetField(LocalBridgeClazz, "BLUETOOTH_DISCOVERABILITY"); _BLUETOOTH_DISCOVERABILITYReady = true; } return _BLUETOOTH_DISCOVERABILITYContent; } } @@ -1664,6 +2162,48 @@ public partial class System private static Java.Lang.String _BLUETOOTH_DISCOVERABILITY_TIMEOUTContent = default; private static bool _BLUETOOTH_DISCOVERABILITY_TIMEOUTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BLUETOOTH_ON { get { if (!_BLUETOOTH_ONReady) { _BLUETOOTH_ONContent = SGetField(LocalBridgeClazz, "BLUETOOTH_ON"); _BLUETOOTH_ONReady = true; } return _BLUETOOTH_ONContent; } } + private static Java.Lang.String _BLUETOOTH_ONContent = default; + private static bool _BLUETOOTH_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATA_ROAMING { get { if (!_DATA_ROAMINGReady) { _DATA_ROAMINGContent = SGetField(LocalBridgeClazz, "DATA_ROAMING"); _DATA_ROAMINGReady = true; } return _DATA_ROAMINGContent; } } + private static Java.Lang.String _DATA_ROAMINGContent = default; + private static bool _DATA_ROAMINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DATE_FORMAT { get { if (!_DATE_FORMATReady) { _DATE_FORMATContent = SGetField(LocalBridgeClazz, "DATE_FORMAT"); _DATE_FORMATReady = true; } return _DATE_FORMATContent; } } + private static Java.Lang.String _DATE_FORMATContent = default; + private static bool _DATE_FORMATReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEBUG_APP { get { if (!_DEBUG_APPReady) { _DEBUG_APPContent = SGetField(LocalBridgeClazz, "DEBUG_APP"); _DEBUG_APPReady = true; } return _DEBUG_APPContent; } } + private static Java.Lang.String _DEBUG_APPContent = default; + private static bool _DEBUG_APPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DEVICE_PROVISIONED { get { if (!_DEVICE_PROVISIONEDReady) { _DEVICE_PROVISIONEDContent = SGetField(LocalBridgeClazz, "DEVICE_PROVISIONED"); _DEVICE_PROVISIONEDReady = true; } return _DEVICE_PROVISIONEDContent; } } + private static Java.Lang.String _DEVICE_PROVISIONEDContent = default; + private static bool _DEVICE_PROVISIONEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String DIM_SCREEN { get { if (!_DIM_SCREENReady) { _DIM_SCREENContent = SGetField(LocalBridgeClazz, "DIM_SCREEN"); _DIM_SCREENReady = true; } return _DIM_SCREENContent; } } + private static Java.Lang.String _DIM_SCREENContent = default; + private static bool _DIM_SCREENReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String DTMF_TONE_TYPE_WHEN_DIALING { get { if (!_DTMF_TONE_TYPE_WHEN_DIALINGReady) { _DTMF_TONE_TYPE_WHEN_DIALINGContent = SGetField(LocalBridgeClazz, "DTMF_TONE_TYPE_WHEN_DIALING"); _DTMF_TONE_TYPE_WHEN_DIALINGReady = true; } return _DTMF_TONE_TYPE_WHEN_DIALINGContent; } } @@ -1688,6 +2228,69 @@ public partial class System private static Java.Lang.String _FONT_SCALEContent = default; private static bool _FONT_SCALEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String HAPTIC_FEEDBACK_ENABLED { get { if (!_HAPTIC_FEEDBACK_ENABLEDReady) { _HAPTIC_FEEDBACK_ENABLEDContent = SGetField(LocalBridgeClazz, "HAPTIC_FEEDBACK_ENABLED"); _HAPTIC_FEEDBACK_ENABLEDReady = true; } return _HAPTIC_FEEDBACK_ENABLEDContent; } } + private static Java.Lang.String _HAPTIC_FEEDBACK_ENABLEDContent = default; + private static bool _HAPTIC_FEEDBACK_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String HTTP_PROXY { get { if (!_HTTP_PROXYReady) { _HTTP_PROXYContent = SGetField(LocalBridgeClazz, "HTTP_PROXY"); _HTTP_PROXYReady = true; } return _HTTP_PROXYContent; } } + private static Java.Lang.String _HTTP_PROXYContent = default; + private static bool _HTTP_PROXYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String INSTALL_NON_MARKET_APPS { get { if (!_INSTALL_NON_MARKET_APPSReady) { _INSTALL_NON_MARKET_APPSContent = SGetField(LocalBridgeClazz, "INSTALL_NON_MARKET_APPS"); _INSTALL_NON_MARKET_APPSReady = true; } return _INSTALL_NON_MARKET_APPSContent; } } + private static Java.Lang.String _INSTALL_NON_MARKET_APPSContent = default; + private static bool _INSTALL_NON_MARKET_APPSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCATION_PROVIDERS_ALLOWED { get { if (!_LOCATION_PROVIDERS_ALLOWEDReady) { _LOCATION_PROVIDERS_ALLOWEDContent = SGetField(LocalBridgeClazz, "LOCATION_PROVIDERS_ALLOWED"); _LOCATION_PROVIDERS_ALLOWEDReady = true; } return _LOCATION_PROVIDERS_ALLOWEDContent; } } + private static Java.Lang.String _LOCATION_PROVIDERS_ALLOWEDContent = default; + private static bool _LOCATION_PROVIDERS_ALLOWEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_ENABLED { get { if (!_LOCK_PATTERN_ENABLEDReady) { _LOCK_PATTERN_ENABLEDContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_ENABLED"); _LOCK_PATTERN_ENABLEDReady = true; } return _LOCK_PATTERN_ENABLEDContent; } } + private static Java.Lang.String _LOCK_PATTERN_ENABLEDContent = default; + private static bool _LOCK_PATTERN_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED { get { if (!_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady) { _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED"); _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady = true; } return _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent; } } + private static Java.Lang.String _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDContent = default; + private static bool _LOCK_PATTERN_TACTILE_FEEDBACK_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOCK_PATTERN_VISIBLE { get { if (!_LOCK_PATTERN_VISIBLEReady) { _LOCK_PATTERN_VISIBLEContent = SGetField(LocalBridgeClazz, "LOCK_PATTERN_VISIBLE"); _LOCK_PATTERN_VISIBLEReady = true; } return _LOCK_PATTERN_VISIBLEContent; } } + private static Java.Lang.String _LOCK_PATTERN_VISIBLEContent = default; + private static bool _LOCK_PATTERN_VISIBLEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String LOGGING_ID { get { if (!_LOGGING_IDReady) { _LOGGING_IDContent = SGetField(LocalBridgeClazz, "LOGGING_ID"); _LOGGING_IDReady = true; } return _LOGGING_IDContent; } } + private static Java.Lang.String _LOGGING_IDContent = default; + private static bool _LOGGING_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MODE_RINGER { get { if (!_MODE_RINGERReady) { _MODE_RINGERContent = SGetField(LocalBridgeClazz, "MODE_RINGER"); _MODE_RINGERReady = true; } return _MODE_RINGERContent; } } + private static Java.Lang.String _MODE_RINGERContent = default; + private static bool _MODE_RINGERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String MODE_RINGER_STREAMS_AFFECTED { get { if (!_MODE_RINGER_STREAMS_AFFECTEDReady) { _MODE_RINGER_STREAMS_AFFECTEDContent = SGetField(LocalBridgeClazz, "MODE_RINGER_STREAMS_AFFECTED"); _MODE_RINGER_STREAMS_AFFECTEDReady = true; } return _MODE_RINGER_STREAMS_AFFECTEDContent; } } @@ -1700,12 +2303,75 @@ public partial class System private static Java.Lang.String _MUTE_STREAMS_AFFECTEDContent = default; private static bool _MUTE_STREAMS_AFFECTEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NETWORK_PREFERENCE { get { if (!_NETWORK_PREFERENCEReady) { _NETWORK_PREFERENCEContent = SGetField(LocalBridgeClazz, "NETWORK_PREFERENCE"); _NETWORK_PREFERENCEReady = true; } return _NETWORK_PREFERENCEContent; } } + private static Java.Lang.String _NETWORK_PREFERENCEContent = default; + private static bool _NETWORK_PREFERENCEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NEXT_ALARM_FORMATTED { get { if (!_NEXT_ALARM_FORMATTEDReady) { _NEXT_ALARM_FORMATTEDContent = SGetField(LocalBridgeClazz, "NEXT_ALARM_FORMATTED"); _NEXT_ALARM_FORMATTEDReady = true; } return _NEXT_ALARM_FORMATTEDContent; } } + private static Java.Lang.String _NEXT_ALARM_FORMATTEDContent = default; + private static bool _NEXT_ALARM_FORMATTEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String NOTIFICATION_SOUND { get { if (!_NOTIFICATION_SOUNDReady) { _NOTIFICATION_SOUNDContent = SGetField(LocalBridgeClazz, "NOTIFICATION_SOUND"); _NOTIFICATION_SOUNDReady = true; } return _NOTIFICATION_SOUNDContent; } } private static Java.Lang.String _NOTIFICATION_SOUNDContent = default; private static bool _NOTIFICATION_SOUNDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PARENTAL_CONTROL_ENABLED { get { if (!_PARENTAL_CONTROL_ENABLEDReady) { _PARENTAL_CONTROL_ENABLEDContent = SGetField(LocalBridgeClazz, "PARENTAL_CONTROL_ENABLED"); _PARENTAL_CONTROL_ENABLEDReady = true; } return _PARENTAL_CONTROL_ENABLEDContent; } } + private static Java.Lang.String _PARENTAL_CONTROL_ENABLEDContent = default; + private static bool _PARENTAL_CONTROL_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PARENTAL_CONTROL_LAST_UPDATE { get { if (!_PARENTAL_CONTROL_LAST_UPDATEReady) { _PARENTAL_CONTROL_LAST_UPDATEContent = SGetField(LocalBridgeClazz, "PARENTAL_CONTROL_LAST_UPDATE"); _PARENTAL_CONTROL_LAST_UPDATEReady = true; } return _PARENTAL_CONTROL_LAST_UPDATEContent; } } + private static Java.Lang.String _PARENTAL_CONTROL_LAST_UPDATEContent = default; + private static bool _PARENTAL_CONTROL_LAST_UPDATEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String PARENTAL_CONTROL_REDIRECT_URL { get { if (!_PARENTAL_CONTROL_REDIRECT_URLReady) { _PARENTAL_CONTROL_REDIRECT_URLContent = SGetField(LocalBridgeClazz, "PARENTAL_CONTROL_REDIRECT_URL"); _PARENTAL_CONTROL_REDIRECT_URLReady = true; } return _PARENTAL_CONTROL_REDIRECT_URLContent; } } + private static Java.Lang.String _PARENTAL_CONTROL_REDIRECT_URLContent = default; + private static bool _PARENTAL_CONTROL_REDIRECT_URLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RADIO_BLUETOOTH { get { if (!_RADIO_BLUETOOTHReady) { _RADIO_BLUETOOTHContent = SGetField(LocalBridgeClazz, "RADIO_BLUETOOTH"); _RADIO_BLUETOOTHReady = true; } return _RADIO_BLUETOOTHContent; } } + private static Java.Lang.String _RADIO_BLUETOOTHContent = default; + private static bool _RADIO_BLUETOOTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RADIO_CELL { get { if (!_RADIO_CELLReady) { _RADIO_CELLContent = SGetField(LocalBridgeClazz, "RADIO_CELL"); _RADIO_CELLReady = true; } return _RADIO_CELLContent; } } + private static Java.Lang.String _RADIO_CELLContent = default; + private static bool _RADIO_CELLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RADIO_NFC { get { if (!_RADIO_NFCReady) { _RADIO_NFCContent = SGetField(LocalBridgeClazz, "RADIO_NFC"); _RADIO_NFCReady = true; } return _RADIO_NFCContent; } } + private static Java.Lang.String _RADIO_NFCContent = default; + private static bool _RADIO_NFCReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String RADIO_WIFI { get { if (!_RADIO_WIFIReady) { _RADIO_WIFIContent = SGetField(LocalBridgeClazz, "RADIO_WIFI"); _RADIO_WIFIReady = true; } return _RADIO_WIFIContent; } } + private static Java.Lang.String _RADIO_WIFIContent = default; + private static bool _RADIO_WIFIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String RINGTONE { get { if (!_RINGTONEReady) { _RINGTONEContent = SGetField(LocalBridgeClazz, "RINGTONE"); _RINGTONEReady = true; } return _RINGTONEContent; } } @@ -1730,6 +2396,13 @@ public partial class System private static Java.Lang.String _SCREEN_OFF_TIMEOUTContent = default; private static bool _SCREEN_OFF_TIMEOUTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SETTINGS_CLASSNAME { get { if (!_SETTINGS_CLASSNAMEReady) { _SETTINGS_CLASSNAMEContent = SGetField(LocalBridgeClazz, "SETTINGS_CLASSNAME"); _SETTINGS_CLASSNAMEReady = true; } return _SETTINGS_CLASSNAMEContent; } } + private static Java.Lang.String _SETTINGS_CLASSNAMEContent = default; + private static bool _SETTINGS_CLASSNAMEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SETUP_WIZARD_HAS_RUN { get { if (!_SETUP_WIZARD_HAS_RUNReady) { _SETUP_WIZARD_HAS_RUNContent = SGetField(LocalBridgeClazz, "SETUP_WIZARD_HAS_RUN"); _SETUP_WIZARD_HAS_RUNReady = true; } return _SETUP_WIZARD_HAS_RUNContent; } } @@ -1742,12 +2415,33 @@ public partial class System private static Java.Lang.String _SHOW_GTALK_SERVICE_STATUSContent = default; private static bool _SHOW_GTALK_SERVICE_STATUSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SHOW_PROCESSES { get { if (!_SHOW_PROCESSESReady) { _SHOW_PROCESSESContent = SGetField(LocalBridgeClazz, "SHOW_PROCESSES"); _SHOW_PROCESSESReady = true; } return _SHOW_PROCESSESContent; } } + private static Java.Lang.String _SHOW_PROCESSESContent = default; + private static bool _SHOW_PROCESSESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SHOW_WEB_SUGGESTIONS { get { if (!_SHOW_WEB_SUGGESTIONSReady) { _SHOW_WEB_SUGGESTIONSContent = SGetField(LocalBridgeClazz, "SHOW_WEB_SUGGESTIONS"); _SHOW_WEB_SUGGESTIONSReady = true; } return _SHOW_WEB_SUGGESTIONSContent; } } + private static Java.Lang.String _SHOW_WEB_SUGGESTIONSContent = default; + private static bool _SHOW_WEB_SUGGESTIONSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SOUND_EFFECTS_ENABLED { get { if (!_SOUND_EFFECTS_ENABLEDReady) { _SOUND_EFFECTS_ENABLEDContent = SGetField(LocalBridgeClazz, "SOUND_EFFECTS_ENABLED"); _SOUND_EFFECTS_ENABLEDReady = true; } return _SOUND_EFFECTS_ENABLEDContent; } } private static Java.Lang.String _SOUND_EFFECTS_ENABLEDContent = default; private static bool _SOUND_EFFECTS_ENABLEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String STAY_ON_WHILE_PLUGGED_IN { get { if (!_STAY_ON_WHILE_PLUGGED_INReady) { _STAY_ON_WHILE_PLUGGED_INContent = SGetField(LocalBridgeClazz, "STAY_ON_WHILE_PLUGGED_IN"); _STAY_ON_WHILE_PLUGGED_INReady = true; } return _STAY_ON_WHILE_PLUGGED_INContent; } } + private static Java.Lang.String _STAY_ON_WHILE_PLUGGED_INContent = default; + private static bool _STAY_ON_WHILE_PLUGGED_INReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String TEXT_AUTO_CAPS { get { if (!_TEXT_AUTO_CAPSReady) { _TEXT_AUTO_CAPSContent = SGetField(LocalBridgeClazz, "TEXT_AUTO_CAPS"); _TEXT_AUTO_CAPSReady = true; } return _TEXT_AUTO_CAPSContent; } } @@ -1778,6 +2472,27 @@ public partial class System private static Java.Lang.String _TIME_12_24Content = default; private static bool _TIME_12_24Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String TRANSITION_ANIMATION_SCALE { get { if (!_TRANSITION_ANIMATION_SCALEReady) { _TRANSITION_ANIMATION_SCALEContent = SGetField(LocalBridgeClazz, "TRANSITION_ANIMATION_SCALE"); _TRANSITION_ANIMATION_SCALEReady = true; } return _TRANSITION_ANIMATION_SCALEContent; } } + private static Java.Lang.String _TRANSITION_ANIMATION_SCALEContent = default; + private static bool _TRANSITION_ANIMATION_SCALEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USB_MASS_STORAGE_ENABLED { get { if (!_USB_MASS_STORAGE_ENABLEDReady) { _USB_MASS_STORAGE_ENABLEDContent = SGetField(LocalBridgeClazz, "USB_MASS_STORAGE_ENABLED"); _USB_MASS_STORAGE_ENABLEDReady = true; } return _USB_MASS_STORAGE_ENABLEDContent; } } + private static Java.Lang.String _USB_MASS_STORAGE_ENABLEDContent = default; + private static bool _USB_MASS_STORAGE_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String USE_GOOGLE_MAIL { get { if (!_USE_GOOGLE_MAILReady) { _USE_GOOGLE_MAILContent = SGetField(LocalBridgeClazz, "USE_GOOGLE_MAIL"); _USE_GOOGLE_MAILReady = true; } return _USE_GOOGLE_MAILContent; } } + private static Java.Lang.String _USE_GOOGLE_MAILContent = default; + private static bool _USE_GOOGLE_MAILReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String USER_ROTATION { get { if (!_USER_ROTATIONReady) { _USER_ROTATIONContent = SGetField(LocalBridgeClazz, "USER_ROTATION"); _USER_ROTATIONReady = true; } return _USER_ROTATIONContent; } } @@ -1789,6 +2504,202 @@ public partial class System public static Java.Lang.String VIBRATE_ON { get { if (!_VIBRATE_ONReady) { _VIBRATE_ONContent = SGetField(LocalBridgeClazz, "VIBRATE_ON"); _VIBRATE_ONReady = true; } return _VIBRATE_ONContent; } } private static Java.Lang.String _VIBRATE_ONContent = default; private static bool _VIBRATE_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String VIBRATE_WHEN_RINGING { get { if (!_VIBRATE_WHEN_RINGINGReady) { _VIBRATE_WHEN_RINGINGContent = SGetField(LocalBridgeClazz, "VIBRATE_WHEN_RINGING"); _VIBRATE_WHEN_RINGINGReady = true; } return _VIBRATE_WHEN_RINGINGContent; } } + private static Java.Lang.String _VIBRATE_WHEN_RINGINGContent = default; + private static bool _VIBRATE_WHEN_RINGINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WAIT_FOR_DEBUGGER { get { if (!_WAIT_FOR_DEBUGGERReady) { _WAIT_FOR_DEBUGGERContent = SGetField(LocalBridgeClazz, "WAIT_FOR_DEBUGGER"); _WAIT_FOR_DEBUGGERReady = true; } return _WAIT_FOR_DEBUGGERContent; } } + private static Java.Lang.String _WAIT_FOR_DEBUGGERContent = default; + private static bool _WAIT_FOR_DEBUGGERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WALLPAPER_ACTIVITY { get { if (!_WALLPAPER_ACTIVITYReady) { _WALLPAPER_ACTIVITYContent = SGetField(LocalBridgeClazz, "WALLPAPER_ACTIVITY"); _WALLPAPER_ACTIVITYReady = true; } return _WALLPAPER_ACTIVITYContent; } } + private static Java.Lang.String _WALLPAPER_ACTIVITYContent = default; + private static bool _WALLPAPER_ACTIVITYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_MAX_DHCP_RETRY_COUNT { get { if (!_WIFI_MAX_DHCP_RETRY_COUNTReady) { _WIFI_MAX_DHCP_RETRY_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_MAX_DHCP_RETRY_COUNT"); _WIFI_MAX_DHCP_RETRY_COUNTReady = true; } return _WIFI_MAX_DHCP_RETRY_COUNTContent; } } + private static Java.Lang.String _WIFI_MAX_DHCP_RETRY_COUNTContent = default; + private static bool _WIFI_MAX_DHCP_RETRY_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS { get { if (!_WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady) { _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS"); _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady = true; } return _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSContent = default; + private static bool _WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON { get { if (!_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady) { _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON"); _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = true; } return _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY { get { if (!_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady) { _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = SGetField(LocalBridgeClazz, "WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY"); _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = true; } return _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent; } } + private static Java.Lang.String _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYContent = default; + private static bool _WIFI_NETWORKS_AVAILABLE_REPEAT_DELAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_NUM_OPEN_NETWORKS_KEPT { get { if (!_WIFI_NUM_OPEN_NETWORKS_KEPTReady) { _WIFI_NUM_OPEN_NETWORKS_KEPTContent = SGetField(LocalBridgeClazz, "WIFI_NUM_OPEN_NETWORKS_KEPT"); _WIFI_NUM_OPEN_NETWORKS_KEPTReady = true; } return _WIFI_NUM_OPEN_NETWORKS_KEPTContent; } } + private static Java.Lang.String _WIFI_NUM_OPEN_NETWORKS_KEPTContent = default; + private static bool _WIFI_NUM_OPEN_NETWORKS_KEPTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_ON { get { if (!_WIFI_ONReady) { _WIFI_ONContent = SGetField(LocalBridgeClazz, "WIFI_ON"); _WIFI_ONReady = true; } return _WIFI_ONContent; } } + private static Java.Lang.String _WIFI_ONContent = default; + private static bool _WIFI_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_SLEEP_POLICY { get { if (!_WIFI_SLEEP_POLICYReady) { _WIFI_SLEEP_POLICYContent = SGetField(LocalBridgeClazz, "WIFI_SLEEP_POLICY"); _WIFI_SLEEP_POLICYReady = true; } return _WIFI_SLEEP_POLICYContent; } } + private static Java.Lang.String _WIFI_SLEEP_POLICYContent = default; + private static bool _WIFI_SLEEP_POLICYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_STATIC_DNS1 { get { if (!_WIFI_STATIC_DNS1Ready) { _WIFI_STATIC_DNS1Content = SGetField(LocalBridgeClazz, "WIFI_STATIC_DNS1"); _WIFI_STATIC_DNS1Ready = true; } return _WIFI_STATIC_DNS1Content; } } + private static Java.Lang.String _WIFI_STATIC_DNS1Content = default; + private static bool _WIFI_STATIC_DNS1Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_STATIC_DNS2 { get { if (!_WIFI_STATIC_DNS2Ready) { _WIFI_STATIC_DNS2Content = SGetField(LocalBridgeClazz, "WIFI_STATIC_DNS2"); _WIFI_STATIC_DNS2Ready = true; } return _WIFI_STATIC_DNS2Content; } } + private static Java.Lang.String _WIFI_STATIC_DNS2Content = default; + private static bool _WIFI_STATIC_DNS2Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_STATIC_GATEWAY { get { if (!_WIFI_STATIC_GATEWAYReady) { _WIFI_STATIC_GATEWAYContent = SGetField(LocalBridgeClazz, "WIFI_STATIC_GATEWAY"); _WIFI_STATIC_GATEWAYReady = true; } return _WIFI_STATIC_GATEWAYContent; } } + private static Java.Lang.String _WIFI_STATIC_GATEWAYContent = default; + private static bool _WIFI_STATIC_GATEWAYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_STATIC_IP { get { if (!_WIFI_STATIC_IPReady) { _WIFI_STATIC_IPContent = SGetField(LocalBridgeClazz, "WIFI_STATIC_IP"); _WIFI_STATIC_IPReady = true; } return _WIFI_STATIC_IPContent; } } + private static Java.Lang.String _WIFI_STATIC_IPContent = default; + private static bool _WIFI_STATIC_IPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_STATIC_NETMASK { get { if (!_WIFI_STATIC_NETMASKReady) { _WIFI_STATIC_NETMASKContent = SGetField(LocalBridgeClazz, "WIFI_STATIC_NETMASK"); _WIFI_STATIC_NETMASKReady = true; } return _WIFI_STATIC_NETMASKContent; } } + private static Java.Lang.String _WIFI_STATIC_NETMASKContent = default; + private static bool _WIFI_STATIC_NETMASKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_USE_STATIC_IP { get { if (!_WIFI_USE_STATIC_IPReady) { _WIFI_USE_STATIC_IPContent = SGetField(LocalBridgeClazz, "WIFI_USE_STATIC_IP"); _WIFI_USE_STATIC_IPReady = true; } return _WIFI_USE_STATIC_IPContent; } } + private static Java.Lang.String _WIFI_USE_STATIC_IPContent = default; + private static bool _WIFI_USE_STATIC_IPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE { get { if (!_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady) { _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE"); _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady = true; } return _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEContent = default; + private static bool _WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_AP_COUNT { get { if (!_WIFI_WATCHDOG_AP_COUNTReady) { _WIFI_WATCHDOG_AP_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_AP_COUNT"); _WIFI_WATCHDOG_AP_COUNTReady = true; } return _WIFI_WATCHDOG_AP_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_AP_COUNTContent = default; + private static bool _WIFI_WATCHDOG_AP_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS"); _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED"); _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS { get { if (!_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady) { _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS"); _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady = true; } return _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSContent = default; + private static bool _WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT { get { if (!_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady) { _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT"); _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady = true; } return _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTContent = default; + private static bool _WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_MAX_AP_CHECKS { get { if (!_WIFI_WATCHDOG_MAX_AP_CHECKSReady) { _WIFI_WATCHDOG_MAX_AP_CHECKSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_MAX_AP_CHECKS"); _WIFI_WATCHDOG_MAX_AP_CHECKSReady = true; } return _WIFI_WATCHDOG_MAX_AP_CHECKSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_MAX_AP_CHECKSContent = default; + private static bool _WIFI_WATCHDOG_MAX_AP_CHECKSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_ON { get { if (!_WIFI_WATCHDOG_ONReady) { _WIFI_WATCHDOG_ONContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_ON"); _WIFI_WATCHDOG_ONReady = true; } return _WIFI_WATCHDOG_ONContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_ONContent = default; + private static bool _WIFI_WATCHDOG_ONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_COUNT { get { if (!_WIFI_WATCHDOG_PING_COUNTReady) { _WIFI_WATCHDOG_PING_COUNTContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_COUNT"); _WIFI_WATCHDOG_PING_COUNTReady = true; } return _WIFI_WATCHDOG_PING_COUNTContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_COUNTContent = default; + private static bool _WIFI_WATCHDOG_PING_COUNTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_DELAY_MS { get { if (!_WIFI_WATCHDOG_PING_DELAY_MSReady) { _WIFI_WATCHDOG_PING_DELAY_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_DELAY_MS"); _WIFI_WATCHDOG_PING_DELAY_MSReady = true; } return _WIFI_WATCHDOG_PING_DELAY_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_DELAY_MSContent = default; + private static bool _WIFI_WATCHDOG_PING_DELAY_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WIFI_WATCHDOG_PING_TIMEOUT_MS { get { if (!_WIFI_WATCHDOG_PING_TIMEOUT_MSReady) { _WIFI_WATCHDOG_PING_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "WIFI_WATCHDOG_PING_TIMEOUT_MS"); _WIFI_WATCHDOG_PING_TIMEOUT_MSReady = true; } return _WIFI_WATCHDOG_PING_TIMEOUT_MSContent; } } + private static Java.Lang.String _WIFI_WATCHDOG_PING_TIMEOUT_MSContent = default; + private static bool _WIFI_WATCHDOG_PING_TIMEOUT_MSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String WINDOW_ANIMATION_SCALE { get { if (!_WINDOW_ANIMATION_SCALEReady) { _WINDOW_ANIMATION_SCALEContent = SGetField(LocalBridgeClazz, "WINDOW_ANIMATION_SCALE"); _WINDOW_ANIMATION_SCALEReady = true; } return _WINDOW_ANIMATION_SCALEContent; } } + private static Java.Lang.String _WINDOW_ANIMATION_SCALEContent = default; + private static bool _WINDOW_ANIMATION_SCALEReady = false; // this is used because in case of generics #endregion @@ -1812,6 +2723,16 @@ public static bool CanWrite(Android.Content.Context arg0) return SExecuteWithSignature(LocalBridgeClazz, "canWrite", "(Landroid/content/Context;)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool GetShowGTalkServiceStatus(Android.Content.ContentResolver arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getShowGTalkServiceStatus", "(Landroid/content/ContentResolver;)Z", arg0); + } + /// /// /// /// @@ -1950,6 +2871,16 @@ public static void GetConfiguration(Android.Content.ContentResolver arg0, Androi { SExecute(LocalBridgeClazz, "getConfiguration", arg0, arg1); } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void SetShowGTalkServiceStatus(Android.Content.ContentResolver arg0, bool arg1) + { + SExecute(LocalBridgeClazz, "setShowGTalkServiceStatus", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Provider/Telephony.cs b/src/net/Netdroid/Generated/Android/Provider/Telephony.cs index 2fa76d67e..ce8de194e 100644 --- a/src/net/Netdroid/Generated/Android/Provider/Telephony.cs +++ b/src/net/Netdroid/Generated/Android/Provider/Telephony.cs @@ -473,6 +473,13 @@ public partial class Carriers private static Java.Lang.String _AUTH_TYPEContent = default; private static bool _AUTH_TYPEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BEARER { get { if (!_BEARERReady) { _BEARERContent = SGetField(LocalBridgeClazz, "BEARER"); _BEARERReady = true; } return _BEARERContent; } } + private static Java.Lang.String _BEARERContent = default; + private static bool _BEARERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String CARRIER_ENABLED { get { if (!_CARRIER_ENABLEDReady) { _CARRIER_ENABLEDContent = SGetField(LocalBridgeClazz, "CARRIER_ENABLED"); _CARRIER_ENABLEDReady = true; } return _CARRIER_ENABLEDContent; } } @@ -497,6 +504,13 @@ public partial class Carriers private static Java.Lang.String _DEFAULT_SORT_ORDERContent = default; private static bool _DEFAULT_SORT_ORDERReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MCC { get { if (!_MCCReady) { _MCCContent = SGetField(LocalBridgeClazz, "MCC"); _MCCReady = true; } return _MCCContent; } } + private static Java.Lang.String _MCCContent = default; + private static bool _MCCReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String MMSC { get { if (!_MMSCReady) { _MMSCContent = SGetField(LocalBridgeClazz, "MMSC"); _MMSCReady = true; } return _MMSCContent; } } @@ -515,6 +529,27 @@ public partial class Carriers private static Java.Lang.String _MMSPROXYContent = default; private static bool _MMSPROXYReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MNC { get { if (!_MNCReady) { _MNCContent = SGetField(LocalBridgeClazz, "MNC"); _MNCReady = true; } return _MNCContent; } } + private static Java.Lang.String _MNCContent = default; + private static bool _MNCReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MVNO_MATCH_DATA { get { if (!_MVNO_MATCH_DATAReady) { _MVNO_MATCH_DATAContent = SGetField(LocalBridgeClazz, "MVNO_MATCH_DATA"); _MVNO_MATCH_DATAReady = true; } return _MVNO_MATCH_DATAContent; } } + private static Java.Lang.String _MVNO_MATCH_DATAContent = default; + private static bool _MVNO_MATCH_DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String MVNO_TYPE { get { if (!_MVNO_TYPEReady) { _MVNO_TYPEContent = SGetField(LocalBridgeClazz, "MVNO_TYPE"); _MVNO_TYPEReady = true; } return _MVNO_TYPEContent; } } + private static Java.Lang.String _MVNO_TYPEContent = default; + private static bool _MVNO_TYPEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String NAME { get { if (!_NAMEReady) { _NAMEContent = SGetField(LocalBridgeClazz, "NAME"); _NAMEReady = true; } return _NAMEContent; } } @@ -527,6 +562,13 @@ public partial class Carriers private static Java.Lang.String _NETWORK_TYPE_BITMASKContent = default; private static bool _NETWORK_TYPE_BITMASKReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String NUMERIC { get { if (!_NUMERICReady) { _NUMERICContent = SGetField(LocalBridgeClazz, "NUMERIC"); _NUMERICReady = true; } return _NUMERICContent; } } + private static Java.Lang.String _NUMERICContent = default; + private static bool _NUMERICReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String PASSWORD { get { if (!_PASSWORDReady) { _PASSWORDContent = SGetField(LocalBridgeClazz, "PASSWORD"); _PASSWORDReady = true; } return _PASSWORDContent; } } @@ -1692,6 +1734,13 @@ public partial class Intents private static Java.Lang.String _EXTRA_PACKAGE_NAMEContent = default; private static bool _EXTRA_PACKAGE_NAMEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SECRET_CODE_ACTION { get { if (!_SECRET_CODE_ACTIONReady) { _SECRET_CODE_ACTIONContent = SGetField(LocalBridgeClazz, "SECRET_CODE_ACTION"); _SECRET_CODE_ACTIONReady = true; } return _SECRET_CODE_ACTIONContent; } } + private static Java.Lang.String _SECRET_CODE_ACTIONContent = default; + private static bool _SECRET_CODE_ACTIONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String SIM_FULL_ACTION { get { if (!_SIM_FULL_ACTIONReady) { _SIM_FULL_ACTIONContent = SGetField(LocalBridgeClazz, "SIM_FULL_ACTION"); _SIM_FULL_ACTIONReady = true; } return _SIM_FULL_ACTIONContent; } } diff --git a/src/net/Netdroid/Generated/Android/Provider/UserDictionary.cs b/src/net/Netdroid/Generated/Android/Provider/UserDictionary.cs index 2d9ccd7bb..1881e2be8 100644 --- a/src/net/Netdroid/Generated/Android/Provider/UserDictionary.cs +++ b/src/net/Netdroid/Generated/Android/Provider/UserDictionary.cs @@ -80,6 +80,20 @@ public partial class Words private static Android.Net.Uri _CONTENT_URIContent = default; private static bool _CONTENT_URIReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int LOCALE_TYPE_ALL { get { if (!_LOCALE_TYPE_ALLReady) { _LOCALE_TYPE_ALLContent = SGetField(LocalBridgeClazz, "LOCALE_TYPE_ALL"); _LOCALE_TYPE_ALLReady = true; } return _LOCALE_TYPE_ALLContent; } } + private static int _LOCALE_TYPE_ALLContent = default; + private static bool _LOCALE_TYPE_ALLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int LOCALE_TYPE_CURRENT { get { if (!_LOCALE_TYPE_CURRENTReady) { _LOCALE_TYPE_CURRENTContent = SGetField(LocalBridgeClazz, "LOCALE_TYPE_CURRENT"); _LOCALE_TYPE_CURRENTReady = true; } return _LOCALE_TYPE_CURRENTContent; } } + private static int _LOCALE_TYPE_CURRENTContent = default; + private static bool _LOCALE_TYPE_CURRENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String _ID { get { if (!__IDReady) { __IDContent = SGetField(LocalBridgeClazz, "_ID"); __IDReady = true; } return __IDContent; } } @@ -138,6 +152,18 @@ public partial class Words #region Static methods /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void AddWord(Android.Content.Context arg0, Java.Lang.String arg1, int arg2, int arg3) + { + SExecute(LocalBridgeClazz, "addWord", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Renderscript/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Renderscript/AllPackageClasses.cs index c9e463d6f..75d928ade 100644 --- a/src/net/Netdroid/Generated/Android/Renderscript/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Renderscript/AllPackageClasses.cs @@ -26,6 +26,3215 @@ namespace Android.Renderscript { + #region Allocation + /// + /// + /// + [System.Obsolete()] + public partial class Allocation : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Allocation"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Allocation() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Allocation(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region MipmapControl + /// + /// + /// + [System.Obsolete()] + public partial class MipmapControl : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.Allocation$MipmapControl"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public MipmapControl() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public MipmapControl(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OnBufferAvailableListener + /// + /// + /// + [System.Obsolete()] + public partial class OnBufferAvailableListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnBufferAvailableListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.renderscript.OnBufferAvailableListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnBufferAvailableListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnBufferAvailableListenerDirect : OnBufferAvailableListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.renderscript.Allocation$OnBufferAvailableListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + + + } + #endregion + + #region AllocationAdapter + /// + /// + /// + [System.Obsolete()] + public partial class AllocationAdapter : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AllocationAdapter() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.renderscript.AllocationAdapter"; + + + // TODO: complete the class + + } + #endregion + + #region AllocationAdapterDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class AllocationAdapterDirect : AllocationAdapter + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.renderscript.AllocationAdapter"; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + } + #endregion + + #region BaseObj + /// + /// + /// + [System.Obsolete()] + public partial class BaseObj : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.BaseObj"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public BaseObj() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public BaseObj(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Byte2 + /// + /// + /// + [System.Obsolete()] + public partial class Byte2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Byte2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Byte2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Byte2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Byte3 + /// + /// + /// + [System.Obsolete()] + public partial class Byte3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Byte3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Byte3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Byte3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Byte4 + /// + /// + /// + [System.Obsolete()] + public partial class Byte4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Byte4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Byte4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Byte4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Double2 + /// + /// + /// + [System.Obsolete()] + public partial class Double2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Double2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Double2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Double2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Double3 + /// + /// + /// + [System.Obsolete()] + public partial class Double3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Double3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Double3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Double3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Double4 + /// + /// + /// + [System.Obsolete()] + public partial class Double4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Double4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Double4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Double4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Element + /// + /// + /// + [System.Obsolete()] + public partial class Element : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Element"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Element() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Element(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Element$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region DataKind + /// + /// + /// + [System.Obsolete()] + public partial class DataKind : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.Element$DataKind"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DataKind() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DataKind(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region DataType + /// + /// + /// + [System.Obsolete()] + public partial class DataType : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.Element$DataType"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public DataType() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public DataType(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region FieldPacker + /// + /// + /// + [System.Obsolete()] + public partial class FieldPacker : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.FieldPacker"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FieldPacker() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FieldPacker(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Float2 + /// + /// + /// + [System.Obsolete()] + public partial class Float2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Float2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Float2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Float2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Float3 + /// + /// + /// + [System.Obsolete()] + public partial class Float3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Float3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Float3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Float3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Float4 + /// + /// + /// + [System.Obsolete()] + public partial class Float4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Float4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Float4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Float4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Int2 + /// + /// + /// + [System.Obsolete()] + public partial class Int2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Int2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Int2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Int2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Int3 + /// + /// + /// + [System.Obsolete()] + public partial class Int3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Int3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Int3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Int3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Int4 + /// + /// + /// + [System.Obsolete()] + public partial class Int4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Int4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Int4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Int4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Long2 + /// + /// + /// + [System.Obsolete()] + public partial class Long2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Long2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Long2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Long2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Long3 + /// + /// + /// + [System.Obsolete()] + public partial class Long3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Long3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Long3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Long3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Long4 + /// + /// + /// + [System.Obsolete()] + public partial class Long4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Long4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Long4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Long4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Matrix2f + /// + /// + /// + [System.Obsolete()] + public partial class Matrix2f : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Matrix2f"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Matrix2f() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Matrix2f(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Matrix3f + /// + /// + /// + [System.Obsolete()] + public partial class Matrix3f : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Matrix3f"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Matrix3f() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Matrix3f(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Matrix4f + /// + /// + /// + [System.Obsolete()] + public partial class Matrix4f : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Matrix4f"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Matrix4f() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Matrix4f(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region RenderScript + /// + /// + /// + [System.Obsolete()] + public partial class RenderScript : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.RenderScript"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RenderScript() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RenderScript(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region ContextType + /// + /// + /// + [System.Obsolete()] + public partial class ContextType : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.RenderScript$ContextType"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ContextType() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ContextType(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Priority + /// + /// + /// + [System.Obsolete()] + public partial class Priority : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.RenderScript$Priority"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Priority() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Priority(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region RSErrorHandler + /// + /// + /// + [System.Obsolete()] + public partial class RSErrorHandler : Java.Lang.Runnable + { + const string _bridgeClassName = "android.renderscript.RenderScript$RSErrorHandler"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RSErrorHandler() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RSErrorHandler(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region RSMessageHandler + /// + /// + /// + [System.Obsolete()] + public partial class RSMessageHandler : Java.Lang.Runnable + { + const string _bridgeClassName = "android.renderscript.RenderScript$RSMessageHandler"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RSMessageHandler() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RSMessageHandler(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region RSDriverException + /// + /// + /// + [System.Obsolete()] + public partial class RSDriverException : Android.Renderscript.RSRuntimeException + { + const string _bridgeClassName = "android.renderscript.RSDriverException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region RSIllegalArgumentException + /// + /// + /// + [System.Obsolete()] + public partial class RSIllegalArgumentException : Android.Renderscript.RSRuntimeException + { + const string _bridgeClassName = "android.renderscript.RSIllegalArgumentException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region RSInvalidStateException + /// + /// + /// + [System.Obsolete()] + public partial class RSInvalidStateException : Android.Renderscript.RSRuntimeException + { + const string _bridgeClassName = "android.renderscript.RSInvalidStateException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region RSRuntimeException + /// + /// + /// + [System.Obsolete()] + public partial class RSRuntimeException : Java.Lang.RuntimeException + { + const string _bridgeClassName = "android.renderscript.RSRuntimeException"; + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + + // TODO: complete the class + + } + #endregion + + #region Sampler + /// + /// + /// + [System.Obsolete()] + public partial class Sampler : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Sampler"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Sampler() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Sampler(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Sampler$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Value + /// + /// + /// + [System.Obsolete()] + public partial class Value : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.Sampler$Value"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Value() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Value(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region Script + /// + /// + /// + [System.Obsolete()] + public partial class Script : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Script"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Script() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Script(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Script$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region FieldBase + /// + /// + /// + [System.Obsolete()] + public partial class FieldBase : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Script$FieldBase"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FieldBase() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FieldBase(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region FieldID + /// + /// + /// + [System.Obsolete()] + public partial class FieldID : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Script$FieldID"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public FieldID() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public FieldID(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region InvokeID + /// + /// + /// + [System.Obsolete()] + public partial class InvokeID : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Script$InvokeID"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public InvokeID() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public InvokeID(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region KernelID + /// + /// + /// + [System.Obsolete()] + public partial class KernelID : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Script$KernelID"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KernelID() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KernelID(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region LaunchOptions + /// + /// + /// + [System.Obsolete()] + public partial class LaunchOptions : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Script$LaunchOptions"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public LaunchOptions() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public LaunchOptions(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region ScriptC + /// + /// + /// + [System.Obsolete()] + public partial class ScriptC : Android.Renderscript.Script + { + const string _bridgeClassName = "android.renderscript.ScriptC"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptC() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptC(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptGroup + /// + /// + /// + [System.Obsolete()] + public partial class ScriptGroup : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.ScriptGroup"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptGroup() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptGroup(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Binding + /// + /// + /// + [System.Obsolete()] + public partial class Binding : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Binding"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Binding() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Binding(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Builder2 + /// + /// + /// + [System.Obsolete()] + public partial class Builder2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Builder2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Closure + /// + /// + /// + [System.Obsolete()] + public partial class Closure : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Closure"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Closure() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Closure(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Future + /// + /// + /// + [System.Obsolete()] + public partial class Future : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Future"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Future() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Future(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region Input + /// + /// + /// + [System.Obsolete()] + public partial class Input : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.ScriptGroup$Input"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Input() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Input(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + + #region ScriptIntrinsic + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsic : Android.Renderscript.Script + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsic"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ScriptIntrinsic class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ScriptIntrinsic() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ScriptIntrinsic class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ScriptIntrinsic(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsic3DLUT + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsic3DLUT : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsic3DLUT"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsic3DLUT() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsic3DLUT(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicBLAS + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicBLAS : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicBLAS"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicBLAS() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicBLAS(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicBlend + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicBlend : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicBlend"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicBlend() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicBlend(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicBlur + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicBlur : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicBlur"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicBlur() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicBlur(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicColorMatrix + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicColorMatrix : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicColorMatrix"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicColorMatrix() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicColorMatrix(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicConvolve3x3 + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicConvolve3x3 : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicConvolve3x3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicConvolve3x3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicConvolve3x3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicConvolve5x5 + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicConvolve5x5 : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicConvolve5x5"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicConvolve5x5() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicConvolve5x5(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicHistogram + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicHistogram : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicHistogram"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicHistogram() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicHistogram(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicLUT + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicLUT : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicLUT"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicLUT() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicLUT(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicResize + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicResize : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicResize"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicResize() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicResize(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ScriptIntrinsicYuvToRGB + /// + /// + /// + [System.Obsolete()] + public partial class ScriptIntrinsicYuvToRGB : Android.Renderscript.ScriptIntrinsic + { + const string _bridgeClassName = "android.renderscript.ScriptIntrinsicYuvToRGB"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ScriptIntrinsicYuvToRGB() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ScriptIntrinsicYuvToRGB(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Short2 + /// + /// + /// + [System.Obsolete()] + public partial class Short2 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Short2"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Short2() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Short2(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Short3 + /// + /// + /// + [System.Obsolete()] + public partial class Short3 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Short3"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Short3() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Short3(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Short4 + /// + /// + /// + [System.Obsolete()] + public partial class Short4 : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Short4"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Short4() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Short4(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region Type + /// + /// + /// + [System.Obsolete()] + public partial class Type : Android.Renderscript.BaseObj + { + const string _bridgeClassName = "android.renderscript.Type"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Type() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Type(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.renderscript.Type$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region CubemapFace + /// + /// + /// + [System.Obsolete()] + public partial class CubemapFace : Java.Lang.Enum + { + const string _bridgeClassName = "android.renderscript.Type$CubemapFace"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CubemapFace() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CubemapFace(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Allocation.cs b/src/net/Netdroid/Generated/Android/Renderscript/Allocation.cs new file mode 100644 index 000000000..d5f8d8e72 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Allocation.cs @@ -0,0 +1,1243 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Allocation + public partial class Allocation + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int USAGE_GRAPHICS_CONSTANTS { get { if (!_USAGE_GRAPHICS_CONSTANTSReady) { _USAGE_GRAPHICS_CONSTANTSContent = SGetField(LocalBridgeClazz, "USAGE_GRAPHICS_CONSTANTS"); _USAGE_GRAPHICS_CONSTANTSReady = true; } return _USAGE_GRAPHICS_CONSTANTSContent; } } + private static int _USAGE_GRAPHICS_CONSTANTSContent = default; + private static bool _USAGE_GRAPHICS_CONSTANTSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_GRAPHICS_RENDER_TARGET { get { if (!_USAGE_GRAPHICS_RENDER_TARGETReady) { _USAGE_GRAPHICS_RENDER_TARGETContent = SGetField(LocalBridgeClazz, "USAGE_GRAPHICS_RENDER_TARGET"); _USAGE_GRAPHICS_RENDER_TARGETReady = true; } return _USAGE_GRAPHICS_RENDER_TARGETContent; } } + private static int _USAGE_GRAPHICS_RENDER_TARGETContent = default; + private static bool _USAGE_GRAPHICS_RENDER_TARGETReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_GRAPHICS_TEXTURE { get { if (!_USAGE_GRAPHICS_TEXTUREReady) { _USAGE_GRAPHICS_TEXTUREContent = SGetField(LocalBridgeClazz, "USAGE_GRAPHICS_TEXTURE"); _USAGE_GRAPHICS_TEXTUREReady = true; } return _USAGE_GRAPHICS_TEXTUREContent; } } + private static int _USAGE_GRAPHICS_TEXTUREContent = default; + private static bool _USAGE_GRAPHICS_TEXTUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_GRAPHICS_VERTEX { get { if (!_USAGE_GRAPHICS_VERTEXReady) { _USAGE_GRAPHICS_VERTEXContent = SGetField(LocalBridgeClazz, "USAGE_GRAPHICS_VERTEX"); _USAGE_GRAPHICS_VERTEXReady = true; } return _USAGE_GRAPHICS_VERTEXContent; } } + private static int _USAGE_GRAPHICS_VERTEXContent = default; + private static bool _USAGE_GRAPHICS_VERTEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_IO_INPUT { get { if (!_USAGE_IO_INPUTReady) { _USAGE_IO_INPUTContent = SGetField(LocalBridgeClazz, "USAGE_IO_INPUT"); _USAGE_IO_INPUTReady = true; } return _USAGE_IO_INPUTContent; } } + private static int _USAGE_IO_INPUTContent = default; + private static bool _USAGE_IO_INPUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_IO_OUTPUT { get { if (!_USAGE_IO_OUTPUTReady) { _USAGE_IO_OUTPUTContent = SGetField(LocalBridgeClazz, "USAGE_IO_OUTPUT"); _USAGE_IO_OUTPUTReady = true; } return _USAGE_IO_OUTPUTContent; } } + private static int _USAGE_IO_OUTPUTContent = default; + private static bool _USAGE_IO_OUTPUTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_SCRIPT { get { if (!_USAGE_SCRIPTReady) { _USAGE_SCRIPTContent = SGetField(LocalBridgeClazz, "USAGE_SCRIPT"); _USAGE_SCRIPTReady = true; } return _USAGE_SCRIPTContent; } } + private static int _USAGE_SCRIPTContent = default; + private static bool _USAGE_SCRIPTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int USAGE_SHARED { get { if (!_USAGE_SHAREDReady) { _USAGE_SHAREDContent = SGetField(LocalBridgeClazz, "USAGE_SHARED"); _USAGE_SHAREDReady = true; } return _USAGE_SHAREDContent; } } + private static int _USAGE_SHAREDContent = default; + private static bool _USAGE_SHAREDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateCubemapFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createCubemapFromBitmap", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateCubemapFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1) + { + return SExecute(LocalBridgeClazz, "createCubemapFromBitmap", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateCubemapFromCubeFaces(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Graphics.Bitmap arg2, Android.Graphics.Bitmap arg3, Android.Graphics.Bitmap arg4, Android.Graphics.Bitmap arg5, Android.Graphics.Bitmap arg6, Android.Renderscript.Allocation.MipmapControl arg7, int arg8) + { + return SExecute(LocalBridgeClazz, "createCubemapFromCubeFaces", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateCubemapFromCubeFaces(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Graphics.Bitmap arg2, Android.Graphics.Bitmap arg3, Android.Graphics.Bitmap arg4, Android.Graphics.Bitmap arg5, Android.Graphics.Bitmap arg6) + { + return SExecute(LocalBridgeClazz, "createCubemapFromCubeFaces", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createFromBitmap", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1) + { + return SExecute(LocalBridgeClazz, "createFromBitmap", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateFromBitmapResource(Android.Renderscript.RenderScript arg0, Android.Content.Res.Resources arg1, int arg2, Android.Renderscript.Allocation.MipmapControl arg3, int arg4) + { + return SExecute(LocalBridgeClazz, "createFromBitmapResource", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateFromBitmapResource(Android.Renderscript.RenderScript arg0, Android.Content.Res.Resources arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createFromBitmapResource", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateFromString(Android.Renderscript.RenderScript arg0, Java.Lang.String arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createFromString", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateSized(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createSized", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateSized(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createSized", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createTyped", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createTyped", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1) + { + return SExecute(LocalBridgeClazz, "createTyped", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation[] CreateAllocations(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, int arg2, int arg3) + { + return SExecuteArray(LocalBridgeClazz, "createAllocations", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Nio.ByteBuffer ByteBuffer + { + get { return IExecuteWithSignature("getByteBuffer", "()Ljava/nio/ByteBuffer;"); } + } + /// + /// + /// + [System.Obsolete()] + public int BytesSize + { + get { return IExecuteWithSignature("getBytesSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element Element + { + get { return IExecuteWithSignature("getElement", "()Landroid/renderscript/Element;"); } + } + /// + /// + /// + [System.Obsolete()] + public long Stride + { + get { return IExecuteWithSignature("getStride", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.View.Surface Surface + { + get { return IExecuteWithSignature("getSurface", "()Landroid/view/Surface;"); } set { IExecuteWithSignature("setSurface", "(Landroid/view/Surface;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public long TimeStamp + { + get { return IExecuteWithSignature("getTimeStamp", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type Type + { + get { return IExecuteWithSignature("getType", "()Landroid/renderscript/Type;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Usage + { + get { return IExecuteWithSignature("getUsage", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void Resize(int arg0) + { + IExecuteWithSignature("resize", "(I)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, Android.Renderscript.Allocation arg2, int arg3) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFrom(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFromUnchecked(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFromUnchecked(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFromUnchecked(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFromUnchecked(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeFromUnchecked(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeTo(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeTo(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeTo(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeTo(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeTo(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeToUnchecked(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeToUnchecked(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeToUnchecked(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeToUnchecked(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy1DRangeToUnchecked(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, Android.Graphics.Bitmap arg2) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, int arg6) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, object arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, object arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, Android.Renderscript.Allocation arg6, int arg7, int arg8, int arg9) + { + IExecute("copy3DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + IExecute("copy3DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Copy3DRangeTo(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + IExecute("copy3DRangeTo", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(Android.Graphics.Bitmap arg0) + { + IExecuteWithSignature("copyFrom", "(Landroid/graphics/Bitmap;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("copyFrom", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(Android.Renderscript.BaseObj[] arg0) + { + IExecuteWithSignature("copyFrom", "([Landroid/renderscript/BaseObj;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(byte[] arg0) + { + IExecuteWithSignature("copyFrom", "([B)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(float[] arg0) + { + IExecuteWithSignature("copyFrom", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(int[] arg0) + { + IExecuteWithSignature("copyFrom", "([I)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(object arg0) + { + IExecuteWithSignature("copyFrom", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFrom(short[] arg0) + { + IExecuteWithSignature("copyFrom", "([S)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFromUnchecked(byte[] arg0) + { + IExecuteWithSignature("copyFromUnchecked", "([B)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFromUnchecked(float[] arg0) + { + IExecuteWithSignature("copyFromUnchecked", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFromUnchecked(int[] arg0) + { + IExecuteWithSignature("copyFromUnchecked", "([I)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFromUnchecked(object arg0) + { + IExecuteWithSignature("copyFromUnchecked", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyFromUnchecked(short[] arg0) + { + IExecuteWithSignature("copyFromUnchecked", "([S)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(Android.Graphics.Bitmap arg0) + { + IExecuteWithSignature("copyTo", "(Landroid/graphics/Bitmap;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(byte[] arg0) + { + IExecuteWithSignature("copyTo", "([B)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(float[] arg0) + { + IExecuteWithSignature("copyTo", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(int[] arg0) + { + IExecuteWithSignature("copyTo", "([I)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(object arg0) + { + IExecuteWithSignature("copyTo", "(Ljava/lang/Object;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void CopyTo(short[] arg0) + { + IExecuteWithSignature("copyTo", "([S)V", new object[] { arg0 }); + } + /// + /// + /// + [System.Obsolete()] + public void GenerateMipmaps() + { + IExecuteWithSignature("generateMipmaps", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void IoReceive() + { + IExecuteWithSignature("ioReceive", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void IoSend() + { + IExecuteWithSignature("ioSend", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAutoPadding(bool arg0) + { + IExecuteWithSignature("setAutoPadding", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetFromFieldPacker(int arg0, Android.Renderscript.FieldPacker arg1) + { + IExecute("setFromFieldPacker", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetFromFieldPacker(int arg0, int arg1, Android.Renderscript.FieldPacker arg2) + { + IExecute("setFromFieldPacker", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetFromFieldPacker(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.FieldPacker arg4) + { + IExecute("setFromFieldPacker", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOnBufferAvailableListener(Android.Renderscript.Allocation.OnBufferAvailableListener arg0) + { + IExecuteWithSignature("setOnBufferAvailableListener", "(Landroid/renderscript/Allocation$OnBufferAvailableListener;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SyncAll(int arg0) + { + IExecuteWithSignature("syncAll", "(I)V", arg0); + } + + #endregion + + #region Nested classes + #region MipmapControl + public partial class MipmapControl + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation.MipmapControl MIPMAP_FULL { get { if (!_MIPMAP_FULLReady) { _MIPMAP_FULLContent = SGetField(LocalBridgeClazz, "MIPMAP_FULL"); _MIPMAP_FULLReady = true; } return _MIPMAP_FULLContent; } } + private static Android.Renderscript.Allocation.MipmapControl _MIPMAP_FULLContent = default; + private static bool _MIPMAP_FULLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation.MipmapControl MIPMAP_NONE { get { if (!_MIPMAP_NONEReady) { _MIPMAP_NONEContent = SGetField(LocalBridgeClazz, "MIPMAP_NONE"); _MIPMAP_NONEReady = true; } return _MIPMAP_NONEContent; } } + private static Android.Renderscript.Allocation.MipmapControl _MIPMAP_NONEContent = default; + private static bool _MIPMAP_NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE { get { if (!_MIPMAP_ON_SYNC_TO_TEXTUREReady) { _MIPMAP_ON_SYNC_TO_TEXTUREContent = SGetField(LocalBridgeClazz, "MIPMAP_ON_SYNC_TO_TEXTURE"); _MIPMAP_ON_SYNC_TO_TEXTUREReady = true; } return _MIPMAP_ON_SYNC_TO_TEXTUREContent; } } + private static Android.Renderscript.Allocation.MipmapControl _MIPMAP_ON_SYNC_TO_TEXTUREContent = default; + private static bool _MIPMAP_ON_SYNC_TO_TEXTUREReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.Allocation.MipmapControl ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/Allocation$MipmapControl;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.Allocation.MipmapControl[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/Allocation$MipmapControl;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnBufferAvailableListener + public partial class OnBufferAvailableListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onBufferAvailable", new System.EventHandler>>(OnBufferAvailableEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnBufferAvailable { get; set; } = null; + + void OnBufferAvailableEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnBufferAvailable != null) ? OnOnBufferAvailable : OnBufferAvailable; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnBufferAvailable(Android.Renderscript.Allocation arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnBufferAvailableListenerDirect + public partial class OnBufferAvailableListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnBufferAvailable(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("onBufferAvailable", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/AllocationAdapter.cs b/src/net/Netdroid/Generated/Android/Renderscript/AllocationAdapter.cs new file mode 100644 index 000000000..24ce4a4c9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/AllocationAdapter.cs @@ -0,0 +1,3350 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region AllocationAdapter + public partial class AllocationAdapter + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateCubemapFromBitmap { get; set; } = null; + + void CreateCubemapFromBitmapEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateCubemapFromBitmap != null) ? OnCreateCubemapFromBitmap : CreateCubemapFromBitmap; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateCubemapFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateCubemapFromBitmap2 { get; set; } = null; + + void CreateCubemapFromBitmap2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateCubemapFromBitmap2 != null) ? OnCreateCubemapFromBitmap2 : CreateCubemapFromBitmap; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateCubemapFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateCubemapFromCubeFaces { get; set; } = null; + + void CreateCubemapFromCubeFacesEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateCubemapFromCubeFaces != null) ? OnCreateCubemapFromCubeFaces : CreateCubemapFromCubeFaces; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5), data.EventData.GetAt(6), data.EventData.GetAt(7)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateCubemapFromCubeFaces(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Graphics.Bitmap arg2, Android.Graphics.Bitmap arg3, Android.Graphics.Bitmap arg4, Android.Graphics.Bitmap arg5, Android.Graphics.Bitmap arg6, Android.Renderscript.Allocation.MipmapControl arg7, int arg8) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateCubemapFromCubeFaces7 { get; set; } = null; + + void CreateCubemapFromCubeFaces7EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateCubemapFromCubeFaces7 != null) ? OnCreateCubemapFromCubeFaces7 : CreateCubemapFromCubeFaces; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateCubemapFromCubeFaces(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Graphics.Bitmap arg2, Android.Graphics.Bitmap arg3, Android.Graphics.Bitmap arg4, Android.Graphics.Bitmap arg5, Android.Graphics.Bitmap arg6) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateFromBitmap { get; set; } = null; + + void CreateFromBitmapEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateFromBitmap != null) ? OnCreateFromBitmap : CreateFromBitmap; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateFromBitmap2 { get; set; } = null; + + void CreateFromBitmap2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateFromBitmap2 != null) ? OnCreateFromBitmap2 : CreateFromBitmap; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateFromBitmap(Android.Renderscript.RenderScript arg0, Android.Graphics.Bitmap arg1) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateFromBitmapResource { get; set; } = null; + + void CreateFromBitmapResourceEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateFromBitmapResource != null) ? OnCreateFromBitmapResource : CreateFromBitmapResource; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateFromBitmapResource(Android.Renderscript.RenderScript arg0, Android.Content.Res.Resources arg1, int arg2, Android.Renderscript.Allocation.MipmapControl arg3, int arg4) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateFromBitmapResource3 { get; set; } = null; + + void CreateFromBitmapResource3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateFromBitmapResource3 != null) ? OnCreateFromBitmapResource3 : CreateFromBitmapResource; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateFromBitmapResource(Android.Renderscript.RenderScript arg0, Android.Content.Res.Resources arg1, int arg2) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateFromString { get; set; } = null; + + void CreateFromStringEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateFromString != null) ? OnCreateFromString : CreateFromString; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateFromString(Android.Renderscript.RenderScript arg0, Java.Lang.String arg1, int arg2) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateSized { get; set; } = null; + + void CreateSizedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateSized != null) ? OnCreateSized : CreateSized; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateSized(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2, int arg3) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateSized3 { get; set; } = null; + + void CreateSized3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateSized3 != null) ? OnCreateSized3 : CreateSized; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateSized(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateTyped { get; set; } = null; + + void CreateTypedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateTyped != null) ? OnCreateTyped : CreateTyped; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, Android.Renderscript.Allocation.MipmapControl arg2, int arg3) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateTyped3 { get; set; } = null; + + void CreateTyped3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateTyped3 != null) ? OnCreateTyped3 : CreateTyped; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, int arg2) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateTyped2_2 { get; set; } = null; + + void CreateTyped2_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateTyped2_2 != null) ? OnCreateTyped2_2 : CreateTyped; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateAllocations { get; set; } = null; + + void CreateAllocationsEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateAllocations != null) ? OnCreateAllocations : CreateAllocations; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Allocation[] CreateAllocations(Android.Renderscript.RenderScript arg0, Android.Renderscript.Type arg1, int arg2, int arg3) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreate1D { get; set; } = null; + + void Create1DEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreate1D != null) ? OnCreate1D : Create1D; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.AllocationAdapter Create1D(Android.Renderscript.RenderScript arg0, Android.Renderscript.Allocation arg1) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreate2D { get; set; } = null; + + void Create2DEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreate2D != null) ? OnCreate2D : Create2D; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.AllocationAdapter Create2D(Android.Renderscript.RenderScript arg0, Android.Renderscript.Allocation arg1) + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnCreateTyped3_3 { get; set; } = null; + + void CreateTyped3_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCreateTyped3_3 != null) ? OnCreateTyped3_3 : CreateTyped; + var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.AllocationAdapter CreateTyped(Android.Renderscript.RenderScript arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Type arg2) + { + return default; + } + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("getElement", new System.EventHandler>(GetElementEventHandler)); + AddEventHandler("getType", new System.EventHandler>(GetTypeEventHandler)); + AddEventHandler("getSurface", new System.EventHandler>(GetSurfaceEventHandler)); + AddEventHandler("getBytesSize", new System.EventHandler>(GetBytesSizeEventHandler)); + AddEventHandler("getUsage", new System.EventHandler>(GetUsageEventHandler)); + AddEventHandler("getName", new System.EventHandler>(GetNameEventHandler)); + AddEventHandler("getByteBuffer", new System.EventHandler>(GetByteBufferEventHandler)); + AddEventHandler("getStride", new System.EventHandler>(GetStrideEventHandler)); + AddEventHandler("getTimeStamp", new System.EventHandler>(GetTimeStampEventHandler)); + AddEventHandler("copy1DRangeFrom", new System.EventHandler>>(Copy1DRangeFromEventHandler)); + AddEventHandler("copy1DRangeFrom3", new System.EventHandler>>(Copy1DRangeFrom3EventHandler)); + AddEventHandler("copy1DRangeFrom3_2", new System.EventHandler>>(Copy1DRangeFrom3_2EventHandler)); + AddEventHandler("copy1DRangeFrom3_3", new System.EventHandler>>(Copy1DRangeFrom3_3EventHandler)); + AddEventHandler("copy1DRangeFrom3_4", new System.EventHandler>>(Copy1DRangeFrom3_4EventHandler)); + AddEventHandler("copy1DRangeFrom3_5", new System.EventHandler>>(Copy1DRangeFrom3_5EventHandler)); + AddEventHandler("copy1DRangeFromUnchecked", new System.EventHandler>>(Copy1DRangeFromUncheckedEventHandler)); + AddEventHandler("copy1DRangeFromUnchecked3", new System.EventHandler>>(Copy1DRangeFromUnchecked3EventHandler)); + AddEventHandler("copy1DRangeFromUnchecked3_2", new System.EventHandler>>(Copy1DRangeFromUnchecked3_2EventHandler)); + AddEventHandler("copy1DRangeFromUnchecked3_3", new System.EventHandler>>(Copy1DRangeFromUnchecked3_3EventHandler)); + AddEventHandler("copy1DRangeFromUnchecked3_4", new System.EventHandler>>(Copy1DRangeFromUnchecked3_4EventHandler)); + AddEventHandler("copy1DRangeTo", new System.EventHandler>>(Copy1DRangeToEventHandler)); + AddEventHandler("copy1DRangeTo3", new System.EventHandler>>(Copy1DRangeTo3EventHandler)); + AddEventHandler("copy1DRangeTo3_2", new System.EventHandler>>(Copy1DRangeTo3_2EventHandler)); + AddEventHandler("copy1DRangeTo3_3", new System.EventHandler>>(Copy1DRangeTo3_3EventHandler)); + AddEventHandler("copy1DRangeTo3_4", new System.EventHandler>>(Copy1DRangeTo3_4EventHandler)); + AddEventHandler("copy1DRangeToUnchecked", new System.EventHandler>>(Copy1DRangeToUncheckedEventHandler)); + AddEventHandler("copy1DRangeToUnchecked3", new System.EventHandler>>(Copy1DRangeToUnchecked3EventHandler)); + AddEventHandler("copy1DRangeToUnchecked3_2", new System.EventHandler>>(Copy1DRangeToUnchecked3_2EventHandler)); + AddEventHandler("copy1DRangeToUnchecked3_3", new System.EventHandler>>(Copy1DRangeToUnchecked3_3EventHandler)); + AddEventHandler("copy1DRangeToUnchecked3_4", new System.EventHandler>>(Copy1DRangeToUnchecked3_4EventHandler)); + AddEventHandler("copy2DRangeFrom", new System.EventHandler>>(Copy2DRangeFromEventHandler)); + AddEventHandler("copy2DRangeFrom7", new System.EventHandler>>(Copy2DRangeFrom7EventHandler)); + AddEventHandler("copy2DRangeFrom5_2", new System.EventHandler>>(Copy2DRangeFrom5_2EventHandler)); + AddEventHandler("copy2DRangeFrom5_3", new System.EventHandler>>(Copy2DRangeFrom5_3EventHandler)); + AddEventHandler("copy2DRangeFrom5_4", new System.EventHandler>>(Copy2DRangeFrom5_4EventHandler)); + AddEventHandler("copy2DRangeFrom5_5", new System.EventHandler>>(Copy2DRangeFrom5_5EventHandler)); + AddEventHandler("copy2DRangeFrom5_6", new System.EventHandler>>(Copy2DRangeFrom5_6EventHandler)); + AddEventHandler("copy2DRangeTo", new System.EventHandler>>(Copy2DRangeToEventHandler)); + AddEventHandler("copy2DRangeTo5", new System.EventHandler>>(Copy2DRangeTo5EventHandler)); + AddEventHandler("copy2DRangeTo5_2", new System.EventHandler>>(Copy2DRangeTo5_2EventHandler)); + AddEventHandler("copy2DRangeTo5_3", new System.EventHandler>>(Copy2DRangeTo5_3EventHandler)); + AddEventHandler("copy2DRangeTo5_4", new System.EventHandler>>(Copy2DRangeTo5_4EventHandler)); + AddEventHandler("copy3DRangeFrom", new System.EventHandler>>(Copy3DRangeFromEventHandler)); + AddEventHandler("copy3DRangeFrom7", new System.EventHandler>>(Copy3DRangeFrom7EventHandler)); + AddEventHandler("copy3DRangeTo", new System.EventHandler>>(Copy3DRangeToEventHandler)); + AddEventHandler("copyFrom", new System.EventHandler>>(CopyFromEventHandler)); + AddEventHandler("copyFrom1", new System.EventHandler>>(CopyFrom1EventHandler)); + AddEventHandler("copyFrom1_2", new System.EventHandler>>(CopyFrom1_2EventHandler)); + AddEventHandler("copyFrom1_3", new System.EventHandler>>(CopyFrom1_3EventHandler)); + AddEventHandler("copyFrom1_4", new System.EventHandler>>(CopyFrom1_4EventHandler)); + AddEventHandler("copyFrom1_5", new System.EventHandler>>(CopyFrom1_5EventHandler)); + AddEventHandler("copyFrom1_6", new System.EventHandler>>(CopyFrom1_6EventHandler)); + AddEventHandler("copyFrom1_7", new System.EventHandler>>(CopyFrom1_7EventHandler)); + AddEventHandler("copyFromUnchecked", new System.EventHandler>>(CopyFromUncheckedEventHandler)); + AddEventHandler("copyFromUnchecked1", new System.EventHandler>>(CopyFromUnchecked1EventHandler)); + AddEventHandler("copyFromUnchecked1_2", new System.EventHandler>>(CopyFromUnchecked1_2EventHandler)); + AddEventHandler("copyFromUnchecked1_3", new System.EventHandler>>(CopyFromUnchecked1_3EventHandler)); + AddEventHandler("copyFromUnchecked1_4", new System.EventHandler>>(CopyFromUnchecked1_4EventHandler)); + AddEventHandler("copyTo", new System.EventHandler>>(CopyToEventHandler)); + AddEventHandler("copyTo1", new System.EventHandler>>(CopyTo1EventHandler)); + AddEventHandler("copyTo1_2", new System.EventHandler>>(CopyTo1_2EventHandler)); + AddEventHandler("copyTo1_3", new System.EventHandler>>(CopyTo1_3EventHandler)); + AddEventHandler("copyTo1_4", new System.EventHandler>>(CopyTo1_4EventHandler)); + AddEventHandler("copyTo1_5", new System.EventHandler>>(CopyTo1_5EventHandler)); + AddEventHandler("generateMipmaps", new System.EventHandler>(GenerateMipmapsEventHandler)); + AddEventHandler("ioReceive", new System.EventHandler>(IoReceiveEventHandler)); + AddEventHandler("ioSend", new System.EventHandler>(IoSendEventHandler)); + AddEventHandler("setAutoPadding", new System.EventHandler>>(SetAutoPaddingEventHandler)); + AddEventHandler("setFromFieldPacker", new System.EventHandler>>(SetFromFieldPackerEventHandler)); + AddEventHandler("setFromFieldPacker3", new System.EventHandler>>(SetFromFieldPacker3EventHandler)); + AddEventHandler("setFromFieldPacker5_2", new System.EventHandler>>(SetFromFieldPacker5_2EventHandler)); + AddEventHandler("setOnBufferAvailableListener", new System.EventHandler>>(SetOnBufferAvailableListenerEventHandler)); + AddEventHandler("setSurface", new System.EventHandler>>(SetSurfaceEventHandler)); + AddEventHandler("syncAll", new System.EventHandler>>(SyncAllEventHandler)); + AddEventHandler("setFace", new System.EventHandler>>(SetFaceEventHandler)); + AddEventHandler("setLOD", new System.EventHandler>>(SetLODEventHandler)); + AddEventHandler("setX", new System.EventHandler>>(SetXEventHandler)); + AddEventHandler("setY", new System.EventHandler>>(SetYEventHandler)); + AddEventHandler("setZ", new System.EventHandler>>(SetZEventHandler)); + AddEventHandler("setName", new System.EventHandler>>(SetNameEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetElement { get; set; } = null; + + void GetElementEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetElement != null) ? OnGetElement : GetElement; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Element GetElement() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetType { get; set; } = null; + + void GetTypeEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetType != null) ? OnGetType : GetType; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.Renderscript.Type GetType() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetSurface { get; set; } = null; + + void GetSurfaceEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetSurface != null) ? OnGetSurface : GetSurface; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Android.View.Surface GetSurface() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetBytesSize { get; set; } = null; + + void GetBytesSizeEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetBytesSize != null) ? OnGetBytesSize : GetBytesSize; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual int GetBytesSize() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetUsage { get; set; } = null; + + void GetUsageEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetUsage != null) ? OnGetUsage : GetUsage; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual int GetUsage() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetName { get; set; } = null; + + void GetNameEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetName != null) ? OnGetName : GetName; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Java.Lang.String GetName() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetByteBuffer { get; set; } = null; + + void GetByteBufferEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetByteBuffer != null) ? OnGetByteBuffer : GetByteBuffer; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual Java.Nio.ByteBuffer GetByteBuffer() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetStride { get; set; } = null; + + void GetStrideEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetStride != null) ? OnGetStride : GetStride; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual long GetStride() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Func OnGetTimeStamp { get; set; } = null; + + void GetTimeStampEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGetTimeStamp != null) ? OnGetTimeStamp : GetTimeStamp; + var executionResult = methodToExecute.Invoke(); + data.SetReturnValue(executionResult); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual long GetTimeStamp() + { + return default; + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom { get; set; } = null; + + void Copy1DRangeFromEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom != null) ? OnCopy1DRangeFrom : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2)); + } + + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, Android.Renderscript.Allocation arg2, int arg3) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom3 { get; set; } = null; + + void Copy1DRangeFrom3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom3 != null) ? OnCopy1DRangeFrom3 : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, byte[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom3_2 { get; set; } = null; + + void Copy1DRangeFrom3_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom3_2 != null) ? OnCopy1DRangeFrom3_2 : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, float[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom3_3 { get; set; } = null; + + void Copy1DRangeFrom3_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom3_3 != null) ? OnCopy1DRangeFrom3_3 : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, int[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom3_4 { get; set; } = null; + + void Copy1DRangeFrom3_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom3_4 != null) ? OnCopy1DRangeFrom3_4 : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, object arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFrom3_5 { get; set; } = null; + + void Copy1DRangeFrom3_5EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFrom3_5 != null) ? OnCopy1DRangeFrom3_5 : Copy1DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFrom(int arg0, int arg1, short[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFromUnchecked { get; set; } = null; + + void Copy1DRangeFromUncheckedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFromUnchecked != null) ? OnCopy1DRangeFromUnchecked : Copy1DRangeFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFromUnchecked(int arg0, int arg1, byte[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFromUnchecked3 { get; set; } = null; + + void Copy1DRangeFromUnchecked3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFromUnchecked3 != null) ? OnCopy1DRangeFromUnchecked3 : Copy1DRangeFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFromUnchecked(int arg0, int arg1, float[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFromUnchecked3_2 { get; set; } = null; + + void Copy1DRangeFromUnchecked3_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFromUnchecked3_2 != null) ? OnCopy1DRangeFromUnchecked3_2 : Copy1DRangeFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFromUnchecked(int arg0, int arg1, int[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFromUnchecked3_3 { get; set; } = null; + + void Copy1DRangeFromUnchecked3_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFromUnchecked3_3 != null) ? OnCopy1DRangeFromUnchecked3_3 : Copy1DRangeFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFromUnchecked(int arg0, int arg1, object arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeFromUnchecked3_4 { get; set; } = null; + + void Copy1DRangeFromUnchecked3_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeFromUnchecked3_4 != null) ? OnCopy1DRangeFromUnchecked3_4 : Copy1DRangeFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeFromUnchecked(int arg0, int arg1, short[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeTo { get; set; } = null; + + void Copy1DRangeToEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeTo != null) ? OnCopy1DRangeTo : Copy1DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeTo(int arg0, int arg1, byte[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeTo3 { get; set; } = null; + + void Copy1DRangeTo3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeTo3 != null) ? OnCopy1DRangeTo3 : Copy1DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeTo(int arg0, int arg1, float[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeTo3_2 { get; set; } = null; + + void Copy1DRangeTo3_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeTo3_2 != null) ? OnCopy1DRangeTo3_2 : Copy1DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeTo(int arg0, int arg1, int[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeTo3_3 { get; set; } = null; + + void Copy1DRangeTo3_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeTo3_3 != null) ? OnCopy1DRangeTo3_3 : Copy1DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeTo(int arg0, int arg1, object arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeTo3_4 { get; set; } = null; + + void Copy1DRangeTo3_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeTo3_4 != null) ? OnCopy1DRangeTo3_4 : Copy1DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeTo(int arg0, int arg1, short[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeToUnchecked { get; set; } = null; + + void Copy1DRangeToUncheckedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeToUnchecked != null) ? OnCopy1DRangeToUnchecked : Copy1DRangeToUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeToUnchecked(int arg0, int arg1, byte[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeToUnchecked3 { get; set; } = null; + + void Copy1DRangeToUnchecked3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeToUnchecked3 != null) ? OnCopy1DRangeToUnchecked3 : Copy1DRangeToUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeToUnchecked(int arg0, int arg1, float[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeToUnchecked3_2 { get; set; } = null; + + void Copy1DRangeToUnchecked3_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeToUnchecked3_2 != null) ? OnCopy1DRangeToUnchecked3_2 : Copy1DRangeToUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeToUnchecked(int arg0, int arg1, int[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeToUnchecked3_3 { get; set; } = null; + + void Copy1DRangeToUnchecked3_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeToUnchecked3_3 != null) ? OnCopy1DRangeToUnchecked3_3 : Copy1DRangeToUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeToUnchecked(int arg0, int arg1, object arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy1DRangeToUnchecked3_4 { get; set; } = null; + + void Copy1DRangeToUnchecked3_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy1DRangeToUnchecked3_4 != null) ? OnCopy1DRangeToUnchecked3_4 : Copy1DRangeToUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy1DRangeToUnchecked(int arg0, int arg1, short[] arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom { get; set; } = null; + + void Copy2DRangeFromEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom != null) ? OnCopy2DRangeFrom : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, Android.Graphics.Bitmap arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom7 { get; set; } = null; + + void Copy2DRangeFrom7EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom7 != null) ? OnCopy2DRangeFrom7 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, int arg6) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom5_2 { get; set; } = null; + + void Copy2DRangeFrom5_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom5_2 != null) ? OnCopy2DRangeFrom5_2 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom5_3 { get; set; } = null; + + void Copy2DRangeFrom5_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom5_3 != null) ? OnCopy2DRangeFrom5_3 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom5_4 { get; set; } = null; + + void Copy2DRangeFrom5_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom5_4 != null) ? OnCopy2DRangeFrom5_4 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom5_5 { get; set; } = null; + + void Copy2DRangeFrom5_5EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom5_5 != null) ? OnCopy2DRangeFrom5_5 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, object arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeFrom5_6 { get; set; } = null; + + void Copy2DRangeFrom5_6EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeFrom5_6 != null) ? OnCopy2DRangeFrom5_6 : Copy2DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeTo { get; set; } = null; + + void Copy2DRangeToEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeTo != null) ? OnCopy2DRangeTo : Copy2DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeTo5 { get; set; } = null; + + void Copy2DRangeTo5EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeTo5 != null) ? OnCopy2DRangeTo5 : Copy2DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeTo5_2 { get; set; } = null; + + void Copy2DRangeTo5_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeTo5_2 != null) ? OnCopy2DRangeTo5_2 : Copy2DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeTo5_3 { get; set; } = null; + + void Copy2DRangeTo5_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeTo5_3 != null) ? OnCopy2DRangeTo5_3 : Copy2DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, object arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy2DRangeTo5_4 { get; set; } = null; + + void Copy2DRangeTo5_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy2DRangeTo5_4 != null) ? OnCopy2DRangeTo5_4 : Copy2DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy3DRangeFrom { get; set; } = null; + + void Copy3DRangeFromEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy3DRangeFrom != null) ? OnCopy3DRangeFrom : Copy3DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5), data.EventData.GetAt(6), data.EventData.GetAt(7), data.EventData.GetAt(8)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, Android.Renderscript.Allocation arg6, int arg7, int arg8, int arg9) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy3DRangeFrom7 { get; set; } = null; + + void Copy3DRangeFrom7EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy3DRangeFrom7 != null) ? OnCopy3DRangeFrom7 : Copy3DRangeFrom; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopy3DRangeTo { get; set; } = null; + + void Copy3DRangeToEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopy3DRangeTo != null) ? OnCopy3DRangeTo : Copy3DRangeTo; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3), data.EventData.GetAt(4), data.EventData.GetAt(5)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void Copy3DRangeTo(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom { get; set; } = null; + + void CopyFromEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom != null) ? OnCopyFrom : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(Android.Graphics.Bitmap arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1 { get; set; } = null; + + void CopyFrom1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1 != null) ? OnCopyFrom1 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(Android.Renderscript.Allocation arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_2 { get; set; } = null; + + void CopyFrom1_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_2 != null) ? OnCopyFrom1_2 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(Android.Renderscript.BaseObj[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_3 { get; set; } = null; + + void CopyFrom1_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_3 != null) ? OnCopyFrom1_3 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(byte[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_4 { get; set; } = null; + + void CopyFrom1_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_4 != null) ? OnCopyFrom1_4 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(float[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_5 { get; set; } = null; + + void CopyFrom1_5EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_5 != null) ? OnCopyFrom1_5 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(int[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_6 { get; set; } = null; + + void CopyFrom1_6EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_6 != null) ? OnCopyFrom1_6 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(object arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFrom1_7 { get; set; } = null; + + void CopyFrom1_7EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFrom1_7 != null) ? OnCopyFrom1_7 : CopyFrom; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFrom(short[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFromUnchecked { get; set; } = null; + + void CopyFromUncheckedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFromUnchecked != null) ? OnCopyFromUnchecked : CopyFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFromUnchecked(byte[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFromUnchecked1 { get; set; } = null; + + void CopyFromUnchecked1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFromUnchecked1 != null) ? OnCopyFromUnchecked1 : CopyFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFromUnchecked(float[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFromUnchecked1_2 { get; set; } = null; + + void CopyFromUnchecked1_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFromUnchecked1_2 != null) ? OnCopyFromUnchecked1_2 : CopyFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFromUnchecked(int[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFromUnchecked1_3 { get; set; } = null; + + void CopyFromUnchecked1_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFromUnchecked1_3 != null) ? OnCopyFromUnchecked1_3 : CopyFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFromUnchecked(object arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyFromUnchecked1_4 { get; set; } = null; + + void CopyFromUnchecked1_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyFromUnchecked1_4 != null) ? OnCopyFromUnchecked1_4 : CopyFromUnchecked; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyFromUnchecked(short[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo { get; set; } = null; + + void CopyToEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo != null) ? OnCopyTo : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(Android.Graphics.Bitmap arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo1 { get; set; } = null; + + void CopyTo1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo1 != null) ? OnCopyTo1 : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(byte[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo1_2 { get; set; } = null; + + void CopyTo1_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo1_2 != null) ? OnCopyTo1_2 : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(float[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo1_3 { get; set; } = null; + + void CopyTo1_3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo1_3 != null) ? OnCopyTo1_3 : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(int[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo1_4 { get; set; } = null; + + void CopyTo1_4EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo1_4 != null) ? OnCopyTo1_4 : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(object arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnCopyTo1_5 { get; set; } = null; + + void CopyTo1_5EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnCopyTo1_5 != null) ? OnCopyTo1_5 : CopyTo; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void CopyTo(short[] arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnGenerateMipmaps { get; set; } = null; + + void GenerateMipmapsEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnGenerateMipmaps != null) ? OnGenerateMipmaps : GenerateMipmaps; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void GenerateMipmaps() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnIoReceive { get; set; } = null; + + void IoReceiveEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnIoReceive != null) ? OnIoReceive : IoReceive; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void IoReceive() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnIoSend { get; set; } = null; + + void IoSendEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnIoSend != null) ? OnIoSend : IoSend; + methodToExecute.Invoke(); + } + + /// + /// + /// + [System.Obsolete()] + public virtual void IoSend() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetAutoPadding { get; set; } = null; + + void SetAutoPaddingEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetAutoPadding != null) ? OnSetAutoPadding : SetAutoPadding; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetAutoPadding(bool arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetFromFieldPacker { get; set; } = null; + + void SetFromFieldPackerEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetFromFieldPacker != null) ? OnSetFromFieldPacker : SetFromFieldPacker; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetFromFieldPacker(int arg0, Android.Renderscript.FieldPacker arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetFromFieldPacker3 { get; set; } = null; + + void SetFromFieldPacker3EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetFromFieldPacker3 != null) ? OnSetFromFieldPacker3 : SetFromFieldPacker; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); + } + + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetFromFieldPacker(int arg0, int arg1, Android.Renderscript.FieldPacker arg2) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetFromFieldPacker5_2 { get; set; } = null; + + void SetFromFieldPacker5_2EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetFromFieldPacker5_2 != null) ? OnSetFromFieldPacker5_2 : SetFromFieldPacker; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetFromFieldPacker(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.FieldPacker arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetOnBufferAvailableListener { get; set; } = null; + + void SetOnBufferAvailableListenerEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetOnBufferAvailableListener != null) ? OnSetOnBufferAvailableListener : SetOnBufferAvailableListener; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetOnBufferAvailableListener(Android.Renderscript.Allocation.OnBufferAvailableListener arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetSurface { get; set; } = null; + + void SetSurfaceEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetSurface != null) ? OnSetSurface : SetSurface; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetSurface(Android.View.Surface arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSyncAll { get; set; } = null; + + void SyncAllEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSyncAll != null) ? OnSyncAll : SyncAll; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SyncAll(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetFace { get; set; } = null; + + void SetFaceEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetFace != null) ? OnSetFace : SetFace; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetFace(Android.Renderscript.Type.CubemapFace arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetLOD { get; set; } = null; + + void SetLODEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetLOD != null) ? OnSetLOD : SetLOD; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetLOD(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetX { get; set; } = null; + + void SetXEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetX != null) ? OnSetX : SetX; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetX(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetY { get; set; } = null; + + void SetYEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetY != null) ? OnSetY : SetY; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetY(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetZ { get; set; } = null; + + void SetZEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetZ != null) ? OnSetZ : SetZ; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetZ(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnSetName { get; set; } = null; + + void SetNameEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnSetName != null) ? OnSetName : SetName; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void SetName(Java.Lang.String arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region AllocationAdapterDirect + public partial class AllocationAdapterDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Nio.ByteBuffer ByteBuffer + { + get { return IExecute("getByteBuffer"); } + } + /// + /// + /// + [System.Obsolete()] + public int BytesSize + { + get { return IExecute("getBytesSize"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element Element + { + get { return IExecute("getElement"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Name + { + get { return IExecute("getName"); } set { IExecute("setName", value); } + } + /// + /// + /// + [System.Obsolete()] + public long Stride + { + get { return IExecute("getStride"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.View.Surface Surface + { + get { return IExecute("getSurface"); } set { IExecute("setSurface", value); } + } + /// + /// + /// + [System.Obsolete()] + public long TimeStamp + { + get { return IExecute("getTimeStamp"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type Type + { + get { return IExecute("getType"); } + } + /// + /// + /// + [System.Obsolete()] + public int Usage + { + get { return IExecute("getUsage"); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, Android.Renderscript.Allocation arg2, int arg3) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFrom(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFromUnchecked(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFromUnchecked(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFromUnchecked(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFromUnchecked(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeFromUnchecked(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeFromUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeTo(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeTo(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeTo(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeTo(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeTo(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeTo", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeToUnchecked(int arg0, int arg1, byte[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeToUnchecked(int arg0, int arg1, float[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeToUnchecked(int arg0, int arg1, int[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeToUnchecked(int arg0, int arg1, object arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy1DRangeToUnchecked(int arg0, int arg1, short[] arg2) + { + IExecute("copy1DRangeToUnchecked", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, Android.Graphics.Bitmap arg2) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, int arg6) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, object arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeFrom(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + IExecute("copy2DRangeFrom", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, byte[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, float[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, int[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, object arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy2DRangeTo(int arg0, int arg1, int arg2, int arg3, short[] arg4) + { + IExecute("copy2DRangeTo", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, Android.Renderscript.Allocation arg6, int arg7, int arg8, int arg9) + { + IExecute("copy3DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy3DRangeFrom(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + IExecute("copy3DRangeFrom", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void Copy3DRangeTo(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, object arg6) + { + IExecute("copy3DRangeTo", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(Android.Graphics.Bitmap arg0) + { + IExecute("copyFrom", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(Android.Renderscript.Allocation arg0) + { + IExecute("copyFrom", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(Android.Renderscript.BaseObj[] arg0) + { + IExecute("copyFrom", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(byte[] arg0) + { + IExecute("copyFrom", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(float[] arg0) + { + IExecute("copyFrom", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(int[] arg0) + { + IExecute("copyFrom", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(object arg0) + { + IExecute("copyFrom", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFrom(short[] arg0) + { + IExecute("copyFrom", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFromUnchecked(byte[] arg0) + { + IExecute("copyFromUnchecked", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFromUnchecked(float[] arg0) + { + IExecute("copyFromUnchecked", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFromUnchecked(int[] arg0) + { + IExecute("copyFromUnchecked", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFromUnchecked(object arg0) + { + IExecute("copyFromUnchecked", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyFromUnchecked(short[] arg0) + { + IExecute("copyFromUnchecked", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(Android.Graphics.Bitmap arg0) + { + IExecute("copyTo", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(byte[] arg0) + { + IExecute("copyTo", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(float[] arg0) + { + IExecute("copyTo", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(int[] arg0) + { + IExecute("copyTo", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(object arg0) + { + IExecute("copyTo", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void CopyTo(short[] arg0) + { + IExecute("copyTo", new object[] { arg0 }); + } + /// + /// + /// + [System.Obsolete()] + public override void GenerateMipmaps() + { + IExecute("generateMipmaps"); + } + /// + /// + /// + [System.Obsolete()] + public override void IoReceive() + { + IExecute("ioReceive"); + } + /// + /// + /// + [System.Obsolete()] + public override void IoSend() + { + IExecute("ioSend"); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetAutoPadding(bool arg0) + { + IExecute("setAutoPadding", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void SetFromFieldPacker(int arg0, Android.Renderscript.FieldPacker arg1) + { + IExecute("setFromFieldPacker", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void SetFromFieldPacker(int arg0, int arg1, Android.Renderscript.FieldPacker arg2) + { + IExecute("setFromFieldPacker", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void SetFromFieldPacker(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.FieldPacker arg4) + { + IExecute("setFromFieldPacker", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetOnBufferAvailableListener(Android.Renderscript.Allocation.OnBufferAvailableListener arg0) + { + IExecute("setOnBufferAvailableListener", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SyncAll(int arg0) + { + IExecute("syncAll", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetFace(Android.Renderscript.Type.CubemapFace arg0) + { + IExecuteWithSignature("setFace", "(Landroid/renderscript/Type$CubemapFace;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetLOD(int arg0) + { + IExecuteWithSignature("setLOD", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetX(int arg0) + { + IExecuteWithSignature("setX", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetY(int arg0) + { + IExecuteWithSignature("setY", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void SetZ(int arg0) + { + IExecuteWithSignature("setZ", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/BaseObj.cs b/src/net/Netdroid/Generated/Android/Renderscript/BaseObj.cs new file mode 100644 index 000000000..a9e7fc768 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/BaseObj.cs @@ -0,0 +1,74 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region BaseObj + public partial class BaseObj + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Name + { + get { return IExecuteWithSignature("getName", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setName", "(Ljava/lang/String;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public void Destroy() + { + IExecuteWithSignature("destroy", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Byte2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Byte2.cs new file mode 100644 index 000000000..f060a6171 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Byte2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Byte2 + public partial class Byte2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Byte2(byte arg0, byte arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public byte x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public byte y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Byte3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Byte3.cs new file mode 100644 index 000000000..985afb407 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Byte3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Byte3 + public partial class Byte3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Byte3(byte arg0, byte arg1, byte arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public byte x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public byte y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public byte z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Byte4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Byte4.cs new file mode 100644 index 000000000..c98154e58 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Byte4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Byte4 + public partial class Byte4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Byte4(byte arg0, byte arg1, byte arg2, byte arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public byte w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public byte x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public byte y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public byte z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Double2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Double2.cs new file mode 100644 index 000000000..37ab7d2bf --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Double2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Double2 + public partial class Double2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Double2(double arg0, double arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public double x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public double y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Double3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Double3.cs new file mode 100644 index 000000000..9782875bc --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Double3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Double3 + public partial class Double3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Double3(double arg0, double arg1, double arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public double x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public double y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public double z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Double4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Double4.cs new file mode 100644 index 000000000..4d2b7ccd2 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Double4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Double4 + public partial class Double4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Double4(double arg0, double arg1, double arg2, double arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public double w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public double x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public double y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public double z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Element.cs b/src/net/Netdroid/Generated/Android/Renderscript/Element.cs new file mode 100644 index 000000000..2fab045cb --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Element.cs @@ -0,0 +1,1285 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Element + public partial class Element + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element A_8(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "A_8", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element ALLOCATION(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "ALLOCATION", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element BOOLEAN(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "BOOLEAN", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element CreatePixel(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element.DataType arg1, Android.Renderscript.Element.DataKind arg2) + { + return SExecute(LocalBridgeClazz, "createPixel", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element CreateVector(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element.DataType arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createVector", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element ELEMENT(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "ELEMENT", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F16_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F16_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F16_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F16_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F16_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F16_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F16(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F16", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F32_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F32_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F32_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F32_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F32_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F32_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F32(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F32", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F64_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F64_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F64_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F64_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F64_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F64_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element F64(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "F64", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element FONT(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "FONT", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I16_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I16_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I16_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I16_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I16_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I16_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I16(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I16", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I32_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I32_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I32_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I32_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I32_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I32_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I32(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I32", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I64_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I64_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I64_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I64_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I64_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I64_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I64(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I64", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I8_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I8_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I8_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I8_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I8_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I8_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element I8(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "I8", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element MATRIX_2X2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MATRIX_2X2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element MATRIX_3X3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MATRIX_3X3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element MATRIX_4X4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MATRIX_4X4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element MATRIX4X4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MATRIX4X4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element MESH(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MESH", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element PROGRAM_FRAGMENT(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "PROGRAM_FRAGMENT", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element PROGRAM_RASTER(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "PROGRAM_RASTER", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element PROGRAM_STORE(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "PROGRAM_STORE", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element PROGRAM_VERTEX(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "PROGRAM_VERTEX", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element RGB_565(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "RGB_565", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element RGB_888(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "RGB_888", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element RGBA_4444(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "RGBA_4444", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element RGBA_5551(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "RGBA_5551", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element RGBA_8888(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "RGBA_8888", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element SAMPLER(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "SAMPLER", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element SCRIPT(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "SCRIPT", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element TYPE(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "TYPE", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U16_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U16_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U16_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U16_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U16_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U16_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U16(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U16", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U32_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U32_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U32_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U32_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U32_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U32_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U32(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U32", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U64_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U64_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U64_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U64_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U64_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U64_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U64(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U64", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U8_2(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U8_2", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U8_3(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U8_3", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U8_4(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U8_4", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element U8(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "U8", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element YUV(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "YUV", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int BytesSize + { + get { return IExecuteWithSignature("getBytesSize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element.DataKind GetDataKind + { + get { return IExecuteWithSignature("getDataKind", "()Landroid/renderscript/Element$DataKind;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element.DataType GetDataType + { + get { return IExecuteWithSignature("getDataType", "()Landroid/renderscript/Element$DataType;"); } + } + /// + /// + /// + [System.Obsolete()] + public int SubElementCount + { + get { return IExecuteWithSignature("getSubElementCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int VectorSize + { + get { return IExecuteWithSignature("getVectorSize", "()I"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element GetSubElement(int arg0) + { + return IExecuteWithSignature("getSubElement", "(I)Landroid/renderscript/Element;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCompatible(Android.Renderscript.Element arg0) + { + return IExecuteWithSignature("isCompatible", "(Landroid/renderscript/Element;)Z", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsComplex() + { + return IExecuteWithSignature("isComplex", "()Z"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetSubElementArraySize(int arg0) + { + return IExecuteWithSignature("getSubElementArraySize", "(I)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetSubElementOffsetBytes(int arg0) + { + return IExecuteWithSignature("getSubElementOffsetBytes", "(I)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetSubElementName(int arg0) + { + return IExecuteWithSignature("getSubElementName", "(I)Ljava/lang/String;", arg0); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Renderscript.RenderScript arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element Create() + { + return IExecuteWithSignature("create", "()Landroid/renderscript/Element;"); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element.Builder Add(Android.Renderscript.Element arg0, Java.Lang.String arg1, int arg2) + { + return IExecute("add", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element.Builder Add(Android.Renderscript.Element arg0, Java.Lang.String arg1) + { + return IExecute("add", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region DataKind + public partial class DataKind + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_A { get { if (!_PIXEL_AReady) { _PIXEL_AContent = SGetField(LocalBridgeClazz, "PIXEL_A"); _PIXEL_AReady = true; } return _PIXEL_AContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_AContent = default; + private static bool _PIXEL_AReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_DEPTH { get { if (!_PIXEL_DEPTHReady) { _PIXEL_DEPTHContent = SGetField(LocalBridgeClazz, "PIXEL_DEPTH"); _PIXEL_DEPTHReady = true; } return _PIXEL_DEPTHContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_DEPTHContent = default; + private static bool _PIXEL_DEPTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_L { get { if (!_PIXEL_LReady) { _PIXEL_LContent = SGetField(LocalBridgeClazz, "PIXEL_L"); _PIXEL_LReady = true; } return _PIXEL_LContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_LContent = default; + private static bool _PIXEL_LReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_LA { get { if (!_PIXEL_LAReady) { _PIXEL_LAContent = SGetField(LocalBridgeClazz, "PIXEL_LA"); _PIXEL_LAReady = true; } return _PIXEL_LAContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_LAContent = default; + private static bool _PIXEL_LAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_RGB { get { if (!_PIXEL_RGBReady) { _PIXEL_RGBContent = SGetField(LocalBridgeClazz, "PIXEL_RGB"); _PIXEL_RGBReady = true; } return _PIXEL_RGBContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_RGBContent = default; + private static bool _PIXEL_RGBReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_RGBA { get { if (!_PIXEL_RGBAReady) { _PIXEL_RGBAContent = SGetField(LocalBridgeClazz, "PIXEL_RGBA"); _PIXEL_RGBAReady = true; } return _PIXEL_RGBAContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_RGBAContent = default; + private static bool _PIXEL_RGBAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind PIXEL_YUV { get { if (!_PIXEL_YUVReady) { _PIXEL_YUVContent = SGetField(LocalBridgeClazz, "PIXEL_YUV"); _PIXEL_YUVReady = true; } return _PIXEL_YUVContent; } } + private static Android.Renderscript.Element.DataKind _PIXEL_YUVContent = default; + private static bool _PIXEL_YUVReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataKind USER { get { if (!_USERReady) { _USERContent = SGetField(LocalBridgeClazz, "USER"); _USERReady = true; } return _USERContent; } } + private static Android.Renderscript.Element.DataKind _USERContent = default; + private static bool _USERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.Element.DataKind ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/Element$DataKind;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.Element.DataKind[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/Element$DataKind;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region DataType + public partial class DataType + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType BOOLEAN { get { if (!_BOOLEANReady) { _BOOLEANContent = SGetField(LocalBridgeClazz, "BOOLEAN"); _BOOLEANReady = true; } return _BOOLEANContent; } } + private static Android.Renderscript.Element.DataType _BOOLEANContent = default; + private static bool _BOOLEANReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType FLOAT_16 { get { if (!_FLOAT_16Ready) { _FLOAT_16Content = SGetField(LocalBridgeClazz, "FLOAT_16"); _FLOAT_16Ready = true; } return _FLOAT_16Content; } } + private static Android.Renderscript.Element.DataType _FLOAT_16Content = default; + private static bool _FLOAT_16Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType FLOAT_32 { get { if (!_FLOAT_32Ready) { _FLOAT_32Content = SGetField(LocalBridgeClazz, "FLOAT_32"); _FLOAT_32Ready = true; } return _FLOAT_32Content; } } + private static Android.Renderscript.Element.DataType _FLOAT_32Content = default; + private static bool _FLOAT_32Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType FLOAT_64 { get { if (!_FLOAT_64Ready) { _FLOAT_64Content = SGetField(LocalBridgeClazz, "FLOAT_64"); _FLOAT_64Ready = true; } return _FLOAT_64Content; } } + private static Android.Renderscript.Element.DataType _FLOAT_64Content = default; + private static bool _FLOAT_64Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType MATRIX_2X2 { get { if (!_MATRIX_2X2Ready) { _MATRIX_2X2Content = SGetField(LocalBridgeClazz, "MATRIX_2X2"); _MATRIX_2X2Ready = true; } return _MATRIX_2X2Content; } } + private static Android.Renderscript.Element.DataType _MATRIX_2X2Content = default; + private static bool _MATRIX_2X2Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType MATRIX_3X3 { get { if (!_MATRIX_3X3Ready) { _MATRIX_3X3Content = SGetField(LocalBridgeClazz, "MATRIX_3X3"); _MATRIX_3X3Ready = true; } return _MATRIX_3X3Content; } } + private static Android.Renderscript.Element.DataType _MATRIX_3X3Content = default; + private static bool _MATRIX_3X3Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType MATRIX_4X4 { get { if (!_MATRIX_4X4Ready) { _MATRIX_4X4Content = SGetField(LocalBridgeClazz, "MATRIX_4X4"); _MATRIX_4X4Ready = true; } return _MATRIX_4X4Content; } } + private static Android.Renderscript.Element.DataType _MATRIX_4X4Content = default; + private static bool _MATRIX_4X4Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType NONE { get { if (!_NONEReady) { _NONEContent = SGetField(LocalBridgeClazz, "NONE"); _NONEReady = true; } return _NONEContent; } } + private static Android.Renderscript.Element.DataType _NONEContent = default; + private static bool _NONEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_ALLOCATION { get { if (!_RS_ALLOCATIONReady) { _RS_ALLOCATIONContent = SGetField(LocalBridgeClazz, "RS_ALLOCATION"); _RS_ALLOCATIONReady = true; } return _RS_ALLOCATIONContent; } } + private static Android.Renderscript.Element.DataType _RS_ALLOCATIONContent = default; + private static bool _RS_ALLOCATIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_ELEMENT { get { if (!_RS_ELEMENTReady) { _RS_ELEMENTContent = SGetField(LocalBridgeClazz, "RS_ELEMENT"); _RS_ELEMENTReady = true; } return _RS_ELEMENTContent; } } + private static Android.Renderscript.Element.DataType _RS_ELEMENTContent = default; + private static bool _RS_ELEMENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_FONT { get { if (!_RS_FONTReady) { _RS_FONTContent = SGetField(LocalBridgeClazz, "RS_FONT"); _RS_FONTReady = true; } return _RS_FONTContent; } } + private static Android.Renderscript.Element.DataType _RS_FONTContent = default; + private static bool _RS_FONTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_MESH { get { if (!_RS_MESHReady) { _RS_MESHContent = SGetField(LocalBridgeClazz, "RS_MESH"); _RS_MESHReady = true; } return _RS_MESHContent; } } + private static Android.Renderscript.Element.DataType _RS_MESHContent = default; + private static bool _RS_MESHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_PROGRAM_FRAGMENT { get { if (!_RS_PROGRAM_FRAGMENTReady) { _RS_PROGRAM_FRAGMENTContent = SGetField(LocalBridgeClazz, "RS_PROGRAM_FRAGMENT"); _RS_PROGRAM_FRAGMENTReady = true; } return _RS_PROGRAM_FRAGMENTContent; } } + private static Android.Renderscript.Element.DataType _RS_PROGRAM_FRAGMENTContent = default; + private static bool _RS_PROGRAM_FRAGMENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_PROGRAM_RASTER { get { if (!_RS_PROGRAM_RASTERReady) { _RS_PROGRAM_RASTERContent = SGetField(LocalBridgeClazz, "RS_PROGRAM_RASTER"); _RS_PROGRAM_RASTERReady = true; } return _RS_PROGRAM_RASTERContent; } } + private static Android.Renderscript.Element.DataType _RS_PROGRAM_RASTERContent = default; + private static bool _RS_PROGRAM_RASTERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_PROGRAM_STORE { get { if (!_RS_PROGRAM_STOREReady) { _RS_PROGRAM_STOREContent = SGetField(LocalBridgeClazz, "RS_PROGRAM_STORE"); _RS_PROGRAM_STOREReady = true; } return _RS_PROGRAM_STOREContent; } } + private static Android.Renderscript.Element.DataType _RS_PROGRAM_STOREContent = default; + private static bool _RS_PROGRAM_STOREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_PROGRAM_VERTEX { get { if (!_RS_PROGRAM_VERTEXReady) { _RS_PROGRAM_VERTEXContent = SGetField(LocalBridgeClazz, "RS_PROGRAM_VERTEX"); _RS_PROGRAM_VERTEXReady = true; } return _RS_PROGRAM_VERTEXContent; } } + private static Android.Renderscript.Element.DataType _RS_PROGRAM_VERTEXContent = default; + private static bool _RS_PROGRAM_VERTEXReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_SAMPLER { get { if (!_RS_SAMPLERReady) { _RS_SAMPLERContent = SGetField(LocalBridgeClazz, "RS_SAMPLER"); _RS_SAMPLERReady = true; } return _RS_SAMPLERContent; } } + private static Android.Renderscript.Element.DataType _RS_SAMPLERContent = default; + private static bool _RS_SAMPLERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_SCRIPT { get { if (!_RS_SCRIPTReady) { _RS_SCRIPTContent = SGetField(LocalBridgeClazz, "RS_SCRIPT"); _RS_SCRIPTReady = true; } return _RS_SCRIPTContent; } } + private static Android.Renderscript.Element.DataType _RS_SCRIPTContent = default; + private static bool _RS_SCRIPTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType RS_TYPE { get { if (!_RS_TYPEReady) { _RS_TYPEContent = SGetField(LocalBridgeClazz, "RS_TYPE"); _RS_TYPEReady = true; } return _RS_TYPEContent; } } + private static Android.Renderscript.Element.DataType _RS_TYPEContent = default; + private static bool _RS_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType SIGNED_16 { get { if (!_SIGNED_16Ready) { _SIGNED_16Content = SGetField(LocalBridgeClazz, "SIGNED_16"); _SIGNED_16Ready = true; } return _SIGNED_16Content; } } + private static Android.Renderscript.Element.DataType _SIGNED_16Content = default; + private static bool _SIGNED_16Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType SIGNED_32 { get { if (!_SIGNED_32Ready) { _SIGNED_32Content = SGetField(LocalBridgeClazz, "SIGNED_32"); _SIGNED_32Ready = true; } return _SIGNED_32Content; } } + private static Android.Renderscript.Element.DataType _SIGNED_32Content = default; + private static bool _SIGNED_32Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType SIGNED_64 { get { if (!_SIGNED_64Ready) { _SIGNED_64Content = SGetField(LocalBridgeClazz, "SIGNED_64"); _SIGNED_64Ready = true; } return _SIGNED_64Content; } } + private static Android.Renderscript.Element.DataType _SIGNED_64Content = default; + private static bool _SIGNED_64Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType SIGNED_8 { get { if (!_SIGNED_8Ready) { _SIGNED_8Content = SGetField(LocalBridgeClazz, "SIGNED_8"); _SIGNED_8Ready = true; } return _SIGNED_8Content; } } + private static Android.Renderscript.Element.DataType _SIGNED_8Content = default; + private static bool _SIGNED_8Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_16 { get { if (!_UNSIGNED_16Ready) { _UNSIGNED_16Content = SGetField(LocalBridgeClazz, "UNSIGNED_16"); _UNSIGNED_16Ready = true; } return _UNSIGNED_16Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_16Content = default; + private static bool _UNSIGNED_16Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_32 { get { if (!_UNSIGNED_32Ready) { _UNSIGNED_32Content = SGetField(LocalBridgeClazz, "UNSIGNED_32"); _UNSIGNED_32Ready = true; } return _UNSIGNED_32Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_32Content = default; + private static bool _UNSIGNED_32Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_4_4_4_4 { get { if (!_UNSIGNED_4_4_4_4Ready) { _UNSIGNED_4_4_4_4Content = SGetField(LocalBridgeClazz, "UNSIGNED_4_4_4_4"); _UNSIGNED_4_4_4_4Ready = true; } return _UNSIGNED_4_4_4_4Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_4_4_4_4Content = default; + private static bool _UNSIGNED_4_4_4_4Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_5_5_5_1 { get { if (!_UNSIGNED_5_5_5_1Ready) { _UNSIGNED_5_5_5_1Content = SGetField(LocalBridgeClazz, "UNSIGNED_5_5_5_1"); _UNSIGNED_5_5_5_1Ready = true; } return _UNSIGNED_5_5_5_1Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_5_5_5_1Content = default; + private static bool _UNSIGNED_5_5_5_1Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_5_6_5 { get { if (!_UNSIGNED_5_6_5Ready) { _UNSIGNED_5_6_5Content = SGetField(LocalBridgeClazz, "UNSIGNED_5_6_5"); _UNSIGNED_5_6_5Ready = true; } return _UNSIGNED_5_6_5Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_5_6_5Content = default; + private static bool _UNSIGNED_5_6_5Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_64 { get { if (!_UNSIGNED_64Ready) { _UNSIGNED_64Content = SGetField(LocalBridgeClazz, "UNSIGNED_64"); _UNSIGNED_64Ready = true; } return _UNSIGNED_64Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_64Content = default; + private static bool _UNSIGNED_64Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Element.DataType UNSIGNED_8 { get { if (!_UNSIGNED_8Ready) { _UNSIGNED_8Content = SGetField(LocalBridgeClazz, "UNSIGNED_8"); _UNSIGNED_8Ready = true; } return _UNSIGNED_8Content; } } + private static Android.Renderscript.Element.DataType _UNSIGNED_8Content = default; + private static bool _UNSIGNED_8Ready = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.Element.DataType ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/Element$DataType;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.Element.DataType[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/Element$DataType;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/FieldPacker.cs b/src/net/Netdroid/Generated/Android/Renderscript/FieldPacker.cs new file mode 100644 index 000000000..ac30b6181 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/FieldPacker.cs @@ -0,0 +1,785 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region FieldPacker + public partial class FieldPacker + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public FieldPacker(byte[] arg0) + : base(arg0) + { + } + /// + /// + /// + /// + [System.Obsolete()] + public FieldPacker(int arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public byte[] Data + { + get { return IExecuteWithSignatureArray("getData", "()[B"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Byte2 SubByte2() + { + return IExecuteWithSignature("subByte2", "()Landroid/renderscript/Byte2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Byte3 SubByte3() + { + return IExecuteWithSignature("subByte3", "()Landroid/renderscript/Byte3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Byte4 SubByte4() + { + return IExecuteWithSignature("subByte4", "()Landroid/renderscript/Byte4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Double2 SubDouble2() + { + return IExecuteWithSignature("subDouble2", "()Landroid/renderscript/Double2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Double3 SubDouble3() + { + return IExecuteWithSignature("subDouble3", "()Landroid/renderscript/Double3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Double4 SubDouble4() + { + return IExecuteWithSignature("subDouble4", "()Landroid/renderscript/Double4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Float2 SubFloat2() + { + return IExecuteWithSignature("subFloat2", "()Landroid/renderscript/Float2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Float3 SubFloat3() + { + return IExecuteWithSignature("subFloat3", "()Landroid/renderscript/Float3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Float4 SubFloat4() + { + return IExecuteWithSignature("subFloat4", "()Landroid/renderscript/Float4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Int2 SubInt2() + { + return IExecuteWithSignature("subInt2", "()Landroid/renderscript/Int2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Int3 SubInt3() + { + return IExecuteWithSignature("subInt3", "()Landroid/renderscript/Int3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Int4 SubInt4() + { + return IExecuteWithSignature("subInt4", "()Landroid/renderscript/Int4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Long2 SubLong2() + { + return IExecuteWithSignature("subLong2", "()Landroid/renderscript/Long2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Long3 SubLong3() + { + return IExecuteWithSignature("subLong3", "()Landroid/renderscript/Long3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Long4 SubLong4() + { + return IExecuteWithSignature("subLong4", "()Landroid/renderscript/Long4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Matrix2f SubMatrix2f() + { + return IExecuteWithSignature("subMatrix2f", "()Landroid/renderscript/Matrix2f;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Matrix3f SubMatrix3f() + { + return IExecuteWithSignature("subMatrix3f", "()Landroid/renderscript/Matrix3f;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Matrix4f SubMatrix4f() + { + return IExecuteWithSignature("subMatrix4f", "()Landroid/renderscript/Matrix4f;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Short2 SubShort2() + { + return IExecuteWithSignature("subShort2", "()Landroid/renderscript/Short2;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Short3 SubShort3() + { + return IExecuteWithSignature("subShort3", "()Landroid/renderscript/Short3;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Short4 SubShort4() + { + return IExecuteWithSignature("subShort4", "()Landroid/renderscript/Short4;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool SubBoolean() + { + return IExecuteWithSignature("subBoolean", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public byte SubI8() + { + return IExecuteWithSignature("subI8", "()B"); + } + /// + /// + /// + /// + [System.Obsolete()] + public double SubF64() + { + return IExecuteWithSignature("subF64", "()D"); + } + /// + /// + /// + /// + [System.Obsolete()] + public float SubF32() + { + return IExecuteWithSignature("subF32", "()F"); + } + /// + /// + /// + /// + [System.Obsolete()] + public int SubI32() + { + return IExecuteWithSignature("subI32", "()I"); + } + /// + /// + /// + /// + [System.Obsolete()] + public long SubI64() + { + return IExecuteWithSignature("subI64", "()J"); + } + /// + /// + /// + /// + [System.Obsolete()] + public short SubI16() + { + return IExecuteWithSignature("subI16", "()S"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddBoolean(bool arg0) + { + IExecuteWithSignature("addBoolean", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF32(Android.Renderscript.Float2 arg0) + { + IExecuteWithSignature("addF32", "(Landroid/renderscript/Float2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF32(Android.Renderscript.Float3 arg0) + { + IExecuteWithSignature("addF32", "(Landroid/renderscript/Float3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF32(Android.Renderscript.Float4 arg0) + { + IExecuteWithSignature("addF32", "(Landroid/renderscript/Float4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF32(float arg0) + { + IExecuteWithSignature("addF32", "(F)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF64(Android.Renderscript.Double2 arg0) + { + IExecuteWithSignature("addF64", "(Landroid/renderscript/Double2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF64(Android.Renderscript.Double3 arg0) + { + IExecuteWithSignature("addF64", "(Landroid/renderscript/Double3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF64(Android.Renderscript.Double4 arg0) + { + IExecuteWithSignature("addF64", "(Landroid/renderscript/Double4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddF64(double arg0) + { + IExecuteWithSignature("addF64", "(D)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI16(Android.Renderscript.Short2 arg0) + { + IExecuteWithSignature("addI16", "(Landroid/renderscript/Short2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI16(Android.Renderscript.Short3 arg0) + { + IExecuteWithSignature("addI16", "(Landroid/renderscript/Short3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI16(Android.Renderscript.Short4 arg0) + { + IExecuteWithSignature("addI16", "(Landroid/renderscript/Short4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI16(short arg0) + { + IExecuteWithSignature("addI16", "(S)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI32(Android.Renderscript.Int2 arg0) + { + IExecuteWithSignature("addI32", "(Landroid/renderscript/Int2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI32(Android.Renderscript.Int3 arg0) + { + IExecuteWithSignature("addI32", "(Landroid/renderscript/Int3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI32(Android.Renderscript.Int4 arg0) + { + IExecuteWithSignature("addI32", "(Landroid/renderscript/Int4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI32(int arg0) + { + IExecuteWithSignature("addI32", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI64(Android.Renderscript.Long2 arg0) + { + IExecuteWithSignature("addI64", "(Landroid/renderscript/Long2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI64(Android.Renderscript.Long3 arg0) + { + IExecuteWithSignature("addI64", "(Landroid/renderscript/Long3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI64(Android.Renderscript.Long4 arg0) + { + IExecuteWithSignature("addI64", "(Landroid/renderscript/Long4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI64(long arg0) + { + IExecuteWithSignature("addI64", "(J)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI8(Android.Renderscript.Byte2 arg0) + { + IExecuteWithSignature("addI8", "(Landroid/renderscript/Byte2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI8(Android.Renderscript.Byte3 arg0) + { + IExecuteWithSignature("addI8", "(Landroid/renderscript/Byte3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI8(Android.Renderscript.Byte4 arg0) + { + IExecuteWithSignature("addI8", "(Landroid/renderscript/Byte4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddI8(byte arg0) + { + IExecuteWithSignature("addI8", "(B)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddMatrix(Android.Renderscript.Matrix2f arg0) + { + IExecuteWithSignature("addMatrix", "(Landroid/renderscript/Matrix2f;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddMatrix(Android.Renderscript.Matrix3f arg0) + { + IExecuteWithSignature("addMatrix", "(Landroid/renderscript/Matrix3f;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddMatrix(Android.Renderscript.Matrix4f arg0) + { + IExecuteWithSignature("addMatrix", "(Landroid/renderscript/Matrix4f;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddObj(Android.Renderscript.BaseObj arg0) + { + IExecuteWithSignature("addObj", "(Landroid/renderscript/BaseObj;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU16(Android.Renderscript.Int2 arg0) + { + IExecuteWithSignature("addU16", "(Landroid/renderscript/Int2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU16(Android.Renderscript.Int3 arg0) + { + IExecuteWithSignature("addU16", "(Landroid/renderscript/Int3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU16(Android.Renderscript.Int4 arg0) + { + IExecuteWithSignature("addU16", "(Landroid/renderscript/Int4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU16(int arg0) + { + IExecuteWithSignature("addU16", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU32(Android.Renderscript.Long2 arg0) + { + IExecuteWithSignature("addU32", "(Landroid/renderscript/Long2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU32(Android.Renderscript.Long3 arg0) + { + IExecuteWithSignature("addU32", "(Landroid/renderscript/Long3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU32(Android.Renderscript.Long4 arg0) + { + IExecuteWithSignature("addU32", "(Landroid/renderscript/Long4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU32(long arg0) + { + IExecuteWithSignature("addU32", "(J)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU64(Android.Renderscript.Long2 arg0) + { + IExecuteWithSignature("addU64", "(Landroid/renderscript/Long2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU64(Android.Renderscript.Long3 arg0) + { + IExecuteWithSignature("addU64", "(Landroid/renderscript/Long3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU64(Android.Renderscript.Long4 arg0) + { + IExecuteWithSignature("addU64", "(Landroid/renderscript/Long4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU64(long arg0) + { + IExecuteWithSignature("addU64", "(J)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU8(Android.Renderscript.Short2 arg0) + { + IExecuteWithSignature("addU8", "(Landroid/renderscript/Short2;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU8(Android.Renderscript.Short3 arg0) + { + IExecuteWithSignature("addU8", "(Landroid/renderscript/Short3;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU8(Android.Renderscript.Short4 arg0) + { + IExecuteWithSignature("addU8", "(Landroid/renderscript/Short4;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AddU8(short arg0) + { + IExecuteWithSignature("addU8", "(S)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Align(int arg0) + { + IExecuteWithSignature("align", "(I)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Reset() + { + IExecuteWithSignature("reset", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Reset(int arg0) + { + IExecuteWithSignature("reset", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Skip(int arg0) + { + IExecuteWithSignature("skip", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Subalign(int arg0) + { + IExecuteWithSignature("subalign", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Float2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Float2.cs new file mode 100644 index 000000000..128d19272 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Float2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Float2 + public partial class Float2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Float2(float arg0, float arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public float x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public float y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Float3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Float3.cs new file mode 100644 index 000000000..78f6ed400 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Float3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Float3 + public partial class Float3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Float3(float arg0, float arg1, float arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public float x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public float y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public float z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Float4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Float4.cs new file mode 100644 index 000000000..6f8a87817 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Float4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Float4 + public partial class Float4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Float4(float arg0, float arg1, float arg2, float arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public float w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public float x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public float y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public float z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Int2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Int2.cs new file mode 100644 index 000000000..99c9dede6 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Int2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Int2 + public partial class Int2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Int2(int arg0, int arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public int y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Int3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Int3.cs new file mode 100644 index 000000000..01b288fb8 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Int3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Int3 + public partial class Int3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Int3(int arg0, int arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public int y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public int z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Int4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Int4.cs new file mode 100644 index 000000000..970da0351 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Int4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Int4 + public partial class Int4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Int4(int arg0, int arg1, int arg2, int arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public int w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public int x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public int y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public int z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Long2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Long2.cs new file mode 100644 index 000000000..02d4c3d16 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Long2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Long2 + public partial class Long2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Long2(long arg0, long arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public long x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public long y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Long3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Long3.cs new file mode 100644 index 000000000..e7f28238e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Long3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Long3 + public partial class Long3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Long3(long arg0, long arg1, long arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public long x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public long y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public long z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Long4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Long4.cs new file mode 100644 index 000000000..a0e6269c9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Long4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Long4 + public partial class Long4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Long4(long arg0, long arg1, long arg2, long arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public long w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public long x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public long y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public long z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Matrix2f.cs b/src/net/Netdroid/Generated/Android/Renderscript/Matrix2f.cs new file mode 100644 index 000000000..643fbbd22 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Matrix2f.cs @@ -0,0 +1,179 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Matrix2f + public partial class Matrix2f + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Matrix2f(float[] arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public float[] Array + { + get { return IExecuteWithSignatureArray("getArray", "()[F"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public float Get(int arg0, int arg1) + { + return IExecute("get", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Load(Android.Renderscript.Matrix2f arg0) + { + IExecuteWithSignature("load", "(Landroid/renderscript/Matrix2f;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void LoadIdentity() + { + IExecuteWithSignature("loadIdentity", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadMultiply(Android.Renderscript.Matrix2f arg0, Android.Renderscript.Matrix2f arg1) + { + IExecute("loadMultiply", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void LoadRotate(float arg0) + { + IExecuteWithSignature("loadRotate", "(F)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadScale(float arg0, float arg1) + { + IExecute("loadScale", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Multiply(Android.Renderscript.Matrix2f arg0) + { + IExecuteWithSignature("multiply", "(Landroid/renderscript/Matrix2f;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Rotate(float arg0) + { + IExecuteWithSignature("rotate", "(F)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Scale(float arg0, float arg1) + { + IExecute("scale", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Set(int arg0, int arg1, float arg2) + { + IExecute("set", arg0, arg1, arg2); + } + /// + /// + /// + [System.Obsolete()] + public void Transpose() + { + IExecuteWithSignature("transpose", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Matrix3f.cs b/src/net/Netdroid/Generated/Android/Renderscript/Matrix3f.cs new file mode 100644 index 000000000..d792bdd5c --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Matrix3f.cs @@ -0,0 +1,245 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Matrix3f + public partial class Matrix3f + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Matrix3f(float[] arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public float[] Array + { + get { return IExecuteWithSignatureArray("getArray", "()[F"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public float Get(int arg0, int arg1) + { + return IExecute("get", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Load(Android.Renderscript.Matrix3f arg0) + { + IExecuteWithSignature("load", "(Landroid/renderscript/Matrix3f;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void LoadIdentity() + { + IExecuteWithSignature("loadIdentity", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadMultiply(Android.Renderscript.Matrix3f arg0, Android.Renderscript.Matrix3f arg1) + { + IExecute("loadMultiply", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadRotate(float arg0, float arg1, float arg2, float arg3) + { + IExecute("loadRotate", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void LoadRotate(float arg0) + { + IExecuteWithSignature("loadRotate", "(F)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadScale(float arg0, float arg1, float arg2) + { + IExecute("loadScale", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadScale(float arg0, float arg1) + { + IExecute("loadScale", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadTranslate(float arg0, float arg1) + { + IExecute("loadTranslate", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Multiply(Android.Renderscript.Matrix3f arg0) + { + IExecuteWithSignature("multiply", "(Landroid/renderscript/Matrix3f;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Rotate(float arg0, float arg1, float arg2, float arg3) + { + IExecute("rotate", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Rotate(float arg0) + { + IExecuteWithSignature("rotate", "(F)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Scale(float arg0, float arg1, float arg2) + { + IExecute("scale", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Scale(float arg0, float arg1) + { + IExecute("scale", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Set(int arg0, int arg1, float arg2) + { + IExecute("set", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Translate(float arg0, float arg1) + { + IExecute("translate", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void Transpose() + { + IExecuteWithSignature("transpose", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Matrix4f.cs b/src/net/Netdroid/Generated/Android/Renderscript/Matrix4f.cs new file mode 100644 index 000000000..3bd1440b9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Matrix4f.cs @@ -0,0 +1,287 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Matrix4f + public partial class Matrix4f + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Matrix4f(float[] arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public float[] Array + { + get { return IExecuteWithSignatureArray("getArray", "()[F"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool Inverse() + { + return IExecuteWithSignature("inverse", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool InverseTranspose() + { + return IExecuteWithSignature("inverseTranspose", "()Z"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public float Get(int arg0, int arg1) + { + return IExecute("get", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Load(Android.Renderscript.Matrix4f arg0) + { + IExecuteWithSignature("load", "(Landroid/renderscript/Matrix4f;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadFrustum(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5) + { + IExecute("loadFrustum", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + [System.Obsolete()] + public void LoadIdentity() + { + IExecuteWithSignature("loadIdentity", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadMultiply(Android.Renderscript.Matrix4f arg0, Android.Renderscript.Matrix4f arg1) + { + IExecute("loadMultiply", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadOrtho(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5) + { + IExecute("loadOrtho", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadOrthoWindow(int arg0, int arg1) + { + IExecute("loadOrthoWindow", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadPerspective(float arg0, float arg1, float arg2, float arg3) + { + IExecute("loadPerspective", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadProjectionNormalized(int arg0, int arg1) + { + IExecute("loadProjectionNormalized", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadRotate(float arg0, float arg1, float arg2, float arg3) + { + IExecute("loadRotate", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadScale(float arg0, float arg1, float arg2) + { + IExecute("loadScale", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void LoadTranslate(float arg0, float arg1, float arg2) + { + IExecute("loadTranslate", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public void Multiply(Android.Renderscript.Matrix4f arg0) + { + IExecuteWithSignature("multiply", "(Landroid/renderscript/Matrix4f;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Rotate(float arg0, float arg1, float arg2, float arg3) + { + IExecute("rotate", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Scale(float arg0, float arg1, float arg2) + { + IExecute("scale", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Set(int arg0, int arg1, float arg2) + { + IExecute("set", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void Translate(float arg0, float arg1, float arg2) + { + IExecute("translate", arg0, arg1, arg2); + } + /// + /// + /// + [System.Obsolete()] + public void Transpose() + { + IExecuteWithSignature("transpose", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/RSDriverException.cs b/src/net/Netdroid/Generated/Android/Renderscript/RSDriverException.cs new file mode 100644 index 000000000..c3d2ddbd1 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/RSDriverException.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region RSDriverException + public partial class RSDriverException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/RSIllegalArgumentException.cs b/src/net/Netdroid/Generated/Android/Renderscript/RSIllegalArgumentException.cs new file mode 100644 index 000000000..aef0f267f --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/RSIllegalArgumentException.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region RSIllegalArgumentException + public partial class RSIllegalArgumentException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/RSInvalidStateException.cs b/src/net/Netdroid/Generated/Android/Renderscript/RSInvalidStateException.cs new file mode 100644 index 000000000..73f8bb86f --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/RSInvalidStateException.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region RSInvalidStateException + public partial class RSInvalidStateException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/RSRuntimeException.cs b/src/net/Netdroid/Generated/Android/Renderscript/RSRuntimeException.cs new file mode 100644 index 000000000..d21977f36 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/RSRuntimeException.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region RSRuntimeException + public partial class RSRuntimeException + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/RenderScript.cs b/src/net/Netdroid/Generated/Android/Renderscript/RenderScript.cs new file mode 100644 index 000000000..45ec2f7c7 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/RenderScript.cs @@ -0,0 +1,417 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region RenderScript + public partial class RenderScript + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CREATE_FLAG_LOW_LATENCY { get { if (!_CREATE_FLAG_LOW_LATENCYReady) { _CREATE_FLAG_LOW_LATENCYContent = SGetField(LocalBridgeClazz, "CREATE_FLAG_LOW_LATENCY"); _CREATE_FLAG_LOW_LATENCYReady = true; } return _CREATE_FLAG_LOW_LATENCYContent; } } + private static int _CREATE_FLAG_LOW_LATENCYContent = default; + private static bool _CREATE_FLAG_LOW_LATENCYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CREATE_FLAG_LOW_POWER { get { if (!_CREATE_FLAG_LOW_POWERReady) { _CREATE_FLAG_LOW_POWERContent = SGetField(LocalBridgeClazz, "CREATE_FLAG_LOW_POWER"); _CREATE_FLAG_LOW_POWERReady = true; } return _CREATE_FLAG_LOW_POWERContent; } } + private static int _CREATE_FLAG_LOW_POWERContent = default; + private static bool _CREATE_FLAG_LOW_POWERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CREATE_FLAG_NONE { get { if (!_CREATE_FLAG_NONEReady) { _CREATE_FLAG_NONEContent = SGetField(LocalBridgeClazz, "CREATE_FLAG_NONE"); _CREATE_FLAG_NONEReady = true; } return _CREATE_FLAG_NONEContent; } } + private static int _CREATE_FLAG_NONEContent = default; + private static bool _CREATE_FLAG_NONEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + [System.Obsolete()] + public static long MinorVersion + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getMinorVersion", "()J"); } + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript Create(Android.Content.Context arg0, Android.Renderscript.RenderScript.ContextType arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript Create(Android.Content.Context arg0, Android.Renderscript.RenderScript.ContextType arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript Create(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "create", "(Landroid/content/Context;)Landroid/renderscript/RenderScript;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript CreateMultiContext(Android.Content.Context arg0, Android.Renderscript.RenderScript.ContextType arg1, int arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createMultiContext", arg0, arg1, arg2, arg3); + } + /// + /// + /// + [System.Obsolete()] + public static void ReleaseAllContexts() + { + SExecuteWithSignature(LocalBridgeClazz, "releaseAllContexts", "()V"); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context ApplicationContext + { + get { return IExecuteWithSignature("getApplicationContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.RenderScript.RSErrorHandler ErrorHandler + { + get { return IExecuteWithSignature("getErrorHandler", "()Landroid/renderscript/RenderScript$RSErrorHandler;"); } set { IExecuteWithSignature("setErrorHandler", "(Landroid/renderscript/RenderScript$RSErrorHandler;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.RenderScript.RSMessageHandler MessageHandler + { + get { return IExecuteWithSignature("getMessageHandler", "()Landroid/renderscript/RenderScript$RSMessageHandler;"); } set { IExecuteWithSignature("setMessageHandler", "(Landroid/renderscript/RenderScript$RSMessageHandler;)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public void ContextDump() + { + IExecuteWithSignature("contextDump", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void Destroy() + { + IExecuteWithSignature("destroy", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void Finish() + { + IExecuteWithSignature("finish", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendMessage(int arg0, int[] arg1) + { + IExecute("sendMessage", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetPriority(Android.Renderscript.RenderScript.Priority arg0) + { + IExecuteWithSignature("setPriority", "(Landroid/renderscript/RenderScript$Priority;)V", arg0); + } + + #endregion + + #region Nested classes + #region ContextType + public partial class ContextType + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript.ContextType DEBUG { get { if (!_DEBUGReady) { _DEBUGContent = SGetField(LocalBridgeClazz, "DEBUG"); _DEBUGReady = true; } return _DEBUGContent; } } + private static Android.Renderscript.RenderScript.ContextType _DEBUGContent = default; + private static bool _DEBUGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript.ContextType NORMAL { get { if (!_NORMALReady) { _NORMALContent = SGetField(LocalBridgeClazz, "NORMAL"); _NORMALReady = true; } return _NORMALContent; } } + private static Android.Renderscript.RenderScript.ContextType _NORMALContent = default; + private static bool _NORMALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript.ContextType PROFILE { get { if (!_PROFILEReady) { _PROFILEContent = SGetField(LocalBridgeClazz, "PROFILE"); _PROFILEReady = true; } return _PROFILEContent; } } + private static Android.Renderscript.RenderScript.ContextType _PROFILEContent = default; + private static bool _PROFILEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.RenderScript.ContextType ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/RenderScript$ContextType;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.RenderScript.ContextType[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/RenderScript$ContextType;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Priority + public partial class Priority + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript.Priority LOW { get { if (!_LOWReady) { _LOWContent = SGetField(LocalBridgeClazz, "LOW"); _LOWReady = true; } return _LOWContent; } } + private static Android.Renderscript.RenderScript.Priority _LOWContent = default; + private static bool _LOWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.RenderScript.Priority NORMAL { get { if (!_NORMALReady) { _NORMALContent = SGetField(LocalBridgeClazz, "NORMAL"); _NORMALReady = true; } return _NORMALContent; } } + private static Android.Renderscript.RenderScript.Priority _NORMALContent = default; + private static bool _NORMALReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.RenderScript.Priority ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/RenderScript$Priority;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.RenderScript.Priority[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/RenderScript$Priority;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region RSErrorHandler + public partial class RSErrorHandler + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void Run() + { + IExecuteWithSignature("run", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region RSMessageHandler + public partial class RSMessageHandler + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void Run() + { + IExecuteWithSignature("run", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Sampler.cs b/src/net/Netdroid/Generated/Android/Renderscript/Sampler.cs new file mode 100644 index 000000000..f9d4bf896 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Sampler.cs @@ -0,0 +1,379 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Sampler + public partial class Sampler + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler CLAMP_LINEAR_MIP_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "CLAMP_LINEAR_MIP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler CLAMP_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "CLAMP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler CLAMP_NEAREST(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "CLAMP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler MIRRORED_REPEAT_LINEAR_MIP_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MIRRORED_REPEAT_LINEAR_MIP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler MIRRORED_REPEAT_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MIRRORED_REPEAT_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler MIRRORED_REPEAT_NEAREST(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "MIRRORED_REPEAT_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler WRAP_LINEAR_MIP_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "WRAP_LINEAR_MIP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler WRAP_LINEAR(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "WRAP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler WRAP_NEAREST(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "WRAP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public float Anisotropy + { + get { return IExecuteWithSignature("getAnisotropy", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Sampler.Value Magnification + { + get { return IExecuteWithSignature("getMagnification", "()Landroid/renderscript/Sampler$Value;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Sampler.Value Minification + { + get { return IExecuteWithSignature("getMinification", "()Landroid/renderscript/Sampler$Value;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Sampler.Value WrapS + { + get { return IExecuteWithSignature("getWrapS", "()Landroid/renderscript/Sampler$Value;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Sampler.Value WrapT + { + get { return IExecuteWithSignature("getWrapT", "()Landroid/renderscript/Sampler$Value;"); } + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Renderscript.RenderScript arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Sampler Create() + { + return IExecuteWithSignature("create", "()Landroid/renderscript/Sampler;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAnisotropy(float arg0) + { + IExecuteWithSignature("setAnisotropy", "(F)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMagnification(Android.Renderscript.Sampler.Value arg0) + { + IExecuteWithSignature("setMagnification", "(Landroid/renderscript/Sampler$Value;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetMinification(Android.Renderscript.Sampler.Value arg0) + { + IExecuteWithSignature("setMinification", "(Landroid/renderscript/Sampler$Value;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetWrapS(Android.Renderscript.Sampler.Value arg0) + { + IExecuteWithSignature("setWrapS", "(Landroid/renderscript/Sampler$Value;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetWrapT(Android.Renderscript.Sampler.Value arg0) + { + IExecuteWithSignature("setWrapT", "(Landroid/renderscript/Sampler$Value;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Value + public partial class Value + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value CLAMP { get { if (!_CLAMPReady) { _CLAMPContent = SGetField(LocalBridgeClazz, "CLAMP"); _CLAMPReady = true; } return _CLAMPContent; } } + private static Android.Renderscript.Sampler.Value _CLAMPContent = default; + private static bool _CLAMPReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value LINEAR { get { if (!_LINEARReady) { _LINEARContent = SGetField(LocalBridgeClazz, "LINEAR"); _LINEARReady = true; } return _LINEARContent; } } + private static Android.Renderscript.Sampler.Value _LINEARContent = default; + private static bool _LINEARReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value LINEAR_MIP_LINEAR { get { if (!_LINEAR_MIP_LINEARReady) { _LINEAR_MIP_LINEARContent = SGetField(LocalBridgeClazz, "LINEAR_MIP_LINEAR"); _LINEAR_MIP_LINEARReady = true; } return _LINEAR_MIP_LINEARContent; } } + private static Android.Renderscript.Sampler.Value _LINEAR_MIP_LINEARContent = default; + private static bool _LINEAR_MIP_LINEARReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value LINEAR_MIP_NEAREST { get { if (!_LINEAR_MIP_NEARESTReady) { _LINEAR_MIP_NEARESTContent = SGetField(LocalBridgeClazz, "LINEAR_MIP_NEAREST"); _LINEAR_MIP_NEARESTReady = true; } return _LINEAR_MIP_NEARESTContent; } } + private static Android.Renderscript.Sampler.Value _LINEAR_MIP_NEARESTContent = default; + private static bool _LINEAR_MIP_NEARESTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value MIRRORED_REPEAT { get { if (!_MIRRORED_REPEATReady) { _MIRRORED_REPEATContent = SGetField(LocalBridgeClazz, "MIRRORED_REPEAT"); _MIRRORED_REPEATReady = true; } return _MIRRORED_REPEATContent; } } + private static Android.Renderscript.Sampler.Value _MIRRORED_REPEATContent = default; + private static bool _MIRRORED_REPEATReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value NEAREST { get { if (!_NEARESTReady) { _NEARESTContent = SGetField(LocalBridgeClazz, "NEAREST"); _NEARESTReady = true; } return _NEARESTContent; } } + private static Android.Renderscript.Sampler.Value _NEARESTContent = default; + private static bool _NEARESTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Sampler.Value WRAP { get { if (!_WRAPReady) { _WRAPContent = SGetField(LocalBridgeClazz, "WRAP"); _WRAPReady = true; } return _WRAPContent; } } + private static Android.Renderscript.Sampler.Value _WRAPContent = default; + private static bool _WRAPReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.Sampler.Value ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/Sampler$Value;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.Sampler.Value[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/Sampler$Value;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Script.cs b/src/net/Netdroid/Generated/Android/Renderscript/Script.cs new file mode 100644 index 000000000..1232d6e18 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Script.cs @@ -0,0 +1,518 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Script + public partial class Script + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool GetVarB(int arg0) + { + return IExecuteWithSignature("getVarB", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public double GetVarD(int arg0) + { + return IExecuteWithSignature("getVarD", "(I)D", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public float GetVarF(int arg0) + { + return IExecuteWithSignature("getVarF", "(I)F", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetVarI(int arg0) + { + return IExecuteWithSignature("getVarI", "(I)I", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public long GetVarJ(int arg0) + { + return IExecuteWithSignature("getVarJ", "(I)J", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void BindAllocation(Android.Renderscript.Allocation arg0, int arg1) + { + IExecute("bindAllocation", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void GetVarV(int arg0, Android.Renderscript.FieldPacker arg1) + { + IExecute("getVarV", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetTimeZone(Java.Lang.String arg0) + { + IExecuteWithSignature("setTimeZone", "(Ljava/lang/String;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, Android.Renderscript.BaseObj arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, Android.Renderscript.FieldPacker arg1, Android.Renderscript.Element arg2, int[] arg3) + { + IExecute("setVar", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, Android.Renderscript.FieldPacker arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, bool arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, double arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, float arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, int arg1) + { + IExecute("setVar", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVar(int arg0, long arg1) + { + IExecute("setVar", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FieldBase + public partial class FieldBase + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Allocation Allocation + { + get { return IExecuteWithSignature("getAllocation", "()Landroid/renderscript/Allocation;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element Element + { + get { return IExecuteWithSignature("getElement", "()Landroid/renderscript/Element;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type Type + { + get { return IExecuteWithSignature("getType", "()Landroid/renderscript/Type;"); } + } + /// + /// + /// + [System.Obsolete()] + public void UpdateAllocation() + { + IExecuteWithSignature("updateAllocation", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region FieldID + public partial class FieldID + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region InvokeID + public partial class InvokeID + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region KernelID + public partial class KernelID + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region LaunchOptions + public partial class LaunchOptions + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int XEnd + { + get { return IExecuteWithSignature("getXEnd", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int XStart + { + get { return IExecuteWithSignature("getXStart", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int YEnd + { + get { return IExecuteWithSignature("getYEnd", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int YStart + { + get { return IExecuteWithSignature("getYStart", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int ZEnd + { + get { return IExecuteWithSignature("getZEnd", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int ZStart + { + get { return IExecuteWithSignature("getZStart", "()I"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.LaunchOptions SetX(int arg0, int arg1) + { + return IExecute("setX", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.LaunchOptions SetY(int arg0, int arg1) + { + return IExecute("setY", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.LaunchOptions SetZ(int arg0, int arg1) + { + return IExecute("setZ", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptC.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptC.cs new file mode 100644 index 000000000..fb73f072a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptC.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptC + public partial class ScriptC + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptGroup.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptGroup.cs new file mode 100644 index 000000000..c9b4abc16 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptGroup.cs @@ -0,0 +1,414 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptGroup + public partial class ScriptGroup + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public object[] Execute(params object[] arg0) + { + if (arg0.Length == 0) return IExecuteWithSignatureArray("execute", "([Ljava/lang/Object;)[Ljava/lang/Object;"); else return IExecuteWithSignatureArray("execute", "([Ljava/lang/Object;)[Ljava/lang/Object;", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void Execute() + { + IExecuteWithSignature("execute", "()V"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Script.KernelID arg0, Android.Renderscript.Allocation arg1) + { + IExecute("setInput", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetOutput(Android.Renderscript.Script.KernelID arg0, Android.Renderscript.Allocation arg1) + { + IExecute("setOutput", arg0, arg1); + } + + #endregion + + #region Nested classes + #region Binding + public partial class Binding + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Binding(Android.Renderscript.Script.FieldID arg0, object arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Renderscript.RenderScript arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup Create() + { + return IExecuteWithSignature("create", "()Landroid/renderscript/ScriptGroup;"); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Builder AddConnection(Android.Renderscript.Type arg0, Android.Renderscript.Script.KernelID arg1, Android.Renderscript.Script.FieldID arg2) + { + return IExecute("addConnection", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Builder AddConnection(Android.Renderscript.Type arg0, Android.Renderscript.Script.KernelID arg1, Android.Renderscript.Script.KernelID arg2) + { + return IExecute("addConnection", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Builder AddKernel(Android.Renderscript.Script.KernelID arg0) + { + return IExecuteWithSignature("addKernel", "(Landroid/renderscript/Script$KernelID;)Landroid/renderscript/ScriptGroup$Builder;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Builder2 + public partial class Builder2 + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder2(Android.Renderscript.RenderScript arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup Create(Java.Lang.String arg0, params Android.Renderscript.ScriptGroup.Future[] arg1) + { + if (arg1.Length == 0) return IExecute("create", arg0); else return IExecute("create", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Closure AddInvoke(Android.Renderscript.Script.InvokeID arg0, params object[] arg1) + { + if (arg1.Length == 0) return IExecute("addInvoke", arg0); else return IExecute("addInvoke", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Closure AddKernel(Android.Renderscript.Script.KernelID arg0, Android.Renderscript.Type arg1, params object[] arg2) + { + if (arg2.Length == 0) return IExecute("addKernel", arg0, arg1); else return IExecute("addKernel", arg0, arg1, arg2); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Input AddInput() + { + return IExecuteWithSignature("addInput", "()Landroid/renderscript/ScriptGroup$Input;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Closure + public partial class Closure + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Future Return + { + get { return IExecuteWithSignature("getReturn", "()Landroid/renderscript/ScriptGroup$Future;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.ScriptGroup.Future GetGlobal(Android.Renderscript.Script.FieldID arg0) + { + return IExecuteWithSignature("getGlobal", "(Landroid/renderscript/Script$FieldID;)Landroid/renderscript/ScriptGroup$Future;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Future + public partial class Future + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region Input + public partial class Input + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic.cs new file mode 100644 index 000000000..257ba4188 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic.cs @@ -0,0 +1,58 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsic + public partial class ScriptIntrinsic + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic3DLUT.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic3DLUT.cs new file mode 100644 index 000000000..ccfad05bf --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsic3DLUT.cs @@ -0,0 +1,107 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsic3DLUT + public partial class ScriptIntrinsic3DLUT + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsic3DLUT Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEach", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetLUT(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setLUT", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBLAS.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBLAS.cs new file mode 100644 index 000000000..0184a1413 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBLAS.cs @@ -0,0 +1,1574 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicBLAS + public partial class ScriptIntrinsicBLAS + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int CONJ_TRANSPOSE { get { if (!_CONJ_TRANSPOSEReady) { _CONJ_TRANSPOSEContent = SGetField(LocalBridgeClazz, "CONJ_TRANSPOSE"); _CONJ_TRANSPOSEReady = true; } return _CONJ_TRANSPOSEContent; } } + private static int _CONJ_TRANSPOSEContent = default; + private static bool _CONJ_TRANSPOSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int LEFT { get { if (!_LEFTReady) { _LEFTContent = SGetField(LocalBridgeClazz, "LEFT"); _LEFTReady = true; } return _LEFTContent; } } + private static int _LEFTContent = default; + private static bool _LEFTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int LOWER { get { if (!_LOWERReady) { _LOWERContent = SGetField(LocalBridgeClazz, "LOWER"); _LOWERReady = true; } return _LOWERContent; } } + private static int _LOWERContent = default; + private static bool _LOWERReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NO_TRANSPOSE { get { if (!_NO_TRANSPOSEReady) { _NO_TRANSPOSEContent = SGetField(LocalBridgeClazz, "NO_TRANSPOSE"); _NO_TRANSPOSEReady = true; } return _NO_TRANSPOSEContent; } } + private static int _NO_TRANSPOSEContent = default; + private static bool _NO_TRANSPOSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int NON_UNIT { get { if (!_NON_UNITReady) { _NON_UNITContent = SGetField(LocalBridgeClazz, "NON_UNIT"); _NON_UNITReady = true; } return _NON_UNITContent; } } + private static int _NON_UNITContent = default; + private static bool _NON_UNITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RIGHT { get { if (!_RIGHTReady) { _RIGHTContent = SGetField(LocalBridgeClazz, "RIGHT"); _RIGHTReady = true; } return _RIGHTContent; } } + private static int _RIGHTContent = default; + private static bool _RIGHTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int TRANSPOSE { get { if (!_TRANSPOSEReady) { _TRANSPOSEContent = SGetField(LocalBridgeClazz, "TRANSPOSE"); _TRANSPOSEReady = true; } return _TRANSPOSEContent; } } + private static int _TRANSPOSEContent = default; + private static bool _TRANSPOSEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int UNIT { get { if (!_UNITReady) { _UNITContent = SGetField(LocalBridgeClazz, "UNIT"); _UNITReady = true; } return _UNITContent; } } + private static int _UNITContent = default; + private static bool _UNITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int UPPER { get { if (!_UPPERReady) { _UPPERContent = SGetField(LocalBridgeClazz, "UPPER"); _UPPERReady = true; } return _UPPERContent; } } + private static int _UPPERContent = default; + private static bool _UPPERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicBLAS Create(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "create", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ScriptIntrinsicBLAS;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void BNNM(Android.Renderscript.Allocation arg0, int arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, int arg6) + { + IExecute("BNNM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CGBMV(int arg0, int arg1, int arg2, Android.Renderscript.Float2 arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6, Android.Renderscript.Float2 arg7, Android.Renderscript.Allocation arg8, int arg9) + { + IExecute("CGBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CGEMM(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CGEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CGEMV(int arg0, Android.Renderscript.Float2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("CGEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CGERC(Android.Renderscript.Float2 arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("CGERC", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CGERU(Android.Renderscript.Float2 arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("CGERU", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHBMV(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Float2 arg6, Android.Renderscript.Allocation arg7, int arg8) + { + IExecute("CHBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHEMM(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CHEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHEMV(int arg0, Android.Renderscript.Float2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("CHEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHER(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("CHER", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHER2(int arg0, Android.Renderscript.Float2 arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CHER2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHER2K(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, float arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CHER2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHERK(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, float arg4, Android.Renderscript.Allocation arg5) + { + IExecute("CHERK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHPMV(int arg0, Android.Renderscript.Float2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("CHPMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHPR(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("CHPR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CHPR2(int arg0, Android.Renderscript.Float2 arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CHPR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CSYMM(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CSYMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CSYR2K(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Float2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CSYR2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CSYRK(int arg0, int arg1, Android.Renderscript.Float2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Float2 arg4, Android.Renderscript.Allocation arg5) + { + IExecute("CSYRK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTBMV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("CTBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTBSV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("CTBSV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTPMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("CTPMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTPSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("CTPSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTRMM(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Float2 arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CTRMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTRMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("CTRMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTRSM(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Float2 arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("CTRSM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CTRSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("CTRSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DGBMV(int arg0, int arg1, int arg2, double arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6, double arg7, Android.Renderscript.Allocation arg8, int arg9) + { + IExecute("DGBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DGEMM(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, double arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DGEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DGEMV(int arg0, double arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, double arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("DGEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DGER(double arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("DGER", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSBMV(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5, double arg6, Android.Renderscript.Allocation arg7, int arg8) + { + IExecute("DSBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSPMV(int arg0, double arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, double arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("DSPMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSPR(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("DSPR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSPR2(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DSPR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYMM(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, double arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DSYMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYMV(int arg0, double arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, double arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("DSYMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYR(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("DSYR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYR2(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DSYR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYR2K(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, double arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DSYR2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DSYRK(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, double arg4, Android.Renderscript.Allocation arg5) + { + IExecute("DSYRK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTBMV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("DTBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTBSV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("DTBSV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTPMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("DTPMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTPSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("DTPSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTRMM(int arg0, int arg1, int arg2, int arg3, double arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DTRMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTRMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("DTRMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTRSM(int arg0, int arg1, int arg2, int arg3, double arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("DTRSM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void DTRSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("DTRSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SGBMV(int arg0, int arg1, int arg2, float arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6, float arg7, Android.Renderscript.Allocation arg8, int arg9) + { + IExecute("SGBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SGEMM(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, float arg5, Android.Renderscript.Allocation arg6) + { + IExecute("SGEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SGEMV(int arg0, float arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, float arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("SGEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SGER(float arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("SGER", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSBMV(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5, float arg6, Android.Renderscript.Allocation arg7, int arg8) + { + IExecute("SSBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSPMV(int arg0, float arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, float arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("SSPMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSPR(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("SSPR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSPR2(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("SSPR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYMM(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, float arg5, Android.Renderscript.Allocation arg6) + { + IExecute("SSYMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYMV(int arg0, float arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, float arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("SSYMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYR(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("SSYR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYR2(int arg0, float arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("SSYR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYR2K(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, float arg5, Android.Renderscript.Allocation arg6) + { + IExecute("SSYR2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SSYRK(int arg0, int arg1, float arg2, Android.Renderscript.Allocation arg3, float arg4, Android.Renderscript.Allocation arg5) + { + IExecute("SSYRK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STBMV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("STBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STBSV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("STBSV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STPMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("STPMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STPSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("STPSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STRMM(int arg0, int arg1, int arg2, int arg3, float arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("STRMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STRMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("STRMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STRSM(int arg0, int arg1, int arg2, int arg3, float arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("STRSM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void STRSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("STRSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZGBMV(int arg0, int arg1, int arg2, Android.Renderscript.Double2 arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6, Android.Renderscript.Double2 arg7, Android.Renderscript.Allocation arg8, int arg9) + { + IExecute("ZGBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZGEMM(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZGEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZGEMV(int arg0, Android.Renderscript.Double2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("ZGEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZGERC(Android.Renderscript.Double2 arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("ZGERC", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZGERU(Android.Renderscript.Double2 arg0, Android.Renderscript.Allocation arg1, int arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Allocation arg5) + { + IExecute("ZGERU", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHBMV(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Double2 arg6, Android.Renderscript.Allocation arg7, int arg8) + { + IExecute("ZHBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHEMM(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZHEMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHEMV(int arg0, Android.Renderscript.Double2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("ZHEMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHER(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("ZHER", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHER2(int arg0, Android.Renderscript.Double2 arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZHER2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHER2K(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, double arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZHER2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHERK(int arg0, int arg1, double arg2, Android.Renderscript.Allocation arg3, double arg4, Android.Renderscript.Allocation arg5) + { + IExecute("ZHERK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHPMV(int arg0, Android.Renderscript.Double2 arg1, Android.Renderscript.Allocation arg2, Android.Renderscript.Allocation arg3, int arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6, int arg7) + { + IExecute("ZHPMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHPR(int arg0, double arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4) + { + IExecute("ZHPR", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZHPR2(int arg0, Android.Renderscript.Double2 arg1, Android.Renderscript.Allocation arg2, int arg3, Android.Renderscript.Allocation arg4, int arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZHPR2", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZSYMM(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZSYMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZSYR2K(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Double2 arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZSYR2K", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZSYRK(int arg0, int arg1, Android.Renderscript.Double2 arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Double2 arg4, Android.Renderscript.Allocation arg5) + { + IExecute("ZSYRK", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTBMV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("ZTBMV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTBSV(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Allocation arg4, Android.Renderscript.Allocation arg5, int arg6) + { + IExecute("ZTBSV", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTPMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("ZTPMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTPSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("ZTPSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTRMM(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Double2 arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZTRMM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTRMV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("ZTRMV", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTRSM(int arg0, int arg1, int arg2, int arg3, Android.Renderscript.Double2 arg4, Android.Renderscript.Allocation arg5, Android.Renderscript.Allocation arg6) + { + IExecute("ZTRSM", arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ZTRSV(int arg0, int arg1, int arg2, Android.Renderscript.Allocation arg3, Android.Renderscript.Allocation arg4, int arg5) + { + IExecute("ZTRSV", arg0, arg1, arg2, arg3, arg4, arg5); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlend.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlend.cs new file mode 100644 index 000000000..78af463e5 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlend.cs @@ -0,0 +1,504 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicBlend + public partial class ScriptIntrinsicBlend + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicBlend Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDAdd + { + get { return IExecuteWithSignature("getKernelIDAdd", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDClear + { + get { return IExecuteWithSignature("getKernelIDClear", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDDst + { + get { return IExecuteWithSignature("getKernelIDDst", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDDstAtop + { + get { return IExecuteWithSignature("getKernelIDDstAtop", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDDstIn + { + get { return IExecuteWithSignature("getKernelIDDstIn", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDDstOut + { + get { return IExecuteWithSignature("getKernelIDDstOut", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDDstOver + { + get { return IExecuteWithSignature("getKernelIDDstOver", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDMultiply + { + get { return IExecuteWithSignature("getKernelIDMultiply", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSrc + { + get { return IExecuteWithSignature("getKernelIDSrc", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSrcAtop + { + get { return IExecuteWithSignature("getKernelIDSrcAtop", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSrcIn + { + get { return IExecuteWithSignature("getKernelIDSrcIn", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSrcOut + { + get { return IExecuteWithSignature("getKernelIDSrcOut", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSrcOver + { + get { return IExecuteWithSignature("getKernelIDSrcOver", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDSubtract + { + get { return IExecuteWithSignature("getKernelIDSubtract", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelIDXor + { + get { return IExecuteWithSignature("getKernelIDXor", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachAdd(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachAdd", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachAdd(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachAdd", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachClear(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachClear", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachClear(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachClear", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDst(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachDst", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDst(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachDst", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstAtop(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachDstAtop", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstAtop(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachDstAtop", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstIn(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachDstIn", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstIn(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachDstIn", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstOut(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachDstOut", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstOut(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachDstOut", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstOver(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachDstOver", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachDstOver(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachDstOver", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachMultiply(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachMultiply", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachMultiply(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachMultiply", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrc(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSrc", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrc(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSrc", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcAtop(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSrcAtop", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcAtop(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSrcAtop", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcIn(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSrcIn", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcIn(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSrcIn", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcOut(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSrcOut", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcOut(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSrcOut", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcOver(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSrcOver", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSrcOver(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSrcOver", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSubtract(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachSubtract", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachSubtract(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachSubtract", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachXor(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEachXor", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEachXor(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEachXor", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlur.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlur.cs new file mode 100644 index 000000000..b0decac81 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicBlur.cs @@ -0,0 +1,122 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicBlur + public partial class ScriptIntrinsicBlur + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicBlur Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setInput", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetRadius(float arg0) + { + IExecuteWithSignature("setRadius", "(F)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicColorMatrix.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicColorMatrix.cs new file mode 100644 index 000000000..a240fd851 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicColorMatrix.cs @@ -0,0 +1,171 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicColorMatrix + public partial class ScriptIntrinsicColorMatrix + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicColorMatrix Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicColorMatrix Create(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "create", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ScriptIntrinsicColorMatrix;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEach", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAdd(Android.Renderscript.Float4 arg0) + { + IExecuteWithSignature("setAdd", "(Landroid/renderscript/Float4;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetAdd(float arg0, float arg1, float arg2, float arg3) + { + IExecute("setAdd", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetColorMatrix(Android.Renderscript.Matrix3f arg0) + { + IExecuteWithSignature("setColorMatrix", "(Landroid/renderscript/Matrix3f;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetColorMatrix(Android.Renderscript.Matrix4f arg0) + { + IExecuteWithSignature("setColorMatrix", "(Landroid/renderscript/Matrix4f;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void SetGreyscale() + { + IExecuteWithSignature("setGreyscale", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void SetRGBtoYUV() + { + IExecuteWithSignature("setRGBtoYUV", "()V"); + } + /// + /// + /// + [System.Obsolete()] + public void SetYUVtoRGB() + { + IExecuteWithSignature("setYUVtoRGB", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve3x3.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve3x3.cs new file mode 100644 index 000000000..0a27baedf --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve3x3.cs @@ -0,0 +1,122 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicConvolve3x3 + public partial class ScriptIntrinsicConvolve3x3 + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicConvolve3x3 Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetCoefficients(float[] arg0) + { + IExecuteWithSignature("setCoefficients", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setInput", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve5x5.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve5x5.cs new file mode 100644 index 000000000..8114e5438 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicConvolve5x5.cs @@ -0,0 +1,122 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicConvolve5x5 + public partial class ScriptIntrinsicConvolve5x5 + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicConvolve5x5 Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetCoefficients(float[] arg0) + { + IExecuteWithSignature("setCoefficients", "([F)V", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setInput", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicHistogram.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicHistogram.cs new file mode 100644 index 000000000..8ecd62ed1 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicHistogram.cs @@ -0,0 +1,144 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicHistogram + public partial class ScriptIntrinsicHistogram + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicHistogram Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID_Separate + { + get { return IExecuteWithSignature("getKernelID_Separate", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach_Dot(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach_Dot", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach_Dot(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach_Dot", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetDotCoefficients(float arg0, float arg1, float arg2, float arg3) + { + IExecute("setDotCoefficients", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetOutput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setOutput", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicLUT.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicLUT.cs new file mode 100644 index 000000000..bcf9e4d8c --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicLUT.cs @@ -0,0 +1,138 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicLUT + public partial class ScriptIntrinsicLUT + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicLUT Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1, Android.Renderscript.Script.LaunchOptions arg2) + { + IExecute("forEach", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0, Android.Renderscript.Allocation arg1) + { + IExecute("forEach", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetAlpha(int arg0, int arg1) + { + IExecute("setAlpha", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetBlue(int arg0, int arg1) + { + IExecute("setBlue", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetGreen(int arg0, int arg1) + { + IExecute("setGreen", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetRed(int arg0, int arg1) + { + IExecute("setRed", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicResize.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicResize.cs new file mode 100644 index 000000000..e29db9076 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicResize.cs @@ -0,0 +1,112 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicResize + public partial class ScriptIntrinsicResize + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicResize Create(Android.Renderscript.RenderScript arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "create", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ScriptIntrinsicResize;", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID_bicubic + { + get { return IExecuteWithSignature("getKernelID_bicubic", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach_bicubic(Android.Renderscript.Allocation arg0, Android.Renderscript.Script.LaunchOptions arg1) + { + IExecute("forEach_bicubic", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach_bicubic(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach_bicubic", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setInput", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicYuvToRGB.cs b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicYuvToRGB.cs new file mode 100644 index 000000000..93d0c4f84 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/ScriptIntrinsicYuvToRGB.cs @@ -0,0 +1,103 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region ScriptIntrinsicYuvToRGB + public partial class ScriptIntrinsicYuvToRGB + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.ScriptIntrinsicYuvToRGB Create(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + { + return SExecute(LocalBridgeClazz, "create", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.FieldID FieldID_Input + { + get { return IExecuteWithSignature("getFieldID_Input", "()Landroid/renderscript/Script$FieldID;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Script.KernelID KernelID + { + get { return IExecuteWithSignature("getKernelID", "()Landroid/renderscript/Script$KernelID;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void ForEach(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("forEach", "(Landroid/renderscript/Allocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetInput(Android.Renderscript.Allocation arg0) + { + IExecuteWithSignature("setInput", "(Landroid/renderscript/Allocation;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Short2.cs b/src/net/Netdroid/Generated/Android/Renderscript/Short2.cs new file mode 100644 index 000000000..26a4a397b --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Short2.cs @@ -0,0 +1,78 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Short2 + public partial class Short2 + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Short2(short arg0, short arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public short x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public short y { get { return IGetField("y"); } set { ISetField("y", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Short3.cs b/src/net/Netdroid/Generated/Android/Renderscript/Short3.cs new file mode 100644 index 000000000..0f63b9357 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Short3.cs @@ -0,0 +1,84 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Short3 + public partial class Short3 + { + #region Constructors + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Short3(short arg0, short arg1, short arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public short x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public short y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public short z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Short4.cs b/src/net/Netdroid/Generated/Android/Renderscript/Short4.cs new file mode 100644 index 000000000..edd71fc22 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Short4.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Short4 + public partial class Short4 + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Short4(short arg0, short arg1, short arg2, short arg3) + : base(arg0, arg1, arg2, arg3) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public short w { get { return IGetField("w"); } set { ISetField("w", value); } } + /// + /// + /// + [System.Obsolete()] + public short x { get { return IGetField("x"); } set { ISetField("x", value); } } + /// + /// + /// + [System.Obsolete()] + public short y { get { return IGetField("y"); } set { ISetField("y", value); } } + /// + /// + /// + [System.Obsolete()] + public short z { get { return IGetField("z"); } set { ISetField("z", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Renderscript/Type.cs b/src/net/Netdroid/Generated/Android/Renderscript/Type.cs new file mode 100644 index 000000000..85bc521c9 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Renderscript/Type.cs @@ -0,0 +1,384 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Renderscript +{ + #region Type + public partial class Type + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type CreateX(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "createX", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type CreateXY(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "createXY", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type CreateXYZ(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1, int arg2, int arg3, int arg4) + { + return SExecute(LocalBridgeClazz, "createXYZ", arg0, arg1, arg2, arg3, arg4); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Count + { + get { return IExecuteWithSignature("getCount", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Element Element + { + get { return IExecuteWithSignature("getElement", "()Landroid/renderscript/Element;"); } + } + /// + /// + /// + [System.Obsolete()] + public int X + { + get { return IExecuteWithSignature("getX", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Y + { + get { return IExecuteWithSignature("getY", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Yuv + { + get { return IExecuteWithSignature("getYuv", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Z + { + get { return IExecuteWithSignature("getZ", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasFaces() + { + return IExecuteWithSignature("hasFaces", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasMipmaps() + { + return IExecuteWithSignature("hasMipmaps", "()Z"); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Renderscript.RenderScript arg0, Android.Renderscript.Element arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type Create() + { + return IExecuteWithSignature("create", "()Landroid/renderscript/Type;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetFaces(bool arg0) + { + return IExecuteWithSignature("setFaces", "(Z)Landroid/renderscript/Type$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetMipmaps(bool arg0) + { + return IExecuteWithSignature("setMipmaps", "(Z)Landroid/renderscript/Type$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetX(int arg0) + { + return IExecuteWithSignature("setX", "(I)Landroid/renderscript/Type$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetY(int arg0) + { + return IExecuteWithSignature("setY", "(I)Landroid/renderscript/Type$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetYuvFormat(int arg0) + { + return IExecuteWithSignature("setYuvFormat", "(I)Landroid/renderscript/Type$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Renderscript.Type.Builder SetZ(int arg0) + { + return IExecuteWithSignature("setZ", "(I)Landroid/renderscript/Type$Builder;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region CubemapFace + public partial class CubemapFace + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace NEGATIVE_X { get { if (!_NEGATIVE_XReady) { _NEGATIVE_XContent = SGetField(LocalBridgeClazz, "NEGATIVE_X"); _NEGATIVE_XReady = true; } return _NEGATIVE_XContent; } } + private static Android.Renderscript.Type.CubemapFace _NEGATIVE_XContent = default; + private static bool _NEGATIVE_XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace NEGATIVE_Y { get { if (!_NEGATIVE_YReady) { _NEGATIVE_YContent = SGetField(LocalBridgeClazz, "NEGATIVE_Y"); _NEGATIVE_YReady = true; } return _NEGATIVE_YContent; } } + private static Android.Renderscript.Type.CubemapFace _NEGATIVE_YContent = default; + private static bool _NEGATIVE_YReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace NEGATIVE_Z { get { if (!_NEGATIVE_ZReady) { _NEGATIVE_ZContent = SGetField(LocalBridgeClazz, "NEGATIVE_Z"); _NEGATIVE_ZReady = true; } return _NEGATIVE_ZContent; } } + private static Android.Renderscript.Type.CubemapFace _NEGATIVE_ZContent = default; + private static bool _NEGATIVE_ZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITIVE_X { get { if (!_POSITIVE_XReady) { _POSITIVE_XContent = SGetField(LocalBridgeClazz, "POSITIVE_X"); _POSITIVE_XReady = true; } return _POSITIVE_XContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITIVE_XContent = default; + private static bool _POSITIVE_XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITIVE_Y { get { if (!_POSITIVE_YReady) { _POSITIVE_YContent = SGetField(LocalBridgeClazz, "POSITIVE_Y"); _POSITIVE_YReady = true; } return _POSITIVE_YContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITIVE_YContent = default; + private static bool _POSITIVE_YReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITIVE_Z { get { if (!_POSITIVE_ZReady) { _POSITIVE_ZContent = SGetField(LocalBridgeClazz, "POSITIVE_Z"); _POSITIVE_ZReady = true; } return _POSITIVE_ZContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITIVE_ZContent = default; + private static bool _POSITIVE_ZReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITVE_X { get { if (!_POSITVE_XReady) { _POSITVE_XContent = SGetField(LocalBridgeClazz, "POSITVE_X"); _POSITVE_XReady = true; } return _POSITVE_XContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITVE_XContent = default; + private static bool _POSITVE_XReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITVE_Y { get { if (!_POSITVE_YReady) { _POSITVE_YContent = SGetField(LocalBridgeClazz, "POSITVE_Y"); _POSITVE_YReady = true; } return _POSITVE_YContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITVE_YContent = default; + private static bool _POSITVE_YReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Renderscript.Type.CubemapFace POSITVE_Z { get { if (!_POSITVE_ZReady) { _POSITVE_ZContent = SGetField(LocalBridgeClazz, "POSITVE_Z"); _POSITVE_ZReady = true; } return _POSITVE_ZContent; } } + private static Android.Renderscript.Type.CubemapFace _POSITVE_ZContent = default; + private static bool _POSITVE_ZReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Renderscript.Type.CubemapFace ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/renderscript/Type$CubemapFace;", arg0); + } + /// + /// + /// + /// + public static Android.Renderscript.Type.CubemapFace[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/renderscript/Type$CubemapFace;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Security/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Security/AllPackageClasses.cs index dd52af865..7aa12a39d 100644 --- a/src/net/Netdroid/Generated/Android/Security/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Security/AllPackageClasses.cs @@ -477,6 +477,96 @@ public partial class KeyChainException : Java.Lang.Exception } #endregion + #region KeyPairGeneratorSpec + /// + /// + /// + [System.Obsolete()] + public partial class KeyPairGeneratorSpec : Java.Security.Spec.AlgorithmParameterSpec + { + const string _bridgeClassName = "android.security.KeyPairGeneratorSpec"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyPairGeneratorSpec() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyPairGeneratorSpec(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.security.KeyPairGeneratorSpec$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region KeyStoreException /// /// @@ -494,6 +584,96 @@ public partial class KeyStoreException : Java.Lang.Exception } #endregion + #region KeyStoreParameter + /// + /// + /// + [System.Obsolete()] + public partial class KeyStoreParameter : Java.Security.KeyStore.ProtectionParameter + { + const string _bridgeClassName = "android.security.KeyStoreParameter"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public KeyStoreParameter() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public KeyStoreParameter(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region Builder + /// + /// + /// + [System.Obsolete()] + public partial class Builder : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.security.KeyStoreParameter$Builder"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public Builder() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public Builder(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region NetworkSecurityPolicy /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Identity/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Security/Identity/AllPackageClasses.cs index f8c84baf4..a4ec41a5c 100644 --- a/src/net/Netdroid/Generated/Android/Security/Identity/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Security/Identity/AllPackageClasses.cs @@ -761,6 +761,53 @@ public PresentationSession(params object[] args) : base(args) { } } #endregion + #region ResultData + /// + /// + /// + [System.Obsolete()] + public partial class ResultData : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.security.identity.ResultData"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ResultData class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ResultData() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ResultData class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ResultData(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region SessionTranscriptMismatchException /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredential.cs b/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredential.cs index 53a56325b..b50c9d459 100644 --- a/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredential.cs +++ b/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredential.cs @@ -46,6 +46,14 @@ public partial class IdentityCredential #region Instance methods /// + /// + /// + [System.Obsolete()] + public int[] AuthenticationDataUsageCount + { + get { return IExecuteWithSignatureArray("getAuthenticationDataUsageCount", "()[I"); } + } + /// /// /// public Java.Util.List AuthenticationKeyMetadata @@ -67,6 +75,94 @@ public Java.Util.Collection CredentialKeyCer get { return IExecuteWithSignature>("getCredentialKeyCertificateChain", "()Ljava/util/Collection;"); } } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.Identity.ResultData GetEntries(byte[] arg0, Java.Util.Map> arg1, byte[] arg2, byte[] arg3) + { + return IExecute("getEntries", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] DecryptMessageFromReader(byte[] arg0) + { + return IExecuteWithSignatureArray("decryptMessageFromReader", "([B)[B", new object[] { arg0 }); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] EncryptMessageToReader(byte[] arg0) + { + return IExecuteWithSignatureArray("encryptMessageToReader", "([B)[B", new object[] { arg0 }); + } + /// + /// + /// + /// + [System.Obsolete()] + public Java.Security.KeyPair CreateEphemeralKeyPair() + { + return IExecuteWithSignature("createEphemeralKeyPair", "()Ljava/security/KeyPair;"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void SetAllowUsingExhaustedKeys(bool arg0) + { + IExecuteWithSignature("setAllowUsingExhaustedKeys", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetAvailableAuthenticationKeys(int arg0, int arg1) + { + IExecute("setAvailableAuthenticationKeys", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetReaderEphemeralPublicKey(Java.Security.PublicKey arg0) + { + IExecuteWithSignature("setReaderEphemeralPublicKey", "(Ljava/security/PublicKey;)V", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void StoreStaticAuthenticationData(Java.Security.Cert.X509Certificate arg0, byte[] arg1) + { + IExecute("storeStaticAuthenticationData", arg0, arg1); + } + /// /// /// /// @@ -94,6 +190,15 @@ public byte[] Update(Android.Security.Identity.PersonalizationData arg0) return IExecuteWithSignatureArray("update", "(Landroid/security/identity/PersonalizationData;)[B", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void SetAllowUsingExpiredKeys(bool arg0) + { + IExecuteWithSignature("setAllowUsingExpiredKeys", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredentialStore.cs b/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredentialStore.cs index 30cf68ef4..56a3d396e 100644 --- a/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredentialStore.cs +++ b/src/net/Netdroid/Generated/Android/Security/Identity/IdentityCredentialStore.cs @@ -100,6 +100,16 @@ public Android.Security.Identity.WritableIdentityCredential CreateCredential(Jav return IExecute("createCredential", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] DeleteCredentialByName(Java.Lang.String arg0) + { + return IExecuteWithSignatureArray("deleteCredentialByName", "(Ljava/lang/String;)[B", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Identity/ResultData.cs b/src/net/Netdroid/Generated/Android/Security/Identity/ResultData.cs new file mode 100644 index 000000000..f6478553e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Security/Identity/ResultData.cs @@ -0,0 +1,181 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Security.Identity +{ + #region ResultData + public partial class ResultData + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NO_ACCESS_CONTROL_PROFILES { get { if (!_STATUS_NO_ACCESS_CONTROL_PROFILESReady) { _STATUS_NO_ACCESS_CONTROL_PROFILESContent = SGetField(LocalBridgeClazz, "STATUS_NO_ACCESS_CONTROL_PROFILES"); _STATUS_NO_ACCESS_CONTROL_PROFILESReady = true; } return _STATUS_NO_ACCESS_CONTROL_PROFILESContent; } } + private static int _STATUS_NO_ACCESS_CONTROL_PROFILESContent = default; + private static bool _STATUS_NO_ACCESS_CONTROL_PROFILESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NO_SUCH_ENTRY { get { if (!_STATUS_NO_SUCH_ENTRYReady) { _STATUS_NO_SUCH_ENTRYContent = SGetField(LocalBridgeClazz, "STATUS_NO_SUCH_ENTRY"); _STATUS_NO_SUCH_ENTRYReady = true; } return _STATUS_NO_SUCH_ENTRYContent; } } + private static int _STATUS_NO_SUCH_ENTRYContent = default; + private static bool _STATUS_NO_SUCH_ENTRYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NOT_IN_REQUEST_MESSAGE { get { if (!_STATUS_NOT_IN_REQUEST_MESSAGEReady) { _STATUS_NOT_IN_REQUEST_MESSAGEContent = SGetField(LocalBridgeClazz, "STATUS_NOT_IN_REQUEST_MESSAGE"); _STATUS_NOT_IN_REQUEST_MESSAGEReady = true; } return _STATUS_NOT_IN_REQUEST_MESSAGEContent; } } + private static int _STATUS_NOT_IN_REQUEST_MESSAGEContent = default; + private static bool _STATUS_NOT_IN_REQUEST_MESSAGEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_NOT_REQUESTED { get { if (!_STATUS_NOT_REQUESTEDReady) { _STATUS_NOT_REQUESTEDContent = SGetField(LocalBridgeClazz, "STATUS_NOT_REQUESTED"); _STATUS_NOT_REQUESTEDReady = true; } return _STATUS_NOT_REQUESTEDContent; } } + private static int _STATUS_NOT_REQUESTEDContent = default; + private static bool _STATUS_NOT_REQUESTEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_OK { get { if (!_STATUS_OKReady) { _STATUS_OKContent = SGetField(LocalBridgeClazz, "STATUS_OK"); _STATUS_OKReady = true; } return _STATUS_OKContent; } } + private static int _STATUS_OKContent = default; + private static bool _STATUS_OKReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_READER_AUTHENTICATION_FAILED { get { if (!_STATUS_READER_AUTHENTICATION_FAILEDReady) { _STATUS_READER_AUTHENTICATION_FAILEDContent = SGetField(LocalBridgeClazz, "STATUS_READER_AUTHENTICATION_FAILED"); _STATUS_READER_AUTHENTICATION_FAILEDReady = true; } return _STATUS_READER_AUTHENTICATION_FAILEDContent; } } + private static int _STATUS_READER_AUTHENTICATION_FAILEDContent = default; + private static bool _STATUS_READER_AUTHENTICATION_FAILEDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_USER_AUTHENTICATION_FAILED { get { if (!_STATUS_USER_AUTHENTICATION_FAILEDReady) { _STATUS_USER_AUTHENTICATION_FAILEDContent = SGetField(LocalBridgeClazz, "STATUS_USER_AUTHENTICATION_FAILED"); _STATUS_USER_AUTHENTICATION_FAILEDReady = true; } return _STATUS_USER_AUTHENTICATION_FAILEDContent; } } + private static int _STATUS_USER_AUTHENTICATION_FAILEDContent = default; + private static bool _STATUS_USER_AUTHENTICATION_FAILEDReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public byte[] AuthenticatedData + { + get { return IExecuteWithSignatureArray("getAuthenticatedData", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] MessageAuthenticationCode + { + get { return IExecuteWithSignatureArray("getMessageAuthenticationCode", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Collection Namespaces + { + get { return IExecuteWithSignature>("getNamespaces", "()Ljava/util/Collection;"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] StaticAuthenticationData + { + get { return IExecuteWithSignatureArray("getStaticAuthenticationData", "()[B"); } + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public byte[] GetEntry(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecuteArray("getEntry", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int GetStatus(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("getStatus", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Collection GetEntryNames(Java.Lang.String arg0) + { + return IExecuteWithSignature>("getEntryNames", "(Ljava/lang/String;)Ljava/util/Collection;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Collection GetRetrievedEntryNames(Java.Lang.String arg0) + { + return IExecuteWithSignature>("getRetrievedEntryNames", "(Ljava/lang/String;)Ljava/util/Collection;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Security/KeyChain.cs b/src/net/Netdroid/Generated/Android/Security/KeyChain.cs index 326b394d3..098a9e57f 100644 --- a/src/net/Netdroid/Generated/Android/Security/KeyChain.cs +++ b/src/net/Netdroid/Generated/Android/Security/KeyChain.cs @@ -50,6 +50,13 @@ public partial class KeyChain private static Java.Lang.String _ACTION_KEYCHAIN_CHANGEDContent = default; private static bool _ACTION_KEYCHAIN_CHANGEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_STORAGE_CHANGED { get { if (!_ACTION_STORAGE_CHANGEDReady) { _ACTION_STORAGE_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_STORAGE_CHANGED"); _ACTION_STORAGE_CHANGEDReady = true; } return _ACTION_STORAGE_CHANGEDContent; } } + private static Java.Lang.String _ACTION_STORAGE_CHANGEDContent = default; + private static bool _ACTION_STORAGE_CHANGEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_TRUST_STORE_CHANGED { get { if (!_ACTION_TRUST_STORE_CHANGEDReady) { _ACTION_TRUST_STORE_CHANGEDContent = SGetField(LocalBridgeClazz, "ACTION_TRUST_STORE_CHANGED"); _ACTION_TRUST_STORE_CHANGEDReady = true; } return _ACTION_TRUST_STORE_CHANGEDContent; } } @@ -123,6 +130,16 @@ public static Android.Security.AppUriAuthenticationPolicy GetCredentialManagemen return SExecuteWithSignature(LocalBridgeClazz, "getCredentialManagementAppPolicy", "(Landroid/content/Context;)Landroid/security/AppUriAuthenticationPolicy;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsBoundKeyAlgorithm(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isBoundKeyAlgorithm", "(Ljava/lang/String;)Z", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/KeyPairGeneratorSpec.cs b/src/net/Netdroid/Generated/Android/Security/KeyPairGeneratorSpec.cs new file mode 100644 index 000000000..9192c4f2c --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Security/KeyPairGeneratorSpec.cs @@ -0,0 +1,278 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Security +{ + #region KeyPairGeneratorSpec + public partial class KeyPairGeneratorSpec + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Security.Spec.AlgorithmParameterSpec AlgorithmParameterSpec + { + get { return IExecuteWithSignature("getAlgorithmParameterSpec", "()Ljava/security/spec/AlgorithmParameterSpec;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Content.Context Context + { + get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Date EndDate + { + get { return IExecuteWithSignature("getEndDate", "()Ljava/util/Date;"); } + } + /// + /// + /// + [System.Obsolete()] + public int KeySize + { + get { return IExecuteWithSignature("getKeySize", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String KeystoreAlias + { + get { return IExecuteWithSignature("getKeystoreAlias", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String KeyType + { + get { return IExecuteWithSignature("getKeyType", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Math.BigInteger SerialNumber + { + get { return IExecuteWithSignature("getSerialNumber", "()Ljava/math/BigInteger;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Util.Date StartDate + { + get { return IExecuteWithSignature("getStartDate", "()Ljava/util/Date;"); } + } + /// + /// + /// + [System.Obsolete()] + public Javax.Security.Auth.X500.X500Principal SubjectDN + { + get { return IExecuteWithSignature("getSubjectDN", "()Ljavax/security/auth/x500/X500Principal;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsEncryptionRequired() + { + return IExecuteWithSignature("isEncryptionRequired", "()Z"); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec Build() + { + return IExecuteWithSignature("build", "()Landroid/security/KeyPairGeneratorSpec;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetAlgorithmParameterSpec(Java.Security.Spec.AlgorithmParameterSpec arg0) + { + return IExecuteWithSignature("setAlgorithmParameterSpec", "(Ljava/security/spec/AlgorithmParameterSpec;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetAlias(Java.Lang.String arg0) + { + return IExecuteWithSignature("setAlias", "(Ljava/lang/String;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetEncryptionRequired() + { + return IExecuteWithSignature("setEncryptionRequired", "()Landroid/security/KeyPairGeneratorSpec$Builder;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetEndDate(Java.Util.Date arg0) + { + return IExecuteWithSignature("setEndDate", "(Ljava/util/Date;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetKeySize(int arg0) + { + return IExecuteWithSignature("setKeySize", "(I)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetKeyType(Java.Lang.String arg0) + { + return IExecuteWithSignature("setKeyType", "(Ljava/lang/String;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetSerialNumber(Java.Math.BigInteger arg0) + { + return IExecuteWithSignature("setSerialNumber", "(Ljava/math/BigInteger;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetStartDate(Java.Util.Date arg0) + { + return IExecuteWithSignature("setStartDate", "(Ljava/util/Date;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyPairGeneratorSpec.Builder SetSubject(Javax.Security.Auth.X500.X500Principal arg0) + { + return IExecuteWithSignature("setSubject", "(Ljavax/security/auth/x500/X500Principal;)Landroid/security/KeyPairGeneratorSpec$Builder;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Security/KeyStoreParameter.cs b/src/net/Netdroid/Generated/Android/Security/KeyStoreParameter.cs new file mode 100644 index 000000000..491eac367 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Security/KeyStoreParameter.cs @@ -0,0 +1,126 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Security +{ + #region KeyStoreParameter + public partial class KeyStoreParameter + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public bool IsEncryptionRequired() + { + return IExecuteWithSignature("isEncryptionRequired", "()Z"); + } + + #endregion + + #region Nested classes + #region Builder + public partial class Builder + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Content.Context arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyStoreParameter Build() + { + return IExecuteWithSignature("build", "()Landroid/security/KeyStoreParameter;"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.KeyStoreParameter.Builder SetEncryptionRequired(bool arg0) + { + return IExecuteWithSignature("setEncryptionRequired", "(Z)Landroid/security/KeyStoreParameter$Builder;", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyGenParameterSpec.cs b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyGenParameterSpec.cs index 6d87d46c1..969d734f5 100644 --- a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyGenParameterSpec.cs +++ b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyGenParameterSpec.cs @@ -524,6 +524,16 @@ public Android.Security.Keystore.KeyGenParameterSpec.Builder SetUserAuthenticati return IExecuteWithSignature("setUserAuthenticationRequired", "(Z)Landroid/security/keystore/KeyGenParameterSpec$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.Keystore.KeyGenParameterSpec.Builder SetUserAuthenticationValidityDurationSeconds(int arg0) + { + return IExecuteWithSignature("setUserAuthenticationValidityDurationSeconds", "(I)Landroid/security/keystore/KeyGenParameterSpec$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyInfo.cs b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyInfo.cs index d71a13b14..d00358113 100644 --- a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyInfo.cs +++ b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyInfo.cs @@ -151,6 +151,15 @@ public int UserAuthenticationValidityDurationSeconds get { return IExecuteWithSignature("getUserAuthenticationValidityDurationSeconds", "()I"); } } /// + /// + /// + /// + [System.Obsolete()] + public bool IsInsideSecureHardware() + { + return IExecuteWithSignature("isInsideSecureHardware", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProperties.cs b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProperties.cs index e0a0242eb..60f986002 100644 --- a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProperties.cs +++ b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProperties.cs @@ -242,6 +242,13 @@ public partial class KeyProperties private static Java.Lang.String _ENCRYPTION_PADDING_RSA_PKCS1Content = default; private static bool _ENCRYPTION_PADDING_RSA_PKCS1Ready = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_ALGORITHM_3DES { get { if (!_KEY_ALGORITHM_3DESReady) { _KEY_ALGORITHM_3DESContent = SGetField(LocalBridgeClazz, "KEY_ALGORITHM_3DES"); _KEY_ALGORITHM_3DESReady = true; } return _KEY_ALGORITHM_3DESContent; } } + private static Java.Lang.String _KEY_ALGORITHM_3DESContent = default; + private static bool _KEY_ALGORITHM_3DESReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_ALGORITHM_AES { get { if (!_KEY_ALGORITHM_AESReady) { _KEY_ALGORITHM_AESContent = SGetField(LocalBridgeClazz, "KEY_ALGORITHM_AES"); _KEY_ALGORITHM_AESReady = true; } return _KEY_ALGORITHM_AESContent; } } diff --git a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProtection.cs b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProtection.cs index 2c790bb0f..a25541110 100644 --- a/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProtection.cs +++ b/src/net/Netdroid/Generated/Android/Security/Keystore/KeyProtection.cs @@ -363,6 +363,16 @@ public Android.Security.Keystore.KeyProtection.Builder SetUserAuthenticationRequ return IExecuteWithSignature("setUserAuthenticationRequired", "(Z)Landroid/security/keystore/KeyProtection$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Security.Keystore.KeyProtection.Builder SetUserAuthenticationValidityDurationSeconds(int arg0) + { + return IExecuteWithSignature("setUserAuthenticationValidityDurationSeconds", "(I)Landroid/security/keystore/KeyProtection$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Autofill/Dataset.cs b/src/net/Netdroid/Generated/Android/Service/Autofill/Dataset.cs index 614f6fed7..3951092c8 100644 --- a/src/net/Netdroid/Generated/Android/Service/Autofill/Dataset.cs +++ b/src/net/Netdroid/Generated/Android/Service/Autofill/Dataset.cs @@ -84,6 +84,15 @@ public Builder(Android.Service.Autofill.Presentations arg0) : base(arg0) { } + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.Widget.RemoteViews arg0) + : base(arg0) + { + } #endregion @@ -155,6 +164,131 @@ public Android.Service.Autofill.Dataset.Builder SetId(Java.Lang.String arg0) { return IExecuteWithSignature("setId", "(Ljava/lang/String;)Landroid/service/autofill/Dataset$Builder;", arg0); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetInlinePresentation(Android.Service.Autofill.InlinePresentation arg0, Android.Service.Autofill.InlinePresentation arg1) + { + return IExecute("setInlinePresentation", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetInlinePresentation(Android.Service.Autofill.InlinePresentation arg0) + { + return IExecuteWithSignature("setInlinePresentation", "(Landroid/service/autofill/InlinePresentation;)Landroid/service/autofill/Dataset$Builder;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Android.Widget.RemoteViews arg2, Android.Service.Autofill.InlinePresentation arg3, Android.Service.Autofill.InlinePresentation arg4) + { + return IExecute("setValue", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Android.Widget.RemoteViews arg2, Android.Service.Autofill.InlinePresentation arg3) + { + return IExecute("setValue", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Android.Widget.RemoteViews arg2) + { + return IExecute("setValue", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Java.Util.Regex.Pattern arg2, Android.Widget.RemoteViews arg3, Android.Service.Autofill.InlinePresentation arg4, Android.Service.Autofill.InlinePresentation arg5) + { + return IExecute("setValue", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Java.Util.Regex.Pattern arg2, Android.Widget.RemoteViews arg3, Android.Service.Autofill.InlinePresentation arg4) + { + return IExecute("setValue", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Java.Util.Regex.Pattern arg2, Android.Widget.RemoteViews arg3) + { + return IExecute("setValue", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1, Java.Util.Regex.Pattern arg2) + { + return IExecute("setValue", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.Dataset.Builder SetValue(Android.View.Autofill.AutofillId arg0, Android.View.Autofill.AutofillValue arg1) + { + return IExecute("setValue", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Service/Autofill/FillEventHistory.cs b/src/net/Netdroid/Generated/Android/Service/Autofill/FillEventHistory.cs index 1af66ec01..16e1ee45c 100644 --- a/src/net/Netdroid/Generated/Android/Service/Autofill/FillEventHistory.cs +++ b/src/net/Netdroid/Generated/Android/Service/Autofill/FillEventHistory.cs @@ -52,6 +52,14 @@ public partial class FillEventHistory #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle ClientState + { + get { return IExecuteWithSignature("getClientState", "()Landroid/os/Bundle;"); } + } + /// /// /// public Java.Util.List Events diff --git a/src/net/Netdroid/Generated/Android/Service/Autofill/FillResponse.cs b/src/net/Netdroid/Generated/Android/Service/Autofill/FillResponse.cs index e5d5c35bf..819d3e8c4 100644 --- a/src/net/Netdroid/Generated/Android/Service/Autofill/FillResponse.cs +++ b/src/net/Netdroid/Generated/Android/Service/Autofill/FillResponse.cs @@ -148,6 +148,45 @@ public Android.Service.Autofill.FillResponse.Builder SetAuthentication(Android.V return IExecute("setAuthentication", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.FillResponse.Builder SetAuthentication(Android.View.Autofill.AutofillId[] arg0, Android.Content.IntentSender arg1, Android.Widget.RemoteViews arg2, Android.Service.Autofill.InlinePresentation arg3, Android.Service.Autofill.InlinePresentation arg4) + { + return IExecute("setAuthentication", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.FillResponse.Builder SetAuthentication(Android.View.Autofill.AutofillId[] arg0, Android.Content.IntentSender arg1, Android.Widget.RemoteViews arg2, Android.Service.Autofill.InlinePresentation arg3) + { + return IExecute("setAuthentication", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.FillResponse.Builder SetAuthentication(Android.View.Autofill.AutofillId[] arg0, Android.Content.IntentSender arg1, Android.Widget.RemoteViews arg2) + { + return IExecute("setAuthentication", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Autofill/ImageTransformation.cs b/src/net/Netdroid/Generated/Android/Service/Autofill/ImageTransformation.cs index 5a60ae33b..bf62237a6 100644 --- a/src/net/Netdroid/Generated/Android/Service/Autofill/ImageTransformation.cs +++ b/src/net/Netdroid/Generated/Android/Service/Autofill/ImageTransformation.cs @@ -95,6 +95,17 @@ public Builder(Android.View.Autofill.AutofillId arg0, Java.Util.Regex.Pattern ar : base(arg0, arg1, arg2, arg3) { } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Builder(Android.View.Autofill.AutofillId arg0, Java.Util.Regex.Pattern arg1, int arg2) + : base(arg0, arg1, arg2) + { + } #endregion @@ -130,6 +141,17 @@ public Android.Service.Autofill.ImageTransformation.Builder AddOption(Java.Util. { return IExecute("addOption", arg0, arg1, arg2); } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Service.Autofill.ImageTransformation.Builder AddOption(Java.Util.Regex.Pattern arg0, int arg1) + { + return IExecute("addOption", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierMessagingService.cs b/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierMessagingService.cs index 2215a20ff..b42dd46d6 100644 --- a/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierMessagingService.cs +++ b/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierMessagingService.cs @@ -123,6 +123,19 @@ public void OnDownloadMms(Android.Net.Uri arg0, int arg1, Android.Net.Uri arg2, IExecute("onDownloadMms", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnFilterSms(Android.Service.Carrier.MessagePdu arg0, Java.Lang.String arg1, int arg2, int arg3, Android.Service.Carrier.CarrierMessagingService.ResultCallback arg4) + { + IExecute("onFilterSms", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -135,6 +148,19 @@ public void OnReceiveTextSms(Android.Service.Carrier.MessagePdu arg0, Java.Lang. IExecute("onReceiveTextSms", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnSendDataSms(byte[] arg0, int arg1, Java.Lang.String arg2, int arg3, Android.Service.Carrier.CarrierMessagingService.ResultCallback arg4) + { + IExecute("onSendDataSms", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -159,6 +185,18 @@ public void OnSendMms(Android.Net.Uri arg0, int arg1, Android.Net.Uri arg2, Andr IExecute("onSendMms", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnSendMultipartTextSms(Java.Util.List arg0, int arg1, Java.Lang.String arg2, Android.Service.Carrier.CarrierMessagingService.ResultCallback arg3) + { + IExecute("onSendMultipartTextSms", arg0, arg1, arg2, arg3); + } + /// /// /// /// @@ -171,6 +209,18 @@ public void OnSendMultipartTextSms(Java.Util.List arg0, int ar IExecute("onSendMultipartTextSms", arg0, arg1, arg2, arg3, arg4); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnSendTextSms(Java.Lang.String arg0, int arg1, Java.Lang.String arg2, Android.Service.Carrier.CarrierMessagingService.ResultCallback arg3) + { + IExecute("onSendTextSms", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierService.cs b/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierService.cs index d39259582..ed8151285 100644 --- a/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierService.cs +++ b/src/net/Netdroid/Generated/Android/Service/Carrier/CarrierService.cs @@ -52,6 +52,16 @@ public partial class CarrierService #region Instance methods /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.PersistableBundle OnLoadConfig(Android.Service.Carrier.CarrierIdentifier arg0) + { + return IExecuteWithSignature("onLoadConfig", "(Landroid/service/carrier/CarrierIdentifier;)Landroid/os/PersistableBundle;", arg0); + } + /// /// /// /// @@ -62,6 +72,15 @@ public Android.Os.PersistableBundle OnLoadConfig(int arg0, Android.Service.Carri return IExecute("onLoadConfig", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void NotifyCarrierNetworkChange(bool arg0) + { + IExecuteWithSignature("notifyCarrierNetworkChange", "(Z)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Chooser/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Service/Chooser/AllPackageClasses.cs index 8d6ad61d2..8803e69f9 100644 --- a/src/net/Netdroid/Generated/Android/Service/Chooser/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Service/Chooser/AllPackageClasses.cs @@ -114,6 +114,98 @@ public Builder(params object[] args) : base(args) { } } #endregion + #region ChooserTarget + /// + /// + /// + [System.Obsolete()] + public partial class ChooserTarget : Android.Os.Parcelable + { + const string _bridgeClassName = "android.service.chooser.ChooserTarget"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ChooserTarget() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ChooserTarget(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region ChooserTargetService + /// + /// + /// + [System.Obsolete()] + public partial class ChooserTargetService : Android.App.Service + { + const string _bridgeClassName = "android.service.chooser.ChooserTargetService"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ChooserTargetService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ChooserTargetService() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ChooserTargetService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ChooserTargetService(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTarget.cs b/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTarget.cs new file mode 100644 index 000000000..cd2d17f6d --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTarget.cs @@ -0,0 +1,137 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Service.Chooser +{ + #region ChooserTarget + public partial class ChooserTarget + { + #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public ChooserTarget(Java.Lang.CharSequence arg0, Android.Graphics.Drawable.Icon arg1, float arg2, Android.Content.ComponentName arg3, Android.Os.Bundle arg4) + : base(arg0, arg1, arg2, arg3, arg4) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Android.Content.ComponentName ComponentName + { + get { return IExecuteWithSignature("getComponentName", "()Landroid/content/ComponentName;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Graphics.Drawable.Icon Icon + { + get { return IExecuteWithSignature("getIcon", "()Landroid/graphics/drawable/Icon;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Os.Bundle IntentExtras + { + get { return IExecuteWithSignature("getIntentExtras", "()Landroid/os/Bundle;"); } + } + /// + /// + /// + [System.Obsolete()] + public float Score + { + get { return IExecuteWithSignature("getScore", "()F"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Title + { + get { return IExecuteWithSignature("getTitle", "()Ljava/lang/CharSequence;"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTargetService.cs b/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTargetService.cs new file mode 100644 index 000000000..384622086 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Service/Chooser/ChooserTargetService.cs @@ -0,0 +1,90 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Service.Chooser +{ + #region ChooserTargetService + public partial class ChooserTargetService + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String BIND_PERMISSION { get { if (!_BIND_PERMISSIONReady) { _BIND_PERMISSIONContent = SGetField(LocalBridgeClazz, "BIND_PERMISSION"); _BIND_PERMISSIONReady = true; } return _BIND_PERMISSIONContent; } } + private static Java.Lang.String _BIND_PERMISSIONContent = default; + private static bool _BIND_PERMISSIONReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String META_DATA_NAME { get { if (!_META_DATA_NAMEReady) { _META_DATA_NAMEContent = SGetField(LocalBridgeClazz, "META_DATA_NAME"); _META_DATA_NAMEReady = true; } return _META_DATA_NAMEContent; } } + private static Java.Lang.String _META_DATA_NAMEContent = default; + private static bool _META_DATA_NAMEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SERVICE_INTERFACE { get { if (!_SERVICE_INTERFACEReady) { _SERVICE_INTERFACEContent = SGetField(LocalBridgeClazz, "SERVICE_INTERFACE"); _SERVICE_INTERFACEReady = true; } return _SERVICE_INTERFACEContent; } } + private static Java.Lang.String _SERVICE_INTERFACEContent = default; + private static bool _SERVICE_INTERFACEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.List OnGetChooserTargets(Android.Content.ComponentName arg0, Android.Content.IntentFilter arg1) + { + return IExecute>("onGetChooserTargets", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Service/Notification/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Service/Notification/AllPackageClasses.cs index a68b0778c..95f060397 100644 --- a/src/net/Netdroid/Generated/Android/Service/Notification/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Service/Notification/AllPackageClasses.cs @@ -70,6 +70,53 @@ public Condition(params object[] args) : base(args) { } } #endregion + #region ConditionProviderService + /// + /// + /// + [System.Obsolete()] + public partial class ConditionProviderService : Android.App.Service + { + const string _bridgeClassName = "android.service.notification.ConditionProviderService"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ConditionProviderService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ConditionProviderService() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ConditionProviderService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ConditionProviderService(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region NotificationListenerService /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Notification/ConditionProviderService.cs b/src/net/Netdroid/Generated/Android/Service/Notification/ConditionProviderService.cs new file mode 100644 index 000000000..25d944078 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Service/Notification/ConditionProviderService.cs @@ -0,0 +1,163 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Service.Notification +{ + #region ConditionProviderService + public partial class ConditionProviderService + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_RULE_ID { get { if (!_EXTRA_RULE_IDReady) { _EXTRA_RULE_IDContent = SGetField(LocalBridgeClazz, "EXTRA_RULE_ID"); _EXTRA_RULE_IDReady = true; } return _EXTRA_RULE_IDContent; } } + private static Java.Lang.String _EXTRA_RULE_IDContent = default; + private static bool _EXTRA_RULE_IDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String META_DATA_CONFIGURATION_ACTIVITY { get { if (!_META_DATA_CONFIGURATION_ACTIVITYReady) { _META_DATA_CONFIGURATION_ACTIVITYContent = SGetField(LocalBridgeClazz, "META_DATA_CONFIGURATION_ACTIVITY"); _META_DATA_CONFIGURATION_ACTIVITYReady = true; } return _META_DATA_CONFIGURATION_ACTIVITYContent; } } + private static Java.Lang.String _META_DATA_CONFIGURATION_ACTIVITYContent = default; + private static bool _META_DATA_CONFIGURATION_ACTIVITYReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String META_DATA_RULE_INSTANCE_LIMIT { get { if (!_META_DATA_RULE_INSTANCE_LIMITReady) { _META_DATA_RULE_INSTANCE_LIMITContent = SGetField(LocalBridgeClazz, "META_DATA_RULE_INSTANCE_LIMIT"); _META_DATA_RULE_INSTANCE_LIMITReady = true; } return _META_DATA_RULE_INSTANCE_LIMITContent; } } + private static Java.Lang.String _META_DATA_RULE_INSTANCE_LIMITContent = default; + private static bool _META_DATA_RULE_INSTANCE_LIMITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String META_DATA_RULE_TYPE { get { if (!_META_DATA_RULE_TYPEReady) { _META_DATA_RULE_TYPEContent = SGetField(LocalBridgeClazz, "META_DATA_RULE_TYPE"); _META_DATA_RULE_TYPEReady = true; } return _META_DATA_RULE_TYPEContent; } } + private static Java.Lang.String _META_DATA_RULE_TYPEContent = default; + private static bool _META_DATA_RULE_TYPEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String SERVICE_INTERFACE { get { if (!_SERVICE_INTERFACEReady) { _SERVICE_INTERFACEContent = SGetField(LocalBridgeClazz, "SERVICE_INTERFACE"); _SERVICE_INTERFACEReady = true; } return _SERVICE_INTERFACEContent; } } + private static Java.Lang.String _SERVICE_INTERFACEContent = default; + private static bool _SERVICE_INTERFACEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + [System.Obsolete()] + public static void RequestRebind(Android.Content.ComponentName arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "requestRebind", "(Landroid/content/ComponentName;)V", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public void OnConnected() + { + IExecuteWithSignature("onConnected", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnSubscribe(Android.Net.Uri arg0) + { + IExecuteWithSignature("onSubscribe", "(Landroid/net/Uri;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnUnsubscribe(Android.Net.Uri arg0) + { + IExecuteWithSignature("onUnsubscribe", "(Landroid/net/Uri;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void NotifyCondition(Android.Service.Notification.Condition arg0) + { + IExecuteWithSignature("notifyCondition", "(Landroid/service/notification/Condition;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public void NotifyConditions(params Android.Service.Notification.Condition[] arg0) + { + if (arg0.Length == 0) IExecuteWithSignature("notifyConditions", "([Landroid/service/notification/Condition;)V"); else IExecuteWithSignature("notifyConditions", "([Landroid/service/notification/Condition;)V", arg0); + } + /// + /// + /// + [System.Obsolete()] + public void RequestUnbind() + { + IExecuteWithSignature("requestUnbind", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void OnRequestConditions(int arg0) + { + IExecuteWithSignature("onRequestConditions", "(I)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Service/Notification/NotificationListenerService.cs b/src/net/Netdroid/Generated/Android/Service/Notification/NotificationListenerService.cs index fa1ee302b..47a19f5e6 100644 --- a/src/net/Netdroid/Generated/Android/Service/Notification/NotificationListenerService.cs +++ b/src/net/Netdroid/Generated/Android/Service/Notification/NotificationListenerService.cs @@ -266,6 +266,20 @@ public partial class NotificationListenerService private static int _REASON_USER_STOPPEDContent = default; private static bool _REASON_USER_STOPPEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int SUPPRESSED_EFFECT_SCREEN_OFF { get { if (!_SUPPRESSED_EFFECT_SCREEN_OFFReady) { _SUPPRESSED_EFFECT_SCREEN_OFFContent = SGetField(LocalBridgeClazz, "SUPPRESSED_EFFECT_SCREEN_OFF"); _SUPPRESSED_EFFECT_SCREEN_OFFReady = true; } return _SUPPRESSED_EFFECT_SCREEN_OFFContent; } } + private static int _SUPPRESSED_EFFECT_SCREEN_OFFContent = default; + private static bool _SUPPRESSED_EFFECT_SCREEN_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int SUPPRESSED_EFFECT_SCREEN_ON { get { if (!_SUPPRESSED_EFFECT_SCREEN_ONReady) { _SUPPRESSED_EFFECT_SCREEN_ONContent = SGetField(LocalBridgeClazz, "SUPPRESSED_EFFECT_SCREEN_ON"); _SUPPRESSED_EFFECT_SCREEN_ONReady = true; } return _SUPPRESSED_EFFECT_SCREEN_ONContent; } } + private static int _SUPPRESSED_EFFECT_SCREEN_ONContent = default; + private static bool _SUPPRESSED_EFFECT_SCREEN_ONReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_SETTINGS_HOME { get { if (!_ACTION_SETTINGS_HOMEReady) { _ACTION_SETTINGS_HOMEContent = SGetField(LocalBridgeClazz, "ACTION_SETTINGS_HOME"); _ACTION_SETTINGS_HOMEReady = true; } return _ACTION_SETTINGS_HOMEContent; } } @@ -391,6 +405,17 @@ public void CancelAllNotifications() IExecuteWithSignature("cancelAllNotifications", "()V"); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void CancelNotification(Java.Lang.String arg0, Java.Lang.String arg1, int arg2) + { + IExecute("cancelNotification", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Notification/StatusBarNotification.cs b/src/net/Netdroid/Generated/Android/Service/Notification/StatusBarNotification.cs index 7fd6413b8..de6b02fcf 100644 --- a/src/net/Netdroid/Generated/Android/Service/Notification/StatusBarNotification.cs +++ b/src/net/Netdroid/Generated/Android/Service/Notification/StatusBarNotification.cs @@ -37,6 +37,24 @@ public StatusBarNotification(Android.Os.Parcel arg0) : base(arg0) { } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public StatusBarNotification(Java.Lang.String arg0, Java.Lang.String arg1, int arg2, Java.Lang.String arg3, int arg4, int arg5, int arg6, Android.App.Notification arg7, Android.Os.UserHandle arg8, long arg9) + : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) + { + } #endregion @@ -137,6 +155,14 @@ public Android.Os.UserHandle User get { return IExecuteWithSignature("getUser", "()Landroid/os/UserHandle;"); } } /// + /// + /// + [System.Obsolete()] + public int UserId + { + get { return IExecuteWithSignature("getUserId", "()I"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Quicksettings/TileService.cs b/src/net/Netdroid/Generated/Android/Service/Quicksettings/TileService.cs index b6b66ac15..c85be8f8b 100644 --- a/src/net/Netdroid/Generated/Android/Service/Quicksettings/TileService.cs +++ b/src/net/Netdroid/Generated/Android/Service/Quicksettings/TileService.cs @@ -118,6 +118,15 @@ public void StartActivityAndCollapse(Android.App.PendingIntent arg0) IExecuteWithSignature("startActivityAndCollapse", "(Landroid/app/PendingIntent;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void StartActivityAndCollapse(Android.Content.Intent arg0) + { + IExecuteWithSignature("startActivityAndCollapse", "(Landroid/content/Intent;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Voice/VoiceInteractionSession.cs b/src/net/Netdroid/Generated/Android/Service/Voice/VoiceInteractionSession.cs index e66b8829a..75a61be21 100644 --- a/src/net/Netdroid/Generated/Android/Service/Voice/VoiceInteractionSession.cs +++ b/src/net/Netdroid/Generated/Android/Service/Voice/VoiceInteractionSession.cs @@ -354,6 +354,17 @@ public void OnDirectActionsInvalidated(Android.Service.Voice.VoiceInteractionSes IExecuteWithSignature("onDirectActionsInvalidated", "(Landroid/service/voice/VoiceInteractionSession$ActivityId;)V", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnHandleAssist(Android.Os.Bundle arg0, Android.App.Assist.AssistStructure arg1, Android.App.Assist.AssistContent arg2) + { + IExecute("onHandleAssist", arg0, arg1, arg2); + } + /// /// /// /// @@ -362,6 +373,19 @@ public void OnHandleAssist(Android.Service.Voice.VoiceInteractionSession.AssistS IExecuteWithSignature("onHandleAssist", "(Landroid/service/voice/VoiceInteractionSession$AssistState;)V", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void OnHandleAssistSecondary(Android.Os.Bundle arg0, Android.App.Assist.AssistStructure arg1, Android.App.Assist.AssistContent arg2, int arg3, int arg4) + { + IExecute("onHandleAssistSecondary", arg0, arg1, arg2, arg3, arg4); + } + /// /// /// /// @@ -565,6 +589,14 @@ public partial class AbortVoiceRequest #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Message + { + get { return IExecuteWithSignature("getMessage", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public Android.App.VoiceInteractor.Prompt VoicePrompt @@ -777,6 +809,14 @@ public partial class CompleteVoiceRequest #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Message + { + get { return IExecuteWithSignature("getMessage", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public Android.App.VoiceInteractor.Prompt VoicePrompt @@ -823,6 +863,14 @@ public partial class ConfirmationRequest #region Instance methods /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Prompt + { + get { return IExecuteWithSignature("getPrompt", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public Android.App.VoiceInteractor.Prompt VoicePrompt @@ -942,6 +990,14 @@ public Android.App.VoiceInteractor.PickOptionRequest.Option[] Options get { return IExecuteWithSignatureArray("getOptions", "()[Landroid/app/VoiceInteractor$PickOptionRequest$Option;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Prompt + { + get { return IExecuteWithSignature("getPrompt", "()Ljava/lang/CharSequence;"); } + } + /// /// /// public Android.App.VoiceInteractor.Prompt VoicePrompt diff --git a/src/net/Netdroid/Generated/Android/Speech/RecognizerIntent.cs b/src/net/Netdroid/Generated/Android/Speech/RecognizerIntent.cs index 23749eb30..68f7d45ce 100644 --- a/src/net/Netdroid/Generated/Android/Speech/RecognizerIntent.cs +++ b/src/net/Netdroid/Generated/Android/Speech/RecognizerIntent.cs @@ -98,6 +98,13 @@ public partial class RecognizerIntent private static Java.Lang.String _DETAILS_META_DATAContent = default; private static bool _DETAILS_META_DATAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_AUDIO_INJECT_SOURCE { get { if (!_EXTRA_AUDIO_INJECT_SOURCEReady) { _EXTRA_AUDIO_INJECT_SOURCEContent = SGetField(LocalBridgeClazz, "EXTRA_AUDIO_INJECT_SOURCE"); _EXTRA_AUDIO_INJECT_SOURCEReady = true; } return _EXTRA_AUDIO_INJECT_SOURCEContent; } } + private static Java.Lang.String _EXTRA_AUDIO_INJECT_SOURCEContent = default; + private static bool _EXTRA_AUDIO_INJECT_SOURCEReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_AUDIO_SOURCE { get { if (!_EXTRA_AUDIO_SOURCEReady) { _EXTRA_AUDIO_SOURCEContent = SGetField(LocalBridgeClazz, "EXTRA_AUDIO_SOURCE"); _EXTRA_AUDIO_SOURCEReady = true; } return _EXTRA_AUDIO_SOURCEContent; } } diff --git a/src/net/Netdroid/Generated/Android/Speech/Tts/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Speech/Tts/AllPackageClasses.cs index adff7f57e..5b15522b1 100644 --- a/src/net/Netdroid/Generated/Android/Speech/Tts/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Speech/Tts/AllPackageClasses.cs @@ -303,6 +303,66 @@ protected override void InitializeHandlers() { } } #endregion + #region OnUtteranceCompletedListener + /// + /// + /// + [System.Obsolete()] + public partial class OnUtteranceCompletedListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public OnUtteranceCompletedListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.speech.tts.OnUtteranceCompletedListener"; + + + // TODO: complete the class + + } + #endregion + + #region OnUtteranceCompletedListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class OnUtteranceCompletedListenerDirect : OnUtteranceCompletedListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.speech.tts.TextToSpeech$OnUtteranceCompletedListener"; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + } + #endregion + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Speech/Tts/SynthesisRequest.cs b/src/net/Netdroid/Generated/Android/Speech/Tts/SynthesisRequest.cs index 7c80e4f29..48fa336a8 100644 --- a/src/net/Netdroid/Generated/Android/Speech/Tts/SynthesisRequest.cs +++ b/src/net/Netdroid/Generated/Android/Speech/Tts/SynthesisRequest.cs @@ -113,6 +113,14 @@ public int SpeechRate get { return IExecuteWithSignature("getSpeechRate", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Text + { + get { return IExecuteWithSignature("getText", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Lang.String Variant diff --git a/src/net/Netdroid/Generated/Android/Speech/Tts/TextToSpeech.cs b/src/net/Netdroid/Generated/Android/Speech/Tts/TextToSpeech.cs index 6490283d6..79b3fa908 100644 --- a/src/net/Netdroid/Generated/Android/Speech/Tts/TextToSpeech.cs +++ b/src/net/Netdroid/Generated/Android/Speech/Tts/TextToSpeech.cs @@ -194,6 +194,14 @@ public Java.Lang.String DefaultEngine get { return IExecuteWithSignature("getDefaultEngine", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.Locale DefaultLanguage + { + get { return IExecuteWithSignature("getDefaultLanguage", "()Ljava/util/Locale;"); } + } + /// /// /// public Android.Speech.Tts.Voice DefaultVoice @@ -208,6 +216,14 @@ public Java.Util.List Engines get { return IExecuteWithSignature>("getEngines", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Util.Locale Language + { + get { return IExecuteWithSignature("getLanguage", "()Ljava/util/Locale;"); } + } + /// /// /// public Android.Speech.Tts.Voice Voice @@ -222,6 +238,15 @@ public Java.Util.Set Voices get { return IExecuteWithSignature>("getVoices", "()Ljava/util/Set;"); } } /// + /// + /// + /// + [System.Obsolete()] + public bool AreDefaultsEnforced() + { + return IExecuteWithSignature("areDefaultsEnforced", "()Z"); + } + /// /// /// /// @@ -261,6 +286,17 @@ public int AddEarcon(Java.Lang.String arg0, Java.Lang.String arg1, int arg2) return IExecute("addEarcon", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int AddEarcon(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("addEarcon", arg0, arg1); + } + /// /// /// /// @@ -334,6 +370,30 @@ public int PlayEarcon(Java.Lang.String arg0, int arg1, Android.Os.Bundle arg2, J return IExecute("playEarcon", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int PlayEarcon(Java.Lang.String arg0, int arg1, Java.Util.HashMap arg2) + { + return IExecute("playEarcon", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int PlaySilence(long arg0, int arg1, Java.Util.HashMap arg2) + { + return IExecute("playSilence", arg0, arg1, arg2); + } + /// /// /// /// @@ -354,6 +414,16 @@ public int SetAudioAttributes(Android.Media.AudioAttributes arg0) return IExecuteWithSignature("setAudioAttributes", "(Landroid/media/AudioAttributes;)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int SetEngineByPackageName(Java.Lang.String arg0) + { + return IExecuteWithSignature("setEngineByPackageName", "(Ljava/lang/String;)I", arg0); + } + /// /// /// /// @@ -363,6 +433,16 @@ public int SetLanguage(Java.Util.Locale arg0) return IExecuteWithSignature("setLanguage", "(Ljava/util/Locale;)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int SetOnUtteranceCompletedListener(Android.Speech.Tts.TextToSpeech.OnUtteranceCompletedListener arg0) + { + return IExecuteWithSignature("setOnUtteranceCompletedListener", "(Landroid/speech/tts/TextToSpeech$OnUtteranceCompletedListener;)I", arg0); + } + /// /// /// /// @@ -411,6 +491,18 @@ public int Speak(Java.Lang.CharSequence arg0, int arg1, Android.Os.Bundle arg2, return IExecute("speak", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int Speak(Java.Lang.String arg0, int arg1, Java.Util.HashMap arg2) + { + return IExecute("speak", arg0, arg1, arg2); + } + /// /// /// /// @@ -443,6 +535,28 @@ public int SynthesizeToFile(Java.Lang.CharSequence arg0, Android.Os.Bundle arg1, return IExecute("synthesizeToFile", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public int SynthesizeToFile(Java.Lang.String arg0, Java.Util.HashMap arg1, Java.Lang.String arg2) + { + return IExecute("synthesizeToFile", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.Set GetFeatures(Java.Util.Locale arg0) + { + return IExecuteWithSignature>("getFeatures", "(Ljava/util/Locale;)Ljava/util/Set;", arg0); + } + /// /// /// public void Shutdown() @@ -474,12 +588,33 @@ public Engine(Android.Speech.Tts.TextToSpeech arg0) #region Fields /// + /// + /// + [System.Obsolete()] + public static int CHECK_VOICE_DATA_BAD_DATA { get { if (!_CHECK_VOICE_DATA_BAD_DATAReady) { _CHECK_VOICE_DATA_BAD_DATAContent = SGetField(LocalBridgeClazz, "CHECK_VOICE_DATA_BAD_DATA"); _CHECK_VOICE_DATA_BAD_DATAReady = true; } return _CHECK_VOICE_DATA_BAD_DATAContent; } } + private static int _CHECK_VOICE_DATA_BAD_DATAContent = default; + private static bool _CHECK_VOICE_DATA_BAD_DATAReady = false; // this is used because in case of generics + /// /// /// public static int CHECK_VOICE_DATA_FAIL { get { if (!_CHECK_VOICE_DATA_FAILReady) { _CHECK_VOICE_DATA_FAILContent = SGetField(LocalBridgeClazz, "CHECK_VOICE_DATA_FAIL"); _CHECK_VOICE_DATA_FAILReady = true; } return _CHECK_VOICE_DATA_FAILContent; } } private static int _CHECK_VOICE_DATA_FAILContent = default; private static bool _CHECK_VOICE_DATA_FAILReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CHECK_VOICE_DATA_MISSING_DATA { get { if (!_CHECK_VOICE_DATA_MISSING_DATAReady) { _CHECK_VOICE_DATA_MISSING_DATAContent = SGetField(LocalBridgeClazz, "CHECK_VOICE_DATA_MISSING_DATA"); _CHECK_VOICE_DATA_MISSING_DATAReady = true; } return _CHECK_VOICE_DATA_MISSING_DATAContent; } } + private static int _CHECK_VOICE_DATA_MISSING_DATAContent = default; + private static bool _CHECK_VOICE_DATA_MISSING_DATAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CHECK_VOICE_DATA_MISSING_VOLUME { get { if (!_CHECK_VOICE_DATA_MISSING_VOLUMEReady) { _CHECK_VOICE_DATA_MISSING_VOLUMEContent = SGetField(LocalBridgeClazz, "CHECK_VOICE_DATA_MISSING_VOLUME"); _CHECK_VOICE_DATA_MISSING_VOLUMEReady = true; } return _CHECK_VOICE_DATA_MISSING_VOLUMEContent; } } + private static int _CHECK_VOICE_DATA_MISSING_VOLUMEContent = default; + private static bool _CHECK_VOICE_DATA_MISSING_VOLUMEReady = false; // this is used because in case of generics + /// /// /// public static int CHECK_VOICE_DATA_PASS { get { if (!_CHECK_VOICE_DATA_PASSReady) { _CHECK_VOICE_DATA_PASSContent = SGetField(LocalBridgeClazz, "CHECK_VOICE_DATA_PASS"); _CHECK_VOICE_DATA_PASSReady = true; } return _CHECK_VOICE_DATA_PASSContent; } } @@ -522,30 +657,79 @@ public Engine(Android.Speech.Tts.TextToSpeech arg0) private static Java.Lang.String _EXTRA_AVAILABLE_VOICESContent = default; private static bool _EXTRA_AVAILABLE_VOICESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_CHECK_VOICE_DATA_FOR { get { if (!_EXTRA_CHECK_VOICE_DATA_FORReady) { _EXTRA_CHECK_VOICE_DATA_FORContent = SGetField(LocalBridgeClazz, "EXTRA_CHECK_VOICE_DATA_FOR"); _EXTRA_CHECK_VOICE_DATA_FORReady = true; } return _EXTRA_CHECK_VOICE_DATA_FORContent; } } + private static Java.Lang.String _EXTRA_CHECK_VOICE_DATA_FORContent = default; + private static bool _EXTRA_CHECK_VOICE_DATA_FORReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_SAMPLE_TEXT { get { if (!_EXTRA_SAMPLE_TEXTReady) { _EXTRA_SAMPLE_TEXTContent = SGetField(LocalBridgeClazz, "EXTRA_SAMPLE_TEXT"); _EXTRA_SAMPLE_TEXTReady = true; } return _EXTRA_SAMPLE_TEXTContent; } } private static Java.Lang.String _EXTRA_SAMPLE_TEXTContent = default; private static bool _EXTRA_SAMPLE_TEXTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_TTS_DATA_INSTALLED { get { if (!_EXTRA_TTS_DATA_INSTALLEDReady) { _EXTRA_TTS_DATA_INSTALLEDContent = SGetField(LocalBridgeClazz, "EXTRA_TTS_DATA_INSTALLED"); _EXTRA_TTS_DATA_INSTALLEDReady = true; } return _EXTRA_TTS_DATA_INSTALLEDContent; } } + private static Java.Lang.String _EXTRA_TTS_DATA_INSTALLEDContent = default; + private static bool _EXTRA_TTS_DATA_INSTALLEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_UNAVAILABLE_VOICES { get { if (!_EXTRA_UNAVAILABLE_VOICESReady) { _EXTRA_UNAVAILABLE_VOICESContent = SGetField(LocalBridgeClazz, "EXTRA_UNAVAILABLE_VOICES"); _EXTRA_UNAVAILABLE_VOICESReady = true; } return _EXTRA_UNAVAILABLE_VOICESContent; } } private static Java.Lang.String _EXTRA_UNAVAILABLE_VOICESContent = default; private static bool _EXTRA_UNAVAILABLE_VOICESReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_VOICE_DATA_FILES { get { if (!_EXTRA_VOICE_DATA_FILESReady) { _EXTRA_VOICE_DATA_FILESContent = SGetField(LocalBridgeClazz, "EXTRA_VOICE_DATA_FILES"); _EXTRA_VOICE_DATA_FILESReady = true; } return _EXTRA_VOICE_DATA_FILESContent; } } + private static Java.Lang.String _EXTRA_VOICE_DATA_FILESContent = default; + private static bool _EXTRA_VOICE_DATA_FILESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_VOICE_DATA_FILES_INFO { get { if (!_EXTRA_VOICE_DATA_FILES_INFOReady) { _EXTRA_VOICE_DATA_FILES_INFOContent = SGetField(LocalBridgeClazz, "EXTRA_VOICE_DATA_FILES_INFO"); _EXTRA_VOICE_DATA_FILES_INFOReady = true; } return _EXTRA_VOICE_DATA_FILES_INFOContent; } } + private static Java.Lang.String _EXTRA_VOICE_DATA_FILES_INFOContent = default; + private static bool _EXTRA_VOICE_DATA_FILES_INFOReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_VOICE_DATA_ROOT_DIRECTORY { get { if (!_EXTRA_VOICE_DATA_ROOT_DIRECTORYReady) { _EXTRA_VOICE_DATA_ROOT_DIRECTORYContent = SGetField(LocalBridgeClazz, "EXTRA_VOICE_DATA_ROOT_DIRECTORY"); _EXTRA_VOICE_DATA_ROOT_DIRECTORYReady = true; } return _EXTRA_VOICE_DATA_ROOT_DIRECTORYContent; } } + private static Java.Lang.String _EXTRA_VOICE_DATA_ROOT_DIRECTORYContent = default; + private static bool _EXTRA_VOICE_DATA_ROOT_DIRECTORYReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String INTENT_ACTION_TTS_SERVICE { get { if (!_INTENT_ACTION_TTS_SERVICEReady) { _INTENT_ACTION_TTS_SERVICEContent = SGetField(LocalBridgeClazz, "INTENT_ACTION_TTS_SERVICE"); _INTENT_ACTION_TTS_SERVICEReady = true; } return _INTENT_ACTION_TTS_SERVICEContent; } } private static Java.Lang.String _INTENT_ACTION_TTS_SERVICEContent = default; private static bool _INTENT_ACTION_TTS_SERVICEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_FEATURE_EMBEDDED_SYNTHESIS { get { if (!_KEY_FEATURE_EMBEDDED_SYNTHESISReady) { _KEY_FEATURE_EMBEDDED_SYNTHESISContent = SGetField(LocalBridgeClazz, "KEY_FEATURE_EMBEDDED_SYNTHESIS"); _KEY_FEATURE_EMBEDDED_SYNTHESISReady = true; } return _KEY_FEATURE_EMBEDDED_SYNTHESISContent; } } + private static Java.Lang.String _KEY_FEATURE_EMBEDDED_SYNTHESISContent = default; + private static bool _KEY_FEATURE_EMBEDDED_SYNTHESISReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_FEATURE_NETWORK_RETRIES_COUNT { get { if (!_KEY_FEATURE_NETWORK_RETRIES_COUNTReady) { _KEY_FEATURE_NETWORK_RETRIES_COUNTContent = SGetField(LocalBridgeClazz, "KEY_FEATURE_NETWORK_RETRIES_COUNT"); _KEY_FEATURE_NETWORK_RETRIES_COUNTReady = true; } return _KEY_FEATURE_NETWORK_RETRIES_COUNTContent; } } private static Java.Lang.String _KEY_FEATURE_NETWORK_RETRIES_COUNTContent = default; private static bool _KEY_FEATURE_NETWORK_RETRIES_COUNTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_FEATURE_NETWORK_SYNTHESIS { get { if (!_KEY_FEATURE_NETWORK_SYNTHESISReady) { _KEY_FEATURE_NETWORK_SYNTHESISContent = SGetField(LocalBridgeClazz, "KEY_FEATURE_NETWORK_SYNTHESIS"); _KEY_FEATURE_NETWORK_SYNTHESISReady = true; } return _KEY_FEATURE_NETWORK_SYNTHESISContent; } } + private static Java.Lang.String _KEY_FEATURE_NETWORK_SYNTHESISContent = default; + private static bool _KEY_FEATURE_NETWORK_SYNTHESISReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_FEATURE_NETWORK_TIMEOUT_MS { get { if (!_KEY_FEATURE_NETWORK_TIMEOUT_MSReady) { _KEY_FEATURE_NETWORK_TIMEOUT_MSContent = SGetField(LocalBridgeClazz, "KEY_FEATURE_NETWORK_TIMEOUT_MS"); _KEY_FEATURE_NETWORK_TIMEOUT_MSReady = true; } return _KEY_FEATURE_NETWORK_TIMEOUT_MSContent; } } @@ -754,6 +938,107 @@ public override void OnInit(int arg0) } #endregion + #region OnUtteranceCompletedListener + public partial class OnUtteranceCompletedListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onUtteranceCompleted", new System.EventHandler>>(OnUtteranceCompletedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnUtteranceCompleted { get; set; } = null; + + void OnUtteranceCompletedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnUtteranceCompleted != null) ? OnOnUtteranceCompleted : OnUtteranceCompleted; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnUtteranceCompleted(Java.Lang.String arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OnUtteranceCompletedListenerDirect + public partial class OnUtteranceCompletedListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnUtteranceCompleted(Java.Lang.String arg0) + { + IExecuteWithSignature("onUtteranceCompleted", "(Ljava/lang/String;)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion diff --git a/src/net/Netdroid/Generated/Android/Speech/Tts/UtteranceProgressListener.cs b/src/net/Netdroid/Generated/Android/Speech/Tts/UtteranceProgressListener.cs index d587c5df2..e3d17ab23 100644 --- a/src/net/Netdroid/Generated/Android/Speech/Tts/UtteranceProgressListener.cs +++ b/src/net/Netdroid/Generated/Android/Speech/Tts/UtteranceProgressListener.cs @@ -51,10 +51,11 @@ public partial class UtteranceProgressListener protected virtual void InitializeHandlers() { AddEventHandler("onDone", new System.EventHandler>>(OnDoneEventHandler)); + AddEventHandler("onError", new System.EventHandler>>(OnErrorEventHandler)); AddEventHandler("onStart", new System.EventHandler>>(OnStartEventHandler)); AddEventHandler("onAudioAvailable", new System.EventHandler>>(OnAudioAvailableEventHandler)); AddEventHandler("onBeginSynthesis", new System.EventHandler>>(OnBeginSynthesisEventHandler)); - AddEventHandler("onError", new System.EventHandler>>(OnErrorEventHandler)); + AddEventHandler("onError2", new System.EventHandler>>(OnError2EventHandler)); AddEventHandler("onRangeStart", new System.EventHandler>>(OnRangeStartEventHandler)); AddEventHandler("onStop", new System.EventHandler>>(OnStopEventHandler)); @@ -81,6 +82,28 @@ public virtual void OnDone(Java.Lang.String arg0) } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnError { get; set; } = null; + + void OnErrorEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnError != null) ? OnOnError : OnError; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnError(Java.Lang.String arg0) + { + + } + /// /// Handler for /// @@ -151,12 +174,12 @@ public virtual void OnBeginSynthesis(Java.Lang.String arg0, int arg1, int arg2, /// /// Handler for /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnOnError { get; set; } = null; + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnError2 { get; set; } = null; - void OnErrorEventHandler(object sender, CLRListenerEventArgs> data) + void OnError2EventHandler(object sender, CLRListenerEventArgs> data) { - var methodToExecute = (OnOnError != null) ? OnOnError : OnError; + var methodToExecute = (OnOnError2 != null) ? OnOnError2 : OnError; methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); } @@ -255,6 +278,15 @@ public override void OnDone(Java.Lang.String arg0) IExecuteWithSignature("onDone", "(Ljava/lang/String;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public override void OnError(Java.Lang.String arg0) + { + IExecuteWithSignature("onError", "(Ljava/lang/String;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/SystemNs/Os.cs b/src/net/Netdroid/Generated/Android/SystemNs/Os.cs index 6530c8ff2..67ec6f556 100644 --- a/src/net/Netdroid/Generated/Android/SystemNs/Os.cs +++ b/src/net/Netdroid/Generated/Android/SystemNs/Os.cs @@ -42,25 +42,28 @@ public partial class Os #region Static methods /// - /// + /// /// + [System.Obsolete()] public static int Egid { - get { return SExecuteWithSignature(LocalBridgeClazz, "getegid", "()I"); } + get { return SExecuteWithSignature(LocalBridgeClazz, "getegid", "()I"); } set { SExecuteWithSignature(LocalBridgeClazz, "setegid", "(I)V", value); } } /// - /// + /// /// + [System.Obsolete()] public static int Euid { - get { return SExecuteWithSignature(LocalBridgeClazz, "geteuid", "()I"); } + get { return SExecuteWithSignature(LocalBridgeClazz, "geteuid", "()I"); } set { SExecuteWithSignature(LocalBridgeClazz, "seteuid", "(I)V", value); } } /// - /// + /// /// + [System.Obsolete()] public static int Gid { - get { return SExecuteWithSignature(LocalBridgeClazz, "getgid", "()I"); } + get { return SExecuteWithSignature(LocalBridgeClazz, "getgid", "()I"); } set { SExecuteWithSignature(LocalBridgeClazz, "setgid", "(I)V", value); } } /// /// @@ -84,11 +87,12 @@ public static int Tid get { return SExecuteWithSignature(LocalBridgeClazz, "gettid", "()I"); } } /// - /// + /// /// + [System.Obsolete()] public static int Uid { - get { return SExecuteWithSignature(LocalBridgeClazz, "getuid", "()I"); } + get { return SExecuteWithSignature(LocalBridgeClazz, "getuid", "()I"); } set { SExecuteWithSignature(LocalBridgeClazz, "setuid", "(I)V", value); } } /// /// diff --git a/src/net/Netdroid/Generated/Android/Telecom/Call.cs b/src/net/Netdroid/Generated/Android/Telecom/Call.cs index 56a59b380..1a537570c 100644 --- a/src/net/Netdroid/Generated/Android/Telecom/Call.cs +++ b/src/net/Netdroid/Generated/Android/Telecom/Call.cs @@ -122,6 +122,13 @@ public partial class Call private static int _STATE_SIMULATED_RINGINGContent = default; private static bool _STATE_SIMULATED_RINGINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String AVAILABLE_PHONE_ACCOUNTS { get { if (!_AVAILABLE_PHONE_ACCOUNTSReady) { _AVAILABLE_PHONE_ACCOUNTSContent = SGetField(LocalBridgeClazz, "AVAILABLE_PHONE_ACCOUNTS"); _AVAILABLE_PHONE_ACCOUNTSReady = true; } return _AVAILABLE_PHONE_ACCOUNTSContent; } } + private static Java.Lang.String _AVAILABLE_PHONE_ACCOUNTSContent = default; + private static bool _AVAILABLE_PHONE_ACCOUNTSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EVENT_CLEAR_DIAGNOSTIC_MESSAGE { get { if (!_EVENT_CLEAR_DIAGNOSTIC_MESSAGEReady) { _EVENT_CLEAR_DIAGNOSTIC_MESSAGEContent = SGetField(LocalBridgeClazz, "EVENT_CLEAR_DIAGNOSTIC_MESSAGE"); _EVENT_CLEAR_DIAGNOSTIC_MESSAGEReady = true; } return _EVENT_CLEAR_DIAGNOSTIC_MESSAGEContent; } } @@ -234,6 +241,14 @@ public Java.Lang.String RemainingPostDialSequence get { return IExecuteWithSignature("getRemainingPostDialSequence", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int State + { + get { return IExecuteWithSignature("getState", "()I"); } + } + /// /// /// public Android.Telecom.InCallService.VideoCall VideoCall diff --git a/src/net/Netdroid/Generated/Android/Telecom/Conference.cs b/src/net/Netdroid/Generated/Android/Telecom/Conference.cs index fd63ffdd7..5b4d44598 100644 --- a/src/net/Netdroid/Generated/Android/Telecom/Conference.cs +++ b/src/net/Netdroid/Generated/Android/Telecom/Conference.cs @@ -70,6 +70,14 @@ public static Android.Telecom.Conference CreateFailedConference(Android.Telecom. #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Telecom.CallAudioState CallAudioState + { + get { return IExecuteWithSignature("getCallAudioState", "()Landroid/telecom/CallAudioState;"); } + } + /// /// /// public Java.Util.List ConferenceableConnections @@ -231,6 +239,15 @@ public void SetActive() IExecuteWithSignature("setActive", "()V"); } /// + /// + /// + /// + [System.Obsolete()] + public void SetConnectionStartElapsedRealTime(long arg0) + { + IExecuteWithSignature("setConnectionStartElapsedRealTime", "(J)V", arg0); + } + /// /// /// public void SetDialing() @@ -310,6 +327,15 @@ public void OnAvailableCallEndpointsChanged(Java.Util.List + /// + /// + /// + [System.Obsolete()] + public void OnCallAudioStateChanged(Android.Telecom.CallAudioState arg0) + { + IExecuteWithSignature("onCallAudioStateChanged", "(Landroid/telecom/CallAudioState;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telecom/Connection.cs b/src/net/Netdroid/Generated/Android/Telecom/Connection.cs index 00546ad91..b448f76aa 100644 --- a/src/net/Netdroid/Generated/Android/Telecom/Connection.cs +++ b/src/net/Netdroid/Generated/Android/Telecom/Connection.cs @@ -188,6 +188,13 @@ public partial class Connection private static int _CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTIONContent = default; private static bool _CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTIONReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CAPABILITY_CAN_UPGRADE_TO_VIDEO { get { if (!_CAPABILITY_CAN_UPGRADE_TO_VIDEOReady) { _CAPABILITY_CAN_UPGRADE_TO_VIDEOContent = SGetField(LocalBridgeClazz, "CAPABILITY_CAN_UPGRADE_TO_VIDEO"); _CAPABILITY_CAN_UPGRADE_TO_VIDEOReady = true; } return _CAPABILITY_CAN_UPGRADE_TO_VIDEOContent; } } + private static int _CAPABILITY_CAN_UPGRADE_TO_VIDEOContent = default; + private static bool _CAPABILITY_CAN_UPGRADE_TO_VIDEOReady = false; // this is used because in case of generics + /// /// /// public static int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO { get { if (!_CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIOReady) { _CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIOContent = SGetField(LocalBridgeClazz, "CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO"); _CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIOReady = true; } return _CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIOContent; } } @@ -627,6 +634,14 @@ public bool AudioModeIsVoip get { return IExecuteWithSignature("getAudioModeIsVoip", "()Z"); } set { IExecuteWithSignature("setAudioModeIsVoip", "(Z)V", value); } } /// + /// + /// + [System.Obsolete()] + public Android.Telecom.CallAudioState CallAudioState + { + get { return IExecuteWithSignature("getCallAudioState", "()Landroid/telecom/CallAudioState;"); } + } + /// /// /// public Java.Lang.String CallerDisplayName @@ -837,6 +852,15 @@ public void SetAddress(Android.Net.Uri arg0, int arg1) IExecute("setAddress", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void SetAudioRoute(int arg0) + { + IExecuteWithSignature("setAudioRoute", "(I)V", arg0); + } + /// /// /// /// @@ -982,6 +1006,15 @@ public void OnAvailableCallEndpointsChanged(Java.Util.List + /// + /// + /// + [System.Obsolete()] + public void OnCallAudioStateChanged(Android.Telecom.CallAudioState arg0) + { + IExecuteWithSignature("onCallAudioStateChanged", "(Landroid/telecom/CallAudioState;)V", arg0); + } + /// /// /// /// @@ -1164,6 +1197,15 @@ public void OnUsingAlternativeUi(bool arg0) IExecuteWithSignature("onUsingAlternativeUi", "(Z)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void RequestBluetoothAudio(Android.Bluetooth.BluetoothDevice arg0) + { + IExecuteWithSignature("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telecom/InCallService.cs b/src/net/Netdroid/Generated/Android/Telecom/InCallService.cs index 57a7a1c8b..9cc177fcd 100644 --- a/src/net/Netdroid/Generated/Android/Telecom/InCallService.cs +++ b/src/net/Netdroid/Generated/Android/Telecom/InCallService.cs @@ -52,6 +52,14 @@ public partial class InCallService #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Telecom.CallAudioState CallAudioState + { + get { return IExecuteWithSignature("getCallAudioState", "()Landroid/telecom/CallAudioState;"); } + } + /// /// /// public Java.Util.List Calls @@ -74,6 +82,15 @@ public bool CanAddCall() return IExecuteWithSignature("canAddCall", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public void RequestBluetoothAudio(Android.Bluetooth.BluetoothDevice arg0) + { + IExecuteWithSignature("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", arg0); + } + /// /// /// /// @@ -84,6 +101,15 @@ public void RequestCallEndpointChange(Android.Telecom.CallEndpoint arg0, Java.Ut IExecute("requestCallEndpointChange", arg0, arg1, arg2); } /// + /// + /// + /// + [System.Obsolete()] + public void SetAudioRoute(int arg0) + { + IExecuteWithSignature("setAudioRoute", "(I)V", arg0); + } + /// /// /// /// @@ -116,6 +142,15 @@ public void OnCallAdded(Android.Telecom.Call arg0) IExecuteWithSignature("onCallAdded", "(Landroid/telecom/Call;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void OnCallAudioStateChanged(Android.Telecom.CallAudioState arg0) + { + IExecuteWithSignature("onCallAudioStateChanged", "(Landroid/telecom/CallAudioState;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telecom/TelecomManager.cs b/src/net/Netdroid/Generated/Android/Telecom/TelecomManager.cs index f1d93e2ca..cafc88ccf 100644 --- a/src/net/Netdroid/Generated/Android/Telecom/TelecomManager.cs +++ b/src/net/Netdroid/Generated/Android/Telecom/TelecomManager.cs @@ -146,6 +146,13 @@ public partial class TelecomManager private static Java.Lang.String _ACTION_DEFAULT_DIALER_CHANGEDContent = default; private static bool _ACTION_DEFAULT_DIALER_CHANGEDReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String ACTION_INCOMING_CALL { get { if (!_ACTION_INCOMING_CALLReady) { _ACTION_INCOMING_CALLContent = SGetField(LocalBridgeClazz, "ACTION_INCOMING_CALL"); _ACTION_INCOMING_CALLReady = true; } return _ACTION_INCOMING_CALLContent; } } + private static Java.Lang.String _ACTION_INCOMING_CALLContent = default; + private static bool _ACTION_INCOMING_CALLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String ACTION_PHONE_ACCOUNT_REGISTERED { get { if (!_ACTION_PHONE_ACCOUNT_REGISTEREDReady) { _ACTION_PHONE_ACCOUNT_REGISTEREDContent = SGetField(LocalBridgeClazz, "ACTION_PHONE_ACCOUNT_REGISTERED"); _ACTION_PHONE_ACCOUNT_REGISTEREDReady = true; } return _ACTION_PHONE_ACCOUNT_REGISTEREDContent; } } @@ -493,6 +500,15 @@ public Android.Telecom.PhoneAccountHandle GetSimCallManagerForSubscription(int a return IExecuteWithSignature("getSimCallManagerForSubscription", "(I)Landroid/telecom/PhoneAccountHandle;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool EndCall() + { + return IExecuteWithSignature("endCall", "()Z"); + } + /// /// /// /// @@ -572,6 +588,16 @@ public bool IsVoiceMailNumber(Android.Telecom.PhoneAccountHandle arg0, Java.Lang return IExecute("isVoiceMailNumber", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetLine1Number(Android.Telecom.PhoneAccountHandle arg0) + { + return IExecuteWithSignature("getLine1Number", "(Landroid/telecom/PhoneAccountHandle;)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -591,6 +617,23 @@ public void AcceptHandover(Android.Net.Uri arg0, int arg1, Android.Telecom.Phone IExecute("acceptHandover", arg0, arg1, arg2); } /// + /// + /// + [System.Obsolete()] + public void AcceptRingingCall() + { + IExecuteWithSignature("acceptRingingCall", "()V"); + } + /// + /// + /// + /// + [System.Obsolete()] + public void AcceptRingingCall(int arg0) + { + IExecuteWithSignature("acceptRingingCall", "(I)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Telephony/AllPackageClasses.cs index 138c61745..e046253c4 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/AllPackageClasses.cs @@ -1761,6 +1761,53 @@ public CellInfoWcdma(params object[] args) : base(args) { } } #endregion + #region CellLocation + /// + /// + /// + [System.Obsolete()] + public partial class CellLocation : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.telephony.CellLocation"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("CellLocation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CellLocation() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("CellLocation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public CellLocation(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region CellSignalStrength /// /// @@ -2379,6 +2426,51 @@ public MbmsStreamingSession(params object[] args) : base(args) { } } #endregion + #region NeighboringCellInfo + /// + /// + /// + [System.Obsolete()] + public partial class NeighboringCellInfo : Android.Os.Parcelable + { + const string _bridgeClassName = "android.telephony.NeighboringCellInfo"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public NeighboringCellInfo() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public NeighboringCellInfo(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region NetworkRegistrationInfo /// /// @@ -2599,6 +2691,66 @@ public PhoneNumberUtils(params object[] args) : base(args) { } } #endregion + #region PhoneStateListener + /// + /// + /// + [System.Obsolete()] + public partial class PhoneStateListener : MASES.JCOBridge.C2JBridge.JVMBridgeListener + { + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PhoneStateListener() { InitializeHandlers(); } + + /// + /// + /// + public override string BridgeClassName => "org.mases.netdroid.generated.android.telephony.PhoneStateListener"; + + + // TODO: complete the class + + } + #endregion + + #region PhoneStateListenerDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class PhoneStateListenerDirect : PhoneStateListener + { + /// + /// + /// + public override bool AutoInit => false; + + /// + protected override void InitializeHandlers() { } + + /// + /// + /// + public override string BridgeClassName => "android.telephony.PhoneStateListener"; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + } + #endregion + #region PhysicalChannelConfig /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/CarrierConfigManager.cs b/src/net/Netdroid/Generated/Android/Telephony/CarrierConfigManager.cs index b85b3d53f..4eddbd205 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/CarrierConfigManager.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/CarrierConfigManager.cs @@ -248,6 +248,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_ALWAYS_SHOW_DATA_RAT_ICON_BOOLContent = default; private static bool _KEY_ALWAYS_SHOW_DATA_RAT_ICON_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL { get { if (!_KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLReady) { _KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLContent = SGetField(LocalBridgeClazz, "KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL"); _KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLReady = true; } return _KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLContent; } } + private static Java.Lang.String _KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLContent = default; + private static bool _KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEAN { get { if (!_KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEANReady) { _KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEANContent = SGetField(LocalBridgeClazz, "KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEAN"); _KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEANReady = true; } return _KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEANContent; } } @@ -368,6 +375,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOLContent = default; private static bool _KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS { get { if (!_KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSReady) { _KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS"); _KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSReady = true; } return _KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSContent; } } + private static Java.Lang.String _KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSContent = default; + private static bool _KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY { get { if (!_KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAYReady) { _KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAYContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY"); _KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAYReady = true; } return _KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAYContent; } } @@ -416,6 +430,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INTContent = default; private static bool _KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL { get { if (!_KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLReady) { _KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL"); _KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLReady = true; } return _KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLContent; } } + private static Java.Lang.String _KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLContent = default; + private static bool _KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CARRIER_IMS_GBA_REQUIRED_BOOL { get { if (!_KEY_CARRIER_IMS_GBA_REQUIRED_BOOLReady) { _KEY_CARRIER_IMS_GBA_REQUIRED_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_IMS_GBA_REQUIRED_BOOL"); _KEY_CARRIER_IMS_GBA_REQUIRED_BOOLReady = true; } return _KEY_CARRIER_IMS_GBA_REQUIRED_BOOLContent; } } @@ -548,6 +569,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CARRIER_USSD_METHOD_INTContent = default; private static bool _KEY_CARRIER_USSD_METHOD_INTReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL { get { if (!_KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLReady) { _KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL"); _KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLReady = true; } return _KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLContent; } } + private static Java.Lang.String _KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLContent = default; + private static bool _KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CARRIER_VOLTE_AVAILABLE_BOOL { get { if (!_KEY_CARRIER_VOLTE_AVAILABLE_BOOLReady) { _KEY_CARRIER_VOLTE_AVAILABLE_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VOLTE_AVAILABLE_BOOL"); _KEY_CARRIER_VOLTE_AVAILABLE_BOOLReady = true; } return _KEY_CARRIER_VOLTE_AVAILABLE_BOOLContent; } } @@ -560,6 +588,20 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOLContent = default; private static bool _KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_VOLTE_PROVISIONED_BOOL { get { if (!_KEY_CARRIER_VOLTE_PROVISIONED_BOOLReady) { _KEY_CARRIER_VOLTE_PROVISIONED_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VOLTE_PROVISIONED_BOOL"); _KEY_CARRIER_VOLTE_PROVISIONED_BOOLReady = true; } return _KEY_CARRIER_VOLTE_PROVISIONED_BOOLContent; } } + private static Java.Lang.String _KEY_CARRIER_VOLTE_PROVISIONED_BOOLContent = default; + private static bool _KEY_CARRIER_VOLTE_PROVISIONED_BOOLReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL { get { if (!_KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLReady) { _KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL"); _KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLReady = true; } return _KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLContent; } } + private static Java.Lang.String _KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLContent = default; + private static bool _KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL { get { if (!_KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOLReady) { _KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOLContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL"); _KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOLReady = true; } return _KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOLContent; } } @@ -572,6 +614,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CARRIER_VT_AVAILABLE_BOOLContent = default; private static bool _KEY_CARRIER_VT_AVAILABLE_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CARRIER_VVM_PACKAGE_NAME_STRING { get { if (!_KEY_CARRIER_VVM_PACKAGE_NAME_STRINGReady) { _KEY_CARRIER_VVM_PACKAGE_NAME_STRINGContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VVM_PACKAGE_NAME_STRING"); _KEY_CARRIER_VVM_PACKAGE_NAME_STRINGReady = true; } return _KEY_CARRIER_VVM_PACKAGE_NAME_STRINGContent; } } + private static Java.Lang.String _KEY_CARRIER_VVM_PACKAGE_NAME_STRINGContent = default; + private static bool _KEY_CARRIER_VVM_PACKAGE_NAME_STRINGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY { get { if (!_KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAYReady) { _KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAYContent = SGetField(LocalBridgeClazz, "KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY"); _KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAYReady = true; } return _KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAYContent; } } @@ -662,6 +711,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRINGContent = default; private static bool _KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRINGReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING { get { if (!_KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGReady) { _KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGContent = SGetField(LocalBridgeClazz, "KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING"); _KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGReady = true; } return _KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGContent; } } + private static Java.Lang.String _KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGContent = default; + private static bool _KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRINGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING { get { if (!_KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRINGReady) { _KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRINGContent = SGetField(LocalBridgeClazz, "KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING"); _KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRINGReady = true; } return _KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRINGContent; } } @@ -932,6 +988,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOLContent = default; private static bool _KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_HIDE_ENABLE_2G { get { if (!_KEY_HIDE_ENABLE_2GReady) { _KEY_HIDE_ENABLE_2GContent = SGetField(LocalBridgeClazz, "KEY_HIDE_ENABLE_2G"); _KEY_HIDE_ENABLE_2GReady = true; } return _KEY_HIDE_ENABLE_2GContent; } } + private static Java.Lang.String _KEY_HIDE_ENABLE_2GContent = default; + private static bool _KEY_HIDE_ENABLE_2GReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_HIDE_ENHANCED_4G_LTE_BOOL { get { if (!_KEY_HIDE_ENHANCED_4G_LTE_BOOLReady) { _KEY_HIDE_ENHANCED_4G_LTE_BOOLContent = SGetField(LocalBridgeClazz, "KEY_HIDE_ENHANCED_4G_LTE_BOOL"); _KEY_HIDE_ENHANCED_4G_LTE_BOOLReady = true; } return _KEY_HIDE_ENHANCED_4G_LTE_BOOLContent; } } @@ -1436,6 +1499,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOLContent = default; private static bool _KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL { get { if (!_KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLReady) { _KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLContent = SGetField(LocalBridgeClazz, "KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL"); _KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLReady = true; } return _KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLContent; } } + private static Java.Lang.String _KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLContent = default; + private static bool _KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_RTT_AUTO_UPGRADE_BOOL { get { if (!_KEY_RTT_AUTO_UPGRADE_BOOLReady) { _KEY_RTT_AUTO_UPGRADE_BOOLContent = SGetField(LocalBridgeClazz, "KEY_RTT_AUTO_UPGRADE_BOOL"); _KEY_RTT_AUTO_UPGRADE_BOOLReady = true; } return _KEY_RTT_AUTO_UPGRADE_BOOLContent; } } @@ -1568,6 +1638,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOLContent = default; private static bool _KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL { get { if (!_KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLReady) { _KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLContent = SGetField(LocalBridgeClazz, "KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL"); _KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLReady = true; } return _KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLContent; } } + private static Java.Lang.String _KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLContent = default; + private static bool _KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_SMDP_SERVER_ADDRESS_STRING { get { if (!_KEY_SMDP_SERVER_ADDRESS_STRINGReady) { _KEY_SMDP_SERVER_ADDRESS_STRINGContent = SGetField(LocalBridgeClazz, "KEY_SMDP_SERVER_ADDRESS_STRING"); _KEY_SMDP_SERVER_ADDRESS_STRINGReady = true; } return _KEY_SMDP_SERVER_ADDRESS_STRINGContent; } } @@ -1736,6 +1813,13 @@ public partial class CarrierConfigManager private static Java.Lang.String _KEY_USE_OTASP_FOR_PROVISIONING_BOOLContent = default; private static bool _KEY_USE_OTASP_FOR_PROVISIONING_BOOLReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_USE_RCS_PRESENCE_BOOL { get { if (!_KEY_USE_RCS_PRESENCE_BOOLReady) { _KEY_USE_RCS_PRESENCE_BOOLContent = SGetField(LocalBridgeClazz, "KEY_USE_RCS_PRESENCE_BOOL"); _KEY_USE_RCS_PRESENCE_BOOLReady = true; } return _KEY_USE_RCS_PRESENCE_BOOLContent; } } + private static Java.Lang.String _KEY_USE_RCS_PRESENCE_BOOLContent = default; + private static bool _KEY_USE_RCS_PRESENCE_BOOLReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_USE_RCS_SIP_OPTIONS_BOOL { get { if (!_KEY_USE_RCS_SIP_OPTIONS_BOOLReady) { _KEY_USE_RCS_SIP_OPTIONS_BOOLContent = SGetField(LocalBridgeClazz, "KEY_USE_RCS_SIP_OPTIONS_BOOL"); _KEY_USE_RCS_SIP_OPTIONS_BOOLReady = true; } return _KEY_USE_RCS_SIP_OPTIONS_BOOLContent; } } @@ -1885,6 +1969,14 @@ public static bool IsConfigForIdentifiedCarrier(Android.Os.PersistableBundle arg #region Instance methods /// + /// + /// + [System.Obsolete()] + public Android.Os.PersistableBundle Config + { + get { return IExecuteWithSignature("getConfig", "()Landroid/os/PersistableBundle;"); } + } + /// /// /// /// @@ -1914,6 +2006,16 @@ public Android.Os.PersistableBundle GetConfigForSubId(int arg0, params Java.Lang if (arg1.Length == 0) return IExecute("getConfigForSubId", arg0); else return IExecute("getConfigForSubId", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Os.PersistableBundle GetConfigForSubId(int arg0) + { + return IExecuteWithSignature("getConfigForSubId", "(I)Landroid/os/PersistableBundle;", arg0); + } + /// /// /// /// @@ -1955,6 +2057,13 @@ public partial class Apn #region Fields /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String KEY_PREFIX { get { if (!_KEY_PREFIXReady) { _KEY_PREFIXContent = SGetField(LocalBridgeClazz, "KEY_PREFIX"); _KEY_PREFIXReady = true; } return _KEY_PREFIXContent; } } + private static Java.Lang.String _KEY_PREFIXContent = default; + private static bool _KEY_PREFIXReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String KEY_SETTINGS_DEFAULT_PROTOCOL_STRING { get { if (!_KEY_SETTINGS_DEFAULT_PROTOCOL_STRINGReady) { _KEY_SETTINGS_DEFAULT_PROTOCOL_STRINGContent = SGetField(LocalBridgeClazz, "KEY_SETTINGS_DEFAULT_PROTOCOL_STRING"); _KEY_SETTINGS_DEFAULT_PROTOCOL_STRINGReady = true; } return _KEY_SETTINGS_DEFAULT_PROTOCOL_STRINGContent; } } diff --git a/src/net/Netdroid/Generated/Android/Telephony/Cdma/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Telephony/Cdma/AllPackageClasses.cs index e8028a057..2db211d90 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/Cdma/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/Cdma/AllPackageClasses.cs @@ -26,6 +26,51 @@ namespace Android.Telephony.Cdma { + #region CdmaCellLocation + /// + /// + /// + [System.Obsolete()] + public partial class CdmaCellLocation : Android.Telephony.CellLocation + { + const string _bridgeClassName = "android.telephony.cdma.CdmaCellLocation"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public CdmaCellLocation() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public CdmaCellLocation(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Cdma/CdmaCellLocation.cs b/src/net/Netdroid/Generated/Android/Telephony/Cdma/CdmaCellLocation.cs new file mode 100644 index 000000000..6d1e18a68 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/Cdma/CdmaCellLocation.cs @@ -0,0 +1,158 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony.Cdma +{ + #region CdmaCellLocation + public partial class CdmaCellLocation + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public CdmaCellLocation(Android.Os.Bundle arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static double ConvertQuartSecToDecDegrees(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "convertQuartSecToDecDegrees", "(I)D", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int BaseStationId + { + get { return IExecuteWithSignature("getBaseStationId", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int BaseStationLatitude + { + get { return IExecuteWithSignature("getBaseStationLatitude", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int BaseStationLongitude + { + get { return IExecuteWithSignature("getBaseStationLongitude", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int NetworkId + { + get { return IExecuteWithSignature("getNetworkId", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int SystemId + { + get { return IExecuteWithSignature("getSystemId", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void FillInNotifierBundle(Android.Os.Bundle arg0) + { + IExecuteWithSignature("fillInNotifierBundle", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCellLocationData(int arg0, int arg1, int arg2, int arg3, int arg4) + { + IExecute("setCellLocationData", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetCellLocationData(int arg0, int arg1, int arg2) + { + IExecute("setCellLocationData", arg0, arg1, arg2); + } + /// + /// + /// + [System.Obsolete()] + public void SetStateInvalid() + { + IExecuteWithSignature("setStateInvalid", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityGsm.cs b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityGsm.cs index 7ef661574..eb84618fb 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityGsm.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityGsm.cs @@ -87,6 +87,14 @@ public int Lac get { return IExecuteWithSignature("getLac", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Mcc + { + get { return IExecuteWithSignature("getMcc", "()I"); } + } + /// /// /// public Java.Lang.String MccString @@ -94,6 +102,14 @@ public Java.Lang.String MccString get { return IExecuteWithSignature("getMccString", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int Mnc + { + get { return IExecuteWithSignature("getMnc", "()I"); } + } + /// /// /// public Java.Lang.String MncString @@ -107,6 +123,14 @@ public Java.Lang.String MobileNetworkOperator { get { return IExecuteWithSignature("getMobileNetworkOperator", "()Ljava/lang/String;"); } } + /// + /// + /// + [System.Obsolete()] + public int Psc + { + get { return IExecuteWithSignature("getPsc", "()I"); } + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityLte.cs b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityLte.cs index f28b33786..cb3c5693c 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityLte.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityLte.cs @@ -94,6 +94,14 @@ public int Earfcn get { return IExecuteWithSignature("getEarfcn", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Mcc + { + get { return IExecuteWithSignature("getMcc", "()I"); } + } + /// /// /// public Java.Lang.String MccString @@ -101,6 +109,14 @@ public Java.Lang.String MccString get { return IExecuteWithSignature("getMccString", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int Mnc + { + get { return IExecuteWithSignature("getMnc", "()I"); } + } + /// /// /// public Java.Lang.String MncString diff --git a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityWcdma.cs b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityWcdma.cs index 3067131f2..c6a589b4e 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/CellIdentityWcdma.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/CellIdentityWcdma.cs @@ -80,6 +80,14 @@ public int Lac get { return IExecuteWithSignature("getLac", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Mcc + { + get { return IExecuteWithSignature("getMcc", "()I"); } + } + /// /// /// public Java.Lang.String MccString @@ -87,6 +95,14 @@ public Java.Lang.String MccString get { return IExecuteWithSignature("getMccString", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int Mnc + { + get { return IExecuteWithSignature("getMnc", "()I"); } + } + /// /// /// public Java.Lang.String MncString diff --git a/src/net/Netdroid/Generated/Android/Telephony/CellInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/CellInfo.cs index cd847fa8e..8d8c651e8 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/CellInfo.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/CellInfo.cs @@ -109,6 +109,14 @@ public Android.Telephony.CellSignalStrength CellSignalStrength get { return IExecuteWithSignature("getCellSignalStrength", "()Landroid/telephony/CellSignalStrength;"); } } /// + /// + /// + [System.Obsolete()] + public long TimeStamp + { + get { return IExecuteWithSignature("getTimeStamp", "()J"); } + } + /// /// /// public long TimestampMillis diff --git a/src/net/Netdroid/Generated/Android/Telephony/CellLocation.cs b/src/net/Netdroid/Generated/Android/Telephony/CellLocation.cs new file mode 100644 index 000000000..21677e781 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/CellLocation.cs @@ -0,0 +1,74 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony +{ + #region CellLocation + public partial class CellLocation + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.CellLocation Empty + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getEmpty", "()Landroid/telephony/CellLocation;"); } + } + /// + /// + /// + [System.Obsolete()] + public static void RequestLocationUpdate() + { + SExecuteWithSignature(LocalBridgeClazz, "requestLocationUpdate", "()V"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Data/ApnSetting.cs b/src/net/Netdroid/Generated/Android/Telephony/Data/ApnSetting.cs index a2959aeb2..ebc601469 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/Data/ApnSetting.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/Data/ApnSetting.cs @@ -275,6 +275,14 @@ public Android.Net.Uri Mmsc get { return IExecuteWithSignature("getMmsc", "()Landroid/net/Uri;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Net.InetAddress MmsProxyAddress + { + get { return IExecuteWithSignature("getMmsProxyAddress", "()Ljava/net/InetAddress;"); } + } + /// /// /// public Java.Lang.String MmsProxyAddressAsString @@ -345,6 +353,14 @@ public int Protocol get { return IExecuteWithSignature("getProtocol", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Net.InetAddress ProxyAddress + { + get { return IExecuteWithSignature("getProxyAddress", "()Ljava/net/InetAddress;"); } + } + /// /// /// public Java.Lang.String ProxyAddressAsString @@ -510,6 +526,16 @@ public Android.Telephony.Data.ApnSetting.Builder SetMmsProxyAddress(Java.Lang.St return IExecuteWithSignature("setMmsProxyAddress", "(Ljava/lang/String;)Landroid/telephony/data/ApnSetting$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Telephony.Data.ApnSetting.Builder SetMmsProxyAddress(Java.Net.InetAddress arg0) + { + return IExecuteWithSignature("setMmsProxyAddress", "(Ljava/net/InetAddress;)Landroid/telephony/data/ApnSetting$Builder;", arg0); + } + /// /// /// /// @@ -609,6 +635,16 @@ public Android.Telephony.Data.ApnSetting.Builder SetProxyAddress(Java.Lang.Strin return IExecuteWithSignature("setProxyAddress", "(Ljava/lang/String;)Landroid/telephony/data/ApnSetting$Builder;", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Telephony.Data.ApnSetting.Builder SetProxyAddress(Java.Net.InetAddress arg0) + { + return IExecuteWithSignature("setProxyAddress", "(Ljava/net/InetAddress;)Landroid/telephony/data/ApnSetting$Builder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/Gsm/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Telephony/Gsm/AllPackageClasses.cs index 6f07bbaf6..de2033d28 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/Gsm/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/Gsm/AllPackageClasses.cs @@ -26,6 +26,231 @@ namespace Android.Telephony.Gsm { + #region GsmCellLocation + /// + /// + /// + [System.Obsolete()] + public partial class GsmCellLocation : Android.Telephony.CellLocation + { + const string _bridgeClassName = "android.telephony.gsm.GsmCellLocation"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public GsmCellLocation() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public GsmCellLocation(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region SmsManager + /// + /// + /// + [System.Obsolete()] + public partial class SmsManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.telephony.gsm.SmsManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SmsManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SmsManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region SmsMessage + /// + /// + /// + [System.Obsolete()] + public partial class SmsMessage : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.telephony.gsm.SmsMessage"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SmsMessage() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SmsMessage(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region MessageClass + /// + /// + /// + [System.Obsolete()] + public partial class MessageClass : Java.Lang.Enum + { + const string _bridgeClassName = "android.telephony.gsm.SmsMessage$MessageClass"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public MessageClass() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public MessageClass(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region SubmitPdu + /// + /// + /// + [System.Obsolete()] + public partial class SubmitPdu : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.telephony.gsm.SmsMessage$SubmitPdu"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public SubmitPdu() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public SubmitPdu(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Gsm/GsmCellLocation.cs b/src/net/Netdroid/Generated/Android/Telephony/Gsm/GsmCellLocation.cs new file mode 100644 index 000000000..b24517f27 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/Gsm/GsmCellLocation.cs @@ -0,0 +1,118 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony.Gsm +{ + #region GsmCellLocation + public partial class GsmCellLocation + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public GsmCellLocation(Android.Os.Bundle arg0) + : base(arg0) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Cid + { + get { return IExecuteWithSignature("getCid", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Lac + { + get { return IExecuteWithSignature("getLac", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Psc + { + get { return IExecuteWithSignature("getPsc", "()I"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public void FillInNotifierBundle(Android.Os.Bundle arg0) + { + IExecuteWithSignature("fillInNotifierBundle", "(Landroid/os/Bundle;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetLacAndCid(int arg0, int arg1) + { + IExecute("setLacAndCid", arg0, arg1); + } + /// + /// + /// + [System.Obsolete()] + public void SetStateInvalid() + { + IExecuteWithSignature("setStateInvalid", "()V"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsManager.cs b/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsManager.cs new file mode 100644 index 000000000..257bcae0d --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsManager.cs @@ -0,0 +1,179 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony.Gsm +{ + #region SmsManager + public partial class SmsManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int RESULT_ERROR_GENERIC_FAILURE { get { if (!_RESULT_ERROR_GENERIC_FAILUREReady) { _RESULT_ERROR_GENERIC_FAILUREContent = SGetField(LocalBridgeClazz, "RESULT_ERROR_GENERIC_FAILURE"); _RESULT_ERROR_GENERIC_FAILUREReady = true; } return _RESULT_ERROR_GENERIC_FAILUREContent; } } + private static int _RESULT_ERROR_GENERIC_FAILUREContent = default; + private static bool _RESULT_ERROR_GENERIC_FAILUREReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_ERROR_NO_SERVICE { get { if (!_RESULT_ERROR_NO_SERVICEReady) { _RESULT_ERROR_NO_SERVICEContent = SGetField(LocalBridgeClazz, "RESULT_ERROR_NO_SERVICE"); _RESULT_ERROR_NO_SERVICEReady = true; } return _RESULT_ERROR_NO_SERVICEContent; } } + private static int _RESULT_ERROR_NO_SERVICEContent = default; + private static bool _RESULT_ERROR_NO_SERVICEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_ERROR_NULL_PDU { get { if (!_RESULT_ERROR_NULL_PDUReady) { _RESULT_ERROR_NULL_PDUContent = SGetField(LocalBridgeClazz, "RESULT_ERROR_NULL_PDU"); _RESULT_ERROR_NULL_PDUReady = true; } return _RESULT_ERROR_NULL_PDUContent; } } + private static int _RESULT_ERROR_NULL_PDUContent = default; + private static bool _RESULT_ERROR_NULL_PDUReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int RESULT_ERROR_RADIO_OFF { get { if (!_RESULT_ERROR_RADIO_OFFReady) { _RESULT_ERROR_RADIO_OFFContent = SGetField(LocalBridgeClazz, "RESULT_ERROR_RADIO_OFF"); _RESULT_ERROR_RADIO_OFFReady = true; } return _RESULT_ERROR_RADIO_OFFContent; } } + private static int _RESULT_ERROR_RADIO_OFFContent = default; + private static bool _RESULT_ERROR_RADIO_OFFReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ON_SIM_FREE { get { if (!_STATUS_ON_SIM_FREEReady) { _STATUS_ON_SIM_FREEContent = SGetField(LocalBridgeClazz, "STATUS_ON_SIM_FREE"); _STATUS_ON_SIM_FREEReady = true; } return _STATUS_ON_SIM_FREEContent; } } + private static int _STATUS_ON_SIM_FREEContent = default; + private static bool _STATUS_ON_SIM_FREEReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ON_SIM_READ { get { if (!_STATUS_ON_SIM_READReady) { _STATUS_ON_SIM_READContent = SGetField(LocalBridgeClazz, "STATUS_ON_SIM_READ"); _STATUS_ON_SIM_READReady = true; } return _STATUS_ON_SIM_READContent; } } + private static int _STATUS_ON_SIM_READContent = default; + private static bool _STATUS_ON_SIM_READReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ON_SIM_SENT { get { if (!_STATUS_ON_SIM_SENTReady) { _STATUS_ON_SIM_SENTContent = SGetField(LocalBridgeClazz, "STATUS_ON_SIM_SENT"); _STATUS_ON_SIM_SENTReady = true; } return _STATUS_ON_SIM_SENTContent; } } + private static int _STATUS_ON_SIM_SENTContent = default; + private static bool _STATUS_ON_SIM_SENTReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ON_SIM_UNREAD { get { if (!_STATUS_ON_SIM_UNREADReady) { _STATUS_ON_SIM_UNREADContent = SGetField(LocalBridgeClazz, "STATUS_ON_SIM_UNREAD"); _STATUS_ON_SIM_UNREADReady = true; } return _STATUS_ON_SIM_UNREADContent; } } + private static int _STATUS_ON_SIM_UNREADContent = default; + private static bool _STATUS_ON_SIM_UNREADReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int STATUS_ON_SIM_UNSENT { get { if (!_STATUS_ON_SIM_UNSENTReady) { _STATUS_ON_SIM_UNSENTContent = SGetField(LocalBridgeClazz, "STATUS_ON_SIM_UNSENT"); _STATUS_ON_SIM_UNSENTReady = true; } return _STATUS_ON_SIM_UNSENTContent; } } + private static int _STATUS_ON_SIM_UNSENTContent = default; + private static bool _STATUS_ON_SIM_UNSENTReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsManager Default + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getDefault", "()Landroid/telephony/gsm/SmsManager;"); } + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Util.ArrayList DivideMessage(Java.Lang.String arg0) + { + return IExecuteWithSignature>("divideMessage", "(Ljava/lang/String;)Ljava/util/ArrayList;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendDataMessage(Java.Lang.String arg0, Java.Lang.String arg1, short arg2, byte[] arg3, Android.App.PendingIntent arg4, Android.App.PendingIntent arg5) + { + IExecute("sendDataMessage", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendMultipartTextMessage(Java.Lang.String arg0, Java.Lang.String arg1, Java.Util.ArrayList arg2, Java.Util.ArrayList arg3, Java.Util.ArrayList arg4) + { + IExecute("sendMultipartTextMessage", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SendTextMessage(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2, Android.App.PendingIntent arg3, Android.App.PendingIntent arg4) + { + IExecute("sendTextMessage", arg0, arg1, arg2, arg3, arg4); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsMessage.cs b/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsMessage.cs new file mode 100644 index 000000000..074c8309f --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/Gsm/SmsMessage.cs @@ -0,0 +1,500 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony.Gsm +{ + #region SmsMessage + public partial class SmsMessage + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int ENCODING_16BIT { get { if (!_ENCODING_16BITReady) { _ENCODING_16BITContent = SGetField(LocalBridgeClazz, "ENCODING_16BIT"); _ENCODING_16BITReady = true; } return _ENCODING_16BITContent; } } + private static int _ENCODING_16BITContent = default; + private static bool _ENCODING_16BITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ENCODING_7BIT { get { if (!_ENCODING_7BITReady) { _ENCODING_7BITContent = SGetField(LocalBridgeClazz, "ENCODING_7BIT"); _ENCODING_7BITReady = true; } return _ENCODING_7BITContent; } } + private static int _ENCODING_7BITContent = default; + private static bool _ENCODING_7BITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ENCODING_8BIT { get { if (!_ENCODING_8BITReady) { _ENCODING_8BITContent = SGetField(LocalBridgeClazz, "ENCODING_8BIT"); _ENCODING_8BITReady = true; } return _ENCODING_8BITContent; } } + private static int _ENCODING_8BITContent = default; + private static bool _ENCODING_8BITReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int ENCODING_UNKNOWN { get { if (!_ENCODING_UNKNOWNReady) { _ENCODING_UNKNOWNContent = SGetField(LocalBridgeClazz, "ENCODING_UNKNOWN"); _ENCODING_UNKNOWNReady = true; } return _ENCODING_UNKNOWNContent; } } + private static int _ENCODING_UNKNOWNContent = default; + private static bool _ENCODING_UNKNOWNReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MAX_USER_DATA_BYTES { get { if (!_MAX_USER_DATA_BYTESReady) { _MAX_USER_DATA_BYTESContent = SGetField(LocalBridgeClazz, "MAX_USER_DATA_BYTES"); _MAX_USER_DATA_BYTESReady = true; } return _MAX_USER_DATA_BYTESContent; } } + private static int _MAX_USER_DATA_BYTESContent = default; + private static bool _MAX_USER_DATA_BYTESReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MAX_USER_DATA_SEPTETS { get { if (!_MAX_USER_DATA_SEPTETSReady) { _MAX_USER_DATA_SEPTETSContent = SGetField(LocalBridgeClazz, "MAX_USER_DATA_SEPTETS"); _MAX_USER_DATA_SEPTETSReady = true; } return _MAX_USER_DATA_SEPTETSContent; } } + private static int _MAX_USER_DATA_SEPTETSContent = default; + private static bool _MAX_USER_DATA_SEPTETSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int MAX_USER_DATA_SEPTETS_WITH_HEADER { get { if (!_MAX_USER_DATA_SEPTETS_WITH_HEADERReady) { _MAX_USER_DATA_SEPTETS_WITH_HEADERContent = SGetField(LocalBridgeClazz, "MAX_USER_DATA_SEPTETS_WITH_HEADER"); _MAX_USER_DATA_SEPTETS_WITH_HEADERReady = true; } return _MAX_USER_DATA_SEPTETS_WITH_HEADERContent; } } + private static int _MAX_USER_DATA_SEPTETS_WITH_HEADERContent = default; + private static bool _MAX_USER_DATA_SEPTETS_WITH_HEADERReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage CreateFromPdu(byte[] arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "createFromPdu", "([B)Landroid/telephony/gsm/SmsMessage;", new object[] { arg0 }); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.SubmitPdu GetSubmitPdu(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2, bool arg3) + { + return SExecute(LocalBridgeClazz, "getSubmitPdu", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.SubmitPdu GetSubmitPdu(Java.Lang.String arg0, Java.Lang.String arg1, short arg2, byte[] arg3, bool arg4) + { + return SExecute(LocalBridgeClazz, "getSubmitPdu", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int GetTPLayerLengthForPDU(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getTPLayerLengthForPDU", "(Ljava/lang/String;)I", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int[] CalculateLength(Java.Lang.CharSequence arg0, bool arg1) + { + return SExecuteArray(LocalBridgeClazz, "calculateLength", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int[] CalculateLength(Java.Lang.String arg0, bool arg1) + { + return SExecuteArray(LocalBridgeClazz, "calculateLength", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DisplayMessageBody + { + get { return IExecuteWithSignature("getDisplayMessageBody", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DisplayOriginatingAddress + { + get { return IExecuteWithSignature("getDisplayOriginatingAddress", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String EmailBody + { + get { return IExecuteWithSignature("getEmailBody", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String EmailFrom + { + get { return IExecuteWithSignature("getEmailFrom", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Android.Telephony.Gsm.SmsMessage.MessageClass GetMessageClass + { + get { return IExecuteWithSignature("getMessageClass", "()Landroid/telephony/gsm/SmsMessage$MessageClass;"); } + } + /// + /// + /// + [System.Obsolete()] + public int IndexOnSim + { + get { return IExecuteWithSignature("getIndexOnSim", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String MessageBody + { + get { return IExecuteWithSignature("getMessageBody", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String OriginatingAddress + { + get { return IExecuteWithSignature("getOriginatingAddress", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] Pdu + { + get { return IExecuteWithSignatureArray("getPdu", "()[B"); } + } + /// + /// + /// + [System.Obsolete()] + public int ProtocolIdentifier + { + get { return IExecuteWithSignature("getProtocolIdentifier", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String PseudoSubject + { + get { return IExecuteWithSignature("getPseudoSubject", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String ServiceCenterAddress + { + get { return IExecuteWithSignature("getServiceCenterAddress", "()Ljava/lang/String;"); } + } + /// + /// + /// + [System.Obsolete()] + public int Status + { + get { return IExecuteWithSignature("getStatus", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int StatusOnSim + { + get { return IExecuteWithSignature("getStatusOnSim", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public long TimestampMillis + { + get { return IExecuteWithSignature("getTimestampMillis", "()J"); } + } + /// + /// + /// + [System.Obsolete()] + public byte[] UserData + { + get { return IExecuteWithSignatureArray("getUserData", "()[B"); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsCphsMwiMessage() + { + return IExecuteWithSignature("isCphsMwiMessage", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsEmail() + { + return IExecuteWithSignature("isEmail", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsMWIClearMessage() + { + return IExecuteWithSignature("isMWIClearMessage", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsMwiDontStore() + { + return IExecuteWithSignature("isMwiDontStore", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsMWISetMessage() + { + return IExecuteWithSignature("isMWISetMessage", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsReplace() + { + return IExecuteWithSignature("isReplace", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsReplyPathPresent() + { + return IExecuteWithSignature("isReplyPathPresent", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsStatusReportMessage() + { + return IExecuteWithSignature("isStatusReportMessage", "()Z"); + } + + #endregion + + #region Nested classes + #region MessageClass + public partial class MessageClass + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.MessageClass CLASS_0 { get { if (!_CLASS_0Ready) { _CLASS_0Content = SGetField(LocalBridgeClazz, "CLASS_0"); _CLASS_0Ready = true; } return _CLASS_0Content; } } + private static Android.Telephony.Gsm.SmsMessage.MessageClass _CLASS_0Content = default; + private static bool _CLASS_0Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.MessageClass CLASS_1 { get { if (!_CLASS_1Ready) { _CLASS_1Content = SGetField(LocalBridgeClazz, "CLASS_1"); _CLASS_1Ready = true; } return _CLASS_1Content; } } + private static Android.Telephony.Gsm.SmsMessage.MessageClass _CLASS_1Content = default; + private static bool _CLASS_1Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.MessageClass CLASS_2 { get { if (!_CLASS_2Ready) { _CLASS_2Content = SGetField(LocalBridgeClazz, "CLASS_2"); _CLASS_2Ready = true; } return _CLASS_2Content; } } + private static Android.Telephony.Gsm.SmsMessage.MessageClass _CLASS_2Content = default; + private static bool _CLASS_2Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.MessageClass CLASS_3 { get { if (!_CLASS_3Ready) { _CLASS_3Content = SGetField(LocalBridgeClazz, "CLASS_3"); _CLASS_3Ready = true; } return _CLASS_3Content; } } + private static Android.Telephony.Gsm.SmsMessage.MessageClass _CLASS_3Content = default; + private static bool _CLASS_3Ready = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.Gsm.SmsMessage.MessageClass UNKNOWN { get { if (!_UNKNOWNReady) { _UNKNOWNContent = SGetField(LocalBridgeClazz, "UNKNOWN"); _UNKNOWNReady = true; } return _UNKNOWNContent; } } + private static Android.Telephony.Gsm.SmsMessage.MessageClass _UNKNOWNContent = default; + private static bool _UNKNOWNReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Android.Telephony.Gsm.SmsMessage.MessageClass ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Landroid/telephony/gsm/SmsMessage$MessageClass;", arg0); + } + /// + /// + /// + /// + public static Android.Telephony.Gsm.SmsMessage.MessageClass[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Landroid/telephony/gsm/SmsMessage$MessageClass;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SubmitPdu + public partial class SubmitPdu + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public byte[] encodedMessage { get { return IGetFieldArray("encodedMessage"); } set { ISetField("encodedMessage", value); } } + /// + /// + /// + [System.Obsolete()] + public byte[] encodedScAddress { get { return IGetFieldArray("encodedScAddress"); } set { ISetField("encodedScAddress", value); } } + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/Ims/RegistrationManager.cs b/src/net/Netdroid/Generated/Android/Telephony/Ims/RegistrationManager.cs index 765c2c150..6fae0d90d 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/Ims/RegistrationManager.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/Ims/RegistrationManager.cs @@ -150,6 +150,15 @@ public void OnRegistered(Android.Telephony.Ims.ImsRegistrationAttributes arg0) IExecuteWithSignature("onRegistered", "(Landroid/telephony/ims/ImsRegistrationAttributes;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void OnRegistered(int arg0) + { + IExecuteWithSignature("onRegistered", "(I)V", arg0); + } + /// /// /// /// @@ -158,6 +167,15 @@ public void OnRegistering(Android.Telephony.Ims.ImsRegistrationAttributes arg0) IExecuteWithSignature("onRegistering", "(Landroid/telephony/ims/ImsRegistrationAttributes;)V", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public void OnRegistering(int arg0) + { + IExecuteWithSignature("onRegistering", "(I)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/NeighboringCellInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/NeighboringCellInfo.cs new file mode 100644 index 000000000..14816082e --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/NeighboringCellInfo.cs @@ -0,0 +1,168 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony +{ + #region NeighboringCellInfo + public partial class NeighboringCellInfo + { + #region Constructors + /// + /// + /// + /// + [System.Obsolete()] + public NeighboringCellInfo(Android.Os.Parcel arg0) + : base(arg0) + { + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public NeighboringCellInfo(int arg0, int arg1) + : base(arg0, arg1) + { + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public NeighboringCellInfo(int arg0, Java.Lang.String arg1, int arg2) + : base(arg0, arg1, arg2) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static Android.Os.Parcelable.Creator CREATOR { get { if (!_CREATORReady) { _CREATORContent = SGetField(LocalBridgeClazz, "CREATOR"); _CREATORReady = true; } return _CREATORContent; } } + private static Android.Os.Parcelable.Creator _CREATORContent = default; + private static bool _CREATORReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int UNKNOWN_CID { get { if (!_UNKNOWN_CIDReady) { _UNKNOWN_CIDContent = SGetField(LocalBridgeClazz, "UNKNOWN_CID"); _UNKNOWN_CIDReady = true; } return _UNKNOWN_CIDContent; } } + private static int _UNKNOWN_CIDContent = default; + private static bool _UNKNOWN_CIDReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int UNKNOWN_RSSI { get { if (!_UNKNOWN_RSSIReady) { _UNKNOWN_RSSIContent = SGetField(LocalBridgeClazz, "UNKNOWN_RSSI"); _UNKNOWN_RSSIReady = true; } return _UNKNOWN_RSSIContent; } } + private static int _UNKNOWN_RSSIContent = default; + private static bool _UNKNOWN_RSSIReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public int Cid + { + get { return IExecuteWithSignature("getCid", "()I"); } set { IExecuteWithSignature("setCid", "(I)V", value); } + } + /// + /// + /// + [System.Obsolete()] + public int Lac + { + get { return IExecuteWithSignature("getLac", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int NetworkType + { + get { return IExecuteWithSignature("getNetworkType", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Psc + { + get { return IExecuteWithSignature("getPsc", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int Rssi + { + get { return IExecuteWithSignature("getRssi", "()I"); } set { IExecuteWithSignature("setRssi", "(I)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public int DescribeContents() + { + return IExecuteWithSignature("describeContents", "()I"); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void WriteToParcel(Android.Os.Parcel arg0, int arg1) + { + IExecute("writeToParcel", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/NetworkRegistrationInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/NetworkRegistrationInfo.cs index d13041a59..edded1fa6 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/NetworkRegistrationInfo.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/NetworkRegistrationInfo.cs @@ -202,6 +202,33 @@ public bool IsNetworkSearching() return IExecuteWithSignature("isNetworkSearching", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsRegistered() + { + return IExecuteWithSignature("isRegistered", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsRoaming() + { + return IExecuteWithSignature("isRoaming", "()Z"); + } + /// + /// + /// + /// + [System.Obsolete()] + public bool IsSearching() + { + return IExecuteWithSignature("isSearching", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/PhoneNumberUtils.cs b/src/net/Netdroid/Generated/Android/Telephony/PhoneNumberUtils.cs index 125659a6f..88b7e7b70 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/PhoneNumberUtils.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/PhoneNumberUtils.cs @@ -113,6 +113,39 @@ public static bool AreSamePhoneNumber(Java.Lang.String arg0, Java.Lang.String ar return SExecute(LocalBridgeClazz, "areSamePhoneNumber", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool Compare(Android.Content.Context arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + return SExecute(LocalBridgeClazz, "compare", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool Compare(Java.Lang.String arg0, Java.Lang.String arg1) + { + return SExecute(LocalBridgeClazz, "compare", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsEmergencyNumber(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isEmergencyNumber", "(Ljava/lang/String;)Z", arg0); + } + /// /// /// /// @@ -131,6 +164,17 @@ public static bool IsISODigit(char arg0) return SExecuteWithSignature(LocalBridgeClazz, "isISODigit", "(C)Z", arg0); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool IsLocalEmergencyNumber(Android.Content.Context arg0, Java.Lang.String arg1) + { + return SExecute(LocalBridgeClazz, "isLocalEmergencyNumber", arg0, arg1); + } + /// /// /// /// @@ -177,6 +221,16 @@ public static byte[] NumberToCalledPartyBCD(Java.Lang.String arg0, int arg1) return SExecuteArray(LocalBridgeClazz, "numberToCalledPartyBCD", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static byte[] NumberToCalledPartyBCD(Java.Lang.String arg0) + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "numberToCalledPartyBCD", "(Ljava/lang/String;)[B", arg0); + } + /// /// /// /// @@ -222,6 +276,16 @@ public static bool IsStartsPostDial(char arg0) return SExecuteWithSignature(LocalBridgeClazz, "isStartsPostDial", "(C)Z", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static int GetFormatTypeForLocale(Java.Util.Locale arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getFormatTypeForLocale", "(Ljava/util/Locale;)I", arg0); + } + /// /// /// /// @@ -252,6 +316,18 @@ public static Java.Lang.String CalledPartyBCDFragmentToString(byte[] arg0, int a return SExecute(LocalBridgeClazz, "calledPartyBCDFragmentToString", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CalledPartyBCDFragmentToString(byte[] arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "calledPartyBCDFragmentToString", arg0, arg1, arg2); + } + /// /// /// /// @@ -264,6 +340,18 @@ public static Java.Lang.String CalledPartyBCDToString(byte[] arg0, int arg1, int return SExecute(LocalBridgeClazz, "calledPartyBCDToString", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String CalledPartyBCDToString(byte[] arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "calledPartyBCDToString", arg0, arg1, arg2); + } + /// /// /// /// @@ -312,6 +400,16 @@ public static Java.Lang.String FormatNumber(Java.Lang.String arg0, Java.Lang.Str return SExecute(LocalBridgeClazz, "formatNumber", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String FormatNumber(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "formatNumber", "(Ljava/lang/String;)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -406,6 +504,34 @@ public static void AddTtsSpan(Android.Text.Spannable arg0, int arg1, int arg2) { SExecute(LocalBridgeClazz, "addTtsSpan", arg0, arg1, arg2); } + /// + /// + /// + /// + [System.Obsolete()] + public static void FormatJapaneseNumber(Android.Text.Editable arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "formatJapaneseNumber", "(Landroid/text/Editable;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public static void FormatNanpNumber(Android.Text.Editable arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "formatNanpNumber", "(Landroid/text/Editable;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void FormatNumber(Android.Text.Editable arg0, int arg1) + { + SExecute(LocalBridgeClazz, "formatNumber", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/PhoneStateListener.cs b/src/net/Netdroid/Generated/Android/Telephony/PhoneStateListener.cs new file mode 100644 index 000000000..76a3a4c3a --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Telephony/PhoneStateListener.cs @@ -0,0 +1,750 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Telephony +{ + #region PhoneStateListener + public partial class PhoneStateListener + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onActiveDataSubscriptionIdChanged", new System.EventHandler>>(OnActiveDataSubscriptionIdChangedEventHandler)); + AddEventHandler("onBarringInfoChanged", new System.EventHandler>>(OnBarringInfoChangedEventHandler)); + AddEventHandler("onCallDisconnectCauseChanged", new System.EventHandler>>(OnCallDisconnectCauseChangedEventHandler)); + AddEventHandler("onCallForwardingIndicatorChanged", new System.EventHandler>>(OnCallForwardingIndicatorChangedEventHandler)); + AddEventHandler("onCallStateChanged", new System.EventHandler>>(OnCallStateChangedEventHandler)); + AddEventHandler("onCellInfoChanged", new System.EventHandler>>>(OnCellInfoChangedEventHandler)); + AddEventHandler("onCellLocationChanged", new System.EventHandler>>(OnCellLocationChangedEventHandler)); + AddEventHandler("onDataActivity", new System.EventHandler>>(OnDataActivityEventHandler)); + AddEventHandler("onDataConnectionStateChanged", new System.EventHandler>>(OnDataConnectionStateChangedEventHandler)); + AddEventHandler("onDataConnectionStateChanged1", new System.EventHandler>>(OnDataConnectionStateChanged1EventHandler)); + AddEventHandler("onDisplayInfoChanged", new System.EventHandler>>(OnDisplayInfoChangedEventHandler)); + AddEventHandler("onEmergencyNumberListChanged", new System.EventHandler>>>>(OnEmergencyNumberListChangedEventHandler)); + AddEventHandler("onImsCallDisconnectCauseChanged", new System.EventHandler>>(OnImsCallDisconnectCauseChangedEventHandler)); + AddEventHandler("onMessageWaitingIndicatorChanged", new System.EventHandler>>(OnMessageWaitingIndicatorChangedEventHandler)); + AddEventHandler("onPreciseDataConnectionStateChanged", new System.EventHandler>>(OnPreciseDataConnectionStateChangedEventHandler)); + AddEventHandler("onRegistrationFailed", new System.EventHandler>>(OnRegistrationFailedEventHandler)); + AddEventHandler("onServiceStateChanged", new System.EventHandler>>(OnServiceStateChangedEventHandler)); + AddEventHandler("onSignalStrengthChanged", new System.EventHandler>>(OnSignalStrengthChangedEventHandler)); + AddEventHandler("onSignalStrengthsChanged", new System.EventHandler>>(OnSignalStrengthsChangedEventHandler)); + AddEventHandler("onUserMobileDataStateChanged", new System.EventHandler>>(OnUserMobileDataStateChangedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnActiveDataSubscriptionIdChanged { get; set; } = null; + + void OnActiveDataSubscriptionIdChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnActiveDataSubscriptionIdChanged != null) ? OnOnActiveDataSubscriptionIdChanged : OnActiveDataSubscriptionIdChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnActiveDataSubscriptionIdChanged(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnBarringInfoChanged { get; set; } = null; + + void OnBarringInfoChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnBarringInfoChanged != null) ? OnOnBarringInfoChanged : OnBarringInfoChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnBarringInfoChanged(Android.Telephony.BarringInfo arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallDisconnectCauseChanged { get; set; } = null; + + void OnCallDisconnectCauseChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallDisconnectCauseChanged != null) ? OnOnCallDisconnectCauseChanged : OnCallDisconnectCauseChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallDisconnectCauseChanged(int arg0, int arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallForwardingIndicatorChanged { get; set; } = null; + + void OnCallForwardingIndicatorChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallForwardingIndicatorChanged != null) ? OnOnCallForwardingIndicatorChanged : OnCallForwardingIndicatorChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallForwardingIndicatorChanged(bool arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCallStateChanged { get; set; } = null; + + void OnCallStateChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCallStateChanged != null) ? OnOnCallStateChanged : OnCallStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCallStateChanged(int arg0, Java.Lang.String arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action> OnOnCellInfoChanged { get; set; } = null; + + void OnCellInfoChangedEventHandler(object sender, CLRListenerEventArgs>> data) + { + var methodToExecute = (OnOnCellInfoChanged != null) ? OnOnCellInfoChanged : OnCellInfoChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCellInfoChanged(Java.Util.List arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCellLocationChanged { get; set; } = null; + + void OnCellLocationChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCellLocationChanged != null) ? OnOnCellLocationChanged : OnCellLocationChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnCellLocationChanged(Android.Telephony.CellLocation arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnDataActivity { get; set; } = null; + + void OnDataActivityEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnDataActivity != null) ? OnOnDataActivity : OnDataActivity; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnDataActivity(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnDataConnectionStateChanged { get; set; } = null; + + void OnDataConnectionStateChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnDataConnectionStateChanged != null) ? OnOnDataConnectionStateChanged : OnDataConnectionStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnDataConnectionStateChanged(int arg0, int arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnDataConnectionStateChanged1 { get; set; } = null; + + void OnDataConnectionStateChanged1EventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnDataConnectionStateChanged1 != null) ? OnOnDataConnectionStateChanged1 : OnDataConnectionStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnDataConnectionStateChanged(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnDisplayInfoChanged { get; set; } = null; + + void OnDisplayInfoChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnDisplayInfoChanged != null) ? OnOnDisplayInfoChanged : OnDisplayInfoChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnDisplayInfoChanged(Android.Telephony.TelephonyDisplayInfo arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action>> OnOnEmergencyNumberListChanged { get; set; } = null; + + void OnEmergencyNumberListChangedEventHandler(object sender, CLRListenerEventArgs>>> data) + { + var methodToExecute = (OnOnEmergencyNumberListChanged != null) ? OnOnEmergencyNumberListChanged : OnEmergencyNumberListChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnEmergencyNumberListChanged(Java.Util.Map> arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnImsCallDisconnectCauseChanged { get; set; } = null; + + void OnImsCallDisconnectCauseChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnImsCallDisconnectCauseChanged != null) ? OnOnImsCallDisconnectCauseChanged : OnImsCallDisconnectCauseChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnImsCallDisconnectCauseChanged(Android.Telephony.Ims.ImsReasonInfo arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnMessageWaitingIndicatorChanged { get; set; } = null; + + void OnMessageWaitingIndicatorChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnMessageWaitingIndicatorChanged != null) ? OnOnMessageWaitingIndicatorChanged : OnMessageWaitingIndicatorChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnMessageWaitingIndicatorChanged(bool arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnPreciseDataConnectionStateChanged { get; set; } = null; + + void OnPreciseDataConnectionStateChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnPreciseDataConnectionStateChanged != null) ? OnOnPreciseDataConnectionStateChanged : OnPreciseDataConnectionStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnPreciseDataConnectionStateChanged(Android.Telephony.PreciseDataConnectionState arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnRegistrationFailed { get; set; } = null; + + void OnRegistrationFailedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnRegistrationFailed != null) ? OnOnRegistrationFailed : OnRegistrationFailed; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1), data.EventData.GetAt(2), data.EventData.GetAt(3)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnRegistrationFailed(Android.Telephony.CellIdentity arg0, Java.Lang.String arg1, int arg2, int arg3, int arg4) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnServiceStateChanged { get; set; } = null; + + void OnServiceStateChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnServiceStateChanged != null) ? OnOnServiceStateChanged : OnServiceStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnServiceStateChanged(Android.Telephony.ServiceState arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnSignalStrengthChanged { get; set; } = null; + + void OnSignalStrengthChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnSignalStrengthChanged != null) ? OnOnSignalStrengthChanged : OnSignalStrengthChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnSignalStrengthChanged(int arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnSignalStrengthsChanged { get; set; } = null; + + void OnSignalStrengthsChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnSignalStrengthsChanged != null) ? OnOnSignalStrengthsChanged : OnSignalStrengthsChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnSignalStrengthsChanged(Android.Telephony.SignalStrength arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnUserMobileDataStateChanged { get; set; } = null; + + void OnUserMobileDataStateChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnUserMobileDataStateChanged != null) ? OnOnUserMobileDataStateChanged : OnUserMobileDataStateChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + [System.Obsolete()] + public virtual void OnUserMobileDataStateChanged(bool arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region PhoneStateListenerDirect + public partial class PhoneStateListenerDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + [System.Obsolete()] + public override void OnActiveDataSubscriptionIdChanged(int arg0) + { + IExecuteWithSignature("onActiveDataSubscriptionIdChanged", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnBarringInfoChanged(Android.Telephony.BarringInfo arg0) + { + IExecuteWithSignature("onBarringInfoChanged", "(Landroid/telephony/BarringInfo;)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallDisconnectCauseChanged(int arg0, int arg1) + { + IExecute("onCallDisconnectCauseChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallForwardingIndicatorChanged(bool arg0) + { + IExecuteWithSignature("onCallForwardingIndicatorChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCallStateChanged(int arg0, Java.Lang.String arg1) + { + IExecute("onCallStateChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCellInfoChanged(Java.Util.List arg0) + { + IExecuteWithSignature("onCellInfoChanged", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnCellLocationChanged(Android.Telephony.CellLocation arg0) + { + IExecuteWithSignature("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnDataActivity(int arg0) + { + IExecuteWithSignature("onDataActivity", "(I)V", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnDataConnectionStateChanged(int arg0, int arg1) + { + IExecute("onDataConnectionStateChanged", arg0, arg1); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnDataConnectionStateChanged(int arg0) + { + IExecuteWithSignature("onDataConnectionStateChanged", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnDisplayInfoChanged(Android.Telephony.TelephonyDisplayInfo arg0) + { + IExecuteWithSignature("onDisplayInfoChanged", "(Landroid/telephony/TelephonyDisplayInfo;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnEmergencyNumberListChanged(Java.Util.Map> arg0) + { + IExecuteWithSignature("onEmergencyNumberListChanged", "(Ljava/util/Map;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnImsCallDisconnectCauseChanged(Android.Telephony.Ims.ImsReasonInfo arg0) + { + IExecuteWithSignature("onImsCallDisconnectCauseChanged", "(Landroid/telephony/ims/ImsReasonInfo;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnMessageWaitingIndicatorChanged(bool arg0) + { + IExecuteWithSignature("onMessageWaitingIndicatorChanged", "(Z)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnPreciseDataConnectionStateChanged(Android.Telephony.PreciseDataConnectionState arg0) + { + IExecuteWithSignature("onPreciseDataConnectionStateChanged", "(Landroid/telephony/PreciseDataConnectionState;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public override void OnRegistrationFailed(Android.Telephony.CellIdentity arg0, Java.Lang.String arg1, int arg2, int arg3, int arg4) + { + IExecute("onRegistrationFailed", arg0, arg1, arg2, arg3, arg4); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnServiceStateChanged(Android.Telephony.ServiceState arg0) + { + IExecuteWithSignature("onServiceStateChanged", "(Landroid/telephony/ServiceState;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnSignalStrengthChanged(int arg0) + { + IExecuteWithSignature("onSignalStrengthChanged", "(I)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnSignalStrengthsChanged(Android.Telephony.SignalStrength arg0) + { + IExecuteWithSignature("onSignalStrengthsChanged", "(Landroid/telephony/SignalStrength;)V", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public override void OnUserMobileDataStateChanged(bool arg0) + { + IExecuteWithSignature("onUserMobileDataStateChanged", "(Z)V", arg0); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Telephony/PhysicalChannelConfig.cs b/src/net/Netdroid/Generated/Android/Telephony/PhysicalChannelConfig.cs index b71575726..cc547ec28 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/PhysicalChannelConfig.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/PhysicalChannelConfig.cs @@ -62,6 +62,27 @@ public partial class PhysicalChannelConfig private static int _CHANNEL_NUMBER_UNKNOWNContent = default; private static bool _CHANNEL_NUMBER_UNKNOWNReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int CONNECTION_PRIMARY_SERVING { get { if (!_CONNECTION_PRIMARY_SERVINGReady) { _CONNECTION_PRIMARY_SERVINGContent = SGetField(LocalBridgeClazz, "CONNECTION_PRIMARY_SERVING"); _CONNECTION_PRIMARY_SERVINGReady = true; } return _CONNECTION_PRIMARY_SERVINGContent; } } + private static int _CONNECTION_PRIMARY_SERVINGContent = default; + private static bool _CONNECTION_PRIMARY_SERVINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CONNECTION_SECONDARY_SERVING { get { if (!_CONNECTION_SECONDARY_SERVINGReady) { _CONNECTION_SECONDARY_SERVINGContent = SGetField(LocalBridgeClazz, "CONNECTION_SECONDARY_SERVING"); _CONNECTION_SECONDARY_SERVINGReady = true; } return _CONNECTION_SECONDARY_SERVINGContent; } } + private static int _CONNECTION_SECONDARY_SERVINGContent = default; + private static bool _CONNECTION_SECONDARY_SERVINGReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int CONNECTION_UNKNOWN { get { if (!_CONNECTION_UNKNOWNReady) { _CONNECTION_UNKNOWNContent = SGetField(LocalBridgeClazz, "CONNECTION_UNKNOWN"); _CONNECTION_UNKNOWNReady = true; } return _CONNECTION_UNKNOWNContent; } } + private static int _CONNECTION_UNKNOWNContent = default; + private static bool _CONNECTION_UNKNOWNReady = false; // this is used because in case of generics + /// /// /// public static int FREQUENCY_UNKNOWN { get { if (!_FREQUENCY_UNKNOWNReady) { _FREQUENCY_UNKNOWNContent = SGetField(LocalBridgeClazz, "FREQUENCY_UNKNOWN"); _FREQUENCY_UNKNOWNReady = true; } return _FREQUENCY_UNKNOWNContent; } } diff --git a/src/net/Netdroid/Generated/Android/Telephony/ServiceState.cs b/src/net/Netdroid/Generated/Android/Telephony/ServiceState.cs index 78c166bfe..64c7fe2c7 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/ServiceState.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/ServiceState.cs @@ -30,6 +30,15 @@ public partial class ServiceState { #region Constructors /// + /// + /// + /// + [System.Obsolete()] + public ServiceState(Android.Os.Parcel arg0) + : base(arg0) + { + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs b/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs index 09b3d24df..5823edecf 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs @@ -66,6 +66,22 @@ public SignalStrength(Android.Telephony.SignalStrength arg0) #region Instance methods /// + /// + /// + [System.Obsolete()] + public int CdmaDbm + { + get { return IExecuteWithSignature("getCdmaDbm", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int CdmaEcio + { + get { return IExecuteWithSignature("getCdmaEcio", "()I"); } + } + /// /// /// public Java.Util.List CellSignalStrengths @@ -73,6 +89,46 @@ public Java.Util.List CellSignalStrengths get { return IExecuteWithSignature>("getCellSignalStrengths", "()Ljava/util/List;"); } } /// + /// + /// + [System.Obsolete()] + public int EvdoDbm + { + get { return IExecuteWithSignature("getEvdoDbm", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int EvdoEcio + { + get { return IExecuteWithSignature("getEvdoEcio", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int EvdoSnr + { + get { return IExecuteWithSignature("getEvdoSnr", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int GsmBitErrorRate + { + get { return IExecuteWithSignature("getGsmBitErrorRate", "()I"); } + } + /// + /// + /// + [System.Obsolete()] + public int GsmSignalStrength + { + get { return IExecuteWithSignature("getGsmSignalStrength", "()I"); } + } + /// /// /// public int Level @@ -97,6 +153,15 @@ public Java.Util.List GetCellSignalStrengths(Java.Lang.Class arg0) where T return IExecuteWithSignature>("getCellSignalStrengths", "(Ljava/lang/Class;)Ljava/util/List;", arg0); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsGsm() + { + return IExecuteWithSignature("isGsm", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/SmsManager.cs b/src/net/Netdroid/Generated/Android/Telephony/SmsManager.cs index 075df929e..16dec6acf 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SmsManager.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SmsManager.cs @@ -948,12 +948,30 @@ public partial class SmsManager #region Static methods /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.SmsManager Default + { + get { return SExecuteWithSignature(LocalBridgeClazz, "getDefault", "()Landroid/telephony/SmsManager;"); } + } + /// /// /// public static int DefaultSmsSubscriptionId { get { return SExecuteWithSignature(LocalBridgeClazz, "getDefaultSmsSubscriptionId", "()I"); } } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.SmsManager GetSmsManagerForSubscriptionId(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getSmsManagerForSubscriptionId", "(I)Landroid/telephony/SmsManager;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/SmsMessage.cs b/src/net/Netdroid/Generated/Android/Telephony/SmsMessage.cs index 587f9ca4e..7b060e808 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SmsMessage.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SmsMessage.cs @@ -118,6 +118,16 @@ public static Android.Telephony.SmsMessage CreateFromPdu(byte[] arg0, Java.Lang. return SExecute(LocalBridgeClazz, "createFromPdu", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.SmsMessage CreateFromPdu(byte[] arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "createFromPdu", "([B)Landroid/telephony/SmsMessage;", new object[] { arg0 }); + } + /// /// /// /// @@ -218,6 +228,14 @@ public int IndexOnIcc get { return IExecuteWithSignature("getIndexOnIcc", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int IndexOnSim + { + get { return IExecuteWithSignature("getIndexOnSim", "()I"); } + } + /// /// /// public Java.Lang.String MessageBody @@ -274,6 +292,14 @@ public int StatusOnIcc get { return IExecuteWithSignature("getStatusOnIcc", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int StatusOnSim + { + get { return IExecuteWithSignature("getStatusOnSim", "()I"); } + } + /// /// /// public long TimestampMillis diff --git a/src/net/Netdroid/Generated/Android/Telephony/SubscriptionInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/SubscriptionInfo.cs index 2e32719cc..e3cc5c0ef 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SubscriptionInfo.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SubscriptionInfo.cs @@ -115,6 +115,14 @@ public int IconTint get { return IExecuteWithSignature("getIconTint", "()I"); } } /// + /// + /// + [System.Obsolete()] + public int Mcc + { + get { return IExecuteWithSignature("getMcc", "()I"); } + } + /// /// /// public Java.Lang.String MccString @@ -122,6 +130,14 @@ public Java.Lang.String MccString get { return IExecuteWithSignature("getMccString", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int Mnc + { + get { return IExecuteWithSignature("getMnc", "()I"); } + } + /// /// /// public Java.Lang.String MncString @@ -129,6 +145,14 @@ public Java.Lang.String MncString get { return IExecuteWithSignature("getMncString", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Number + { + get { return IExecuteWithSignature("getNumber", "()Ljava/lang/String;"); } + } + /// /// /// public int PortIndex diff --git a/src/net/Netdroid/Generated/Android/Telephony/SubscriptionManager.cs b/src/net/Netdroid/Generated/Android/Telephony/SubscriptionManager.cs index f1e06a009..ea22a2da7 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SubscriptionManager.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SubscriptionManager.cs @@ -233,6 +233,16 @@ public static int DefaultVoiceSubscriptionId get { return SExecuteWithSignature(LocalBridgeClazz, "getDefaultVoiceSubscriptionId", "()I"); } } /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Telephony.SubscriptionManager From(Android.Content.Context arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "from", "(Landroid/content/Context;)Landroid/telephony/SubscriptionManager;", arg0); + } + /// /// /// /// @@ -395,6 +405,16 @@ public int GetDeviceToDeviceStatusSharingPreference(int arg0) return IExecuteWithSignature("getDeviceToDeviceStatusSharingPreference", "(I)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public int[] GetSubscriptionIds(int arg0) + { + return IExecuteWithSignatureArray("getSubscriptionIds", "(I)[I", arg0); + } + /// /// /// /// @@ -450,6 +470,15 @@ public void AddOnOpportunisticSubscriptionsChangedListener(Java.Util.Concurrent. IExecute("addOnOpportunisticSubscriptionsChangedListener", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void AddOnSubscriptionsChangedListener(Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener arg0) + { + IExecuteWithSignature("addOnSubscriptionsChangedListener", "(Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener;)V", arg0); + } + /// /// /// /// @@ -571,6 +600,26 @@ public void SetSubscriptionPlans(int arg0, Java.Util.List + /// + /// + /// + /// + [System.Obsolete()] + public void SetSubscriptionPlans(int arg0, Java.Util.List arg1) + { + IExecute("setSubscriptionPlans", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SwitchToSubscription(int arg0, Android.App.PendingIntent arg1) + { + IExecute("switchToSubscription", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/TelephonyCallback.cs b/src/net/Netdroid/Generated/Android/Telephony/TelephonyCallback.cs index bb1530fee..c1f59cf64 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/TelephonyCallback.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/TelephonyCallback.cs @@ -769,9 +769,31 @@ public partial class CellLocationListener /// protected virtual void InitializeHandlers() { + AddEventHandler("onCellLocationChanged", new System.EventHandler>>(OnCellLocationChangedEventHandler)); } + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public System.Action OnOnCellLocationChanged { get; set; } = null; + + void OnCellLocationChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnCellLocationChanged != null) ? OnOnCellLocationChanged : OnCellLocationChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + public virtual void OnCellLocationChanged(Android.Telephony.CellLocation arg0) + { + + } + #endregion #region Nested classes @@ -802,6 +824,14 @@ public partial class CellLocationListenerDirect #endregion #region Instance methods + /// + /// + /// + /// + public override void OnCellLocationChanged(Android.Telephony.CellLocation arg0) + { + IExecuteWithSignature("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/TelephonyDisplayInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/TelephonyDisplayInfo.cs index 557bc38ef..0cdab08d8 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/TelephonyDisplayInfo.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/TelephonyDisplayInfo.cs @@ -73,6 +73,13 @@ public partial class TelephonyDisplayInfo public static int OVERRIDE_NETWORK_TYPE_NR_NSA { get { if (!_OVERRIDE_NETWORK_TYPE_NR_NSAReady) { _OVERRIDE_NETWORK_TYPE_NR_NSAContent = SGetField(LocalBridgeClazz, "OVERRIDE_NETWORK_TYPE_NR_NSA"); _OVERRIDE_NETWORK_TYPE_NR_NSAReady = true; } return _OVERRIDE_NETWORK_TYPE_NR_NSAContent; } } private static int _OVERRIDE_NETWORK_TYPE_NR_NSAContent = default; private static bool _OVERRIDE_NETWORK_TYPE_NR_NSAReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVE { get { if (!_OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEReady) { _OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEContent = SGetField(LocalBridgeClazz, "OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVE"); _OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEReady = true; } return _OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEContent; } } + private static int _OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEContent = default; + private static bool _OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVEReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Android/Telephony/TelephonyManager.cs b/src/net/Netdroid/Generated/Android/Telephony/TelephonyManager.cs index 752bc5d72..5e2e04096 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/TelephonyManager.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/TelephonyManager.cs @@ -452,6 +452,13 @@ public partial class TelephonyManager private static int _NETWORK_TYPE_HSUPAContent = default; private static bool _NETWORK_TYPE_HSUPAReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static int NETWORK_TYPE_IDEN { get { if (!_NETWORK_TYPE_IDENReady) { _NETWORK_TYPE_IDENContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_IDEN"); _NETWORK_TYPE_IDENReady = true; } return _NETWORK_TYPE_IDENContent; } } + private static int _NETWORK_TYPE_IDENContent = default; + private static bool _NETWORK_TYPE_IDENReady = false; // this is used because in case of generics + /// /// /// public static int NETWORK_TYPE_IWLAN { get { if (!_NETWORK_TYPE_IWLANReady) { _NETWORK_TYPE_IWLANContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_IWLAN"); _NETWORK_TYPE_IWLANReady = true; } return _NETWORK_TYPE_IWLANContent; } } @@ -944,6 +951,13 @@ public partial class TelephonyManager private static Java.Lang.String _EXTRA_HIDE_PUBLIC_SETTINGSContent = default; private static bool _EXTRA_HIDE_PUBLIC_SETTINGSReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static Java.Lang.String EXTRA_INCOMING_NUMBER { get { if (!_EXTRA_INCOMING_NUMBERReady) { _EXTRA_INCOMING_NUMBERContent = SGetField(LocalBridgeClazz, "EXTRA_INCOMING_NUMBER"); _EXTRA_INCOMING_NUMBERReady = true; } return _EXTRA_INCOMING_NUMBERContent; } } + private static Java.Lang.String _EXTRA_INCOMING_NUMBERContent = default; + private static bool _EXTRA_INCOMING_NUMBERReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.String EXTRA_IS_REFRESH { get { if (!_EXTRA_IS_REFRESHReady) { _EXTRA_IS_REFRESHContent = SGetField(LocalBridgeClazz, "EXTRA_IS_REFRESH"); _EXTRA_IS_REFRESHReady = true; } return _EXTRA_IS_REFRESHContent; } } @@ -1154,6 +1168,13 @@ public partial class TelephonyManager private static long _NETWORK_TYPE_BITMASK_LTEContent = default; private static bool _NETWORK_TYPE_BITMASK_LTEReady = false; // this is used because in case of generics /// + /// + /// + [System.Obsolete()] + public static long NETWORK_TYPE_BITMASK_LTE_CA { get { if (!_NETWORK_TYPE_BITMASK_LTE_CAReady) { _NETWORK_TYPE_BITMASK_LTE_CAContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_BITMASK_LTE_CA"); _NETWORK_TYPE_BITMASK_LTE_CAReady = true; } return _NETWORK_TYPE_BITMASK_LTE_CAContent; } } + private static long _NETWORK_TYPE_BITMASK_LTE_CAContent = default; + private static bool _NETWORK_TYPE_BITMASK_LTE_CAReady = false; // this is used because in case of generics + /// /// /// public static long NETWORK_TYPE_BITMASK_NR { get { if (!_NETWORK_TYPE_BITMASK_NRReady) { _NETWORK_TYPE_BITMASK_NRContent = SGetField(LocalBridgeClazz, "NETWORK_TYPE_BITMASK_NR"); _NETWORK_TYPE_BITMASK_NRReady = true; } return _NETWORK_TYPE_BITMASK_NRContent; } } @@ -1214,6 +1235,14 @@ public int CallComposerStatus get { return IExecuteWithSignature("getCallComposerStatus", "()I"); } set { IExecuteWithSignature("setCallComposerStatus", "(I)V", value); } } /// + /// + /// + [System.Obsolete()] + public int CallState + { + get { return IExecuteWithSignature("getCallState", "()I"); } + } + /// /// /// public int CallStateForSubscription @@ -1242,6 +1271,14 @@ public int CarrierIdFromSimMccMnc get { return IExecuteWithSignature("getCarrierIdFromSimMccMnc", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Android.Telephony.CellLocation CellLocation + { + get { return IExecuteWithSignature("getCellLocation", "()Landroid/telephony/CellLocation;"); } + } + /// /// /// public int DataActivity @@ -1263,6 +1300,14 @@ public int DataState get { return IExecuteWithSignature("getDataState", "()I"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String DeviceId + { + get { return IExecuteWithSignature("getDeviceId", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Lang.String DeviceSoftwareVersion @@ -1305,6 +1350,14 @@ public Java.Lang.String Imei get { return IExecuteWithSignature("getImei", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String Line1Number + { + get { return IExecuteWithSignature("getLine1Number", "()Ljava/lang/String;"); } + } + /// /// /// public Java.Lang.String ManualNetworkSelectionPlmn @@ -1382,6 +1435,14 @@ public Java.Lang.String NetworkSpecifier get { return IExecuteWithSignature("getNetworkSpecifier", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public int NetworkType + { + get { return IExecuteWithSignature("getNetworkType", "()I"); } + } + /// /// /// public Android.Telecom.PhoneAccountHandle PhoneAccountHandle @@ -1389,6 +1450,14 @@ public Android.Telecom.PhoneAccountHandle PhoneAccountHandle get { return IExecuteWithSignature("getPhoneAccountHandle", "()Landroid/telecom/PhoneAccountHandle;"); } } /// + /// + /// + [System.Obsolete()] + public int PhoneCount + { + get { return IExecuteWithSignature("getPhoneCount", "()I"); } + } + /// /// /// public int PhoneType @@ -1576,6 +1645,16 @@ public Android.Telephony.IccOpenLogicalChannelResponse IccOpenLogicalChannel(Jav return IExecute("iccOpenLogicalChannel", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Android.Telephony.IccOpenLogicalChannelResponse IccOpenLogicalChannel(Java.Lang.String arg0) + { + return IExecuteWithSignature("iccOpenLogicalChannel", "(Ljava/lang/String;)Landroid/telephony/IccOpenLogicalChannelResponse;", arg0); + } + /// /// /// /// @@ -1792,6 +1871,15 @@ public bool IsSmsCapable() return IExecuteWithSignature("isSmsCapable", "()Z"); } /// + /// + /// + /// + [System.Obsolete()] + public bool IsTtyModeSupported() + { + return IExecuteWithSignature("isTtyModeSupported", "()Z"); + } + /// /// /// /// @@ -1817,6 +1905,17 @@ public bool IsWorldPhone() return IExecuteWithSignature("isWorldPhone", "()Z"); } /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public bool SetLine1NumberForDisplay(Java.Lang.String arg0, Java.Lang.String arg1) + { + return IExecute("setLine1NumberForDisplay", arg0, arg1); + } + /// /// /// /// @@ -1914,6 +2013,16 @@ public int SetForbiddenPlmns(Java.Util.List arg0) return IExecuteWithSignature("setForbiddenPlmns", "(Ljava/util/List;)I", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.String GetDeviceId(int arg0) + { + return IExecuteWithSignature("getDeviceId", "(I)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -2052,6 +2161,16 @@ public void GetNetworkSlicingConfiguration(Java.Util.Concurrent.Executor arg0, A IExecute("getNetworkSlicingConfiguration", arg0, arg1); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void Listen(Android.Telephony.PhoneStateListener arg0, int arg1) + { + IExecute("listen", arg0, arg1); + } + /// /// /// /// @@ -2135,6 +2254,15 @@ public void SetAllowedNetworkTypesForReason(int arg0, long arg1) IExecute("setAllowedNetworkTypesForReason", arg0, arg1); } /// + /// + /// + /// + [System.Obsolete()] + public void SetDataEnabled(bool arg0) + { + IExecuteWithSignature("setDataEnabled", "(Z)V", arg0); + } + /// /// /// /// @@ -2178,6 +2306,26 @@ public void SetVisualVoicemailSmsFilterSettings(Android.Telephony.VisualVoicemai IExecuteWithSignature("setVisualVoicemailSmsFilterSettings", "(Landroid/telephony/VisualVoicemailSmsFilterSettings;)V", arg0); } /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVoicemailRingtoneUri(Android.Telecom.PhoneAccountHandle arg0, Android.Net.Uri arg1) + { + IExecute("setVoicemailRingtoneUri", arg0, arg1); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public void SetVoicemailVibrationEnabled(Android.Telecom.PhoneAccountHandle arg0, bool arg1) + { + IExecute("setVoicemailVibrationEnabled", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/UiccCardInfo.cs b/src/net/Netdroid/Generated/Android/Telephony/UiccCardInfo.cs index 7f8b42972..2093993d4 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/UiccCardInfo.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/UiccCardInfo.cs @@ -66,6 +66,14 @@ public Java.Lang.String Eid get { return IExecuteWithSignature("getEid", "()Ljava/lang/String;"); } } /// + /// + /// + [System.Obsolete()] + public Java.Lang.String IccId + { + get { return IExecuteWithSignature("getIccId", "()Ljava/lang/String;"); } + } + /// /// /// public int PhysicalSlotIndex @@ -80,6 +88,14 @@ public Java.Util.Collection Ports get { return IExecuteWithSignature>("getPorts", "()Ljava/util/Collection;"); } } /// + /// + /// + [System.Obsolete()] + public int SlotIndex + { + get { return IExecuteWithSignature("getSlotIndex", "()I"); } + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Text/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Text/AllPackageClasses.cs index 6dd7850dd..9c0b5c649 100644 --- a/src/net/Netdroid/Generated/Android/Text/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Text/AllPackageClasses.cs @@ -26,6 +26,96 @@ namespace Android.Text { + #region AlteredCharSequence + /// + /// + /// + [System.Obsolete()] + public partial class AlteredCharSequence : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.text.AlteredCharSequence"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AlteredCharSequence() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AlteredCharSequence(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region AndroidCharacter + /// + /// + /// + [System.Obsolete()] + public partial class AndroidCharacter : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.text.AndroidCharacter"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public AndroidCharacter() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public AndroidCharacter(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region Annotation /// /// @@ -290,6 +380,53 @@ public Metrics(params object[] args) : base(args) { } } #endregion + #region ClipboardManager + /// + /// + /// + [System.Obsolete()] + public partial class ClipboardManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "android.text.ClipboardManager"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("ClipboardManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ClipboardManager() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("ClipboardManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public ClipboardManager(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region DynamicLayout /// /// @@ -1183,6 +1320,188 @@ public TextInclusionStrategy(params object[] args) : base(args) { } #endregion + } + #endregion + + #region LoginFilter + /// + /// + /// + [System.Obsolete()] + public partial class LoginFilter : Android.Text.InputFilter + { + const string _bridgeClassName = "android.text.LoginFilter"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [Obsolete("LoginFilter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoginFilter() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [Obsolete("LoginFilter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public LoginFilter(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region PasswordFilterGMail + /// + /// + /// + [System.Obsolete()] + public partial class PasswordFilterGMail : Android.Text.LoginFilter + { + const string _bridgeClassName = "android.text.LoginFilter$PasswordFilterGMail"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public PasswordFilterGMail() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public PasswordFilterGMail(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region UsernameFilterGeneric + /// + /// + /// + [System.Obsolete()] + public partial class UsernameFilterGeneric : Android.Text.LoginFilter + { + const string _bridgeClassName = "android.text.LoginFilter$UsernameFilterGeneric"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public UsernameFilterGeneric() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public UsernameFilterGeneric(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region UsernameFilterGMail + /// + /// + /// + [System.Obsolete()] + public partial class UsernameFilterGMail : Android.Text.LoginFilter + { + const string _bridgeClassName = "android.text.LoginFilter$UsernameFilterGMail"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public UsernameFilterGMail() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public UsernameFilterGMail(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Text/AlteredCharSequence.cs b/src/net/Netdroid/Generated/Android/Text/AlteredCharSequence.cs new file mode 100644 index 000000000..4bf880ffd --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Text/AlteredCharSequence.cs @@ -0,0 +1,121 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Text +{ + #region AlteredCharSequence + public partial class AlteredCharSequence : Java.Lang.ICharSequence, Android.Text.IGetChars + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Lang.CharSequence(Android.Text.AlteredCharSequence t) => t.Cast(); + /// + /// Converter from to + /// + public static implicit operator Android.Text.GetChars(Android.Text.AlteredCharSequence t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static Android.Text.AlteredCharSequence Make(Java.Lang.CharSequence arg0, char[] arg1, int arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "make", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + [System.Obsolete()] + public char CharAt(int arg0) + { + return IExecuteWithSignature("charAt", "(I)C", arg0); + } + /// + /// + /// + /// + [System.Obsolete()] + public int Length() + { + return IExecuteWithSignature("length", "()I"); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence SubSequence(int arg0, int arg1) + { + return IExecute("subSequence", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public void GetChars(int arg0, int arg1, char[] arg2, int arg3) + { + IExecute("getChars", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Text/AndroidCharacter.cs b/src/net/Netdroid/Generated/Android/Text/AndroidCharacter.cs new file mode 100644 index 000000000..38574cfba --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Text/AndroidCharacter.cs @@ -0,0 +1,155 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Text +{ + #region AndroidCharacter + public partial class AndroidCharacter + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_AMBIGUOUS { get { if (!_EAST_ASIAN_WIDTH_AMBIGUOUSReady) { _EAST_ASIAN_WIDTH_AMBIGUOUSContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_AMBIGUOUS"); _EAST_ASIAN_WIDTH_AMBIGUOUSReady = true; } return _EAST_ASIAN_WIDTH_AMBIGUOUSContent; } } + private static int _EAST_ASIAN_WIDTH_AMBIGUOUSContent = default; + private static bool _EAST_ASIAN_WIDTH_AMBIGUOUSReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_FULL_WIDTH { get { if (!_EAST_ASIAN_WIDTH_FULL_WIDTHReady) { _EAST_ASIAN_WIDTH_FULL_WIDTHContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_FULL_WIDTH"); _EAST_ASIAN_WIDTH_FULL_WIDTHReady = true; } return _EAST_ASIAN_WIDTH_FULL_WIDTHContent; } } + private static int _EAST_ASIAN_WIDTH_FULL_WIDTHContent = default; + private static bool _EAST_ASIAN_WIDTH_FULL_WIDTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_HALF_WIDTH { get { if (!_EAST_ASIAN_WIDTH_HALF_WIDTHReady) { _EAST_ASIAN_WIDTH_HALF_WIDTHContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_HALF_WIDTH"); _EAST_ASIAN_WIDTH_HALF_WIDTHReady = true; } return _EAST_ASIAN_WIDTH_HALF_WIDTHContent; } } + private static int _EAST_ASIAN_WIDTH_HALF_WIDTHContent = default; + private static bool _EAST_ASIAN_WIDTH_HALF_WIDTHReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_NARROW { get { if (!_EAST_ASIAN_WIDTH_NARROWReady) { _EAST_ASIAN_WIDTH_NARROWContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_NARROW"); _EAST_ASIAN_WIDTH_NARROWReady = true; } return _EAST_ASIAN_WIDTH_NARROWContent; } } + private static int _EAST_ASIAN_WIDTH_NARROWContent = default; + private static bool _EAST_ASIAN_WIDTH_NARROWReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_NEUTRAL { get { if (!_EAST_ASIAN_WIDTH_NEUTRALReady) { _EAST_ASIAN_WIDTH_NEUTRALContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_NEUTRAL"); _EAST_ASIAN_WIDTH_NEUTRALReady = true; } return _EAST_ASIAN_WIDTH_NEUTRALContent; } } + private static int _EAST_ASIAN_WIDTH_NEUTRALContent = default; + private static bool _EAST_ASIAN_WIDTH_NEUTRALReady = false; // this is used because in case of generics + /// + /// + /// + [System.Obsolete()] + public static int EAST_ASIAN_WIDTH_WIDE { get { if (!_EAST_ASIAN_WIDTH_WIDEReady) { _EAST_ASIAN_WIDTH_WIDEContent = SGetField(LocalBridgeClazz, "EAST_ASIAN_WIDTH_WIDE"); _EAST_ASIAN_WIDTH_WIDEReady = true; } return _EAST_ASIAN_WIDTH_WIDEContent; } } + private static int _EAST_ASIAN_WIDTH_WIDEContent = default; + private static bool _EAST_ASIAN_WIDTH_WIDEReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static bool Mirror(char[] arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "mirror", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static char GetMirror(char arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getMirror", "(C)C", arg0); + } + /// + /// + /// + /// + /// + [System.Obsolete()] + public static int GetEastAsianWidth(char arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "getEastAsianWidth", "(C)I", arg0); + } + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void GetDirectionalities(char[] arg0, byte[] arg1, int arg2) + { + SExecute(LocalBridgeClazz, "getDirectionalities", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public static void GetEastAsianWidths(char[] arg0, int arg1, int arg2, byte[] arg3) + { + SExecute(LocalBridgeClazz, "getEastAsianWidths", arg0, arg1, arg2, arg3); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Text/ClipboardManager.cs b/src/net/Netdroid/Generated/Android/Text/ClipboardManager.cs new file mode 100644 index 000000000..733a7f442 --- /dev/null +++ b/src/net/Netdroid/Generated/Android/Text/ClipboardManager.cs @@ -0,0 +1,75 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Android.Text +{ + #region ClipboardManager + public partial class ClipboardManager + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + [System.Obsolete()] + public Java.Lang.CharSequence Text + { + get { return IExecuteWithSignature("getText", "()Ljava/lang/CharSequence;"); } set { IExecuteWithSignature("setText", "(Ljava/lang/CharSequence;)V", value); } + } + /// + /// + /// + /// + [System.Obsolete()] + public bool HasText() + { + return IExecuteWithSignature("hasText", "()Z"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Text/DynamicLayout.cs b/src/net/Netdroid/Generated/Android/Text/DynamicLayout.cs index b7fea58f1..6dc859246 100644 --- a/src/net/Netdroid/Generated/Android/Text/DynamicLayout.cs +++ b/src/net/Netdroid/Generated/Android/Text/DynamicLayout.cs @@ -29,6 +29,55 @@ namespace Android.Text public partial class DynamicLayout { #region Constructors + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DynamicLayout(Java.Lang.CharSequence arg0, Android.Text.TextPaint arg1, int arg2, Android.Text.Layout.Alignment arg3, float arg4, float arg5, bool arg6) + : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6) + { + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DynamicLayout(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1, Android.Text.TextPaint arg2, int arg3, Android.Text.Layout.Alignment arg4, float arg5, float arg6, bool arg7, Android.Text.TextUtils.TruncateAt arg8, int arg9) + : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) + { + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + [System.Obsolete()] + public DynamicLayout(Java.Lang.CharSequence arg0, Java.Lang.CharSequence arg1, Android.Text.TextPaint arg2, int arg3, Android.Text.Layout.Alignment arg4, float arg5, float arg6, bool arg7) + : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) + { + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Text/Format/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Text/Format/AllPackageClasses.cs index 3cc734c3c..45e8bedf1 100644 --- a/src/net/Netdroid/Generated/Android/Text/Format/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Text/Format/AllPackageClasses.cs @@ -158,6 +158,51 @@ public Formatter(params object[] args) : base(args) { } } #endregion + #region Time + /// + /// + /// + [System.Obsolete()] + public partial class Time : MASES.JCOBridge.C2JBridge.JVMBridgeBase